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

Disassembly:
push 0xffffffffffffffff
push 0x10119e98
mov eax, dword fs:[0]
push eax
sub esp, 0x384
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10156de0]
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.10038b30
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 0x10039d5b
movzx eax, word [esp + 0x140]
add eax, 0xffff98c8
cmp eax, 0x5f
ja case.0x10038d4c.26425
movzx eax, byte [eax + 0x10039d84]
jmp dword [eax*4 + 0x10039d78]
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 0x10038db1
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], 0x10158ba4
push edx
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x44]
mov byte [esp + 0x38], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x5c], 0x10158ba4
call fcn.1003ec80
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp byte [esp + 0x3c], bl
je 0x10038e2c
push 0x14
call fcn.100d3186
lea ecx, [eax + 0xc]
add esp, 4
cmp ecx, ebx
je 0x10038e14
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, 0x10158ba0
call fcn.1003dce0
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.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x54]
push edx
mov esi, eax
call fcn.1000a3d0
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 0x10038eab
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x4c]
mov ebp, 0xf
cmp eax, ebx
je 0x100391ae
lea edx, [esp + 0x74]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x10014a20
mov dword [esp + 0x48], 0x10014a30
jmp 0x10038ee0
push 0x1012a9d4
push str.2464
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.10007110
lea esi, [esp + 0x14c]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 0xb
push 3
push 0x1012a9fc
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.10007110
push esi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xe8]
push ecx
mov byte [esp + 0x3b8], 0xc
call fcn.1000a250
add esp, 0xc
push eax
lea edx, [esp + 0x100]
push edx
mov byte [esp + 0x3b4], 0xd
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x3b0], 0xe
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0xa4]
push ecx
mov byte [esp + 0x3ac], 0xf
call fcn.1000a300
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.10009db0
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 0x11
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x78]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x3a0], 0x12
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1000a480
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 0x1003902f
mov edi, dword [edi + 4]
jmp 0x10039032
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x10039051
mov eax, dword [eax + 4]
jmp 0x10039054
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3a0], 0x12
call fcn.10006cd0
cmp dword [esp + 0x90], edi
jb 0x10039087
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.100d30aa
add esp, 4
lea edi, [esp + 0x210]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.10003ab0
mov esi, 0x10
cmp dword [esp + 0xb4], esi
jb 0x100390c3
mov edx, dword [esp + 0xa0]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0xd0], esi
jb 0x100390f1
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x108], esi
jb 0x1003911f
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xec], esi
jb 0x1003914d
mov edx, dword [esp + 0xd8]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0x6c], esi
jb 0x10039175
mov eax, dword [esp + 0x58]
push eax
call fcn.100d30aa
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 0x100391a2
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d30aa
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jne 0x10038ee0
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x100391ca
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x10039d5b
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 0x10039250
mov edi, 1
mov dword [esp + 0x28], edi
test al, 2
je 0x10039259
inc edi
mov dword [esp + 0x28], edi
test al, 4
je 0x10039262
inc edi
mov dword [esp + 0x28], edi
test al, 8
je 0x1003926b
inc edi
mov dword [esp + 0x28], edi
test al, 0x10
je 0x10039274
inc edi
mov dword [esp + 0x28], edi
test al, 0xc0
je 0x1003927d
inc edi
mov dword [esp + 0x28], edi
lea eax, [edi - 2]
cmp eax, 4
ja case.0x10039285.4
jmp dword [eax*4 + 0x10039de4]
mov edx, dword [esp + 0x1c]
mov dword [edx], 2
jmp 0x100392c2
mov eax, dword [esp + 0x1c]
mov dword [eax], 3
jmp 0x100392c2
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 5
jmp 0x100392c2
mov edx, dword [esp + 0x1c]
mov dword [edx], 6
jmp 0x100392c2
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.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.1000a3d0
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 0x10039312
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10039611
lea eax, [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x10014a20
mov dword [esp + 0x48], 0x10014a30
jmp 0x10039340
push 0x1012a9d4
push str.2507
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.10007110
lea esi, [esp + 0x14c]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 0x15
push 3
push 0x1012a9fc
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.10007110
push esi
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x3b8], 0x16
call fcn.1000a250
add esp, 0xc
push eax
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x3b4], 0x17
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0xc4]
push ecx
mov byte [esp + 0x3b0], 0x18
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0xf8]
push edx
mov byte [esp + 0x3ac], 0x19
call fcn.1000a300
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.10009db0
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 0x1b
call fcn.10011db0
add esp, 4
lea edx, [esp + 0xd4]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x3a0], 0x1c
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1000a480
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 0x10039492
mov edi, dword [edi + 4]
jmp 0x10039495
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x100394b4
mov eax, dword [eax + 4]
jmp 0x100394b7
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3a0], 0x1c
call fcn.10006cd0
cmp dword [esp + 0xec], edi
jb 0x100394ed
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.100d30aa
add esp, 4
lea edi, [esp + 0x210]
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.10003ab0
mov esi, 0x10
cmp dword [esp + 0x108], esi
jb 0x1003952c
mov edx, dword [esp + 0xf4]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xd0], esi
jb 0x1003955a
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xb4], esi
jb 0x10039588
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x90], esi
jb 0x100395b3
mov edx, dword [esp + 0x7c]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x6c], esi
jb 0x100395d8
mov eax, dword [esp + 0x58]
push eax
call fcn.100d30aa
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 0x10039605
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d30aa
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x10039340
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x1003962d
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 1
mov dword [esp + 0x2c], edx
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov esi, eax
call fcn.1000a3d0
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 0x1003967d
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x24], ebx
je 0x1003998a
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x1003ec40
mov dword [esp + 0x48], 0x1003ec50
nop
push 0x1012a9d4
push str.2508
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.10007110
lea esi, [esp + 0x1ac]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 0x1f
push 3
push 0x1012a9fc
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.10007110
push esi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1ec]
push ecx
mov byte [esp + 0x3b8], 0x20
call fcn.1000a250
add esp, 0xc
push eax
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x3b4], 0x21
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x3b0], 0x22
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0xf8]
push ecx
mov byte [esp + 0x3ac], 0x23
call fcn.1000a300
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.10009db0
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 0x25
call fcn.10011db0
add esp, 4
lea edx, [esp + 0xd4]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x3a0], 0x26
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1000a480
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 0x100397f2
mov edi, dword [edi + 4]
jmp 0x100397f5
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x10039814
mov eax, dword [eax + 4]
jmp 0x10039817
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3a0], 0x26
call fcn.10006cd0
cmp dword [esp + 0xec], edi
jb 0x1003984d
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.100d30aa
add esp, 4
lea edi, [esp + 0x210]
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.10003ab0
mov esi, 0x10
cmp dword [esp + 0x108], esi
jb 0x1003988c
mov edx, dword [esp + 0xf4]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xd0], esi
jb 0x100398ba
mov eax, dword [esp + 0xbc]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0xb4], esi
jb 0x100398e8
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x1f0], esi
jb 0x10039916
mov edx, dword [esp + 0x1dc]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x1f0], ebp
mov dword [esp + 0x1ec], ebx
mov byte [esp + 0x1dc], bl
cmp dword [esp + 0x6c], esi
jb 0x1003993e
mov eax, dword [esp + 0x58]
push eax
call fcn.100d30aa
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 0x1003996b
mov ecx, dword [esp + 0x188]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x19c], ebp
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
cmp dword [esp + 0x24], ebx
jne 0x100396a0
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 0x10039d5b
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 3
mov dword [esp + 0x38], eax
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
mov esi, eax
call fcn.1000a3d0
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 0x10039a11
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10039d3e
lea edx, [esp + 0x140]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x1003e9d0
mov dword [esp + 0x48], 0x1003e9e0
jmp 0x10039a40
push 0x1012a9d4
push str.2456
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.10007110
lea esi, [esp + 0x14c]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3ac], 1
push 3
push 0x1012a9fc
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.10007110
push esi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1b4]
push ecx
mov byte [esp + 0x3b8], 2
call fcn.1000a250
add esp, 0xc
push eax
lea edx, [esp + 0x178]
push edx
mov byte [esp + 0x3b4], 3
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x3b0], 4
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0x1c4]
push ecx
mov byte [esp + 0x3ac], 5
call fcn.1000a300
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.10009db0
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x3a4], 7
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x1f4]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x3a0], 8
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.1000a480
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 0x10039b9e
mov edi, dword [edi + 4]
jmp 0x10039ba1
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [ebp + 0x14]
mov edi, 0x10
cmp dword [ebp + 0x18], edi
jb 0x10039bbc
mov ebp, dword [ebp + 4]
jmp 0x10039bbf
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3a0], 8
call fcn.10006cd0
cmp dword [esp + 0x20c], edi
jb 0x10039bf2
mov ecx, dword [esp + 0x1f8]
push ecx
call fcn.100d30aa
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.10003ab0
mov edi, 0x10
cmp dword [esp + 0x1d4], edi
jb 0x10039c36
mov edx, dword [esp + 0x1c0]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
cmp dword [esp + 0x164], edi
jb 0x10039c64
mov eax, dword [esp + 0x150]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
cmp dword [esp + 0x180], edi
jb 0x10039c92
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
cmp dword [esp + 0x1b8], edi
jb 0x10039cc0
mov edx, dword [esp + 0x1a4]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
cmp dword [esp + 0x90], edi
jb 0x10039ceb
mov eax, dword [esp + 0x7c]
push eax
call fcn.100d30aa
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 0x10039d1d
mov ecx, dword [esp + 0x128]
push ecx
call fcn.100d30aa
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 0x10039a40
mov dword [esp + 0x3a0], 0xffffffff
cmp eax, ebx
je 0x10039d56
push eax
call fcn.10072220
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