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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101a1c28
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov ebx, edx
lea eax, [esp + 0xc4]
mov edi, ecx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x17], 1
call fcn.100fb790
push ebx
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0x1d8], 0
call fcn.100fccb0
lea ecx, [esp + 0xa8]
push ecx
lea esi, [esp + 0x64]
mov byte [esp + 0x1d4], 1
call fcn.100652e0
lea edx, [esp + 0x58]
push edx
mov ecx, eax
mov byte [esp + 0x1d4], 2
call fcn.10101590
mov byte [esp + 0x1d0], 4
cmp dword [esp + 0x78], 0x10
jb 0x101009db
mov eax, dword [esp + 0x64]
push eax
call fcn.1016d679
add esp, 4
mov ecx, ebx
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov dword [esp + 0x18], 1
call fcn.10151520
cmp eax, 1
jbe 0x10100c84
mov eax, dword [edi + 4]
test eax, eax
je 0x10100a1b
cmp dword [eax], 0x2694
je 0x10100c10
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x20]
lea ebx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
call fcn.10106b50
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea esi, [esp + 0xc4]
push esi
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x17], al
test al, al
je 0x10100c48
mov ecx, esi
push ecx
lea ebx, [edi + 0x250]
call fcn.10103c90
movzx edx, word [esp + 0x18]
dec edx
push edx
sub esp, 0x1c
lea eax, [esp + 0xe4]
mov esi, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.100652e0
lea esi, [esp + 0x9c]
call fcn.101062f0
add esp, 0x20
mov esi, eax
xor eax, eax
push 0xffffffffffffffff
mov byte [esp + 0x1d4], 5
push eax
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], eax
mov byte [esp + 0x34], al
call fcn.10004b90
mov cx, word [esi + 0x1c]
mov word [esp + 0x40], cx
lea edx, [esp + 0x24]
push edx
lea eax, [edi + 0x268]
push eax
lea ebx, [esp + 0xa4]
mov byte [esp + 0x1d8], 6
call fcn.10103d40
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x10100af4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1016d679
add esp, 4
xor ebx, ebx
mov byte [esp + 0x1d0], 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x94], esi
jb 0x10100b27
mov edx, dword [esp + 0x80]
push edx
call fcn.1016d679
add esp, 4
mov eax, dword [esp + 0x1b0]
cmp eax, ebx
jbe 0x10100bf1
push eax
sub esp, 0x1c
lea eax, [esp + 0xe4]
mov esi, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.100652e0
lea esi, [esp + 0x9c]
call fcn.101062f0
add esp, 0x20
mov esi, eax
push 0xffffffffffffffff
mov byte [esp + 0x1d4], 7
push ebx
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.10004b90
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [edi + 0x288]
push ecx
mov byte [esp + 0x1dc], 8
call fcn.10042540
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x10100bc0
mov edx, dword [esp + 0x28]
push edx
call fcn.1016d679
add esp, 4
mov byte [esp + 0x1d0], 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x94], esi
jb 0x10100bf1
mov eax, dword [esp + 0x80]
push eax
call fcn.1016d679
add esp, 4
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc esi
mov dword [esp + 0x18], esi
call fcn.10151520
movzx ecx, si
cmp ecx, eax
jb 0x10100a08
jmp 0x10100c84
push str.user_stop_load_scatter
lea edi, [esp + 0x48]
mov dword [esp + 0x48], str.FlashToolLib_source_common_generic_src_LayoutConfigFileParser.cpp
mov dword [esp + 0x4c], 0x24a
mov byte [esp + 0x50], 0
mov dword [esp + 0x54], str._DEBUG:
mov dword [esp + 0x58], str.SPFlashTool::SmartPhoneLayoutCfgParser::LoadRomsSetting
call fcn.10017c90
add esp, 4
jmp 0x10100c84
movzx edx, word [esp + 0x18]
push edx
push str.Index__d__failed_
lea edi, [esp + 0x4c]
mov dword [esp + 0x4c], str.FlashToolLib_source_common_generic_src_LayoutConfigFileParser.cpp
mov dword [esp + 0x50], 0x24f
mov byte [esp + 0x54], 0xff
mov dword [esp + 0x58], str._ERROR:
mov dword [esp + 0x5c], str.SPFlashTool::SmartPhoneLayoutCfgParser::LoadRomsSetting
call fcn.10017c90
add esp, 8
mov byte [esp + 0x1d0], 1
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x10100cbe
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10100cbe
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10100cbe
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp dword [esp + 0xc0], 0x10
jb 0x10100cd8
mov eax, dword [esp + 0xac]
push eax
call fcn.1016d679
add esp, 4
lea esi, [esp + 0xc4]
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], 0
mov byte [esp + 0xac], 0
call fcn.100fb840
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.1016cb16
mov esp, ebp
pop ebp
ret