Function at 0x42f8d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [0x4853e8]
push ebx
mov ebx, dword [0x4853e0]
push esi
push edi
push 0x1f
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
call dword [0x481dd4]
push 6
call dword [0x47db3c]
mov eax, dword [0x483668]
xor esi, esi
add esp, 8
cmp eax, esi
mov dword [0x480d68], esi
mov dword [esp + 0x18], esi
jle 0x42fb73
push ebp
push esi
push 0x483664
call fcn.00407cf0
mov edi, eax
add esp, 8
xor eax, eax
mov dword [esp + 0x10], edi
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x42fb60
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx + eax*4]
lea edx, [eax + eax*8]
mov ax, word [ebx + edx*4 + 0xc]
test al, 1
lea esi, [ebx + edx*4]
jne 0x42fb44
or al, 1
mov word [esi + 0xc], ax
mov edx, dword [0x480d68]
inc edx
mov dword [0x480d68], edx
mov ax, word [esi + 0xc]
test ah, 1
jne 0x42fb44
test ah, 4
je 0x42f9e2
mov eax, dword [0x47f798]
mov ecx, dword [0x47f794]
cmp ecx, eax
jl 0x42f9c3
mov ecx, dword [0x47f79c]
mov edx, dword [0x47f790]
add ecx, eax
shl ecx, 2
push ecx
push edx
call fcn.004513a0
add esp, 8
test eax, eax
je 0x42fb44
mov ecx, dword [0x47f798]
mov dword [0x47f790], eax
mov eax, dword [0x47f79c]
add ecx, eax
mov dword [0x47f798], ecx
mov ecx, dword [0x47f790]
mov edx, dword [0x47f794]
mov dword [ecx + edx*4], esi
mov eax, dword [0x47f794]
inc eax
mov dword [0x47f794], eax
jmp 0x42fb44
mov ebx, dword [0x4853e4]
mov edx, esi
lea ebp, [esi + 0x10]
mov ecx, 0x47e9b8
mov edi, dword [esp + 0x20]
xor eax, eax
mov ax, word [edx]
fld dword [0x48356c]
lea eax, [eax + eax*2]
fmul dword [edi + eax*4]
fld dword [0x483574]
fmul dword [edi + eax*4 + 8]
lea eax, [edi + eax*4]
faddp st(1)
fld dword [0x483570]
fmul dword [eax + 4]
faddp st(1)
fadd dword [0x483590]
fstp dword [ecx - 8]
fld dword [0x483578]
fmul dword [eax]
fld dword [0x483580]
fmul dword [eax + 8]
faddp st(1)
fld dword [0x48357c]
fmul dword [eax + 4]
faddp st(1)
fadd dword [0x483594]
fstp dword [ecx - 4]
fld dword [0x483584]
fmul dword [eax]
fld dword [0x48358c]
fmul dword [eax + 8]
faddp st(1)
fld dword [0x483588]
fmul dword [eax + 4]
xor eax, eax
faddp st(1)
fadd dword [0x483598]
fstp dword [ecx]
mov ax, word [edx + 6]
test byte [esi + 0xd], 2
lea edi, [ebx + eax*8]
je 0x42fabc
movsx eax, byte [esi + 0x1c]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [0x4853c8]
fadd dword [edi]
fstp dword [ecx + 0xc]
mov eax, dword [esi + 0x1c]
shr eax, 8
movsx eax, al
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [0x4853c8]
fadd dword [edi + 4]
fstp dword [ecx + 0x10]
jmp 0x42fac7
mov eax, dword [edi]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 4]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp]
add ebp, 4
mov dword [ecx + 8], eax
add ecx, 0x34
add edx, 2
cmp ecx, 0x47ea54
jl 0x42f9f2
mov dword [0x47da14], 3
call fcn.004113a0
test eax, eax
je 0x42fb40
mov eax, dword [0x47db1c]
xor ecx, ecx
mov cx, word [esi + 0xe]
cmp eax, ecx
je 0x42fb3a
mov edx, 0x484ee8
test edx, edx
je 0x42fb2b
cmp ecx, dword [0x484ee8]
jge 0x42fb2b
test ecx, ecx
jl 0x42fb2b
mov eax, dword [0x484ef4]
mov edx, dword [0x484ef8]
imul eax, ecx
add eax, edx
jmp 0x42fb2d
xor eax, eax
push 0xffffffffffffffff
push ecx
push eax
call dword [0x4819c0]
add esp, 0xc
call dword [0x484ea8]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x18]
mov ebx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x42f93b
mov esi, dword [esp + 0x1c]
mov eax, dword [0x483668]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x42f916
pop ebp
xor edi, edi
test eax, eax
jle 0x42fbb8
mov esi, 0xff00
push edi
push 0x483664
call fcn.00407cf0
mov edx, dword [eax + 0x18]
add esp, 8
xor ecx, ecx
test edx, edx
jle 0x42fbae
mov edx, dword [eax + 0x1c]
mov edx, dword [edx + ecx*4]
lea edx, [edx + edx*8]
and word [ebx + edx*4 + 0xc], si
lea edx, [ebx + edx*4]
mov edx, dword [eax + 0x18]
inc ecx
cmp ecx, edx
jl 0x42fb95
mov eax, dword [0x483668]
inc edi
cmp edi, eax
jl 0x42fb7e
mov eax, dword [0x480d68]
mov ecx, dword [0x4854ac]
pop edi
pop esi
cmp eax, ecx
pop ebx
jbe 0x42fbcf
mov dword [0x4854ac], eax
add esp, 0x18
ret