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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
je 0x46093d
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x10], 0x40
jae 0x460944
xor al, al
jmp 0x460bad
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x460968
xor al, al
jmp 0x460bad
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
add edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x20]
cmp eax, dword [edx + 0xc]
jb 0x4609a9
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + 0x20]
add esi, 0x108
mov ecx, dword [ebp - 0x14]
call fcn.00460f10
mov edx, dword [ebp - 0x14]
add eax, dword [edx + 0xc]
cmp esi, eax
jbe 0x4609b0
xor al, al
jmp 0x460bad
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
je 0x4609d7
xor al, al
jmp 0x460bad
mov edx, dword [ebp - 4]
movzx eax, word [edx + 4]
cmp eax, 0x8664
je 0x460a03
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 4]
cmp edx, 0x200
je 0x460a03
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 4]
cmp ecx, 0x284
jne 0x460a0a
mov edx, dword [ebp - 0x14]
mov byte [edx + 5], 1
mov eax, dword [ebp - 0x14]
mov byte [eax + 4], 1
mov ecx, dword [ebp - 4]
movzx esi, word [ecx + 0x14]
mov ecx, dword [ebp - 0x14]
call fcn.00460f10
cmp esi, eax
jbe 0x460a2b
xor al, al
jmp 0x460bad
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 5]
test eax, eax
je 0x460a51
mov esi, dword [ebp - 4]
add esi, 0x18
mov edi, dword [ebp - 0x14]
add edi, 0x23c
mov ecx, 0x3c
rep movsd dword es:[edi], dword [esi]
jmp 0x460b29
mov ecx, dword [ebp - 4]
add ecx, 0x18
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 0x18
mov eax, dword [ebp - 0x14]
add eax, 0x23c
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [edx + 0x14]
mov dword [eax + 0x14], edx
mov esi, dword [ebp - 0xc]
add esi, 0x20
mov edi, dword [ebp - 0x14]
add edi, 0x25c
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc]
add esi, 0x58
mov edi, dword [ebp - 0x14]
add edi, 0x2a4
mov ecx, 0x22
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x254], ecx
mov dword [eax + 0x258], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x48]
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x284], edx
mov dword [ecx + 0x288], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x4c]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x28c], eax
mov dword [edx + 0x290], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x50]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x294], ecx
mov dword [eax + 0x298], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x54]
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x29c], edx
mov dword [ecx + 0x2a0], eax
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x18]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 6]
imul edx, edx, 0x28
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x14]
call fcn.00460f10
cmp dword [ebp - 8], eax
jbe 0x460b5b
xor al, al
jmp 0x460bad
mov eax, dword [ebp - 8]
push eax
call fcn.0047d5d0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x238], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x238], 0
jne 0x460b86
xor al, al
jmp 0x460bad
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x238]
push edx
call fcn.0047db00
add esp, 0xc
mov ecx, dword [ebp - 0x14]
call fcn.00460fd0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret