Function at 0x100056f5
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov eax, 0x1818
call 0x1000fb7c
push ebx
push ebp
push esi
push edi
push ecx
push ecx
lea eax, [esp + 0x1030]
push eax
mov dword [esp + 0x1c], ecx
push ecx
mov ecx, dword [esp + 0x183c]
lea edx, [esp + 0x838]
call fcn.1000df8b
xor esi, esi
push esi
push 0x8000000
push 3
push esi
push 1
push 0x80000000
push dword [esp + 0x1844]
call dword [0xf0f09c]
mov edi, eax
cmp edi, 0xffffffff
je 0x10005961
push esi
push edi
call dword [0xf0f0a0]
mov ebx, eax
test ebx, ebx
je 0x1000578b
mov ecx, ebx
call fcn.1000dc64
push 0
mov esi, eax
lea eax, [esp + 0x28]
push eax
push ebx
push esi
push edi
call dword [0xf0f0a4]
test eax, eax
je 0x10005780
cmp dword [esp + 0x24], ebx
je 0x1000578b
mov ecx, esi
call fcn.1000dc74
xor esi, esi
xor ebx, ebx
push edi
call dword [0xf0f074]
test esi, esi
je 0x10005961
mov eax, 0x5a4d
xor edi, edi
xor edx, edx
cmp word [esi], ax
jne 0x100057ea
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp dword [ecx], 0x4550
jne 0x100057ea
movzx edx, word [ecx + 0x14]
movzx eax, word [ecx + 6]
add edx, 0x18
add edx, ecx
xor ebp, ebp
test eax, eax
je 0x100057e7
mov eax, dword [edx + 0x24]
and eax, 0x60000020
cmp eax, 0x60000020
je 0x100057e5
movzx eax, word [ecx + 6]
inc ebp
add edx, 0x28
cmp ebp, eax
jb 0x100057c8
jmp 0x100057e7
mov edi, edx
mov edx, dword [ecx + 0x28]
mov eax, dword [esp + 0x1830]
xor ecx, ecx
mov ebp, dword [eax + 0x3c]
and dword [esp + 0x14], ecx
add ebp, eax
mov dword [esp + 0x18], ebp
movzx eax, word [ebp + 0x14]
add ebp, 0x18
add ebp, eax
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 6]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1000583e
mov eax, dword [ebp + 0x24]
and eax, 0x60000020
cmp eax, 0x60000020
je 0x1000583c
mov eax, dword [esp + 0x14]
inc eax
add ebp, 0x28
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x1c]
jb 0x10005819
jmp 0x1000583e
mov ecx, ebp
test edi, edi
je 0x1000595a
test ecx, ecx
je 0x1000595a
mov eax, dword [edi + 0x10]
cmp eax, dword [ecx + 0x10]
jne 0x1000586b
mov eax, dword [esp + 0x18]
sub edx, dword [edi + 0xc]
mov eax, dword [eax + 0x28]
sub eax, dword [ecx + 0xc]
cmp edx, eax
je 0x1000595a
call dword [0xf0f050]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push dword [edi + 4]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
mov edx, ebx
mov ecx, esi
call fcn.100081a2
mov edx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
push esi
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
push dword [esp + 0x184c]
mov ecx, dword [edi]
call fcn.10002e55
test eax, eax
je 0x10005951
lea edx, [esp + 0x828]
lea ecx, [esp + 0x28]
call fcn.1000db8c
mov edx, 0xf0f374
lea ecx, [esp + 0x28]
call fcn.1000dbba
lea edx, [esp + 0x1028]
lea ecx, [esp + 0x28]
call fcn.1000dbba
mov edx, 0xf0f368
lea ecx, [esp + 0x28]
call fcn.1000dbba
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
lea eax, [esp + 0x40]
push eax
call dword [0xf0f09c]
mov edi, eax
cmp edi, 0xffffffff
je 0x10005948
push ebx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
push dword [esp + 0x24]
push edi
call dword [0xf0f0a8]
push edi
call dword [0xf0f0ac]
push edi
call dword [0xf0f074]
mov ecx, dword [esp + 0x18]
call fcn.1000dc74
mov ecx, dword [esp + 0x14]
call fcn.1000dc74
mov ecx, esi
call fcn.1000dc74
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1818
ret 0xc