Function at 0x411870
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x87c
mov eax, dword [0x424018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x424398]
push ebx
mov ebx, dword [0x424394]
mov eax, ebx
push esi
push edi
cmp eax, edx
je 0x411bb9
lea esp, [esp]
cmp dword [eax], ecx
je 0x4118be
add eax, 0x4e4
cmp eax, edx
jne 0x4118a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ae5c
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov dword [ebp - 0x874], ecx
mov ecx, dword [eax + 0x11]
mov dword [ebp - 0x870], ecx
mov ecx, dword [eax + 0x15]
mov dword [ebp - 0x86c], ecx
movzx ecx, byte [eax + 0x19]
mov byte [ebp - 0x868], cl
mov ecx, dword [eax + 0x1a]
mov dword [ebp - 0x867], ecx
mov ecx, dword [eax + 0x1e]
mov dword [ebp - 0x863], ecx
mov cx, word [eax + 0x22]
mov word [ebp - 0x85f], cx
movzx ecx, byte [eax + 0x24]
mov byte [ebp - 0x85d], cl
lea esi, [eax + 0x61]
mov ecx, 8
lea edi, [ebp - 0x85c]
mov byte [ebp - 0x878], 0xc2
mov byte [ebp - 0x875], 0x36
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 8]
mov dword [ebp - 0x83c], ecx
movzx ecx, byte [eax + 0x10]
mov byte [ebp - 0x838], cl
mov ecx, dword [eax + 4]
mov dword [ebp - 0x834], ecx
mov ecx, ebx
mov dword [ebp - 0x80c], 0x58
mov dword [ebp - 0x830], esi
cmp ecx, edx
je 0x41196e
lea esp, [esp]
cmp dword [ecx], esi
je 0x41197e
add ecx, 0x4e4
cmp ecx, edx
jne 0x411960
xor ecx, ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x828], ecx
jmp 0x411993
mov edx, dword [ecx + 0x11]
mov dword [ebp - 0x82c], edx
mov edx, dword [ecx + 0x15]
mov cl, byte [ecx + 0x19]
mov dword [ebp - 0x828], edx
xor dl, dl
mov byte [ebp - 0x824], cl
mov byte [ebp - 0x823], dl
lea ecx, [ebp - 0x7b0]
add eax, 0x8e
mov dword [ebp - 0x820], 0x10
cmp byte [eax - 0xc], 0
je 0x411a02
movzx ebx, word [eax - 4]
mov esi, dword [eax - 0xc]
mov edi, dword [eax - 8]
add dword [ebp - 0x80c], 0xe
mov word [ebp - 0x814], bx
movzx ebx, byte [eax - 2]
mov byte [ebp - 0x812], bl
movzx ebx, byte [eax - 1]
mov dword [ecx], esi
mov byte [ebp - 0x811], bl
mov esi, dword [ebp - 0x814]
mov bx, word [eax]
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
mov word [ecx + 0xc], bx
add ecx, 0xe
inc dl
cmp byte [eax + 2], 0
je 0x411a4f
movzx ebx, word [eax + 0xa]
mov esi, dword [eax + 2]
mov edi, dword [eax + 6]
add dword [ebp - 0x80c], 0xe
mov word [ebp - 0x814], bx
movzx ebx, byte [eax + 0xc]
mov byte [ebp - 0x812], bl
movzx ebx, byte [eax + 0xd]
mov dword [ecx], esi
mov byte [ebp - 0x811], bl
mov esi, dword [ebp - 0x814]
mov bx, word [eax + 0xe]
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
mov word [ecx + 0xc], bx
add ecx, 0xe
inc dl
cmp byte [eax + 0x10], 0
je 0x411a9c
movzx ebx, word [eax + 0x18]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
add dword [ebp - 0x80c], 0xe
mov word [ebp - 0x814], bx
movzx ebx, byte [eax + 0x1a]
mov byte [ebp - 0x812], bl
movzx ebx, byte [eax + 0x1b]
mov dword [ecx], esi
mov byte [ebp - 0x811], bl
mov esi, dword [ebp - 0x814]
mov bx, word [eax + 0x1c]
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
mov word [ecx + 0xc], bx
add ecx, 0xe
inc dl
cmp byte [eax + 0x1e], 0
je 0x411ae9
movzx ebx, word [eax + 0x26]
mov esi, dword [eax + 0x1e]
mov edi, dword [eax + 0x22]
add dword [ebp - 0x80c], 0xe
mov word [ebp - 0x814], bx
movzx ebx, byte [eax + 0x28]
mov byte [ebp - 0x812], bl
movzx ebx, byte [eax + 0x29]
mov dword [ecx], esi
mov byte [ebp - 0x811], bl
mov esi, dword [ebp - 0x814]
mov bx, word [eax + 0x2a]
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
mov word [ecx + 0xc], bx
add ecx, 0xe
inc dl
cmp byte [eax + 0x2c], 0
je 0x411b36
movzx ebx, word [eax + 0x34]
mov esi, dword [eax + 0x2c]
mov edi, dword [eax + 0x30]
add dword [ebp - 0x80c], 0xe
mov word [ebp - 0x814], bx
movzx ebx, byte [eax + 0x36]
mov byte [ebp - 0x812], bl
movzx ebx, byte [eax + 0x37]
mov dword [ecx], esi
mov byte [ebp - 0x811], bl
mov esi, dword [ebp - 0x814]
mov bx, word [eax + 0x38]
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
mov word [ecx + 0xc], bx
add ecx, 0xe
inc dl
add eax, 0x46
dec dword [ebp - 0x820]
jne 0x4119b6
mov ebx, dword [ebp - 0x80c]
mov byte [ebp - 0x823], dl
mov edx, ebx
shr edx, 8
mov ecx, 0x16
lea esi, [ebp - 0x878]
lea edi, [ebp - 0x808]
mov byte [ebp - 0x877], dl
mov byte [ebp - 0x876], bl
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov edi, 0x4ee80c
mov eax, dword [edi]
test eax, eax
js 0x411bad
xor ecx, ecx
cmp eax, 0x14
setl cl
mov eax, ecx
test eax, eax
je 0x411bad
cmp dword [edi + 4], 0
je 0x411bad
cmp dword [edi + 0x18], 0xffffffff
je 0x411bad
lea edx, [ebp - 0x808]
push edx
mov ecx, ebx
call fcn.00410610
add esp, 4
add edi, 0x68
inc esi
cmp edi, 0x4ef02c
jl 0x411b7c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ae5c
mov esp, ebp
pop ebp
ret