Function at 0x1001c110
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1011ebfc
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x10159df0]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10159df0]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x104]
sub esp, 0x1c
mov dword [esp + 0x74], esp
mov dword [esp + 0x34], eax
mov eax, esp
push 0x1012d9f4
push 0x1012e1fc
push str.__line:
sub esp, 0x1c
mov dword [esp + 0x58], esp
mov edi, ecx
mov ecx, esp
xor ebx, ebx
push 0x1c
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov byte [ecx + 4], bl
mov dword [esp + 0x60], eax
call fcn.10007180
lea esi, [esp + 0xd8]
call fcn.1001a820
add esp, 0x1c
mov dword [esp + 0x44], eax
mov dword [esp + 0x124], ebx
push 3
push 0x1012da1c
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.10007180
mov ecx, dword [esp + 0x44]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x130], 1
call fcn.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0x12c], 2
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0xd8]
push edx
mov byte [esp + 0x128], 3
call fcn.1000a390
add esp, 0xc
push eax
mov eax, dword [esp + 0x38]
push eax
mov byte [esp + 0x124], 4
call fcn.1000a390
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x4c], esp
mov byte [esp + 0x134], 5
push 0x2f
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.cflashtool_api::FlashTool_EnableWatchDogTimeout
mov byte [ecx + 4], bl
call fcn.10007180
lea ecx, [ebp - 0xe]
lea ebx, [esp + 0x104]
mov byte [esp + 0x134], 4
call fcn.10055ee0
mov esi, 0x10
cmp dword [esp + 0xc8], esi
jb 0x1001c297
mov eax, dword [esp + 0xb4]
push eax
call fcn.100d541a
add esp, 4
xor ebx, ebx
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0x74], esi
jb 0x1001c2c1
mov ecx, dword [esp + 0x60]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0x90], esi
jb 0x1001c2e3
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 + 0x54], esi
jb 0x1001c308
mov eax, dword [esp + 0x40]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0xfc], 0xffffffff
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0xac], esi
jb 0x1001c338
mov ecx, dword [esp + 0x98]
push ecx
call fcn.100d541a
add esp, 4
mov edx, dword [edi]
mov ecx, dword [edi + 8]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x24], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
sub esp, 0x1c
mov dword [esp + 0x54], ecx
mov edi, esp
mov dword [esp + 0x50], eax
mov ecx, 7
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], 1
push edx
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.FlashtoollibEx.dll_flashtool_shutdown_device]
mov esi, eax
lea eax, [esp + 0xcc]
push eax
call fcn.10056180
mov eax, esi
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.100d4541
add esp, 0xec
ret 4