Function at 0x100e60c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019d180
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20a0]
test eax, eax
je 0x100e6151
cmp dword [eax], 0x2694
jne 0x100e6151
push str.user_stop_load_scatter
lea edi, [esp + 0x30]
mov dword [esp + 0x30], str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov dword [esp + 0x34], 0x122e
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], str._DEBUG:
mov dword [esp + 0x40], str.DL_HANDLE::Rom_Load
call fcn.10017c90
add esp, 4
mov eax, 0x3e8
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebx + 0x20a4], 0
je 0x100e6212
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x1235
lea esi, [esp + 0x30]
call fcn.10111280
mov dword [esp + 0x60], 0
mov ecx, dword [0x103b321c]
push str.SCI_load_can_not_use_DL_HANDLE__::Rom_Load__:_function.
push ecx
push eax
call fcn.10111350
add esp, 0xc
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x1236
lea esi, [esp + 0x30]
mov dword [esp + 0x64], 0xffffffff
call fcn.10111280
mov esi, eax
mov dword [esp + 0x60], 1
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0xaf3addc7
imul ecx
add edx, ecx
movzx ecx, word [ebp + 0xc]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x103b321c]
push eax
push ecx
push ebx
push str.DL_HANDLE_0x_08X_::Rom_Load__:_index___d__m_rom_list.size___d.
push edx
push esi
call fcn.10111350
add esp, 0x18
mov eax, 0x3ea
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
movzx edi, word [ebp + 0xc]
mov eax, 0xaf3addc7
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x17], 0
mov dword [esp + 0x20], edi
cmp eax, edi
jbe 0x100e667f
lea esi, [ebx + 0x18]
call fcn.100eea80
mov esi, ebx
mov dword [esp + 0x28], eax
call fcn.10063390
mov ebx, eax
cmp byte [ebx + 0x5b9], 0
mov dword [esp + 0x1c], ebx
jne 0x100e62be
cmp dword [ebx + 0x18], 0x10
jb 0x100e626d
mov ebx, dword [ebx + 4]
jmp 0x100e6270
add ebx, 4
push ebx
push str.ROM:__s_is_invisible.
lea edi, [esp + 0x34]
mov dword [esp + 0x34], str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov dword [esp + 0x38], 0x1246
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], str._DEBUG:
mov dword [esp + 0x44], str.DL_HANDLE::Rom_Load
call fcn.10017c90
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edi, esi
call fcn.100e6da0
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x124f
lea esi, [esp + 0x30]
call fcn.10111280
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
push esi
push edx
mov dword [esp + 0x68], 2
mov ecx, dword [0x103b321c]
push str.DL_HANDLE__::Rom_Load__:_index__d___name__s_
push ecx
push eax
call fcn.10111350
mov edi, dword [ebp + 8]
add esp, 0x14
push 0x1250
lea eax, [ebx + 0x3f8]
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov dword [esp + 0x68], 0xffffffff
mov edx, dword [edi + 0x20a0]
push eax
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.100d8d60
mov esi, eax
test esi, esi
je 0x100e6368
push 0xffff
mov ebx, edi
call fcn.100e7720
mov edx, dword [ebp + 0xc]
push edx
call fcn.100e6da0
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x1255
lea esi, [esp + 0x30]
call fcn.10111280
mov edi, 0x10
mov dword [esp + 0x60], 3
cmp dword [ebx + 0x18], edi
jb 0x100e63a0
mov ecx, dword [ebx + 4]
lea esi, [ebx + 4]
mov dword [esp + 0x18], esi
jmp 0x100e63a9
lea ecx, [ebx + 4]
mov dword [esp + 0x18], ecx
mov esi, ecx
push ecx
mov ecx, dword [0x103b321c]
push str.DL_HANDLE__::Rom_Load__:_ROM_loaded__name___s
push ecx
push eax
call fcn.10111350
add esp, 0x10
mov dword [esp + 0x60], 0xffffffff
cmp dword [ebx + 0x64], 7
jne 0x100e63f8
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.100e50c0
test eax, eax
je 0x100e6560
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x18], edi
jb 0x100e63ff
mov esi, dword [esi]
push 0x1023bad4
push esi
call fcn.10188c3e
mov esi, dword [ebp + 8]
add esp, 8
test eax, eax
jne 0x100e655d
add esi, 0x70
mov eax, esi
call fcn.10004270
mov edx, dword [ebx + 0x41c]
mov eax, dword [ebx + 0x418]
mov ecx, dword [ebx + 0x414]
push edx
push eax
push ecx
push esi
call fcn.10002760
mov edx, dword [ebx + 0x414]
mov ebx, dword [ebx + 0x418]
push edx
call fcn.10003d40
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x418]
mov edx, dword [ebx + 0x414]
push esi
call fcn.10003e10
mov edi, dword [ebp + 8]
cmp byte [edi + 0x1e8], 0
je 0x100e650a
mov eax, esi
call fcn.100d7290
test al, al
je 0x100e648f
cmp dword [edi + 0x74], 5
jb 0x100e648f
test byte [edi + 0x1c0], 1
jne 0x100e650a
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, str._ERROR:
or cl, 0xff
mov eax, 0x126f
lea esi, [esp + 0x30]
call fcn.10111280
mov ecx, dword [esp + 0x24]
mov esi, 0x10
mov dword [esp + 0x60], 4
cmp dword [ecx + 0x18], esi
jb 0x100e64c5
mov edx, dword [ecx + 4]
jmp 0x100e64c8
lea edx, [ecx + 4]
mov ecx, dword [esp + 0x18]
cmp dword [ebx + 0x18], esi
jb 0x100e64d3
mov ecx, dword [ecx]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [0x103b321c]
push edx
push edi
push str.DL_HANDLE_0x_08X_::Rom_Load__:___u_:__s___s___is_invalid_or_corrupted_
push ecx
push eax
call fcn.10111350
add esp, 0x1c
mov eax, 0x1785
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x4a4]
cdq
sub dword [ebx + 0x418], eax
lea esi, [edi + 0x4b0]
sbb dword [ebx + 0x41c], edx
call fcn.100eb8f0
lea ecx, [ebx + 0x4d0]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100e6533
sub eax, esi
lea edx, [edi + 0x3a8]
mov dword [edi + 0x3a4], eax
mov eax, ecx
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100e6550
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 0x530], 0
jbe 0x100e6570
mov byte [esi + 0x3a0], 1
mov edx, dword [ebx + 0x418]
add edx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x41c]
adc eax, dword [ebx + 0x44]
lea ecx, [esp + 0x17]
push ecx
add edx, 0xffffffff
push edi
adc eax, 0xffffffff
push esi
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], eax
mov byte [ebx + 0x61], 1
call fcn.100e66a0
test eax, eax
jne 0x100e6684
push edi
mov ecx, esi
call fcn.100e68a0
test eax, eax
jne 0x100e6684
mov ebx, esi
cmp byte [esp + 0x17], al
je 0x100e6645
push 0xffff
call fcn.100e7720
push str.FlashToolLib_source_common_handle_src_flashtool_handle_internal.cpp
mov edx, 0x10201619
xor cl, cl
mov eax, 0x1295
lea esi, [esp + 0x44]
call fcn.10111280
mov ecx, dword [esp + 0x24]
mov edi, 0x10
mov dword [esp + 0x60], 5
cmp dword [ecx + 0x18], edi
jb 0x100e6601
mov edx, dword [ecx + 4]
jmp 0x100e6604
lea edx, [ecx + 4]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x18], edi
jb 0x100e6613
mov ecx, dword [ecx]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [0x103b321c]
push ecx
push str.DL_HANDLE_0x_08X_::Rom_Load__:___u_:__s__has_been_reloaded_from___s_____
push edx
push eax
call fcn.10111350
mov dword [esp + 0x7c], 0xffffffff
add esp, 0x1c
mov dword [esp + 0x40], vtable.MetaTrace.0
jmp 0x100e664f
push edi
call fcn.100e7720
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov byte [esi + 0x5b8], 1
call fcn.100e4a30
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x138c
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc