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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5898
push 0x4a8984
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x472149
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
jmp 0x4722ea
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx], 0x4550
jne 0x47216d
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cx, word [eax + 6]
test ecx, ecx
jne 0x472183
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
jmp 0x4722ea
mov edx, dword [ebp - 0x28]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 0x28]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cx, word [eax + 6]
sub ecx, 1
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
lea ecx, [ecx + eax + 0x1000]
cmp ecx, dword [ebp + 0xc]
jae 0x4722ca
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x88]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4722ca
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042f8d5
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, eax
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
add edx, 0x10
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cx, word [eax + 0xe]
mov edx, dword [ebp - 0x38]
xor eax, eax
mov ax, word [edx + 0xc]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
sub edx, 1
mov dword [ebp - 0x34], edx
test ecx, ecx
je 0x4722ca
cmp dword [ebp - 0x1c], 0x1e
jae 0x4722ca
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
shr ecx, 0x1f
and ecx, 1
test ecx, ecx
je 0x4722bc
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
shr eax, 0x1f
and eax, 1
test eax, eax
je 0x4722bc
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
and edx, 0x7fffffff
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
jmp 0x472279
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0xa
jae 0x4722b4
mov edx, dword [ebp - 0x40]
xor eax, eax
mov ax, word [edx]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx*4 + 0x4b5870]
push edx
mov eax, dword [ebp - 0x40]
add eax, 2
push eax
call dword [sym.imp.ntdll.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x4722b2
mov ecx, dword [ebp - 0x1c]
add ecx, 0xa
mov dword [ebp - 0x1c], ecx
jmp 0x4722b4
jmp 0x472270
cmp dword [ebp - 0x1c], 0x14
jb 0x4722bc
jmp 0x4722ca
mov edx, dword [ebp - 0x3c]
add edx, 8
mov dword [ebp - 0x3c], edx
jmp 0x472217
mov dword [ebp - 4], 0xffffffff
jmp 0x4722e3
cmp dword [ebp - 0x1c], 0x14
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8