Function at 0x487380
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1f0
mov eax, dword [esp + 0x1f4]
push esi
push edi
lea esi, [esp + 0xa3]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
lea edi, [esp + 0x12b]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20c]
mov dword [esp + 0x54], ecx
and esi, 0xffffffc0
and edi, 0xffffffc0
xor ecx, ecx
and eax, 0xffff
mov dword [esp + 0x58], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], eax
jle 0x487756
mov edx, dword [esp + 0x208]
push ebx
and edx, 0xffff
push ebp
mov ebp, dword [esp + 0x20c]
mov dword [esp + 0x64], edx
lea ebx, [edx + edx*2]
mov dword [esp + 0x20], ebp
lea ebx, [ebx + ebx*4]
lea ebx, [edx + ebx*4]
shl ebx, 3
mov dword [esp + 0x58], ebx
test edx, edx
jle 0x48773d
mov ebx, dword [esp + 0x208]
lea ebp, [ecx*8]
and ebx, 0xffff
mov dword [esp + 0x40], edx
mov eax, ebx
mov dword [esp + 0x50], ebx
shr eax, 1
imul eax, ebp
mov ebp, dword [esp + 0x4c]
add eax, ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, ebx
imul eax, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x1c], ebp
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
add ebp, 0x15c
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 2
mov ecx, dword [esp + 0x38]
push edi
push esi
push ebx
push ecx
call dword [0x58e55c]
xor ecx, ecx
mov edx, dword [edi]
mov cx, word [esi]
add esp, 0x10
mov ebx, ecx
imul ebx, ecx
xor ecx, ecx
mov cx, word [esi + 2]
mov ebp, ecx
imul ebp, ecx
shl edx, 4
sub edx, ebx
mov ebx, dword [edi + 4]
xor ecx, ecx
mov cx, word [esi + 4]
shl ebx, 4
sub ebx, ebp
mov ebp, ecx
imul ebp, ecx
mov ecx, dword [edi + 8]
shl ecx, 4
sub ecx, ebp
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cx, word [esi + 6]
mov ebp, ecx
imul ebp, ecx
mov ecx, dword [edi + 0xc]
shl ecx, 4
sub ecx, ebp
mov ebp, dword [edi + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0xc]
add ecx, ebp
mov ebp, dword [edi + 4]
add ecx, ebp
mov ebp, dword [edi]
add ecx, ebp
mov ebp, eax
imul ebp, eax
shl ecx, 6
sub ecx, ebp
mov ebp, dword [esp + 0x34]
mov dword [ebp], ecx
je 0x487523
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
add eax, ebp
mov ebp, dword [esp + 0x34]
add eax, ebx
add eax, edx
xor edx, edx
shl eax, 8
div ecx
mov dword [ebp], eax
jmp 0x48752a
mov dword [ebp], 0x40
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x50]
add edx, 8
add ebp, 4
dec eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], eax
jne 0x48747e
mov eax, dword [esp + 0x14]
lea ecx, [ebx*8]
add eax, ecx
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x48746e
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
push edi
push esi
add ecx, edx
push ebx
push ecx
call dword [0x58e55c]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov cx, word [esi]
mov eax, dword [edi]
mov edx, ecx
mov ebp, dword [edi + 8]
imul edx, ecx
xor ecx, ecx
add esp, 0x10
mov cx, word [esi + 2]
shl eax, 4
sub eax, edx
mov edx, ecx
imul edx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 4]
shl eax, 4
xor ecx, ecx
sub eax, edx
mov cx, word [esi + 4]
mov dword [esp + 0x28], eax
mov eax, ecx
imul eax, ecx
mov ecx, ebp
shl ecx, 4
mov edx, ecx
xor ecx, ecx
mov cx, word [esi + 6]
sub edx, eax
mov eax, ecx
imul eax, ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x14], eax
shl ecx, 4
mov eax, ecx
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [edi + 0xc]
add ecx, ebp
mov ebp, dword [edi + 4]
add ecx, ebp
mov ebp, dword [edi]
add ecx, ebp
mov ebp, dword [esp + 0x10]
imul ebp, ebp
shl ecx, 6
sub ecx, ebp
mov ebp, dword [esp + 0x1c]
mov dword [ebp + 0x16c], ecx
je 0x48762d
add eax, edx
mov edx, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x24]
add eax, edx
xor edx, edx
shl eax, 8
div ecx
mov dword [ebp + 0x16c], eax
jmp 0x487637
mov dword [ebp + 0x16c], 0x40
mov edx, dword [esp + 0x18]
push edi
push esi
push ebx
push edx
call dword [0x58e55c]
xor ecx, ecx
add esp, 0x10
mov cx, word [esi]
mov edx, ecx
imul edx, ecx
mov ecx, dword [edi]
shl ecx, 4
sub ecx, edx
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov cx, word [esi + 2]
mov edx, ecx
imul edx, ecx
mov ecx, dword [edi + 4]
shl ecx, 4
sub ecx, edx
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov cx, word [esi + 4]
mov edx, ecx
imul edx, ecx
mov ecx, dword [edi + 8]
shl ecx, 4
sub ecx, edx
xor edx, edx
mov dx, word [esi + 6]
mov dword [esp + 0x2c], ecx
mov ecx, edx
imul ecx, edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x1c], ecx
shl edx, 4
mov ecx, edx
mov edx, dword [esp + 0x1c]
sub ecx, edx
mov edx, dword [edi + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0xc]
add ecx, edx
mov edx, dword [edi + 4]
add ecx, edx
mov edx, dword [edi]
add ecx, edx
mov edx, eax
imul edx, eax
shl ecx, 6
sub ecx, edx
mov dword [ebp + 0x170], ecx
je 0x4876f4
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add eax, edx
mov edx, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x24]
add eax, edx
xor edx, edx
shl eax, 8
div ecx
mov dword [ebp + 0x170], eax
jmp 0x4876fe
mov dword [ebp + 0x170], 0x40
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
add ebp, 0x1e8
add eax, 0x10
add edx, 8
dec ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], ecx
jne 0x48745c
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x20]
inc ecx
add ebp, ebx
cmp ecx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], ebp
jl 0x487401
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x1f0
ret