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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x40
mov eax, dword [ebp + 0xc]
push eax
call fcn.1002800c
add esp, 8
test eax, eax
jne 0x10027c35
xor eax, eax
jmp 0x10027fef
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x5a4d
je 0x10027c51
xor eax, eax
jmp 0x10027fef
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x3c]
add edx, 0xf8
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1002800c
add esp, 8
test eax, eax
jne 0x10027c75
xor eax, eax
jmp 0x10027fef
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
je 0x10027c93
xor eax, eax
jmp 0x10027fef
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov dx, word [ecx + 4]
cmp edx, 0x14c
je 0x10027cab
xor eax, eax
jmp 0x10027fef
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x38]
and ecx, 1
test ecx, ecx
je 0x10027cbf
xor eax, eax
jmp 0x10027fef
mov edx, dword [ebp - 0x38]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 0x38]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x44], 0
jmp 0x10027cf6
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x34]
add eax, 0x28
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x44], edx
jae 0x10027d3a
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x10], 0
jne 0x10027d1b
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
add edx, dword [ebp - 0x3c]
mov dword [ebp - 0x54], edx
jmp 0x10027d2a
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x34]
add ecx, dword [edx + 0x10]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 8]
jbe 0x10027d38
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 8], ecx
jmp 0x10027ce4
lea edx, [ebp - 0x2c]
push edx
call fcn.10020356
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x50]
push edx
call fcn.1002bff0
add esp, 8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1002bff0
add esp, 8
cmp dword [ebp - 0x50], eax
je 0x10027d78
xor eax, eax
jmp 0x10027fef
mov edx, dword [ebp + 0x24]
push edx
push 4
push 0x3000
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x34]
push edx
call dword [ebp + 0x10]
add esp, 0x14
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x10027dc4
mov eax, dword [ebp + 0x24]
push eax
push 4
push 0x3000
mov ecx, dword [ebp - 0x50]
push ecx
push 0
call dword [ebp + 0x10]
add esp, 0x14
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x10027dc4
xor eax, eax
jmp 0x10027fef
push 0x40
push 8
call fcn.100203b7
push eax
call fcn.1002041e
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10027dfb
mov edx, dword [ebp + 0x24]
push edx
push 0x8000
push 0
mov eax, dword [ebp - 0x4c]
push eax
call dword [ebp + 0x14]
add esp, 0x10
xor eax, eax
jmp 0x10027fef
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x4c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cx, word [eax + 0x16]
and ecx, 0x2000
neg ecx
sbb ecx, ecx
neg ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x20]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x24]
mov dword [ecx + 0x34], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1002800c
add esp, 8
test eax, eax
jne 0x10027e7a
jmp 0x10027fed
mov edx, dword [ebp + 0x24]
push edx
push 4
push 0x1000
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [ebp + 0x10]
add esp, 0x14
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.10034810
add esp, 0xc
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x48]
add edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10028022
add esp, 0x10
test eax, eax
jne 0x10027eea
jmp 0x10027feb
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
mov edx, dword [eax + 0x34]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x10027f19
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.1002851d
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x10027f23
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp - 4]
push ecx
call fcn.10028621
add esp, 4
test eax, eax
jne 0x10027f38
jmp 0x10027fe9
mov edx, dword [ebp - 4]
push edx
call fcn.10028186
add esp, 4
test eax, eax
jne 0x10027f4d
jmp 0x10027fe7
mov eax, dword [ebp - 4]
push eax
call fcn.100284af
add esp, 4
test eax, eax
jne 0x10027f62
jmp 0x10027fe5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
cmp dword [edx + 0x28], 0
je 0x10027fc4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x10027fb1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
add eax, dword [edx + 0x28]
mov dword [ebp - 0x58], eax
push 0
push 1
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x10027fa5
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10027fe3
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 1
jmp 0x10027fc2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x4c]
add edx, dword [ecx + 0x28]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
jmp 0x10027fce
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], 0
mov eax, dword [ebp - 4]
jmp 0x10027fef
mov edx, dword [ebp - 4]
push edx
call fcn.10028a9c
add esp, 4
xor eax, eax
jmp 0x10027fef
jmp 0x10027fd3
jmp 0x10027fd3
jmp 0x10027fd3
jmp 0x10027fd3
jmp 0x10027fd3
jmp 0x10027fd3
mov esp, ebp
pop ebp
ret