Function at 0x51dda2
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x1020
call fcn.00516a12
push ebx
push ebp
push esi
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x30]
xor ebp, ebp
push 0x1000
push eax
mov dword [esp + 0x18], ebp
call dword [0x4b7234]
mov edi, dword [esp + 0x1034]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5270d0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push 0x525240
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [fcn.004b7248]
call edi
mov ebx, dword [0x4b7268]
push eax
call ebx
push 0x5270b0
push 0x525240
mov esi, eax
call edi
push eax
call ebx
test esi, esi
mov ebx, eax
je 0x51de46
lea eax, [esp + 0x24]
push eax
call esi
mov ebp, eax
push 0
push 0x80
push 3
push 0
push 1
lea ecx, [esp + 0x44]
push 0x80000000
push ecx
call dword [fcn.004b7260]
mov esi, eax
test ebp, ebp
mov dword [esp + 0x28], esi
je 0x51de78
test ebx, ebx
je 0x51de78
mov edx, dword [esp + 0x24]
push edx
call ebx
cmp esi, 0xffffffff
jne 0x51de8c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1020
ret 4
push 0
push 0
push 0
push 2
push 0
push esi
call dword [fcn.004b721c]
push 0
push 0
push 0
push 4
push eax
mov dword [esp + 0x40], eax
call dword [fcn.004b7220]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x51dec7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1020
ret 4
mov ecx, dword [eax + 0x3c]
xor ebp, ebp
add ecx, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ecx
cmp word [ecx + 0x18], 0x10b
jne 0x51e0bf
mov edx, dword [ecx + 0x34]
xor eax, eax
mov ax, word [ecx + 6]
mov dword [esp + 0x1c], edx
xor edx, edx
cmp eax, 1
mov dx, word [ecx + 0x14]
lea edi, [edx + ecx + 0x18]
jb 0x51deb8
mov edx, eax
mov esi, 0x5270a8
mov eax, edi
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x51df2b
test cl, cl
je 0x51df27
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x51df2b
add eax, 2
add esi, 2
test cl, cl
jne 0x51df07
xor eax, eax
jmp 0x51df30
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x51df38
mov ebp, edi
jmp 0x51df70
mov esi, 0x5270a0
mov eax, edi
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x51df63
test cl, cl
je 0x51df5f
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x51df63
add eax, 2
add esi, 2
test cl, cl
jne 0x51df3f
xor eax, eax
jmp 0x51df68
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x51df70
mov dword [esp + 0x20], edi
add edi, 0x28
dec edx
jne 0x51df00
test ebp, ebp
je 0x51deb8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x51deb8
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
add eax, edx
xor edx, edx
xor edi, edi
lea esi, [ecx - 0x14]
cmp esi, edx
jbe 0x51e0bb
mov cl, byte [eax]
cmp cl, 0x3b
je 0x51dfb1
cmp cl, 0x39
jne 0x51e010
cmp byte [eax + 2], 0xf
jne 0x51e010
cmp byte [eax + 3], 0x84
jne 0x51e010
mov cl, byte [eax + 8]
cmp cl, 0x3b
je 0x51dfca
cmp cl, 0x39
jne 0x51e010
cmp byte [eax + 0xa], 0xf
jne 0x51e010
cmp byte [eax + 0xb], 0x85
jne 0x51e010
cmp byte [eax + 0x10], 0x68
jne 0x51e010
mov cl, byte [eax + 0x15]
cmp cl, 0x50
jbe 0x51e010
cmp cl, 0x60
jae 0x51e010
cmp byte [eax + 0x16], 0xe8
jne 0x51e010
mov ebx, dword [eax + 0x11]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
sub ebx, ecx
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
jb 0x51e00c
mov ebp, dword [ebp + 8]
add ebp, ecx
cmp ebx, ebp
jb 0x51e01a
mov dword [esp + 0x10], edx
inc edi
inc eax
cmp edi, esi
jb 0x51dfa5
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp word [ecx + 0x18], 0x20b
jne 0x51e0da
xor edi, edi
lea eax, [ecx + 0x108]
mov di, word [ecx + 6]
xor esi, esi
test edi, edi
mov dword [esp + 0x1c], eax
jbe 0x51e061
mov ebp, eax
push 0x5270a8
push ebp
call dword [0x4b7f0c]
add esp, 8
test eax, eax
je 0x51e05d
inc esi
add ebp, 0x28
cmp esi, edi
jb 0x51e042
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
lea ecx, [esi + esi*4]
lea esi, [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 0x14]
mov ecx, dword [esi + 0x10]
add eax, edi
add ecx, 0xffffffec
xor edi, edi
test ecx, ecx
jbe 0x51e0da
cmp byte [eax], 0x48
jne 0x51e0b3
cmp byte [eax + 1], 0x3b
jne 0x51e0b3
mov dl, byte [eax + 2]
cmp dl, 0xc7
je 0x51e095
cmp dl, 0xcf
jne 0x51e0b3
cmp byte [eax + 3], 0xf
jne 0x51e0b3
cmp byte [eax + 4], 0x85
jne 0x51e0b3
cmp byte [eax + 9], 0x48
jne 0x51e0b3
cmp byte [eax + 0xa], 0x8d
jne 0x51e0b3
cmp byte [eax + 0xb], 0x15
je 0x51e0c8
inc edi
inc eax
cmp edi, ecx
jb 0x51e07d
jmp 0x51e0da
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x51e01e
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0xc]
add edx, eax
lea eax, [edx + edi + 0x10]
mov dword [esp + 0x10], eax
mov ebx, eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [fcn.004b7224]
mov edx, dword [esp + 0x2c]
mov esi, dword [fcn.004b72a8]
push edx
call esi
mov eax, dword [esp + 0x28]
push eax
call esi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x1020
ret 4