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

Disassembly:
push 0xffffffffffffffff
push 0x1011b948
mov eax, dword fs:[0]
push eax
sub esp, 0x384
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10158df0]
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.10039ca0
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 0x1003aecb
movzx eax, word [esp + 0x140]
add eax, 0xffff98c8
cmp eax, 0x5f
ja case.0x10039ebc.26425
movzx eax, byte [eax + 0x1003aef4]
jmp dword [eax*4 + 0x1003aee8]
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 0x10039f21
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], 0x1015abb4
push edx
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x44]
mov byte [esp + 0x38], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x5c], 0x1015abb4
call fcn.10040380
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp byte [esp + 0x3c], bl
je 0x10039f9c
push 0x14
call fcn.100d4b56
lea ecx, [eax + 0xc]
add esp, 4
cmp ecx, ebx
je 0x10039f84
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, 0x1015abb0
call fcn.1003f3a0
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.1005c4f0
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 0x1003a01b
push eax
call fcn.10073c20
add esp, 4
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x4c]
mov ebp, 0xf
cmp eax, ebx
je 0x1003a31e
lea edx, [esp + 0x74]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x10014ae0
mov dword [esp + 0x48], 0x10014af0
jmp 0x1003a050
push 0x1012c9e4
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 0x1012ca0c
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.1005c4f0
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 0x1003a19f
mov edi, dword [edi + 4]
jmp 0x1003a1a2
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 0x1003a1c1
mov eax, dword [eax + 4]
jmp 0x1003a1c4
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 0x1003a1f7
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.100d4a7a
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 0x1003a233
mov edx, dword [esp + 0xa0]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0xd0], esi
jb 0x1003a261
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x108], esi
jb 0x1003a28f
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xec], esi
jb 0x1003a2bd
mov edx, dword [esp + 0xd8]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0x6c], esi
jb 0x1003a2e5
mov eax, dword [esp + 0x58]
push eax
call fcn.100d4a7a
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 0x1003a312
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d4a7a
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jne 0x1003a050
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003a33a
push eax
call fcn.10073c20
add esp, 4
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x1003aecb
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 0x1003a3c0
mov edi, 1
mov dword [esp + 0x28], edi
test al, 2
je 0x1003a3c9
inc edi
mov dword [esp + 0x28], edi
test al, 4
je 0x1003a3d2
inc edi
mov dword [esp + 0x28], edi
test al, 8
je 0x1003a3db
inc edi
mov dword [esp + 0x28], edi
test al, 0x10
je 0x1003a3e4
inc edi
mov dword [esp + 0x28], edi
test al, 0xc0
je 0x1003a3ed
inc edi
mov dword [esp + 0x28], edi
lea eax, [edi - 2]
cmp eax, 4
ja case.0x1003a3f5.4
jmp dword [eax*4 + 0x1003af54]
mov edx, dword [esp + 0x1c]
mov dword [edx], 2
jmp 0x1003a432
mov eax, dword [esp + 0x1c]
mov dword [eax], 3
jmp 0x1003a432
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 5
jmp 0x1003a432
mov edx, dword [esp + 0x1c]
mov dword [edx], 6
jmp 0x1003a432
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.1005c4f0
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 0x1003a482
push eax
call fcn.10073c20
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1003a781
lea eax, [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x10014ae0
mov dword [esp + 0x48], 0x10014af0
jmp 0x1003a4b0
push 0x1012c9e4
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 0x1012ca0c
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.1005c4f0
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 0x1003a602
mov edi, dword [edi + 4]
jmp 0x1003a605
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 0x1003a624
mov eax, dword [eax + 4]
jmp 0x1003a627
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 0x1003a65d
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.100d4a7a
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 0x1003a69c
mov edx, dword [esp + 0xf4]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xd0], esi
jb 0x1003a6ca
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xb4], esi
jb 0x1003a6f8
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x90], esi
jb 0x1003a723
mov edx, dword [esp + 0x7c]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x6c], esi
jb 0x1003a748
mov eax, dword [esp + 0x58]
push eax
call fcn.100d4a7a
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 0x1003a775
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d4a7a
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1003a4b0
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003a79d
push eax
call fcn.10073c20
add esp, 4
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 1
mov dword [esp + 0x2c], edx
call fcn.1005c4f0
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 0x1003a7ed
push eax
call fcn.10073c20
add esp, 4
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x24], ebx
je 0x1003aafa
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x10040340
mov dword [esp + 0x48], 0x10040350
nop
push 0x1012c9e4
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 0x1012ca0c
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.1005c4f0
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 0x1003a962
mov edi, dword [edi + 4]
jmp 0x1003a965
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 0x1003a984
mov eax, dword [eax + 4]
jmp 0x1003a987
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 0x1003a9bd
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.100d4a7a
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 0x1003a9fc
mov edx, dword [esp + 0xf4]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xd0], esi
jb 0x1003aa2a
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xb4], esi
jb 0x1003aa58
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x1f0], esi
jb 0x1003aa86
mov edx, dword [esp + 0x1dc]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x1f0], ebp
mov dword [esp + 0x1ec], ebx
mov byte [esp + 0x1dc], bl
cmp dword [esp + 0x6c], esi
jb 0x1003aaae
mov eax, dword [esp + 0x58]
push eax
call fcn.100d4a7a
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 0x1003aadb
mov ecx, dword [esp + 0x188]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x19c], ebp
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
cmp dword [esp + 0x24], ebx
jne 0x1003a810
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 0x1003aecb
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 3
mov dword [esp + 0x38], eax
call fcn.1005c4f0
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 0x1003ab81
push eax
call fcn.10073c20
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1003aeae
lea edx, [esp + 0x140]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x100400b0
mov dword [esp + 0x48], 0x100400c0
jmp 0x1003abb0
push 0x1012c9e4
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 0x1012ca0c
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.1005c4f0
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 0x1003ad0e
mov edi, dword [edi + 4]
jmp 0x1003ad11
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 0x1003ad2c
mov ebp, dword [ebp + 4]
jmp 0x1003ad2f
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 0x1003ad62
mov ecx, dword [esp + 0x1f8]
push ecx
call fcn.100d4a7a
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 0x1003ada6
mov edx, dword [esp + 0x1c0]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
cmp dword [esp + 0x164], edi
jb 0x1003add4
mov eax, dword [esp + 0x150]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
cmp dword [esp + 0x180], edi
jb 0x1003ae02
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
cmp dword [esp + 0x1b8], edi
jb 0x1003ae30
mov edx, dword [esp + 0x1a4]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
cmp dword [esp + 0x90], edi
jb 0x1003ae5b
mov eax, dword [esp + 0x7c]
push eax
call fcn.100d4a7a
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 0x1003ae8d
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d4a7a
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 0x1003abb0
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003aec6
push eax
call fcn.10073c20
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