Function at 0x51f39c
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff98
mov esi, eax
push 8
mov eax, dword [esi + 0x48]
push eax
mov eax, dword [esi + 0x4c]
push eax
mov ecx, 6
mov dl, 1
mov eax, dword [0x4c7414]
call fcn.004cc2b4
mov dword [esp], eax
mov edx, dword [esp]
mov eax, esi
call fcn.004ee320
mov eax, dword [esi + 0x168]
mov eax, dword [eax + 0x128]
mov eax, dword [eax + 0x14]
mov edx, dword [esi + 0x70]
call fcn.00429824
mov eax, dword [esi + 0x168]
mov eax, dword [eax + 0x128]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.00429940
mov eax, dword [esi + 0x168]
mov eax, dword [eax + 0x128]
mov eax, dword [eax + 0x10]
mov edx, dword [esi + 0x1cc]
call fcn.00429524
mov eax, dword [esi + 0x168]
mov eax, dword [eax + 0x128]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.00429620
lea edx, [esp + 0x18]
mov eax, dword [esi + 0x168]
mov ebx, dword [eax + 0x128]
mov eax, ebx
call fcn.0042a4a4
lea edx, [esp + 0x18]
mov eax, ebx
call fcn.00429f04
lea edx, [esp + 0x28]
mov eax, dword [esi + 0x168]
mov eax, dword [eax + 0x128]
call fcn.0042a4a4
mov eax, dword [esp + 0x34]
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x40]
mov eax, dword [esi + 0x168]
mov eax, dword [eax + 0x128]
call fcn.0042a4a4
mov eax, dword [esp + 0x48]
dec eax
push eax
lea edx, [esp + 0x54]
mov eax, dword [esi + 0x168]
mov eax, dword [eax + 0x128]
call fcn.0042a4a4
mov eax, dword [esp + 0x58]
inc eax
push eax
lea edx, [esp + 0x68]
mov eax, dword [esi + 0x168]
mov ebx, dword [eax + 0x128]
mov eax, ebx
call fcn.0042a4a4
mov eax, dword [esp + 0x68]
inc eax
pop edx
pop ecx
call fcn.0041b4c8
lea edx, [esp + 0x18]
mov eax, ebx
call fcn.0042a0c0
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 4
jle 0x51f640
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 4
jle 0x51f640
mov eax, esi
call fcn.005358c0
call fcn.004f991c
mov ebx, eax
mov eax, dword [esi + 0x1cc]
call fcn.004f991c
mov edi, eax
mov eax, ebx
mov edx, edi
and eax, 0xff
and edx, 0xff
add eax, edx
shr eax, 1
mov byte [esp + 4], al
mov eax, ebx
test eax, eax
jns 0x51f535
add eax, 0xff
sar eax, 8
mov edx, edi
test edx, edx
jns 0x51f544
add edx, 0xff
sar edx, 8
and eax, 0xff
and edx, 0xff
add eax, edx
shr eax, 1
mov byte [esp + 5], al
mov eax, ebx
test eax, eax
jns 0x51f565
add eax, 0xff
sar eax, 8
test eax, eax
jns 0x51f571
add eax, 0xff
sar eax, 8
mov edx, edi
test edx, edx
jns 0x51f580
add edx, 0xff
sar edx, 8
test edx, edx
jns 0x51f58d
add edx, 0xff
sar edx, 8
and eax, 0xff
and edx, 0xff
add eax, edx
shr eax, 1
mov ecx, eax
mov dl, byte [esp + 5]
mov al, byte [esp + 4]
call fcn.0040769c
mov ebx, eax
push ebx
mov eax, dword [esi + 0x168]
mov eax, dword [eax + 0x128]
mov ecx, 2
mov edx, 2
call fcn.0042a45c
push ebx
mov edi, dword [esi + 0x168]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, eax
sub ecx, 3
mov eax, dword [edi + 0x128]
mov edx, 2
call fcn.0042a45c
push ebx
mov edi, dword [esi + 0x168]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, 3
mov eax, dword [edi + 0x128]
mov ecx, 2
call fcn.0042a45c
push ebx
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, 3
push eax
mov edi, dword [esi + 0x168]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, 3
mov eax, dword [edi + 0x128]
pop ecx
call fcn.0042a45c
mov byte [esp + 6], 0x64
mov byte [esp + 7], 0
mov byte [esp + 8], 0x2d
mov byte [esp + 9], 0x50
mov byte [esp + 0xa], 0x96
mov byte [esp + 0xb], 0xd2
mov byte [esp + 0xc], 0xe6
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x51f8c7
inc eax
mov dword [esp + 0x10], eax
xor edi, edi
mov edx, edi
mov eax, dword [esi + 0x168]
call fcn.004cda7c
mov ebp, eax
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
test eax, eax
jl 0x51f8bc
inc eax
mov dword [esp + 0x14], eax
xor ebx, ebx
mov byte [ebp + ebx], 0xff
test edi, edi
je 0x51f6d5
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
cmp edi, eax
je 0x51f6d5
test ebx, ebx
je 0x51f6d5
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
cmp ebx, eax
jne 0x51f6dd
mov al, byte [esp + 6]
mov byte [ebp + ebx], al
test edi, edi
je 0x51f6f1
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
cmp edi, eax
jne 0x51f70d
test ebx, ebx
je 0x51f705
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
cmp ebx, eax
jne 0x51f70d
mov al, byte [esp + 7]
mov byte [ebp + ebx], al
test edi, edi
je 0x51f721
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
cmp edi, eax
jne 0x51f740
cmp ebx, 1
je 0x51f738
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, 2
cmp ebx, eax
jne 0x51f740
mov al, byte [esp + 8]
mov byte [ebp + ebx], al
test edi, edi
je 0x51f754
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
cmp edi, eax
jne 0x51f773
cmp ebx, 2
je 0x51f76b
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, 3
cmp ebx, eax
jne 0x51f773
mov al, byte [esp + 9]
mov byte [ebp + ebx], al
cmp edi, 1
je 0x51f78a
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, 2
cmp edi, eax
jne 0x51f7a6
test ebx, ebx
je 0x51f79e
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
cmp ebx, eax
jne 0x51f7a6
mov al, byte [esp + 8]
mov byte [ebp + ebx], al
cmp edi, 1
je 0x51f7bd
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, 2
cmp edi, eax
jne 0x51f7dc
cmp ebx, 1
je 0x51f7d4
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, 2
cmp ebx, eax
jne 0x51f7dc
mov al, byte [esp + 0xa]
mov byte [ebp + ebx], al
cmp edi, 1
je 0x51f7f3
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, 2
cmp edi, eax
jne 0x51f812
cmp ebx, 2
je 0x51f80a
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, 3
cmp ebx, eax
jne 0x51f812
mov al, byte [esp + 0xb]
mov byte [ebp + ebx], al
cmp edi, 2
je 0x51f829
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, 3
cmp edi, eax
jne 0x51f845
test ebx, ebx
je 0x51f83d
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
cmp ebx, eax
jne 0x51f845
mov al, byte [esp + 9]
mov byte [ebp + ebx], al
cmp edi, 2
je 0x51f85c
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, 3
cmp edi, eax
jne 0x51f87b
cmp ebx, 1
je 0x51f873
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, 2
cmp ebx, eax
jne 0x51f87b
mov al, byte [esp + 0xb]
mov byte [ebp + ebx], al
cmp edi, 2
je 0x51f892
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, 3
cmp edi, eax
jne 0x51f8b1
cmp ebx, 2
je 0x51f8a9
mov eax, dword [esi + 0x168]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, 3
cmp ebx, eax
jne 0x51f8b1
mov al, byte [esp + 0xc]
mov byte [ebp + ebx], al
inc ebx
dec dword [esp + 0x14]
jne 0x51f6a8
inc edi
dec dword [esp + 0x10]
jne 0x51f67e
mov eax, dword [esp]
call fcn.00403600
add esp, 0x68
pop ebp
pop edi
pop esi
pop ebx
ret