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

Disassembly:
push 0xffffffffffffffff
push 0x1011c368
mov eax, dword fs:[0]
push eax
sub esp, 0x384
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10159df0]
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.10039d40
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 0x1003af6b
movzx eax, word [esp + 0x140]
add eax, 0xffff98c8
cmp eax, 0x5f
ja case.0x10039f5c.26425
movzx eax, byte [eax + 0x1003af94]
jmp dword [eax*4 + 0x1003af88]
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 0x10039fc1
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], 0x1015bbb4
push edx
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x44]
mov byte [esp + 0x38], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x5c], 0x1015bbb4
call fcn.100406a0
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp byte [esp + 0x3c], bl
je 0x1003a03c
push 0x14
call fcn.100d54f6
lea ecx, [eax + 0xc]
add esp, 4
cmp ecx, ebx
je 0x1003a024
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, 0x1015bbb0
call fcn.1003f6c0
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.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x54]
push edx
mov esi, eax
call fcn.1000a460
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 0x1003a0bb
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x4c]
mov ebp, 0xf
cmp eax, ebx
je 0x1003a3be
lea edx, [esp + 0x74]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x10014ae0
mov dword [esp + 0x48], 0x10014af0
jmp 0x1003a0f0
push 0x1012d9f4
push str.2564
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.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 0xb
push 3
push 0x1012da1c
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.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0x100]
push edx
mov byte [esp + 0x3b4], 0xd
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x3b0], 0xe
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0xa4]
push ecx
mov byte [esp + 0x3ac], 0xf
call fcn.1000a390
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.10009e40
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 0x11
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x78]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3a0], 0x12
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1000a530
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 0x1003a23f
mov edi, dword [edi + 4]
jmp 0x1003a242
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x1003a261
mov eax, dword [eax + 4]
jmp 0x1003a264
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3a0], 0x12
call fcn.10006d40
cmp dword [esp + 0x90], edi
jb 0x1003a297
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.100d541a
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 0x1003a2d3
mov edx, dword [esp + 0xa0]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0xd0], esi
jb 0x1003a301
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x108], esi
jb 0x1003a32f
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xec], esi
jb 0x1003a35d
mov edx, dword [esp + 0xd8]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0x6c], esi
jb 0x1003a385
mov eax, dword [esp + 0x58]
push eax
call fcn.100d541a
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 0x1003a3b2
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d541a
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jne 0x1003a0f0
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003a3da
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x1003af6b
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 0x1003a460
mov edi, 1
mov dword [esp + 0x28], edi
test al, 2
je 0x1003a469
inc edi
mov dword [esp + 0x28], edi
test al, 4
je 0x1003a472
inc edi
mov dword [esp + 0x28], edi
test al, 8
je 0x1003a47b
inc edi
mov dword [esp + 0x28], edi
test al, 0x10
je 0x1003a484
inc edi
mov dword [esp + 0x28], edi
test al, 0xc0
je 0x1003a48d
inc edi
mov dword [esp + 0x28], edi
lea eax, [edi - 2]
cmp eax, 4
ja case.0x1003a495.4
jmp dword [eax*4 + 0x1003aff4]
mov edx, dword [esp + 0x1c]
mov dword [edx], 2
jmp 0x1003a4d2
mov eax, dword [esp + 0x1c]
mov dword [eax], 3
jmp 0x1003a4d2
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 5
jmp 0x1003a4d2
mov edx, dword [esp + 0x1c]
mov dword [edx], 6
jmp 0x1003a4d2
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.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.1000a460
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 0x1003a522
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1003a821
lea eax, [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x10014ae0
mov dword [esp + 0x48], 0x10014af0
jmp 0x1003a550
push 0x1012d9f4
push str.2607
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.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 0x15
push 3
push 0x1012da1c
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.1000a2e0
add esp, 0xc
push eax
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x3b4], 0x17
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0xc4]
push ecx
mov byte [esp + 0x3b0], 0x18
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0xf8]
push edx
mov byte [esp + 0x3ac], 0x19
call fcn.1000a390
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.10009e40
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 0x1b
call fcn.10011e90
add esp, 4
lea edx, [esp + 0xd4]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3a0], 0x1c
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1000a530
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 0x1003a6a2
mov edi, dword [edi + 4]
jmp 0x1003a6a5
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x1003a6c4
mov eax, dword [eax + 4]
jmp 0x1003a6c7
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3a0], 0x1c
call fcn.10006d40
cmp dword [esp + 0xec], edi
jb 0x1003a6fd
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.100d541a
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 0x1003a73c
mov edx, dword [esp + 0xf4]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xd0], esi
jb 0x1003a76a
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xb4], esi
jb 0x1003a798
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x90], esi
jb 0x1003a7c3
mov edx, dword [esp + 0x7c]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x6c], esi
jb 0x1003a7e8
mov eax, dword [esp + 0x58]
push eax
call fcn.100d541a
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 0x1003a815
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d541a
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1003a550
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003a83d
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 1
mov dword [esp + 0x2c], edx
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov esi, eax
call fcn.1000a460
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 0x1003a88d
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x24], ebx
je 0x1003ab9a
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x10040660
mov dword [esp + 0x48], 0x10040670
nop
push 0x1012d9f4
push str.2608
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.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 0x1f
push 3
push 0x1012da1c
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.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x3b4], 0x21
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x3b0], 0x22
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0xf8]
push ecx
mov byte [esp + 0x3ac], 0x23
call fcn.1000a390
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.10009e40
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 0x25
call fcn.10011e90
add esp, 4
lea edx, [esp + 0xd4]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3a0], 0x26
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1000a530
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 0x1003aa02
mov edi, dword [edi + 4]
jmp 0x1003aa05
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x1003aa24
mov eax, dword [eax + 4]
jmp 0x1003aa27
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3a0], 0x26
call fcn.10006d40
cmp dword [esp + 0xec], edi
jb 0x1003aa5d
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.100d541a
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 0x1003aa9c
mov edx, dword [esp + 0xf4]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xd0], esi
jb 0x1003aaca
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xb4], esi
jb 0x1003aaf8
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x1f0], esi
jb 0x1003ab26
mov edx, dword [esp + 0x1dc]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x1f0], ebp
mov dword [esp + 0x1ec], ebx
mov byte [esp + 0x1dc], bl
cmp dword [esp + 0x6c], esi
jb 0x1003ab4e
mov eax, dword [esp + 0x58]
push eax
call fcn.100d541a
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 0x1003ab7b
mov ecx, dword [esp + 0x188]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x19c], ebp
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
cmp dword [esp + 0x24], ebx
jne 0x1003a8b0
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 0x1003af6b
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 3
mov dword [esp + 0x38], eax
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
mov esi, eax
call fcn.1000a460
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 0x1003ac21
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1003af4e
lea edx, [esp + 0x140]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x100403d0
mov dword [esp + 0x48], 0x100403e0
jmp 0x1003ac50
push 0x1012d9f4
push str.2556
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.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 1
push 3
push 0x1012da1c
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.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0x178]
push edx
mov byte [esp + 0x3b4], 3
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x3b0], 4
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x1c4]
push ecx
mov byte [esp + 0x3ac], 5
call fcn.1000a390
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.10009e40
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 7
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x1f4]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3a0], 8
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.1000a530
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 0x1003adae
mov edi, dword [edi + 4]
jmp 0x1003adb1
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [ebp + 0x14]
mov edi, 0x10
cmp dword [ebp + 0x18], edi
jb 0x1003adcc
mov ebp, dword [ebp + 4]
jmp 0x1003adcf
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3a0], 8
call fcn.10006d40
cmp dword [esp + 0x20c], edi
jb 0x1003ae02
mov ecx, dword [esp + 0x1f8]
push ecx
call fcn.100d541a
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 0x1003ae46
mov edx, dword [esp + 0x1c0]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
cmp dword [esp + 0x164], edi
jb 0x1003ae74
mov eax, dword [esp + 0x150]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
cmp dword [esp + 0x180], edi
jb 0x1003aea2
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
cmp dword [esp + 0x1b8], edi
jb 0x1003aed0
mov edx, dword [esp + 0x1a4]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
cmp dword [esp + 0x90], edi
jb 0x1003aefb
mov eax, dword [esp + 0x7c]
push eax
call fcn.100d541a
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 0x1003af2d
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d541a
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 0x1003ac50
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003af66
push eax
call fcn.100745e0
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