Function at 0x10039800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1011b088
mov eax, dword fs:[0]
push eax
sub esp, 0x384
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3ac]
mov ebp, dword [esp + 0x3a8]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x1c], eax
call fcn.10039670
lea ecx, [esp + 0x390]
push ecx
push 0xc
lea edx, [esp + 0x148]
push edx
xor ebx, ebx
push ebx
push ebx
push 1
push ebp
call dword [sym.imp.FlashtoollibEx.dll_flashtool_device_control]
cmp eax, ebx
jne 0x1003a89b
movzx eax, word [esp + 0x140]
add eax, 0xffff98c8
cmp eax, 0x5f
ja case.0x1003988c.26425
movzx eax, byte [eax + 0x1003a8c4]
jmp dword [eax*4 + 0x1003a8b8]
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x98], 1
mov dword [esp + 0x94], 2
mov dword [esp + 0x20], 0x100000
mov dword [esp + 0x24], 0x200000
jmp 0x100398f1
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x98], 0x20
mov dword [esp + 0x94], 0x40
mov dword [esp + 0x20], 0x4000
mov dword [esp + 0x24], 0x8000
lea ecx, [esp + 0x2c]
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x7c], ebx
lea edx, [esp + 0x148]
mov dword [eax], 0x10159ba4
push edx
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x44]
mov byte [esp + 0x38], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x5c], 0x10159ba4
call fcn.1003fd50
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp byte [esp + 0x3c], bl
je 0x1003996c
push 0x14
call fcn.100d4296
lea ecx, [eax + 0xc]
add esp, 4
cmp ecx, ebx
je 0x10039954
mov dx, word [esp + 0x140]
mov word [ecx], dx
mov dword [ecx + 4], ebx
lea edx, [esp + 0x2c]
mov esi, eax
lea ebx, [esp + 0x38]
mov edi, 0x10159ba0
call fcn.1003ed70
mov eax, dword [eax]
xor ebx, ebx
mov eax, dword [eax + 0x10]
push ebx
push 4
lea ecx, [esp + 0x7c]
push ecx
push 1
lea edx, [esp + 0x128]
push edx
push 5
push ebp
mov dword [esp + 0x134], eax
call dword [sym.imp.FlashtoollibEx.dll_flashtool_device_control]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x120], 2
mov dword [esp + 0x2c], eax
call fcn.1005bc20
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x54]
push edx
mov esi, eax
call fcn.1000a440
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov dword [eax], ebx
mov dword [esp + 0x3a0], 0xa
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x100399eb
push eax
call fcn.10073310
add esp, 4
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x4c]
mov ebp, 0xf
cmp eax, ebx
je 0x10039cee
lea edx, [esp + 0x74]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x10014a70
mov dword [esp + 0x48], 0x10014a80
jmp 0x10039a20
push 0x1012b9e4
push str.2526
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x1c
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov byte [ecx + 4], bl
call fcn.10007180
lea esi, [esp + 0x14c]
call fcn.1001a7c0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 0xb
push 3
push 0x1012ba0c
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.10007180
push esi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xe8]
push ecx
mov byte [esp + 0x3b8], 0xc
call fcn.1000a2c0
add esp, 0xc
push eax
lea edx, [esp + 0x100]
push edx
mov byte [esp + 0x3b4], 0xd
call fcn.1000a370
add esp, 0xc
push eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x3b0], 0xe
call fcn.1000a370
add esp, 0xc
push eax
lea ecx, [esp + 0xa4]
push ecx
mov byte [esp + 0x3ac], 0xf
call fcn.1000a370
add esp, 0xc
mov dword [esp + 0x2c], eax
push str.ModemType_read_return:_0x_x
lea edx, [esp + 0x214]
push edx
mov byte [esp + 0x3a8], 0x10
call fcn.10009e20
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 0x11
call fcn.10011e10
add esp, 4
lea edx, [esp + 0x78]
mov ecx, eax
call fcn.10009f20
mov edi, eax
mov byte [esp + 0x3a0], 0x12
call fcn.1005bc20
mov eax, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1000a4f0
add esp, 0xc
mov byte [esp + 0x3a0], 0x13
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], 0x10
jb 0x10039b6f
mov edi, dword [edi + 4]
jmp 0x10039b72
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x10039b91
mov eax, dword [eax + 4]
jmp 0x10039b94
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087c0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3a0], 0x12
call fcn.10006d40
cmp dword [esp + 0x90], edi
jb 0x10039bc7
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.100d41ba
add esp, 4
lea edi, [esp + 0x210]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.10003aa0
mov esi, 0x10
cmp dword [esp + 0xb4], esi
jb 0x10039c03
mov edx, dword [esp + 0xa0]
push edx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0xd0], esi
jb 0x10039c31
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d41ba
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x108], esi
jb 0x10039c5f
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xec], esi
jb 0x10039c8d
mov edx, dword [esp + 0xd8]
push edx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0x6c], esi
jb 0x10039cb5
mov eax, dword [esp + 0x58]
push eax
call fcn.100d41ba
add esp, 4
mov byte [esp + 0x3a0], 0xa
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x13c], esi
jb 0x10039ce2
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d41ba
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jne 0x10039a20
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x10039d0a
push eax
call fcn.10073310
add esp, 4
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x1003a89b
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
xor edi, edi
test edx, esi
sete al
add al, al
test ecx, esi
mov ecx, dword [esp + 0x98]
sete dl
and dl, 1
or al, dl
add al, al
add al, al
test ecx, esi
mov ecx, dword [esp + 0x94]
sete dl
and dl, 1
or al, dl
add al, al
test ecx, esi
mov ecx, dword [esp + 0x18]
sete dl
and dl, 1
or al, dl
add al, al
add al, al
test ecx, esi
mov cl, byte [esp + 0x390]
sete dl
and dl, 1
or al, dl
add al, al
and cl, 0x20
or al, cl
or al, 5
mov dword [esp + 0x28], edi
test al, 1
je 0x10039d90
mov edi, 1
mov dword [esp + 0x28], edi
test al, 2
je 0x10039d99
inc edi
mov dword [esp + 0x28], edi
test al, 4
je 0x10039da2
inc edi
mov dword [esp + 0x28], edi
test al, 8
je 0x10039dab
inc edi
mov dword [esp + 0x28], edi
test al, 0x10
je 0x10039db4
inc edi
mov dword [esp + 0x28], edi
test al, 0xc0
je 0x10039dbd
inc edi
mov dword [esp + 0x28], edi
lea eax, [edi - 2]
cmp eax, 4
ja case.0x10039dc5.4
jmp dword [eax*4 + 0x1003a924]
mov edx, dword [esp + 0x1c]
mov dword [edx], 2
jmp 0x10039e02
mov eax, dword [esp + 0x1c]
mov dword [eax], 3
jmp 0x10039e02
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 5
jmp 0x10039e02
mov edx, dword [esp + 0x1c]
mov dword [edx], 6
jmp 0x10039e02
mov eax, dword [esp + 0x1c]
mov dword [eax], ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 1
mov dword [esp + 0x2c], ecx
call fcn.1005bc20
mov eax, dword [eax]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.1000a440
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov dword [eax], ebx
mov dword [esp + 0x3a0], 0x14
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10039e52
push eax
call fcn.10073310
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1003a151
lea eax, [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x10014a70
mov dword [esp + 0x48], 0x10014a80
jmp 0x10039e80
push 0x1012b9e4
push str.2569
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x1c
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov byte [ecx + 4], bl
call fcn.10007180
lea esi, [esp + 0x14c]
call fcn.1001a7c0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 0x15
push 3
push 0x1012ba0c
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.10007180
push esi
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x3b8], 0x16
call fcn.1000a2c0
add esp, 0xc
push eax
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x3b4], 0x17
call fcn.1000a370
add esp, 0xc
push eax
lea ecx, [esp + 0xc4]
push ecx
mov byte [esp + 0x3b0], 0x18
call fcn.1000a370
add esp, 0xc
push eax
lea edx, [esp + 0xf8]
push edx
mov byte [esp + 0x3ac], 0x19
call fcn.1000a370
add esp, 0xc
mov dword [esp + 0x2c], eax
push str.modem_count:__d
lea eax, [esp + 0x214]
push eax
mov byte [esp + 0x3a8], 0x1a
call fcn.10009e20
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 0x1b
call fcn.10011e10
add esp, 4
lea edx, [esp + 0xd4]
mov ecx, eax
call fcn.10009f20
mov edi, eax
mov byte [esp + 0x3a0], 0x1c
call fcn.1005bc20
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1000a4f0
add esp, 0xc
mov byte [esp + 0x3a0], 0x1d
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], 0x10
jb 0x10039fd2
mov edi, dword [edi + 4]
jmp 0x10039fd5
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x10039ff4
mov eax, dword [eax + 4]
jmp 0x10039ff7
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087c0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3a0], 0x1c
call fcn.10006d40
cmp dword [esp + 0xec], edi
jb 0x1003a02d
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.100d41ba
add esp, 4
lea edi, [esp + 0x210]
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.10003aa0
mov esi, 0x10
cmp dword [esp + 0x108], esi
jb 0x1003a06c
mov edx, dword [esp + 0xf4]
push edx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xd0], esi
jb 0x1003a09a
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d41ba
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xb4], esi
jb 0x1003a0c8
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x90], esi
jb 0x1003a0f3
mov edx, dword [esp + 0x7c]
push edx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x6c], esi
jb 0x1003a118
mov eax, dword [esp + 0x58]
push eax
call fcn.100d41ba
add esp, 4
mov byte [esp + 0x3a0], 0x14
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x13c], esi
jb 0x1003a145
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d41ba
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x10039e80
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003a16d
push eax
call fcn.10073310
add esp, 4
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 1
mov dword [esp + 0x2c], edx
call fcn.1005bc20
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov esi, eax
call fcn.1000a440
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov dword [eax], ebx
mov dword [esp + 0x3a0], 0x1e
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1003a1bd
push eax
call fcn.10073310
add esp, 4
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x24], ebx
je 0x1003a4ca
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x1003fd10
mov dword [esp + 0x48], 0x1003fd20
nop
push 0x1012b9e4
push str.2570
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x1c
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov byte [ecx + 4], bl
call fcn.10007180
lea esi, [esp + 0x1ac]
call fcn.1001a7c0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 0x1f
push 3
push 0x1012ba0c
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.10007180
push esi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1ec]
push ecx
mov byte [esp + 0x3b8], 0x20
call fcn.1000a2c0
add esp, 0xc
push eax
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x3b4], 0x21
call fcn.1000a370
add esp, 0xc
push eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x3b0], 0x22
call fcn.1000a370
add esp, 0xc
push eax
lea ecx, [esp + 0xf8]
push ecx
mov byte [esp + 0x3ac], 0x23
call fcn.1000a370
add esp, 0xc
mov dword [esp + 0x2c], eax
push str.ModemType_E:__d
lea edx, [esp + 0x214]
push edx
mov byte [esp + 0x3a8], 0x24
call fcn.10009e20
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 0x25
call fcn.10011e10
add esp, 4
lea edx, [esp + 0xd4]
mov ecx, eax
call fcn.10009f20
mov edi, eax
mov byte [esp + 0x3a0], 0x26
call fcn.1005bc20
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1000a4f0
add esp, 0xc
mov byte [esp + 0x3a0], 0x27
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], 0x10
jb 0x1003a332
mov edi, dword [edi + 4]
jmp 0x1003a335
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x1003a354
mov eax, dword [eax + 4]
jmp 0x1003a357
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087c0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3a0], 0x26
call fcn.10006d40
cmp dword [esp + 0xec], edi
jb 0x1003a38d
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.100d41ba
add esp, 4
lea edi, [esp + 0x210]
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.10003aa0
mov esi, 0x10
cmp dword [esp + 0x108], esi
jb 0x1003a3cc
mov edx, dword [esp + 0xf4]
push edx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xd0], esi
jb 0x1003a3fa
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d41ba
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xb4], esi
jb 0x1003a428
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x1f0], esi
jb 0x1003a456
mov edx, dword [esp + 0x1dc]
push edx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0x1f0], ebp
mov dword [esp + 0x1ec], ebx
mov byte [esp + 0x1dc], bl
cmp dword [esp + 0x6c], esi
jb 0x1003a47e
mov eax, dword [esp + 0x58]
push eax
call fcn.100d41ba
add esp, 4
mov byte [esp + 0x3a0], 0x1e
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x19c], esi
jb 0x1003a4ab
mov ecx, dword [esp + 0x188]
push ecx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0x19c], ebp
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
cmp dword [esp + 0x24], ebx
jne 0x1003a1e0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3a0], 0xffffffff
call fcn.10002f90
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov edx, dword [esp + 0x70]
push 1
lea ecx, [esp + 0x120]
push ecx
push edx
mov dword [esp + 0x128], eax
call dword [sym.imp.FlashtoollibEx.dll__flashtool_trans_modem_type_12]
jmp 0x1003a89b
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 3
mov dword [esp + 0x38], eax
call fcn.1005bc20
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
mov esi, eax
call fcn.1000a440
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [eax], ebx
mov dword [esp + 0x3a0], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1003a551
push eax
call fcn.10073310
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1003a87e
lea edx, [esp + 0x140]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x1003fa80
mov dword [esp + 0x48], 0x1003fa90
jmp 0x1003a580
push 0x1012b9e4
push str.2518
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x1c
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov byte [ecx + 4], bl
call fcn.10007180
lea esi, [esp + 0x14c]
call fcn.1001a7c0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 1
push 3
push 0x1012ba0c
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.10007180
push esi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1b4]
push ecx
mov byte [esp + 0x3b8], 2
call fcn.1000a2c0
add esp, 0xc
push eax
lea edx, [esp + 0x178]
push edx
mov byte [esp + 0x3b4], 3
call fcn.1000a370
add esp, 0xc
push eax
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x3b0], 4
call fcn.1000a370
add esp, 0xc
push eax
lea ecx, [esp + 0x1c4]
push ecx
mov byte [esp + 0x3ac], 5
call fcn.1000a370
add esp, 0xc
mov ebp, eax
push str.NOT_support_GetSupportModem_API_on_chip_MT_x
lea edx, [esp + 0x2d4]
push edx
mov byte [esp + 0x3a8], 6
call fcn.10009e20
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 7
call fcn.10011e10
add esp, 4
lea edx, [esp + 0x1f4]
mov ecx, eax
call fcn.10009f20
mov edi, eax
mov byte [esp + 0x3a0], 8
call fcn.1005bc20
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.1000a4f0
add esp, 0xc
mov byte [esp + 0x3a0], 9
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], 0x10
jb 0x1003a6de
mov edi, dword [edi + 4]
jmp 0x1003a6e1
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087c0
mov eax, dword [ebp + 0x14]
mov edi, 0x10
cmp dword [ebp + 0x18], edi
jb 0x1003a6fc
mov ebp, dword [ebp + 4]
jmp 0x1003a6ff
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.100087c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3a0], 8
call fcn.10006d40
cmp dword [esp + 0x20c], edi
jb 0x1003a732
mov ecx, dword [esp + 0x1f8]
push ecx
call fcn.100d41ba
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x2d0]
mov dword [esp + 0x20c], esi
mov dword [esp + 0x208], ebx
mov byte [esp + 0x1f8], bl
call fcn.10003aa0
mov edi, 0x10
cmp dword [esp + 0x1d4], edi
jb 0x1003a776
mov edx, dword [esp + 0x1c0]
push edx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
cmp dword [esp + 0x164], edi
jb 0x1003a7a4
mov eax, dword [esp + 0x150]
push eax
call fcn.100d41ba
add esp, 4
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
cmp dword [esp + 0x180], edi
jb 0x1003a7d2
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
cmp dword [esp + 0x1b8], edi
jb 0x1003a800
mov edx, dword [esp + 0x1a4]
push edx
call fcn.100d41ba
add esp, 4
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
cmp dword [esp + 0x90], edi
jb 0x1003a82b
mov eax, dword [esp + 0x7c]
push eax
call fcn.100d41ba
add esp, 4
mov byte [esp + 0x3a0], bl
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x13c], edi
jb 0x1003a85d
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d41ba
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
cmp eax, ebx
jne 0x1003a580
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003a896
push eax
call fcn.10073310
add esp, 4
mov eax, 0xc0010003
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x390
ret 8