Function at 0x100100d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
push ebp
mov ebp, dword [esp + 0x3c]
mov ecx, 1
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x100102e6
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x100102e6
mov eax, dword [ebp + 0x3c]
add eax, ebp
cmp dword [eax], 0x4550
mov dword [esp + 0x24], eax
jne 0x100102e6
push esi
push edi
mov edi, dword [eax + 0x78]
mov eax, dword [edi + ebp + 0x1c]
add edi, ebp
add eax, ebp
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x24]
add eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x20]
xor esi, esi
add eax, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], esi
cmp dword [edi + 0x18], esi
jbe 0x100102dd
push ebx
jmp 0x1001014a
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + esi*4]
add ecx, ebp
je 0x10010161
mov edx, 0xff
mov eax, ecx
cmp byte [eax], 0
je 0x10010196
inc eax
dec edx
jne 0x10010158
xor eax, eax
push eax
push ecx
push 0
call fcn.10016af0
mov edx, dword [esp + 0x5c]
xor eax, dword [esp + 0x60]
add esp, 0xc
xor ebx, ebx
test edx, edx
jle 0x100102bf
mov ecx, dword [esp + 0x4c]
cmp eax, dword [ecx]
je 0x100101a3
inc ebx
add ecx, 0x10
cmp ebx, edx
jl 0x10010185
jmp 0x100102bf
test edx, edx
je 0x10010161
mov eax, 0xff
sub eax, edx
jmp 0x10010163
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx + esi*2]
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + edx*4]
add esi, ebp
je 0x1001028e
cmp esi, edi
jb 0x1001028e
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x7c]
add edx, edi
cmp esi, edx
jae 0x1001028e
push esi
call dword [sym.imp.SHLWAPI.dll_StrDupA]
mov ebp, eax
test ebp, ebp
je 0x100102bb
push 0x2e
push ebp
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHLWAPI.dll_StrChrA]
mov edi, eax
test edi, edi
je 0x10010278
mov byte [edi], 0
mov eax, dword [0x100200a8]
inc edi
push ebp
test eax, eax
je 0x10010211
call eax
jmp 0x10010217
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10010278
xor esi, esi
mov dword [esp + 0x14], 1
cmp edi, esi
je 0x1001023d
mov ecx, 0xff
mov eax, edi
cmp byte [eax], 0
je 0x100102a2
inc eax
dec ecx
jne 0x10010234
xor eax, eax
push eax
push edi
push esi
call fcn.10016af0
mov ecx, eax
mov eax, dword [esp + 0x60]
push eax
xor ecx, eax
mov eax, dword [esp + 0x20]
push 0x10
lea edx, [esp + 0x48]
push edx
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
call fcn.100100d0
mov esi, dword [esp + 0x5c]
add esp, 0x1c
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x48]
je 0x100102bf
mov ecx, dword [esp + 0x4c]
add ebx, ebx
lea eax, [ecx + ebx*8 + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x100102af
mov dword [ecx], esi
jmp 0x100102b1
cmp ecx, esi
je 0x1001023d
mov eax, 0xff
sub eax, ecx
jmp 0x1001023f
mov dword [eax], esi
test esi, esi
jne 0x100102bf
mov dword [esp + 0x20], esi
jmp 0x100102bf
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x1c], esi
cmp esi, dword [edi + 0x18]
jb 0x10010146
mov eax, dword [esp + 0x20]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x34
ret
pop edi
pop esi
mov eax, ecx
pop ebp
add esp, 0x34
ret
mov eax, ecx
pop ebp
add esp, 0x34
ret