Function at 0x100020d0
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 0x100020ed
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x10], 0x40
jae 0x100020f4
xor al, al
jmp 0x1000235d
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 0x10002118
xor al, al
jmp 0x1000235d
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 0x10002159
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + 0x20]
add esi, 0x108
mov ecx, dword [ebp - 0x14]
call fcn.10054a10
mov edx, dword [ebp - 0x14]
add eax, dword [edx + 0xc]
cmp esi, eax
jbe 0x10002160
xor al, al
jmp 0x1000235d
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 0x10002187
xor al, al
jmp 0x1000235d
mov edx, dword [ebp - 4]
movzx eax, word [edx + 4]
cmp eax, 0x8664
je 0x100021b3
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 4]
cmp edx, 0x200
je 0x100021b3
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 4]
cmp ecx, 0x284
jne 0x100021ba
mov edx, dword [ebp - 0x14]
mov byte [edx + 6], 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.10054a10
cmp esi, eax
jbe 0x100021db
xor al, al
jmp 0x1000235d
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 6]
test eax, eax
je 0x10002201
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 0x100022d9
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.10054a10
cmp dword [ebp - 8], eax
jbe 0x1000230b
xor al, al
jmp 0x1000235d
mov eax, dword [ebp - 8]
push eax
call fcn.10079e01
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 0x10002336
xor al, al
jmp 0x1000235d
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.1007c4c0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
call fcn.100032f0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret