Function at 0x5c2c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ab39c
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
lea edi, [esi + 0x138]
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x50], edi
cmp eax, ecx
je 0x5c2cd6
mov esi, eax
mov edi, ecx
nop dword [eax]
mov ecx, esi
call fcn.00404490
add esi, 0x18
cmp esi, edi
jne 0x5c2cc0
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
mov eax, dword [edi]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x228]
mov ecx, dword [esi + 0x22c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xd4], ecx
cmp eax, ecx
je 0x5c32cb
lea eax, [esi + 0x210]
nop dword [eax]
push 0x7cf384
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00421b40
add esp, 0xc
mov edx, dword [ebp - 0x50]
mov ecx, edx
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x5c2d29
mov ecx, dword [edx]
push dword [edx + 0x10]
push ecx
mov ecx, eax
call fcn.00407c50
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x24], xmm0
mov word [eax], cx
lea ecx, [ebp - 0xa8]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x90]
call fcn.00403b80
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.00417820
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 2
call fcn.00404220
lea ecx, [ebp - 0x90]
call fcn.00404490
mov ecx, dword [ebp - 0x48]
or ecx, dword [ebp - 0x4c]
je 0x5c2dfd
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x34]
push ecx
cmp dword [edi + 8], eax
je 0x5c2de3
mov ecx, eax
call fcn.00404120
add dword [edi + 4], 0x18
jmp 0x5c2deb
push eax
mov ecx, edi
call fcn.00404950
mov eax, dword [ebp - 0x48]
add dword [esi + 0x130], eax
mov eax, dword [ebp - 0x4c]
adc dword [esi + 0x134], eax
xor eax, eax
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
lea eax, [esi + 0x210]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xf8]
call fcn.00403b80
lea edx, [ebp - 0xf8]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00417ac0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
call fcn.00404220
lea ecx, [ebp - 0xf8]
call fcn.00404490
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0xd0], eax
cmp esi, eax
je 0x5c3296
nop word [eax + eax]
mov eax, 4
mov dword [ebp - 0x68], 0x8b008a
mov dword [ebp - 0x6c], eax
xor ecx, ecx
mov dword [ebp - 0x64], 0x860085
mov dword [ebp - 0x60], 0xad
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x68], ax
inc ecx
mov eax, dword [ebp - 0x6c]
cmp ecx, eax
jb 0x5c2eb0
xor ecx, ecx
mov word [ebp + eax*2 - 0x68], cx
xor eax, eax
mov dword [ebp - 0x98], ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x94], 7
lea edx, [ecx + 2]
mov word [ebp - 0xa8], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c2ef0
sub ecx, edx
lea eax, [ebp - 0x68]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.004044f0
mov byte [ebp - 4], 0xb
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
jne 0x5c2f47
xor eax, eax
mov dword [ebp - 0x74], 0
push eax
push 0x7cf388
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.004044f0
jmp 0x5c2f72
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esi + 0x18]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [ecx + eax*8]
push eax
lea ecx, [ebp - 0x84]
call fcn.00404120
lea edx, [ebp - 0x84]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa8]
call fcn.00405db0
lea ecx, [ebp - 0x84]
mov byte [ebp - 0x41], al
call fcn.00404490
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call fcn.00404490
cmp byte [ebp - 0x41], 0
je 0x5c3284
mov dword [ebp - 0x5c], 1
xor eax, eax
mov dword [ebp - 0x58], 0xaa00f5
nop
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x58], cx
inc eax
mov ecx, dword [ebp - 0x5c]
cmp eax, ecx
jb 0x5c2fc0
xor eax, eax
mov word [ebp + ecx*2 - 0x58], ax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x164]
mov ecx, esi
push eax
call fcn.004031c0
mov esi, eax
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
push dword [ebp - 0x50]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xf
call fcn.00403b80
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.004032f0
mov esi, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa8]
push 1
xor eax, eax
mov dword [ebp - 0x98], 0
push 0x7cf384
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.004044f0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x12
push eax
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x84]
call fcn.00405fb0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x34]
call fcn.00404490
movups xmm0, xmmword [ebp - 0x84]
xor eax, eax
lea ecx, [ebp - 0x84]
mov word [ebp - 0x84], ax
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [ebp - 0x74]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
call fcn.00404490
lea ecx, [ebp - 0x128]
call fcn.00404220
lea ecx, [ebp - 0x140]
call fcn.00404490
lea ecx, [ebp - 0xb4]
call fcn.00404220
lea ecx, [ebp - 0xcc]
call fcn.00404490
lea ecx, [ebp - 0x14c]
call fcn.00404220
lea ecx, [ebp - 0x164]
call fcn.00404490
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0xcc]
call fcn.00403b80
push ecx
lea edx, [ebp - 0xcc]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1c]
call fcn.00417430
add esp, 4
lea ecx, [ebp - 0xb4]
call fcn.00404220
lea ecx, [ebp - 0xcc]
call fcn.00404490
mov ecx, dword [ebp - 0x18]
mov eax, 0x38e38e39
sub ecx, dword [ebp - 0x1c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x5c3275
xor eax, eax
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 7
mov word [ebp - 0x11c], ax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403b80
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x19
call fcn.00417820
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x48], edx
mov esi, eax
mov byte [ebp - 4], 0x13
call fcn.00404220
lea ecx, [ebp - 0x11c]
call fcn.00404490
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x34]
push eax
cmp dword [edi + 8], ecx
je 0x5c325b
call fcn.00404120
add dword [edi + 4], 0x18
jmp 0x5c3263
push ecx
mov ecx, edi
call fcn.00404950
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
add dword [eax + 0x130], esi
adc dword [eax + 0x134], ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.0041b0e0
mov esi, dword [ebp - 0x4c]
add esi, 0x24
mov dword [ebp - 0x4c], esi
cmp esi, dword [ebp - 0xd0]
jne 0x5c2e90
lea ecx, [ebp - 0x40]
call fcn.0041b0e0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
add eax, 0x18
cmp eax, dword [ebp - 0xd4]
mov dword [ebp - 0x50], eax
lea eax, [esi + 0x210]
jne 0x5c2d00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret