Function at 0x5375ee
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x2f174]
push edi
add eax, 0xf8
mov dword [ebp - 0x60], eax
xor edi, edi
push 0x33c62
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x68], 0x18
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], 0x240
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
call dword [0x2a6e0]
lea eax, [ebp - 0x68]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
call dword [0x2a6dc]
cmp eax, edi
mov dword [ebp - 0xc], eax
jl 0x537aa2
push esi
mov esi, dword [0x2a6d8]
lea eax, [ebp - 4]
push eax
push edi
push edi
push 2
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], edi
call esi
mov dword [ebp - 0xc], eax
cmp eax, 0xc0000023
jne 0x537a98
cmp dword [ebp - 4], edi
jbe 0x537a98
push ebx
push 0x65
push dword [ebp - 4]
push 1
call dword [0x2a6d4]
mov ebx, eax
mov dword [ebp - 0xc], 0xc0000001
cmp ebx, edi
je 0x537a97
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x50]
push ebx
push 2
push eax
push dword [ebp - 0x14]
call esi
test eax, eax
jl 0x537a91
mov eax, dword [ebx + 8]
cmp eax, 0x5c
jb 0x537a91
cmp eax, edi
jbe 0x5376dc
push 0xfffffffffffffff4
pop ecx
lea eax, [ebx + 0xc]
sub ecx, ebx
xor dword [eax], 0x53f83610
add eax, 4
lea edx, [ecx + eax]
cmp edx, dword [ebx + 8]
jb 0x5376cb
mov eax, dword [ebx + 8]
sub eax, 4
push eax
lea eax, [ebx + 0x10]
push eax
push 0x15974263
call fcn.00517b72
cmp eax, dword [ebx + 0xc]
jne 0x537a91
mov dword [ebp - 0xc], edi
mov edi, dword [0x2f174]
add edi, 0x70
lea esi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x20]
mov ecx, dword [0x2f174]
mov dword [ecx + 0x80], eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [0x2f174]
mov dword [ecx + 0x84], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [0x2f174]
mov dword [ecx + 0x88], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [0x2f174]
mov dword [ecx + 0x8c], eax
mov eax, dword [ebx + 0x30]
mov ecx, dword [0x2f174]
mov dword [ecx + 0x90], eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [0x2f174]
mov dword [ecx + 0x94], eax
mov eax, dword [ebx + 0x38]
mov ecx, dword [0x2f174]
mov dword [ecx + 0x98], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [0x2f174]
mov dword [ecx + 0x9c], eax
mov eax, dword [ebx + 0x40]
mov ecx, dword [0x2f174]
mov dword [ecx + 0xa0], eax
mov eax, dword [ebx + 0x44]
mov ecx, dword [0x2f174]
mov dword [ecx + 0xa4], eax
mov eax, dword [ebx + 0x48]
mov ecx, dword [0x2f174]
mov dword [ecx + 0xa8], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [0x2f174]
mov dword [ecx + 0xac], eax
mov eax, dword [ebx + 0x50]
mov ecx, dword [0x2f174]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebx + 0x54]
mov ecx, dword [0x2f174]
mov dword [ecx + 0xb4], eax
mov eax, dword [ebx + 0x58]
mov ecx, dword [0x2f174]
mov dword [ecx + 0xb8], eax
mov eax, dword [ebx + 0x5c]
mov ecx, dword [0x2f174]
mov dword [ecx + 0xbc], eax
mov eax, dword [ebx + 0x60]
mov ecx, dword [0x2f174]
mov dword [ecx + 0xc0], eax
mov eax, dword [ebx + 0x64]
mov ecx, dword [0x2f174]
mov dword [ecx + 0xc4], eax
mov eax, dword [ebx + 0x68]
mov ecx, dword [0x2f174]
mov dword [ecx + 0x100], eax
mov eax, dword [0x2f174]
mov ecx, dword [eax + 0x100]
shl ecx, 2
push ecx
lea ecx, [ebx + 0x6c]
push ecx
push dword [eax + 0x104]
call fcn.005247d2
mov ecx, dword [0x2f174]
mov eax, dword [ecx + 0x100]
add esp, 0xc
lea eax, [eax*4 + 0x60]
mov edx, dword [ebx + eax + 0xc]
push 4
mov dword [ebp - 0x18], edx
pop esi
add eax, esi
mov edi, dword [ebx + eax + 0xc]
add eax, esi
mov edx, dword [ebx + eax + 0xc]
add eax, esi
mov dword [ebp - 0x10], edx
mov edx, dword [ebx + eax + 0xc]
add eax, esi
mov dword [ebp - 0x1c], edx
test edi, edi
je 0x5378ab
cmp eax, dword [ebp - 0x18]
jne 0x5378ab
push edi
lea eax, [ebx + eax + 0xc]
push eax
push dword [ecx + 0xd4]
call fcn.005247d2
mov eax, dword [0x2f174]
add esp, 0xc
mov word [eax + 0xd0], di
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x537a91
cmp dword [ebp - 0x1c], 0
je 0x537a91
and dword [ebp - 0x10], 0
mov dword [ebp - 8], eax
jmp 0x5378cc
push 4
pop esi
mov eax, dword [ebp - 8]
lea eax, [ebx + eax + 0xc]
mov ecx, dword [eax]
add eax, esi
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax]
add eax, esi
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax]
add eax, esi
mov dword [ebp - 0x2c], ecx
movzx ecx, word [eax]
inc eax
inc eax
movzx edx, word [eax]
inc eax
inc eax
movzx esi, word [eax]
inc eax
inc eax
movzx edi, word [eax]
movzx eax, word [eax + 2]
mov dword [ebp - 0x18], eax
movzx eax, di
mov dword [ebp - 0x44], edi
movzx edi, word [ebp - 0x18]
mov dword [ebp - 0x30], ecx
movzx ecx, cx
mov dword [ebp - 0x34], edx
movzx edx, dx
add edi, ecx
mov dword [ebp - 0x3c], esi
movzx esi, si
add edi, edx
add edi, esi
add edi, eax
mov dword [ebp - 0x48], eax
lea eax, [edi + 0x10af]
and eax, 0xfffff000
push 0x504e5255
push eax
push 0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x20], eax
call dword [0x2a6d4]
push dword [ebp - 0x20]
mov esi, eax
push 0
push esi
call fcn.005247de
mov ecx, dword [ebp - 8]
push edi
lea ecx, [ebx + ecx + 0x22]
lea eax, [esi + 0xac]
push ecx
push eax
call fcn.005247d2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
lea eax, [eax + edi + 0x16]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + edi + 0x16]
mov edi, dword [ebp - 0x34]
movzx edx, cx
mov dword [ebp - 0x10], eax
lea eax, [esi + 0xac]
add esp, 0x18
mov dword [ebp - 0x30], edx
add edx, eax
mov dword [esi + 0x28], eax
mov word [esi + 0x26], cx
mov word [esi + 0x24], cx
mov dword [esi + 0x50], edx
mov word [esi + 0x4e], di
mov word [esi + 0x4c], di
mov edi, dword [ebp - 0x38]
add edx, edi
mov edi, dword [ebp - 0x3c]
mov word [esi + 0x56], di
mov word [esi + 0x54], di
mov edi, dword [ebp - 0x40]
mov dword [esi + 0x58], edx
add edx, edi
mov edi, dword [ebp - 0x44]
mov word [esi + 0xa6], di
mov word [esi + 0xa4], di
mov edi, dword [ebp - 0x48]
add edi, edx
mov dword [esi + 0xa8], edx
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x60], edi
mov word [esi + 0x5e], dx
mov word [esi + 0x5c], dx
test cx, cx
je 0x537a85
push 2
push dword [ebp - 0x30]
push eax
lea eax, [esi + 0x2c]
push eax
call fcn.00530847
movzx eax, word [esi + 0x54]
test ax, ax
je 0x537a30
movzx eax, ax
push 2
push eax
push dword [esi + 0x58]
lea eax, [esi + 0x64]
push eax
call fcn.00530847
movzx eax, word [esi + 0x5c]
test ax, ax
je 0x537a4e
movzx eax, ax
push 2
push eax
push dword [esi + 0x60]
lea eax, [esi + 0x84]
push eax
call fcn.00530847
mov eax, dword [0x2f174]
lea ecx, [eax + 0xf0]
push ecx
lea ecx, [eax + 0xe0]
mov edx, esi
call dword [0x2a838]
mov eax, dword [esi + 8]
cmp eax, 0x10
jne 0x537a79
mov eax, esi
call fcn.00519064
jmp 0x537a85
cmp eax, 0x20
jne 0x537a85
mov eax, esi
call fcn.00519128
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x5378c9
push ebx
call fcn.0051b75e
pop ebx
push dword [ebp - 0x14]
call dword [0x2a82c]
pop esi
mov eax, dword [ebp - 0xc]
pop edi
leave
ret