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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6803f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xc0000033
lea ecx, [ebp - 0x14]
mov edx, dword [ebp + 0x14]
mov eax, dword [0x68ea6c]
call fcn.004200f0
mov ebx, eax
test ebx, ebx
je 0x41dfd4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
call fcn.00416408
mov edi, eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebx + 0xc]
call fcn.00404d04
lea eax, [ebp - 0x3c]
call fcn.00404ca4
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x5b], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x1c]
call fcn.00404ed8
push eax
call fcn.00406acc
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41dfd4
mov eax, 0x40
call fcn.00403250
mov esi, eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0x40
push esi
push ebx
call fcn.00406cb4
test eax, eax
je 0x41dd00
mov eax, esi
cmp word [eax], 0x5a4d
jne 0x41dd00
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push ebx
call fcn.00406cdc
mov eax, esi
call fcn.00403270
mov eax, 0x18
call fcn.00403250
mov esi, eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0x18
push esi
push ebx
call fcn.00406cb4
test eax, eax
je 0x41dd00
mov eax, esi
cmp dword [eax], 0x4550
jne 0x41dd00
add eax, 4
mov dx, word [eax + 0x12]
mov word [ebp - 0x5a], dx
cmp word [eax], 0x8664
jne 0x41dc79
mov eax, esi
call fcn.00403270
mov eax, 0xf0
call fcn.00403250
mov esi, eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0xf0
push esi
push ebx
call fcn.00406cb4
test eax, eax
je 0x41dd00
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x38]
mov cx, word [eax + 0x44]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0041d310
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x98], 0
je 0x41dc59
test byte [ebp - 0x5a], 1
jne 0x41dc59
mov byte [ebp - 0x5b], 1
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x54], eax
jmp 0x41dd00
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41dd00
cmp dx, 0x150
ja 0x41dd00
mov eax, esi
call fcn.00403270
mov eax, 0xe0
call fcn.00403250
mov esi, eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0xe0
push esi
push ebx
call fcn.00406cb4
test eax, eax
je 0x41dd00
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x34]
mov cx, word [eax + 0x44]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0041d310
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x88], 0
je 0x41dce5
test byte [ebp - 0x5a], 1
jne 0x41dce5
mov byte [ebp - 0x5b], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x54], eax
mov eax, esi
call fcn.00403270
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.00405000
je 0x41dfce
cmp dword [ebp - 0x54], 0
jbe 0x41dfce
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.00404ed8
push eax
call fcn.0040dc44
push 0
push 0
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x88]
mov ecx, 0x40
call fcn.0040da6c
mov dword [ebp - 0x4c], 0xffffffff
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x10]
push eax
lea ecx, [ebp - 0x88]
mov edx, dword [edi + 8]
lea eax, [ebp - 0x48]
call fcn.0041b4b8
test eax, eax
jne 0x41dd91
push 0
mov eax, dword [edi + 0x18]
push eax
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov edx, dword [edi + 0x14]
lea eax, [ebp - 0x4c]
xor ecx, ecx
call fcn.0041b32c
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0041a9e0
test eax, eax
jne 0x41dfce
push 0x18
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0041a8f0
test eax, eax
jne 0x41dfbc
lea eax, [ebp - 0x30]
push eax
push 0x20c
lea eax, [ebp - 0x2ac]
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
call fcn.00406cbc
test eax, eax
je 0x41dfbc
cmp byte [ebp - 0x5b], 0
je 0x41de2b
push 0x40
push 0x1000
mov eax, dword [ebp - 0x54]
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
call fcn.00406d04
mov dword [ebp - 0x50], eax
jmp 0x41de65
push 0x40
push 0x2000
mov eax, dword [ebp - 0x54]
push eax
mov edi, dword [ebp - 0x50]
push edi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
call fcn.00406d04
mov esi, eax
test esi, esi
je 0x41de65
push 0x40
push 0x1000
mov eax, dword [ebp - 0x54]
push eax
push edi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
call fcn.00406d04
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x41dfbc
push 0
push ebx
call fcn.00406b8c
mov edi, eax
mov eax, edi
call fcn.00403250
mov esi, eax
push 0
push 0
push 0
push ebx
call fcn.00406cdc
push 0
lea eax, [ebp - 0x30]
push eax
push edi
push esi
push ebx
call fcn.00406cb4
test eax, eax
je 0x41df1d
mov eax, esi
mov edi, dword [eax + 0x3c]
add edi, esi
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x54]
push eax
push esi
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
call fcn.00406d44
movzx eax, word [edi + 6]
dec eax
test eax, eax
jl 0x41df1d
inc eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
cmp dword [edi + eax*8 + 0x108], 0
jbe 0x41df15
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x14]
lea edx, [edx + edx*4]
mov edx, dword [edi + edx*8 + 0x108]
push edx
mov edx, dword [edi + eax*8 + 0x10c]
add edx, esi
push edx
mov eax, dword [edi + eax*8 + 0x104]
add eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
call fcn.00406d44
inc dword [ebp - 0x14]
dec dword [ebp - 0x70]
jne 0x41ded3
mov eax, esi
call fcn.00403270
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov edx, dword [0x67e50c]
mov eax, 0x40
call fcn.00405650
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x38], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
add eax, 8
mov edx, dword [ebp - 0x1c]
call fcn.00404ce0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x90]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x50]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2a4]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x58]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
mov edx, dword [ebp - 0x24]
call fcn.004162cc
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0041ccb0
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41dfce
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0041b004
push ebx
call fcn.00406a94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6803f9
lea eax, [ebp - 0x3c]
call fcn.00404ca4
lea eax, [ebp - 0x1c]
call fcn.00404ca4
ret