Function at 0x513bc0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
xor ebx, ebx
mov eax, dword [ecx + eax*4]
xor ecx, ecx
mov cl, byte [eax + esi + 0xb]
add eax, esi
mov esi, ecx
xor ecx, ecx
mov cl, byte [eax]
mov bl, byte [eax + 1]
mov edi, ecx
xor ecx, ecx
mov cl, byte [eax + 0xa]
mov ebp, ebx
mov dword [esp + 0x58], ecx
add ecx, ebp
mov dword [esp + 0x38], ecx
xor ebx, ebx
mov bl, byte [eax + 2]
xor ecx, ecx
mov cl, byte [eax + 9]
mov dword [esp + 0x5c], ebx
add ebx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], ebx
xor ebx, ebx
mov bl, byte [eax + 3]
xor ecx, ecx
mov cl, byte [eax + 8]
mov dword [esp + 0x4c], ebx
add ebx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov bl, byte [eax + 4]
xor ecx, ecx
mov cl, byte [eax + 7]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ecx
add ebx, ecx
xor ecx, ecx
mov dword [esp + 0x20], esi
mov cl, byte [eax + 6]
add esi, edi
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov cl, byte [eax + 5]
mov eax, ecx
mov ecx, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x40], ecx
add ecx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x40]
sub esi, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], esi
lea esi, [ebx + ecx]
sub ecx, ebx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
lea ebx, [esi + ecx]
sub ecx, esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x58]
sub edi, ecx
mov ecx, edi
mov edi, dword [esp + 0x54]
sub ebp, ebx
sub esi, edi
mov edi, dword [esp + 0x4c]
mov ebx, ebp
sub edi, dword [esp + 0x48]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x44]
sub edi, ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x34]
sub eax, edi
mov edi, dword [esp + 0x10]
add edi, ebp
mov ebp, dword [esp + 0x30]
lea edi, [edi + ebp - 0x600]
mov ebp, dword [esp + 0x14]
mov dword [edx], edi
mov edi, dword [esp + 0x24]
sub edi, ebp
mov ebp, dword [esp + 0x18]
sub edi, ebp
mov ebp, dword [esp + 0x10]
mov dword [edx + 0x18], edi
mov edi, dword [esp + 0x30]
sub edi, ebp
lea ebp, [edi + edi*2]
lea ebp, [edi + ebp*4]
shl ebp, 4
add ebp, edi
lea ebp, [ebp + ebp*2]
shl ebp, 4
lea edi, [edi + ebp + 0x1000]
mov ebp, dword [esp + 0x24]
sar edi, 0xd
mov dword [edx + 0x10], edi
mov edi, dword [esp + 0x14]
add ebp, edi
mov edi, ebp
shl edi, 5
sub edi, ebp
lea edi, [edi + edi*2]
lea ebp, [ebp + edi*4]
lea edi, [ebp + ebp*2]
mov ebp, dword [esp + 0x14]
lea edi, [edi + edi*4]
shl edi, 1
sub edi, ebp
mov ebp, dword [esp + 0x18]
lea edi, [edi + ebp + 0x1000]
sar edi, 0xd
mov dword [edx + 8], edi
mov edi, dword [esp + 0x20]
lea ebp, [edi + ebx]
lea edi, [ebp + ebp*2]
shl edi, 3
sub edi, ebp
lea edi, [edi + edi*2]
lea edi, [ebp + edi*4]
shl edi, 4
add edi, ebp
lea ebp, [ebx + ebx*2]
shl ebp, 4
add ebp, ebx
shl ebp, 6
sub ebp, ebx
lea ebx, [edi + ebp*2]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x20]
lea ebp, [ebx + ebx*2]
lea ebp, [ebp + ebp*4]
shl ebp, 2
sub ebp, ebx
lea ebp, [ebx + ebp*8]
shl ebp, 5
add ebp, ebx
lea ebx, [esi + ecx]
sub edi, ebp
mov dword [esp + 0x14], edi
mov edi, ebx
shl edi, 4
add edi, ebx
lea edi, [edi + edi*2]
lea edi, [edi + edi*8]
lea edi, [ebx + edi*2]
lea edi, [edi + edi*4]
lea edi, [ebx + edi*2]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], edi
lea ebp, [ebx + ecx]
lea edi, [ebp + ebp*2]
shl edi, 4
sub edi, ebp
lea edi, [edi + edi*4]
lea edi, [edi + edi*4]
lea ebp, [ebp + edi*2]
lea edi, [ebp + ebp*2]
mov dword [esp + 0x24], edi
mov edi, ecx
shl edi, 5
add edi, ecx
lea edi, [edi + edi*2]
lea edi, [ecx + edi*8]
sub ecx, ebx
imul ecx, ecx, 0x29cf
lea edi, [edi + edi*2]
shl edi, 1
mov ebp, edi
lea edi, [eax + eax*2]
shl edi, 4
sub edi, eax
lea edi, [eax + edi*4]
shl edi, 3
sub edi, ebp
mov ebp, dword [esp + 0x10]
add edi, ebp
mov ebp, dword [esp + 0x18]
add edi, ebp
mov ebp, dword [esp + 0x24]
add edi, ebp
lea ebp, [ebx + esi]
mov dword [esp + 0x30], edi
mov edi, ebp
shl edi, 6
sub edi, ebp
neg edi
lea edi, [edi + edi*2]
shl edi, 3
mov dword [esp + 0x1c], edi
mov edi, eax
shl edi, 4
add edi, eax
lea edi, [edi + edi*2]
lea edi, [edi + edi*8]
lea edi, [eax + edi*2]
lea edi, [edi + edi*4]
lea edi, [eax + edi*2]
mov ebp, edi
mov edi, ebx
shl edi, 5
sub edi, ebx
shl edi, 5
sub edi, ebx
lea edi, [edi + edi*2]
shl edi, 1
sub edi, ebp
mov ebp, dword [esp + 0x18]
sub edi, ebp
mov ebp, dword [esp + 0x1c]
add edi, ebp
mov ebp, dword [esp + 0x24]
add ebp, edi
mov edi, dword [esp + 0x30]
add edi, 0x1000
sar edi, 0xd
mov dword [edx + 4], edi
lea edi, [eax + esi]
lea ebx, [edi + edi*2]
shl ebx, 3
sub ebx, edi
lea ebx, [ebx + ebx*2]
lea ebx, [edi + ebx*4]
shl ebx, 4
add ebx, edi
mov edi, dword [esp + 0x14]
sub ecx, ebx
lea ecx, [ecx + edi + 0x1000]
sar ecx, 0xd
mov dword [edx + 0xc], ecx
lea ecx, [esi + esi*2]
add ebp, 0x1000
lea ecx, [ecx + ecx*4]
shl ecx, 5
sub ecx, esi
sar ebp, 0xd
lea esi, [esi + ecx*8]
mov dword [edx + 0x1c], ebp
lea ecx, [esi + esi*4]
mov esi, ecx
lea ecx, [eax + eax*2]
shl ecx, 4
sub ecx, eax
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax*2]
sub eax, esi
invalid
sub eax, edi
add eax, ecx
mov ecx, dword [esp + 0x1c]
lea eax, [eax + ecx + 0x1000]
sar eax, 0xd
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, 8
mov dword [esp + 0x3c], eax
je 0x513bf1
cmp eax, 0xc
je 0x513bfa
add edx, 0x20
jmp 0x513897
lea edx, [esp + 0x60]
jmp 0x513897
mov ecx, dword [esp + 0xe4]
lea edx, [esp + 0xa0]
lea edi, [esp + 0xa0]
mov dword [esp + 0x40], 8
lea eax, [ecx + 0x80]
sub ecx, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ecx
jmp 0x513c2d