Function at 0x487100
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ecx + 0x18]
sub esp, 0xcd0
test eax, eax
mov eax, dword [ecx + 0x10]
push ebx
push ebp
push esi
push edi
je 0x487336
cmp eax, 8
jne 0x487165
mov edx, dword [ecx]
xor eax, eax
test edx, edx
jle 0x487784
mov ebp, dword [esp + 0xce4]
mov esi, dword [ecx + 0x1c]
xor edx, edx
mov dl, byte [ebp]
inc ebp
lea edi, [esi + edx*4]
mov edx, dword [ecx + 0x38]
lea esi, [edx + eax*4]
xor edx, edx
mov dl, byte [edi + 1]
imul edx, dword [ecx + 0x44]
mov edi, dword [esi]
add edi, edx
inc eax
mov dword [esi], edi
mov edx, dword [ecx]
cmp eax, edx
jl 0x487130
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcd0
ret 4
cmp eax, 4
jne 0x4871bf
mov eax, dword [ecx]
xor edx, edx
test eax, eax
jle 0x487784
mov edi, dword [esp + 0xce4]
test dl, 1
je 0x48718a
mov al, byte [edi]
and eax, 0xf
inc edi
jmp 0x487191
xor eax, eax
mov al, byte [edi]
shr eax, 4
mov ebp, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x38]
xor ebx, ebx
mov bl, byte [ebp + eax*4 + 1]
mov ebp, dword [esi + edx*4]
imul ebx, dword [ecx + 0x44]
lea esi, [esi + edx*4]
add ebp, ebx
inc edx
mov dword [esi], ebp
mov eax, dword [ecx]
cmp edx, eax
jl 0x48717d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcd0
ret 4
cmp eax, 1
jne 0x487784
mov eax, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x44]
xor edx, edx
xor ebx, ebx
mov dl, byte [eax + 1]
mov bl, byte [eax + 5]
mov eax, dword [ecx]
mov ebp, edx
imul ebx, esi
imul ebp, esi
cdq
mov esi, dword [ecx + 0x38]
mov edi, dword [esp + 0xce4]
and edx, 7
mov dword [esp + 0x14], ebx
add eax, edx
xor edx, edx
sar eax, 3
test eax, eax
jle 0x487298
test byte [edx + edi], 0x80
mov ebx, dword [esp + 0x14]
jne 0x48720f
mov ebx, ebp
add dword [esi], ebx
mov bl, byte [edx + edi]
test bl, 0x40
mov ebx, dword [esp + 0x14]
jne 0x48721f
mov ebx, ebp
add dword [esi + 4], ebx
mov bl, byte [edx + edi]
test bl, 0x20
mov ebx, dword [esp + 0x14]
jne 0x487230
mov ebx, ebp
add dword [esi + 8], ebx
mov bl, byte [edx + edi]
test bl, 0x10
mov ebx, dword [esp + 0x14]
jne 0x487241
mov ebx, ebp
add dword [esi + 0xc], ebx
mov bl, byte [edx + edi]
test bl, 8
mov ebx, dword [esp + 0x14]
jne 0x487252
mov ebx, ebp
add dword [esi + 0x10], ebx
mov bl, byte [edx + edi]
test bl, 4
mov ebx, dword [esp + 0x14]
jne 0x487263
mov ebx, ebp
add dword [esi + 0x14], ebx
mov bl, byte [edx + edi]
test bl, 2
mov ebx, dword [esp + 0x14]
jne 0x487274
mov ebx, ebp
add dword [esi + 0x18], ebx
mov bl, byte [edx + edi]
test bl, 1
mov ebx, dword [esp + 0x14]
jne 0x487285
mov ebx, ebp
add dword [esi + 0x1c], ebx
add esi, 0x20
inc edx
cmp edx, eax
jl 0x487203
mov ebx, dword [esp + 0x14]
mov ecx, dword [ecx]
shl eax, 3
sub ecx, eax
dec ecx
js 0x4872ae
test byte [edx + edi], 0x80
mov eax, ebx
jne 0x4872ac
mov eax, ebp
add dword [esi], eax
dec ecx
cmp ecx, 1
jl 0x4872c1
test byte [edx + edi], 0x40
mov eax, ebx
jne 0x4872be
mov eax, ebp
add dword [esi + 4], eax
dec ecx
cmp ecx, 2
jl 0x4872d4
test byte [edx + edi], 0x20
mov eax, ebx
jne 0x4872d1
mov eax, ebp
add dword [esi + 8], eax
dec ecx
cmp ecx, 3
jl 0x4872e7
test byte [edx + edi], 0x10
mov eax, ebx
jne 0x4872e4
mov eax, ebp
add dword [esi + 0xc], eax
dec ecx
cmp ecx, 4
jl 0x4872fa
test byte [edx + edi], 8
mov eax, ebx
jne 0x4872f7
mov eax, ebp
add dword [esi + 0x10], eax
dec ecx
cmp ecx, 5
jl 0x48730d
test byte [edx + edi], 4
mov eax, ebx
jne 0x48730a
mov eax, ebp
add dword [esi + 0x14], eax
dec ecx
cmp ecx, 6
jl 0x487784
test byte [edx + edi], 2
mov eax, ebx
jne 0x487321
mov eax, ebp
mov ecx, dword [esi + 0x18]
pop edi
add ecx, eax
mov dword [esi + 0x18], ecx
pop esi
pop ebp
pop ebx
add esp, 0xcd0
ret 4
cmp eax, 0x18
jne 0x4873a4
mov edx, dword [ecx]
xor eax, eax
test edx, edx
jle 0x487784
mov esi, dword [esp + 0xce4]
mov edx, dword [ecx + 0x3c]
add esi, 3
lea edi, [edx + eax*4]
xor edx, edx
mov dl, byte [esi - 3]
imul edx, dword [ecx + 0x44]
mov ebp, dword [edi]
add ebp, edx
mov dword [edi], ebp
mov edx, dword [ecx + 0x38]
lea edi, [edx + eax*4]
xor edx, edx
mov dl, byte [esi - 2]
imul edx, dword [ecx + 0x44]
mov ebx, dword [edi]
add ebx, edx
mov dword [edi], ebx
mov edx, dword [ecx + 0x34]
lea edi, [edx + eax*4]
xor edx, edx
mov dl, byte [esi - 1]
imul edx, dword [ecx + 0x44]
mov ebp, dword [edi]
add ebp, edx
inc eax
mov dword [edi], ebp
mov edx, dword [ecx]
cmp eax, edx
jl 0x48734e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcd0
ret 4
cmp eax, 0x10
jne 0x487494
mov eax, dword [esp + 0xce4]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
test eax, eax
jle 0x487784
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
mov si, word [edx]
lea ebp, [eax + ebx*4]
and esi, 0xffff
mov eax, esi
and eax, 0x1f
mov edi, eax
shl edi, 8
sub edi, eax
mov eax, 0x84210843
add edi, 0x10
imul edi
add edx, edi
mov edi, dword [ebp]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, esi
imul edx, dword [ecx + 0x44]
shr eax, 5
add edi, edx
and eax, 0x1f
mov dword [ebp], edi
mov edx, dword [ecx + 0x38]
mov edi, eax
shl edi, 8
sub edi, eax
mov eax, 0x84210843
add edi, 0x10
lea ebp, [edx + ebx*4]
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebp]
imul edx, dword [ecx + 0x44]
shr esi, 0xa
and esi, 0x1f
add eax, edx
mov edi, esi
mov dword [ebp], eax
mov edx, dword [ecx + 0x34]
mov eax, 0x84210843
shl edi, 8
sub edi, esi
lea ebp, [edx + ebx*4]
add edi, 0x10
imul edi
add edx, edi
mov edi, dword [ebp]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, dword [ecx + 0x44]
add edi, edx
mov edx, dword [esp + 0x14]
mov dword [ebp], edi
mov eax, dword [ecx]
inc ebx
add edx, 2
cmp ebx, eax
mov dword [esp + 0x14], edx
jl 0x4873c4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcd0
ret 4
cmp eax, 8
jne 0x4875e4
mov ebp, dword [ecx]
cmp ebp, 0x100
jle 0x487564
mov esi, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x44]
add esi, 0x3fc
xor eax, eax
xor edx, edx
mov dl, byte [esi + 2]
sub esi, 4
imul edx, edi
mov dword [esp + eax + 0xcdc], edx
xor edx, edx
mov dl, byte [esi + 5]
imul edx, edi
mov dword [esp + eax + 0x8dc], edx
xor edx, edx
mov dl, byte [esi + 4]
imul edx, edi
mov dword [esp + eax + 0x4dc], edx
mov edx, eax
sub eax, 4
cmp edx, 0xfffffc04
jne 0x4874b9
xor eax, eax
test ebp, ebp
jle 0x487784
mov esi, dword [esp + 0xce4]
mov edx, dword [ecx + 0x3c]
mov ebp, dword [edx + eax*4]
lea edi, [edx + eax*4]
xor edx, edx
mov dl, byte [esi]
mov edx, dword [esp + edx*4 + 0xe0]
add ebp, edx
mov dword [edi], ebp
mov edx, dword [ecx + 0x38]
mov ebx, dword [edx + eax*4]
lea edi, [edx + eax*4]
xor edx, edx
mov dl, byte [esi]
mov edx, dword [esp + edx*4 + 0x4e0]
add ebx, edx
mov dword [edi], ebx
mov edx, dword [ecx + 0x34]
mov ebp, dword [edx + eax*4]
lea edi, [edx + eax*4]
xor edx, edx
mov dl, byte [esi]
mov edx, dword [esp + edx*4 + 0x8e0]
add ebp, edx
inc eax
mov dword [edi], ebp
mov edx, dword [ecx]
inc esi
cmp eax, edx
jl 0x487507
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcd0
ret 4
xor edx, edx
test ebp, ebp
jle 0x487784
mov edi, dword [esp + 0xce4]
mov esi, dword [ecx + 0x1c]
xor eax, eax
mov al, byte [edi]
inc edi
mov eax, dword [esi + eax*4]
mov esi, dword [ecx + 0x3c]
mov dword [esp + 0x14], eax
and eax, 0xff
imul eax, dword [ecx + 0x44]
mov ebx, dword [esi + edx*4]
lea esi, [esi + edx*4]
add ebx, eax
mov dword [esi], ebx
mov esi, dword [esp + 0x15]
mov eax, dword [ecx + 0x38]
and esi, 0xff
imul esi, dword [ecx + 0x44]
mov ebx, dword [eax + edx*4]
lea eax, [eax + edx*4]
add ebx, esi
mov esi, dword [esp + 0x16]
and esi, 0xff
mov dword [eax], ebx
imul esi, dword [ecx + 0x44]
mov eax, dword [ecx + 0x34]
mov ebx, dword [eax + edx*4]
lea eax, [eax + edx*4]
add ebx, esi
inc edx
mov dword [eax], ebx
mov eax, dword [ecx]
cmp edx, eax
jl 0x487575
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcd0
ret 4
cmp eax, 4
jne 0x4876ae
mov esi, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x44]
add esi, 0x3c
xor eax, eax
xor edx, edx
mov dl, byte [esi + 2]
sub esi, 4
imul edx, edi
mov dword [esp + eax + 0xdc], edx
xor edx, edx
mov dl, byte [esi + 5]
imul edx, edi
mov dword [esp + eax + 0x5c], edx
xor edx, edx
mov dl, byte [esi + 4]
imul edx, edi
mov dword [esp + eax + 0x9c], edx
mov edx, eax
sub eax, 4
cmp edx, 0xffffffc4
jne 0x4875f8
mov eax, dword [ecx]
xor edx, edx
test eax, eax
jle 0x487784
mov edi, dword [esp + 0xce4]
mov al, byte [edi]
test dl, 1
je 0x487652
and al, 0xf
inc edi
mov byte [esp + 0x14], al
jmp 0x487659
shr al, 4
mov byte [esp + 0x14], al
mov eax, dword [ecx + 0x3c]
lea esi, [eax + edx*4]
mov eax, dword [esp + 0x14]
and eax, 0xff
mov ebp, dword [esi]
shl eax, 2
mov ebx, dword [esp + eax + 0x60]
add ebp, ebx
mov ebx, dword [esp + eax + 0x20]
mov dword [esi], ebp
mov esi, dword [ecx + 0x38]
mov eax, dword [esp + eax + 0xa0]
mov ebp, dword [esi + edx*4]
lea esi, [esi + edx*4]
add ebp, ebx
mov dword [esi], ebp
mov esi, dword [ecx + 0x34]
mov ebx, dword [esi + edx*4]
lea esi, [esi + edx*4]
add ebx, eax
inc edx
mov dword [esi], ebx
mov eax, dword [ecx]
cmp edx, eax
jl 0x487642
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcd0
ret 4
cmp eax, 1
jne 0x487784
mov eax, dword [ecx + 0x1c]
xor edx, edx
mov esi, dword [ecx + 0x44]
xor ebx, ebx
mov dl, byte [eax]
mov bl, byte [eax + 2]
mov edi, edx
xor edx, edx
mov dl, byte [eax + 1]
imul edi, esi
mov ebp, edx
xor edx, edx
mov dl, byte [eax + 4]
imul ebp, esi
imul edx, esi
imul ebx, esi
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, byte [eax + 5]
mov byte [esp + 0x13], 0
imul edx, esi
mov dword [esp + 0x18], edx
xor edx, edx
mov dl, byte [eax + 6]
mov eax, edx
mov edx, dword [ecx]
imul eax, esi
mov dword [esp + 0x1c], eax
xor eax, eax
test edx, edx
jle 0x487784
test al, 7
jne 0x487724
mov esi, dword [esp + 0xce4]
mov dl, byte [esi]
inc esi
mov byte [esp + 0x13], dl
mov dword [esp + 0xce4], esi
test byte [esp + 0x13], 0x80
mov edx, dword [ecx + 0x3c]
lea edx, [edx + eax*4]
je 0x487753
mov esi, dword [esp + 0x14]
add dword [edx], esi
mov edx, dword [ecx + 0x38]
mov esi, dword [esp + 0x18]
add dword [edx + eax*4], esi
lea edx, [edx + eax*4]
mov edx, dword [ecx + 0x34]
mov esi, dword [esp + 0x1c]
add dword [edx + eax*4], esi
lea edx, [edx + eax*4]
jmp 0x487773
mov esi, dword [edx]
add esi, edi
mov dword [edx], esi
mov edx, dword [ecx + 0x38]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
add esi, ebp
mov dword [edx], esi
mov edx, dword [ecx + 0x34]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
add esi, ebx
mov dword [edx], esi
mov dl, byte [esp + 0x13]
shl dl, 1
mov byte [esp + 0x13], dl
mov edx, dword [ecx]
inc eax
cmp eax, edx
jl 0x48770b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcd0
ret 4