Function at 0x511450
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x138]
xor ebx, ebx
mov eax, dword [ecx + eax*4]
xor ecx, ecx
mov cl, byte [eax + edx + 0xd]
add eax, edx
xor edx, edx
mov dword [esp + 0x40], ecx
mov dl, byte [eax]
mov bl, byte [eax + 4]
mov ebp, edx
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x48], ebx
lea edi, [ecx + ebp]
xor ecx, ecx
mov cl, byte [eax + 0xc]
mov dword [esp + 0x5c], edx
add edx, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
xor edx, edx
mov dl, byte [eax + 2]
xor ecx, ecx
mov cl, byte [eax + 0xb]
mov dword [esp + 0x60], edx
add edx, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], edx
xor edx, edx
mov dl, byte [eax + 3]
xor ecx, ecx
mov cl, byte [eax + 0xa]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], ecx
add edx, ecx
xor ecx, ecx
mov cl, byte [eax + 9]
add ebx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], ebx
xor ecx, ecx
mov cl, byte [eax + 8]
xor ebx, ebx
mov bl, byte [eax + 5]
mov dword [esp + 0x54], ecx
add ecx, ebx
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov cl, byte [eax + 7]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cl, byte [eax + 6]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
add eax, ecx
lea ecx, [eax + edi]
sub edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], edi
lea edi, [ecx + eax]
sub eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edi
lea edi, [ecx + eax]
sub eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x64]
sub ebp, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ebp
sub ecx, edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x44]
sub ecx, ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x58]
sub ecx, edi
mov edi, dword [esp + 0x48]
sub edi, ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x54]
sub ebx, edi
mov edi, ebx
mov ebx, dword [esp + 0x20]
sub ebx, ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x30]
add ebp, ebx
mov ebx, dword [esp + 0x10]
add ebp, ebx
lea ebp, [edx + ebp - 0x700]
mov dword [esi], ebp
lea ebp, [edx + edx*4]
lea ebp, [ebp + ebp*8]
lea ebp, [edx + ebp*4]
shl ebp, 5
add ebp, edx
lea edx, [ebx + ebx*8]
shl edx, 4
add edx, ebx
shl ebp, 1
lea edx, [edx + edx*8]
shl edx, 2
sub edx, ebx
shl edx, 1
mov ebx, edx
mov edx, dword [esp + 0x30]
sub ebx, ebp
mov dword [esp + 0x20], ebx
lea ebx, [edx + edx*4]
lea ebx, [ebx + ebx*8]
lea ebx, [edx + ebx*8]
lea ebx, [ebx + ebx*4]
lea ebx, [edx + ebx*2]
lea edx, [edx + ebx*2]
mov ebx, dword [esp + 0x20]
sub ebx, edx
mov edx, dword [esp + 0x24]
lea ebp, [edx + edx*4]
shl ebp, 5
add ebp, edx
lea edx, [edx + ebp*8]
mov ebp, dword [esp + 0x50]
lea edx, [ebx + edx*2 + 0x1000]
sar edx, 0xd
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x3c]
lea ebx, [edx + ebp]
lea edx, [ebx + ebx*2]
shl edx, 4
sub edx, ebx
lea edx, [edx + edx*2]
lea edx, [ebx + edx*2]
shl edx, 4
add edx, ebx
lea ebx, [eax + eax*4]
shl ebx, 3
sub ebx, eax
shl edx, 1
lea ebx, [eax + ebx*4]
mov dword [esp + 0x10], edx
shl ebx, 4
add ebx, eax
lea ebx, [edx + ebx*2]
pop edx
pop edx
mov edx, ebp
shl edx, 5
sub edx, ebp
lea edx, [edx + edx*8]
lea edx, [ebp + edx*2]
add ebx, eax
lea edx, [ebp + edx*4]
mov ebp, dword [esp + 0x14]
lea edx, [edx + ebx + 0x1000]
sar edx, 0xd
mov dword [esi + 8], edx
mov edx, dword [esp + 0x3c]
lea ebx, [edx + edx*4]
lea ebx, [edx + ebx*2]
lea ebx, [ebx + ebx*4]
shl ebx, 6
add ebx, edx
mov edx, eax
shl edx, 6
sub edx, eax
shl edx, 2
sub edx, eax
neg edx
shl ebx, 2
lea edx, [edx + edx*4]
lea eax, [edx + edx*8]
mov edx, dword [esp + 0x10]
sub eax, ebx
lea eax, [eax + edx + 0x1000]
mov edx, dword [esp + 0x28]
sar eax, 0xd
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x1c]
lea ebx, [edx + eax]
mov eax, edi
sub eax, ebp
mov ebp, ecx
sub ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x18]
sub ebp, ebx
mov ebx, dword [esp + 0x34]
add ebp, ebx
lea ebx, [eax + eax*4]
mov dword [esi + 0x1c], ebp
lea ebx, [ebx + ebx*8]
shl ebx, 5
sub ebx, eax
mov eax, dword [esp + 0x1c]
add eax, edx
shl ebx, 3
lea ebp, [eax + eax*4]
shl ebp, 4
add ebp, eax
shl ebp, 4
add ebp, eax
mov eax, dword [esp + 0x34]
shl ecx, 0xd
sub ebx, ebp
mov ebp, dword [esp + 0x14]
sub ebx, ecx
mov dword [esp + 0x10], ebx
lea ebx, [edx + eax]
mov eax, ebx
shl eax, 4
add eax, ebx
shl eax, 5
add eax, ebx
lea ebx, [eax + eax*8]
mov eax, dword [esp + 0x18]
add eax, ebp
lea ebp, [eax + eax*2]
shl ebp, 7
add ebp, eax
lea eax, [eax + ebp*4]
shl eax, 2
lea ebx, [eax + ebx*2]
lea eax, [edx + edx*4]
mov dword [esp + 0x24], ebx
lea eax, [eax + eax*8]
lea eax, [eax + eax*8]
lea eax, [edx + eax*8]
lea eax, [eax + eax*2]
lea edx, [edx + eax*2]
mov ebp, edx
mov edx, dword [esp + 0x14]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
shl eax, 4
sub eax, edx
mov edx, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
sub eax, ebp
add eax, ebx
mov ebx, dword [esp + 0x18]
lea eax, [eax + edx + 0x1000]
mov edx, dword [esp + 0x1c]
sar eax, 0xd
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x34]
add eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
lea eax, [eax + eax*8]
lea eax, [eax + eax*8]
lea ebp, [eax + eax*2]
mov eax, edi
sub eax, ebx
lea ebx, [eax + eax*2]
lea ebx, [ebx + ebx*4]
shl ebx, 4
sub ebx, eax
lea eax, [eax + ebx*8]
lea ebx, [ebp + eax*2]
lea eax, [edi + edi*2]
shl eax, 4
add eax, edi
lea eax, [edi + eax*8]
shl eax, 4
sub eax, edi
shl eax, 2
mov edi, eax
lea eax, [edx*4]
sub eax, edx
neg eax
shl eax, 6
sub eax, edx
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x10]
shl edx, 1
sub edx, edi
add edx, ebx
lea edx, [edx + eax + 0x1000]
mov eax, dword [esp + 0x34]
sar edx, 0xd
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x18]
add eax, edx
lea edi, [eax + eax*8]
shl edi, 6
add edi, eax
mov eax, dword [esp + 0x38]
shl edi, 4
sub ecx, edi
add ecx, ebx
mov ebx, dword [esp + 0x24]
add ecx, ebx
lea ecx, [ecx + edx + 0x1000]
sar ecx, 0xd
inc eax
mov dword [esi + 4], ecx
cmp eax, 8
mov dword [esp + 0x38], eax
je 0x511630
cmp eax, 0xe
je 0x511639
add esi, 0x20
jmp 0x511267
lea esi, [esp + 0x6c]
jmp 0x511267
mov esi, dword [esp + 0x130]
lea ecx, [esp + 0xec]
lea edx, [esp + 0xec]
mov dword [esp + 0x40], 8
lea eax, [esi + 0x40]
sub esi, ecx
mov dword [esp + 0x38], esi
jmp 0x511665