Function at 0x411960
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 0x30
push ebx
mov eax, dword [edx + 0x10]
push esi
mov ecx, dword [edx + 0x18]
push edi
mov ebx, dword [edx + 0x14]
push ebp
mov edi, dword [edx + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov eax, dword [edx]
mov esi, 0
mov dword [esp + 0x10], ebx
cmp dword [eax + 8], 1
adc esi, 0xffffffff
and esi, 0x10
cmp ebx, ecx
jle 0x4119b5
lea ebx, [edi + 4]
mov edx, dword [esp + 0x10]
xor eax, eax
mov al, byte [ebx]
add ebx, 0x80
imul eax, dword [esp + 0x18]
add ecx, eax
dec edx
jne 0x4119a1
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
cmp eax, edx
jge 0x4119dd
shl eax, 7
lea ebx, [eax + edi + 4]
mov eax, edx
sub eax, dword [esp + 0x10]
xor edx, edx
mov dl, byte [ebx]
add ebx, 0x80
add ecx, edx
dec eax
jne 0x4119ce
lea eax, [ecx + esi + 0x20]
xor esi, esi
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], esi
cmp ecx, esi
jle 0x411bd7
lea eax, [edi + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
add eax, 0x80
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
add eax, 0x80
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], eax
sub eax, 0x80
mov dword [esp + 0x2c], eax
lea eax, [ebp - 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov eax, 1
jle 0x411a51
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jge 0x411b9c
mov edx, 1
mov eax, dword [esp + 0x38]
mov cl, byte [eax]
shl edx, cl
xor ecx, ecx
sub edx, 2
test edx, edx
jle 0x411aa4
lea ebx, [esi + ecx]
xor eax, eax
mov al, byte [edi + ebx*8 + 6]
xor ebx, ebx
test ecx, ecx
setg bl
add eax, ebx
mov ebx, dword [esp + 0x30]
fld dword [eax*4 + 0x48cdb0]
fsub dword [ebx]
fcomp qword [0x41a3f0]
fnstsw ax
test ah, 1
je 0x411aa4
inc ecx
cmp ecx, edx
jl 0x411a73
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0x411aeb
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
cmp ebx, eax
jg 0x411aeb
cmp ecx, edx
jge 0x411aeb
lea ebx, [esi + ecx]
xor eax, eax
mov al, byte [edi + ebx*8 + 6]
xor ebx, ebx
test ecx, ecx
setg bl
add eax, ebx
fld dword [eax*4 + 0x48cdb0]
fsub dword [ebp]
fcomp qword [0x41a3f0]
fnstsw ax
test ah, 1
je 0x411aeb
inc ecx
cmp ecx, edx
jl 0x411abd
test ecx, ecx
jle 0x411b62
add ecx, esi
xor eax, eax
mov al, byte [edi + ecx*8 + 4]
lea edx, [edi + ecx*8]
xor ecx, ecx
mov cl, byte [edx + 5]
imul eax, ecx
lea ebx, [eax + eax*2]
mov eax, dword [esp + 0x2c]
mov ecx, 2
nop
lea edx, [ebx*4]
mov ebx, dword [eax]
mov eax, dword [ebx*4 + 0x48cdf8]
lea eax, [eax + eax*2]
lea ebx, [eax*2]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jne 0x411b53
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jg 0x411b53
mov ecx, 4
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov eax, dword [eax*4 + 0x48cdf8]
lea eax, [eax + eax*2]
lea ebx, [ebx + eax*2]
lea eax, [ebx + edx]
add eax, ecx
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub eax, 0x80
sub ebp, 0x80
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, pe_nt_image_headers32
mov ebx, dword [esp + 0x34]
add ecx, eax
add edx, eax
inc ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
jmp 0x411a3c
add esi, 0x10
mov eax, dword [esp + 0x38]
add eax, 0x80
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov edx, dword [esp + 0x20]
add edx, 4
mov ebx, dword [esp + 0x14]
inc ebx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ebx
cmp ebp, ebx
jg 0x411a18
mov eax, dword [esp + 0x3c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x30
ret