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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101a10a6
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, dword [esi + 0x28]
lea ebx, [esi + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
cmp edi, dword [ebx + 0x10]
jbe 0x100b4381
call fcn.1016d669
mov ecx, dword [ebx]
mov ebx, edi
push str.before_check...
lea edi, [esp + 0x30]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], str.FlashToolLib_source_common_generic_src_emi_setting.cpp
mov dword [esp + 0x34], 0x1074
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], str._DEBUG:
mov dword [esp + 0x40], str.MT6592EMMCComboEMISetting::GetDramEMISetting
call fcn.10017c90
add esp, 4
cmp byte [esi + 0x34], 0
je 0x100b4441
push str.default_version...
lea edi, [esp + 0x30]
mov dword [esp + 0x30], str.FlashToolLib_source_common_generic_src_emi_setting.cpp
mov dword [esp + 0x34], 0x1076
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], str._DEBUG:
mov dword [esp + 0x40], str.MT6592EMMCComboEMISetting::GetDramEMISetting
call fcn.10017c90
mov esi, dword [esp + 0x1c]
add esp, 4
push 0xbc
lea edx, [esp + 0x80]
push 0
push edx
mov dword [esi], 1
mov dword [esi + 0x9c], 0xc
call fcn.10173270
lea edi, [esi + 0xa0]
mov ecx, 0x2f
lea esi, [esp + 0x88]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
xor esi, esi
jmp 0x100b4602
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x40], eax
cmp dword [edi + 0xc], eax
jbe 0x100b4456
call fcn.1016d669
mov eax, dword [edi]
mov edi, dword [esp + 0x24]
test edi, edi
je 0x100b4464
cmp edi, eax
je 0x100b4469
call fcn.1016d669
cmp ebx, dword [esp + 0x40]
je 0x100b45ee
test edi, edi
jne 0x100b44e1
call fcn.1016d669
cmp ebx, dword [edi + 0x10]
jb 0x100b4486
call fcn.1016d669
lea eax, [esp + 0x44]
push eax
call fcn.100b4640
mov edi, eax
mov dword [esp + 0x150], 0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100b44e5
call fcn.1016d669
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x100b44b6
call fcn.1016d669
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x60]
push ecx
push edx
mov ecx, ebx
call fcn.100b4160
mov byte [esp + 0x150], 1
mov ecx, dword [edi + 0x14]
mov esi, 0x10
cmp dword [edi + 0x18], esi
jb 0x100b44e9
mov edi, dword [edi + 4]
jmp 0x100b44ec
mov edi, dword [edi]
jmp 0x100b447c
mov eax, dword [eax]
jmp 0x100b44ac
add edi, 4
push ecx
mov ecx, dword [eax + 0x14]
push edi
push ecx
push 0
mov ecx, eax
call fcn.100434b0
test eax, eax
sete byte [esp + 0x17]
cmp dword [esp + 0x78], esi
jb 0x100b4515
mov edx, dword [esp + 0x64]
push edx
call fcn.1016d679
add esp, 4
mov edi, 0xf
mov dword [esp + 0x150], 0xffffffff
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
cmp dword [esp + 0x5c], esi
jb 0x100b4549
mov eax, dword [esp + 0x48]
push eax
call fcn.1016d679
add esp, 4
cmp byte [esp + 0x17], 0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jne 0x100b458d
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100b4589
call fcn.1016d669
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x100b457a
call fcn.1016d669
mov esi, dword [esp + 0x1c]
add ebx, 0xbc
jmp 0x100b4441
mov eax, dword [eax]
jmp 0x100b4570
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov dword [edi], 1
mov dword [edi + 0x9c], 0xd
test esi, esi
jne 0x100b45e6
call fcn.1016d669
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x100b45ba
call fcn.1016d669
or dword [ebx], 0x10000
test esi, esi
jne 0x100b45ea
call fcn.1016d669
cmp ebx, dword [esi + 0x10]
jb 0x100b45d3
call fcn.1016d669
add edi, 0xa0
mov ecx, 0x2f
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
jmp 0x100b4602
mov eax, dword [esi]
jmp 0x100b45b0
mov esi, dword [esi]
jmp 0x100b45c9
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x14]
push esi
call fcn.100b3f30
mov esi, eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x14]
push edx
push ecx
push esi
call fcn.1009e370
mov eax, esi
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.1016cb16
mov esp, ebp
pop ebp
ret 4