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

Disassembly:
push ebp
mov ebp, esp
lea edx, [ebp - 0x18]
push edi
mov edi, 0xffffffff
push esi
push ebx
sub esp, 0x4ec
movzx eax, byte [ebp + 0x10]
mov dword [ebp - 0x44c], edx
mov dword [ebp - 0x444], esp
mov byte [ebp - 0x479], al
mov eax, 0x410ad0
mov dword [ebp - 0x454], eax
mov eax, 0x41b858
mov dword [ebp - 0x450], eax
mov eax, 0x4051e0
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x46c]
mov dword [esp], eax
call 0x431410
mov dword [ebp - 0x478], edi
mov ecx, dword [ebp + 0xc]
mov eax, 0x10007
mov dword [ebp - 0x2e8], eax
cmp word [ecx], 0x5a4d
mov dword [ebp - 0x480], ecx
jne 0x421100
mov esi, dword [ecx + 0x3c]
mov eax, ecx
mov ebx, 0xfffffffe
mov dword [ebp - 0x478], ebx
add eax, esi
cmp dword [eax], 0x4550
mov dword [ebp - 0x484], eax
jne 0x421100
mov dword [esp], 0
mov ecx, 0x104
mov edx, 0xffffffff
mov dword [esp + 8], ecx
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x468], edx
mov dword [esp + 4], eax
mov eax, dword [0x41e110]
call eax
sub esp, 0xc
mov dword [esp], 0x41d0dc
call 0x4321a0
mov dword [esp + 4], eax
lea edx, [ebp - 0x428]
mov eax, 0x10
mov dword [esp + 8], edx
lea ecx, [ebp - 0x418]
mov dword [esp], ecx
mov dword [ebp - 0x468], eax
call 0x435768
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x408]
mov dword [esp + 4], eax
mov eax, 0xf
mov dword [esp], edx
mov dword [ebp - 0x468], eax
call 0x435818
mov dword [esp], 0x41d0e1
mov edi, 0x41d0e1
mov esi, 0xe
call 0x4321a8
mov dword [esp + 8], eax
lea ecx, [ebp - 0x408]
mov dword [esp + 4], edi
mov dword [esp], ecx
mov dword [ebp - 0x468], esi
call 0x433c88
mov eax, dword [ebp - 0x418]
lea edx, [eax - 0xc]
cmp edx, 0x41c0a0
mov dword [ebp - 0x498], edx
jne 0x42121c
mov eax, dword [ebp - 0x408]
xor ecx, ecx
mov edx, 0xa
mov dword [esp + 8], ecx
mov dword [ebp - 0x468], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0x3f8]
mov dword [esp], eax
mov eax, dword [0x41e114]
call eax
mov eax, dword [ebp + 0x14]
sub esp, 0xc
mov edi, 0x41d0ef
mov dword [esp + 4], edi
lea edx, [ebp - 0x418]
mov dword [esp], edx
mov dword [esp + 8], eax
call 0x437180
sub esp, 4
lea ecx, [ebp - 0x418]
lea eax, [ebp - 0x408]
mov dword [esp + 4], ecx
mov esi, 9
mov dword [esp], eax
mov dword [ebp - 0x468], esi
call 0x433d58
mov eax, dword [ebp - 0x418]
lea edx, [eax - 0xc]
cmp edx, 0x41c0a0
mov dword [ebp - 0x4a4], edx
jne 0x421330
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x418]
mov dword [esp + 4], eax
mov eax, 0xa
mov dword [esp], edx
mov dword [ebp - 0x468], eax
call 0x435818
lea eax, [ebp - 0x470]
mov edi, 4
lea ecx, [ebp - 0x418]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x474]
mov esi, 6
mov dword [esp + 0x10], eax
xor eax, eax
cmp byte [ebp - 0x479], 1
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [ebp - 0x468], esi
setne al
lea eax, [eax + eax*4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041f680
mov byte [ebp - 0x4a5], al
mov eax, dword [ebp - 0x418]
lea edx, [eax - 0xc]
mov dword [ebp - 0x4b4], edx
cmp edx, 0x41c0a0
jne 0x4213b8
cmp byte [ebp - 0x4a5], 0
je 0x421095
mov edx, dword [ebp - 0x484]
mov eax, dword [edx + 0x34]
mov edx, 0xa
mov dword [ebp - 0x468], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x470]
mov dword [esp], eax
mov eax, dword [0x41e144]
call eax
sub esp, 8
mov eax, 0x40
mov ecx, dword [ebp - 0x484]
mov dword [esp + 0x10], eax
mov eax, 0x3000
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x50]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x470]
mov dword [esp], eax
call dword [0x41e13c]
mov edx, dword [ebp - 0x484]
sub esp, 0x14
xor edi, edi
mov dword [esp + 0x10], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x54]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x470]
mov dword [esp], eax
call dword [0x41e134]
mov eax, dword [ebp - 0x484]
xor esi, esi
sub esp, 0x14
mov dword [ebp - 0x4b8], esi
cmp word [eax + 6], 0
je 0x420f4f
xor ebx, ebx
mov dword [ebp - 0x4cc], ebx
mov edx, dword [ebp - 0x480]
xor edi, edi
mov eax, dword [ebp - 0x4cc]
mov ecx, dword [edx + 0x3c]
mov dword [esp + 0x10], edi
add eax, ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0xf8]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xc], eax
mov esi, dword [edx + 0x14]
mov eax, ecx
mov ecx, 0xa
add eax, esi
mov dword [esp + 8], eax
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x484]
mov ebx, dword [edx + 0x34]
mov dword [ebp - 0x468], ecx
add eax, ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x470]
mov dword [esp], eax
mov eax, dword [0x41e134]
call eax
inc dword [ebp - 0x4b8]
sub esp, 0x14
mov ecx, dword [ebp - 0x484]
add dword [ebp - 0x4cc], 0x28
movzx eax, word [ecx + 6]
cmp eax, dword [ebp - 0x4b8]
jg 0x420ec9
lea eax, [ebp - 0x2e8]
mov edx, 0xa
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x468], edx
mov dword [esp], eax
mov eax, dword [0x41e130]
call eax
mov edx, dword [ebp - 0x484]
sub esp, 8
lea ecx, [ebp - 0x2e8]
mov eax, dword [edx + 0x28]
mov edi, dword [edx + 0x34]
mov dword [esp + 4], ecx
add eax, edi
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x474]
mov dword [esp], eax
call dword [0x41e12c]
mov eax, dword [ebp - 0x474]
sub esp, 8
mov dword [esp], eax
call dword [0x41e128]
mov eax, dword [ebp - 0x408]
sub esp, 4
lea edx, [eax - 0xc]
mov dword [ebp - 0x4c4], edx
cmp edx, 0x41c0a0
jne 0x4213fc
xor ecx, ecx
jmp 0x4210ec
mov eax, dword [ebp - 0x408]
lea edx, [eax - 0xc]
cmp edx, 0x41c0a0
mov dword [ebp - 0x4c8], edx
je 0x4210e7
mov esi, 0xffffffff
sub eax, 4
mov ebx, 1
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x468], ebx
call 0x42cfb0
test eax, eax
jg 0x4210e7
mov eax, dword [ebp - 0x4c8]
lea ecx, [ebp - 0x438]
mov dword [esp + 4], ecx
mov dword [esp], eax
call 0x4335a8
mov ecx, 0xfffffffd
mov dword [ebp - 0x478], ecx
lea esi, [esi]
lea edi, [edi]
lea eax, [ebp - 0x46c]
mov dword [esp], eax
call 0x4314f0
mov eax, dword [ebp - 0x478]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, 0xffffffff
sub eax, 4
mov ebx, 0xb
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x468], ebx
call 0x42cfb0
test eax, eax
jg 0x420ce4
mov eax, dword [ebp - 0x498]
lea ecx, [ebp - 0x438]
mov dword [esp + 4], ecx
mov dword [esp], eax
call 0x4335a8
jmp 0x420ce4
sub eax, 4
mov edx, 0xffffffff
mov dword [esp], eax
mov eax, 7
mov dword [esp + 4], edx
mov dword [ebp - 0x468], eax
call 0x42cfb0
test eax, eax
jg 0x420d71
mov eax, dword [ebp - 0x4a4]
lea ecx, [ebp - 0x438]
mov dword [esp + 4], ecx
mov dword [esp], eax
call 0x4335a8
jmp 0x420d71
mov edx, 0xffffffff
sub eax, 4
mov edi, 4
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x468], edi
call 0x42cfb0
test eax, eax
jg 0x420e05
mov eax, dword [ebp - 0x4b4]
lea ecx, [ebp - 0x438]
mov dword [esp + 4], ecx
mov dword [esp], eax
call 0x4335a8
jmp 0x420e05
mov esi, 0xffffffff
sub eax, 4
mov ebx, 2
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x468], ebx
call 0x42cfb0
test eax, eax
jg 0x420fd4
mov eax, dword [ebp - 0x4c4]
lea ecx, [ebp - 0x438]
mov dword [esp + 4], ecx
mov dword [esp], eax
call 0x4335a8
jmp 0x420fd4