Function at 0x10005bf0
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014d70
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1001b030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [edi], 0xa45504d
jne 0x10005e3c
cmp word [edi + 4], 1
jne 0x10005e3c
mov eax, 0x14c
cmp word [edi + 0xa], ax
jne 0x10005e3c
mov ecx, 0x10b
cmp word [edi + 0x12], cx
jne 0x10005e3c
mov ecx, dword [esi + 8]
xor ebx, ebx
cmp ecx, ebx
je 0x10005c67
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 8], ebx
mov ecx, dword [edi + 0x1a]
mov edx, dword [edi + 0x1e]
push ecx
push edx
mov eax, esi
call fcn.10007250
mov dword [esi + 8], eax
cmp eax, ebx
je 0x10005e3c
mov dword [ebp - 4], ebx
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
mov ecx, dword [edi + 0x22]
add ecx, dword [edi + 6]
push ebx
call fcn.10005610
mov ebx, eax
mov eax, dword [edi + 0x22]
add eax, dword [edi + 6]
push eax
push 0
push ebx
call fcn.1000a450
mov ecx, 0x5a4d
mov word [ebx], cx
mov eax, dword [edi + 6]
mov dword [ebx + 0x3c], eax
add eax, ebx
mov dword [eax], 0x4550
movzx edx, word [edi + 0xa]
mov word [eax + 4], dx
movzx ecx, word [edi + 0xc]
mov word [eax + 6], cx
movzx edx, word [edi + 0xe]
mov word [eax + 0x14], dx
movzx ecx, word [edi + 0x10]
mov word [eax + 0x16], cx
movzx edx, word [edi + 0x12]
mov word [eax + 0x18], dx
mov ecx, 4
mov word [eax + 0x40], cx
mov edx, ecx
mov word [eax + 0x48], dx
movzx ecx, word [edi + 0x14]
mov word [eax + 0x5c], cx
mov edx, dword [edi + 0x16]
mov dword [eax + 0x28], edx
mov ecx, dword [edi + 0x1a]
mov dword [eax + 0x34], ecx
mov edx, dword [edi + 0x1e]
mov dword [eax + 0x50], edx
mov ecx, dword [edi + 0x22]
mov dword [eax + 0x54], ecx
mov edx, dword [edi + 0x26]
mov dword [eax + 0x74], edx
mov ecx, dword [edi + 0x2a]
mov dword [eax + 0x78], ecx
mov edx, dword [edi + 0x2e]
mov dword [eax + 0x7c], edx
mov ecx, dword [edi + 0x32]
mov dword [eax + 0x80], ecx
mov edx, dword [edi + 0x36]
mov dword [eax + 0x84], edx
mov ecx, dword [edi + 0x3a]
mov dword [eax + 0x88], ecx
mov edx, dword [edi + 0x3e]
mov dword [eax + 0x8c], edx
mov ecx, dword [edi + 0x42]
mov dword [eax + 0xa0], ecx
mov edx, dword [edi + 0x46]
mov dword [eax + 0xa4], edx
mov ecx, dword [ebx + 0x3c]
mov edx, dword [esi + 0x18]
add ebx, ecx
mov dword [esi + 0x14], ebx
mov dword [ebx + 0x34], edx
movzx ecx, word [eax + 0x14]
add esp, 0xc
lea eax, [ecx + eax + 0x18]
lea ecx, [edi + 0x4a]
xor edx, edx
lea ebx, [ebx]
cmp dx, word [edi + 0xc]
jae 0x10005dac
mov ebx, dword [ecx]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
mov ebx, dword [ecx + 0x14]
mov dword [eax + 0x10], ebx
mov ebx, dword [ecx + 0x18]
mov dword [eax + 0x14], ebx
mov ebx, dword [ecx + 0x10]
mov dword [eax + 0x24], ebx
inc edx
add eax, 0x28
add ecx, 0x1c
jmp 0x10005d80
push edi
push esi
call fcn.100060d0
test eax, eax
je 0x10005e3c
mov eax, dword [esi + 0x14]
mov edi, dword [edi + 0x1a]
cmp dword [eax + 0x34], edi
je 0x10005de7
cmp dword [eax + 0xa4], 0
je 0x10005de7
mov ecx, dword [eax + 0xa0]
test ecx, ecx
je 0x10005de7
mov eax, dword [esi + 0x18]
add ecx, eax
sub eax, edi
push eax
push esi
call fcn.100061d0
mov eax, dword [esi + 0x14]
sub eax, 0xffffff80
cmp dword [eax + 4], 0
je 0x10005e09
mov ecx, dword [eax]
test ecx, ecx
je 0x10005e09
mov eax, dword [esi + 0x18]
add eax, ecx
push eax
push esi
call fcn.10006240
test eax, eax
je 0x10005e3c
push esi
call fcn.100065e0
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0x28]
test eax, eax
je 0x10005e59
mov ecx, dword [esi + 0x18]
mov edx, dword [esi]
add ecx, eax
mov eax, dword [edx + 0x18]
mov dword [esi + 0xc], ecx
push 1
mov ecx, esi
call eax
test eax, eax
jne 0x10005e52
mov dword [ebp - 4], 0xffffffff
call fcn.10005a70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x10], 1
push esi
call fcn.10006700
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8