Function at 0x100e40c0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1019e848
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x338], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x350]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x364]
mov ebp, dword [esp + 0x360]
xor edi, edi
push 0x110
lea ecx, [esp + 0x80]
push edi
push ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.10173270
add esp, 0xc
mov dword [esp + 0x18], edi
lea edx, [esp + 0x18c]
push edx
mov dword [esp + 0x35c], edi
call fcn.100d86d0
mov byte [esp + 0x358], 1
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x18]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], ecx
cmp esi, dword [ebp + 0x10]
jbe 0x100e417f
call fcn.1016d669
mov edi, dword [ebp]
lea edx, [esi + 0x3fc]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edx
mov ebx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], ebx
jbe 0x100e419d
call fcn.1016d669
mov eax, dword [ebp]
test edi, edi
je 0x100e41a8
cmp edi, eax
je 0x100e41ad
call fcn.1016d669
cmp esi, ebx
je 0x100e43eb
test edi, edi
jne 0x100e4209
call fcn.1016d669
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100e41ca
call fcn.1016d669
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1bd], 0
je 0x100e4340
test edi, edi
jne 0x100e420d
call fcn.1016d669
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100e41f0
call fcn.1016d669
mov eax, dword [esp + 0x14]
mov ebx, 0x10
cmp dword [eax + 0x14], ebx
jb 0x100e4211
mov ecx, dword [eax]
mov dword [esp + 0x84], ecx
jmp 0x100e4218
mov eax, dword [edi]
jmp 0x100e41c0
mov eax, dword [edi]
jmp 0x100e41e6
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x20]
mov dword [esp + 0x7c], edx
test edi, edi
jne 0x100e4249
call fcn.1016d669
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100e4235
call fcn.1016d669
mov eax, dword [esp + 0x14]
cmp dword [eax - 0x3e4], ebx
jb 0x100e424d
mov eax, dword [eax - 0x3f8]
jmp 0x100e4252
mov eax, dword [edi]
jmp 0x100e422b
add eax, 0xfffffc08
mov dword [esp + 0x80], eax
test edi, edi
jne 0x100e436c
call fcn.1016d669
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100e4272
call fcn.1016d669
mov eax, dword [esp + 0x14]
lea ecx, [eax - 4]
lea edx, [esp + 0x18c]
cmp edx, ecx
je 0x100e4294
lea ebx, [eax - 4]
mov eax, edx
push eax
call fcn.100d8870
mov ebx, 0x10
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x190]
lea edi, [esp + 0x48]
call fcn.1012bc50
test al, al
je 0x100e4377
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
mov word [esp + 0x88], ax
mov ecx, dword [esp + 0x88]
push fcn.10049dd0
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.100729a0
mov edi, dword [esp + 0x84]
add esp, 0xc
cmp edi, ebx
mov ebx, dword [esp + 0x64]
mov ecx, ebx
jae 0x100e42f5
lea ecx, [esp + 0x64]
lea edx, [esp + 0x8a]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100e4300
cmp edi, 0x10
jb 0x100e4318
push ebx
call fcn.1016d679
add esp, 4
lea edi, [ebp + 0x2120]
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
call fcn.100ef020
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x100e4373
call fcn.1016d669
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100e4355
call fcn.1016d669
add dword [esp + 0x14], 0x5d8
add esi, 0x5d8
inc dword [esp + 0x20]
jmp 0x100e4190
mov eax, dword [edi]
jmp 0x100e4268
mov eax, dword [edi]
jmp 0x100e434b
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x100e43a0
call fcn.1016d669
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100e4390
call fcn.1016d669
cmp dword [esi + 0x410], ebx
jb 0x100e43a4
mov eax, dword [esi + 0x3fc]
jmp 0x100e43aa
mov eax, dword [eax]
jmp 0x100e4386
lea eax, [esi + 0x3fc]
push eax
push str.Calculate_file__s__failed_
lea edi, [esp + 0x38]
mov dword [esp + 0x38], str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov dword [esp + 0x3c], 0xff8
mov byte [esp + 0x40], 0xff
mov dword [esp + 0x44], str._ERROR:
mov dword [esp + 0x48], str.DL_HANDLE::CalculateROMsMemBuf
call fcn.10017c90
add esp, 8
mov dword [esp + 0x1c], 0x411
jmp 0x100e445e
mov ecx, dword [ebp + 0x2130]
sub ecx, dword [ebp + 0x212c]
mov eax, 0x78787879
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100e445e
mov ecx, dword [ebp + 0x2130]
sub ecx, dword [ebp + 0x212c]
mov edi, dword [esp + 0x24]
mov eax, 0x78787879
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [edi], ecx
mov esi, dword [ebp + 0x212c]
cmp esi, dword [ebp + 0x2130]
jbe 0x100e4440
call fcn.1016d669
mov eax, dword [ebp + 0x2120]
test eax, eax
jne 0x100e44bc
call fcn.1016d669
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100e445b
call fcn.1016d669
mov dword [edi + 4], esi
lea edx, [esp + 0x18c]
push edx
mov byte [esp + 0x35c], 0
call fcn.100d8b40
mov dword [esp + 0x358], 0xffffffff
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100e448e
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x350]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.1016cb16
add esp, 0x348
ret 8
mov eax, dword [eax]
jmp 0x100e4451