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

Disassembly:
push 0xffffffffffffffff
push 0x1011c698
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.10039e10
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 0x1003b03b
movzx eax, word [esp + 0x140]
add eax, 0xffff98c8
cmp eax, 0x5f
ja case.0x1003a02c.26425
movzx eax, byte [eax + 0x1003b064]
jmp dword [eax*4 + 0x1003b058]
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 0x1003a091
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.10040770
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp byte [esp + 0x3c], bl
je 0x1003a10c
push 0x14
call fcn.100d5826
lea ecx, [eax + 0xc]
add esp, 4
cmp ecx, ebx
je 0x1003a0f4
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.1003f790
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.1005cfa0
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 0x1003a18b
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x4c]
mov ebp, 0xf
cmp eax, ebx
je 0x1003a48e
lea edx, [esp + 0x74]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x10014ae0
mov dword [esp + 0x48], 0x10014af0
jmp 0x1003a1c0
push 0x1012d9f4
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.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.1005cfa0
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 0x1003a30f
mov edi, dword [edi + 4]
jmp 0x1003a312
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 0x1003a331
mov eax, dword [eax + 4]
jmp 0x1003a334
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 0x1003a367
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.100d574a
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 0x1003a3a3
mov edx, dword [esp + 0xa0]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0xd0], esi
jb 0x1003a3d1
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x108], esi
jb 0x1003a3ff
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xec], esi
jb 0x1003a42d
mov edx, dword [esp + 0xd8]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0x6c], esi
jb 0x1003a455
mov eax, dword [esp + 0x58]
push eax
call fcn.100d574a
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 0x1003a482
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d574a
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jne 0x1003a1c0
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003a4aa
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x1003b03b
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 0x1003a530
mov edi, 1
mov dword [esp + 0x28], edi
test al, 2
je 0x1003a539
inc edi
mov dword [esp + 0x28], edi
test al, 4
je 0x1003a542
inc edi
mov dword [esp + 0x28], edi
test al, 8
je 0x1003a54b
inc edi
mov dword [esp + 0x28], edi
test al, 0x10
je 0x1003a554
inc edi
mov dword [esp + 0x28], edi
test al, 0xc0
je 0x1003a55d
inc edi
mov dword [esp + 0x28], edi
lea eax, [edi - 2]
cmp eax, 4
ja case.0x1003a565.4
jmp dword [eax*4 + 0x1003b0c4]
mov edx, dword [esp + 0x1c]
mov dword [edx], 2
jmp 0x1003a5a2
mov eax, dword [esp + 0x1c]
mov dword [eax], 3
jmp 0x1003a5a2
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 5
jmp 0x1003a5a2
mov edx, dword [esp + 0x1c]
mov dword [edx], 6
jmp 0x1003a5a2
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.1005cfa0
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 0x1003a5f2
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1003a8f1
lea eax, [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x10014ae0
mov dword [esp + 0x48], 0x10014af0
jmp 0x1003a620
push 0x1012d9f4
push str.2612
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.1005cfa0
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 0x1003a772
mov edi, dword [edi + 4]
jmp 0x1003a775
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 0x1003a794
mov eax, dword [eax + 4]
jmp 0x1003a797
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 0x1003a7cd
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.100d574a
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 0x1003a80c
mov edx, dword [esp + 0xf4]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xd0], esi
jb 0x1003a83a
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xb4], esi
jb 0x1003a868
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x90], esi
jb 0x1003a893
mov edx, dword [esp + 0x7c]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x6c], esi
jb 0x1003a8b8
mov eax, dword [esp + 0x58]
push eax
call fcn.100d574a
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 0x1003a8e5
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d574a
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1003a620
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003a90d
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 1
mov dword [esp + 0x2c], edx
call fcn.1005cfa0
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 0x1003a95d
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x24], ebx
je 0x1003ac6a
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x10040730
mov dword [esp + 0x48], 0x10040740
nop
push 0x1012d9f4
push str.2613
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.1005cfa0
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 0x1003aad2
mov edi, dword [edi + 4]
jmp 0x1003aad5
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 0x1003aaf4
mov eax, dword [eax + 4]
jmp 0x1003aaf7
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 0x1003ab2d
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.100d574a
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 0x1003ab6c
mov edx, dword [esp + 0xf4]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xd0], esi
jb 0x1003ab9a
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xb4], esi
jb 0x1003abc8
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x1f0], esi
jb 0x1003abf6
mov edx, dword [esp + 0x1dc]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x1f0], ebp
mov dword [esp + 0x1ec], ebx
mov byte [esp + 0x1dc], bl
cmp dword [esp + 0x6c], esi
jb 0x1003ac1e
mov eax, dword [esp + 0x58]
push eax
call fcn.100d574a
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 0x1003ac4b
mov ecx, dword [esp + 0x188]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x19c], ebp
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
cmp dword [esp + 0x24], ebx
jne 0x1003a980
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 0x1003b03b
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 3
mov dword [esp + 0x38], eax
call fcn.1005cfa0
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 0x1003acf1
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1003b01e
lea edx, [esp + 0x140]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x100404a0
mov dword [esp + 0x48], 0x100404b0
jmp 0x1003ad20
push 0x1012d9f4
push str.2561
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.1005cfa0
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 0x1003ae7e
mov edi, dword [edi + 4]
jmp 0x1003ae81
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 0x1003ae9c
mov ebp, dword [ebp + 4]
jmp 0x1003ae9f
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 0x1003aed2
mov ecx, dword [esp + 0x1f8]
push ecx
call fcn.100d574a
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 0x1003af16
mov edx, dword [esp + 0x1c0]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
cmp dword [esp + 0x164], edi
jb 0x1003af44
mov eax, dword [esp + 0x150]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
cmp dword [esp + 0x180], edi
jb 0x1003af72
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
cmp dword [esp + 0x1b8], edi
jb 0x1003afa0
mov edx, dword [esp + 0x1a4]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
cmp dword [esp + 0x90], edi
jb 0x1003afcb
mov eax, dword [esp + 0x7c]
push eax
call fcn.100d574a
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 0x1003affd
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d574a
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 0x1003ad20
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003b036
push eax
call fcn.10074910
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