Function at 0x655bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8483
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x82f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 0x10
mov dword [ebp - 0x34], 0xfa00e4
mov dword [ebp - 0x38], eax
mov ebx, 0xe4
mov dword [ebp - 0x30], 0xc900cf
xor ecx, ecx
mov dword [ebp - 0x2c], 0xd800ce
mov dword [ebp - 0x28], 0xcb00d0
mov dword [ebp - 0x24], 0x9200e0
mov dword [ebp - 0x20], 0xb000a7
mov dword [ebp - 0x1c], 0xac00b7
mov dword [ebp - 0x18], 0xa900a9
mov dword [ebp - 0x14], 0xc8
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
jb 0x655c30
xor ecx, ecx
mov word [ebp + eax*2 - 0x34], cx
lea ecx, [ebp - 0x50]
mov eax, dword [esi]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00408060
add esp, 0xc
push eax
mov byte [ebp - 4], 1
call fcn.006553d0
lea ecx, [ebp - 0x68]
mov byte [ebp - 0xd], al
call fcn.00404490
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov dword [ebp - 0x30], 0xd
xor ecx, ecx
mov dword [ebp - 0x2c], 0xfa00e4
mov dword [ebp - 0x28], 0xc900cf
mov dword [ebp - 0x24], 0xd800ce
mov dword [ebp - 0x20], 0xcb00d0
mov dword [ebp - 0x1c], 0x9500e0
mov dword [ebp - 0x18], 0xa100a3
mov dword [ebp - 0x14], 0xc500b7
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x2c], ax
inc ecx
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jb 0x655cd3
xor ecx, ecx
mov word [ebp + eax*2 - 0x2c], cx
lea ecx, [ebp - 0x50]
mov eax, dword [esi]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00408060
add esp, 0xc
push eax
mov byte [ebp - 4], 3
call fcn.006553d0
lea ecx, [ebp - 0x68]
mov bh, al
call fcn.00404490
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov dword [ebp - 0x30], 0xd
xor eax, eax
mov dword [ebp - 0x2c], 0xf500e4
mov dword [ebp - 0x28], 0xc800db
mov dword [ebp - 0x24], 0x9d00c8
mov dword [ebp - 0x20], 0xda00ed
mov dword [ebp - 0x1c], 0xb200b3
mov dword [ebp - 0x18], 0xac00ab
mov dword [ebp - 0x14], 0xc500aa
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x2c], cx
inc eax
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
jb 0x655d80
xor eax, eax
mov word [ebp + ecx*2 - 0x2c], ax
lea ecx, [ebp - 0x80]
mov eax, dword [esi]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00408060
add esp, 0xc
push eax
mov byte [ebp - 4], 5
call fcn.006553d0
lea ecx, [ebp - 0x98]
mov bl, al
call fcn.00404490
lea ecx, [ebp - 0x80]
call fcn.00404490
cmp byte [ebp - 0xd], 0
je 0x655e09
test bh, bh
je 0x655e09
test bl, bl
je 0x655e09
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret