Function at 0x61c230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x4c], edx
mov ebp, ecx
xorps xmm0, xmm0
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x24]
movlpd qword [esp + 0x50], xmm0
push 0
push eax
mov edx, 0x1b
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x2c], 0
call fcn.00615500
mov esi, eax
add esp, 8
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x61c5f2
mov eax, dword [ebp + 0x118]
mov ebx, dword [esp + 0x24]
cdq
push edx
push eax
push 1
push ebx
call fcn.005adc10
mov eax, dword [ebp + 0x100]
cdq
push edx
push eax
push 2
push ebx
call fcn.005adc10
mov eax, dword [esp + 0x74]
add esp, 0x20
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
nop dword [eax]
push ebx
call fcn.005acbd0
add esp, 4
cmp eax, 0x64
jne 0x61c363
xor edx, edx
mov ecx, ebx
call fcn.005ad0e0
mov ecx, eax
call fcn.005a60b0
mov ebp, eax
test ebx, ebx
je 0x61c31d
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
jne 0x61c302
mov edx, dword [ebx + 0x28]
cmp edx, 0xc0a
je 0x61c302
mov eax, dword [ecx + 0x44]
and eax, edx
jmp 0x61c309
call fcn.00589150
mov ecx, dword [ebx]
mov dword [ebx + 0x28], eax
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x61c31d
push eax
call dword [0x851ac0]
add esp, 4
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [eax + 0x100], edi
jle 0x61c35b
mov ebx, eax
nop dword [eax]
lea eax, [esp + 0x2c]
mov edx, ebp
push eax
push edi
mov ecx, ebx
call fcn.0061c020
xor dword [esp + 0x38], eax
inc edi
xor dword [esp + 0x3c], edx
add esp, 8
cmp edi, dword [ebx + 0x100]
jl 0x61c330
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
test esi, esi
je 0x61c2c0
push ebx
call fcn.005abe00
add esp, 4
test esi, esi
jne 0x61c5ca
mov esi, eax
test eax, eax
jne 0x61c5ca
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], esi
mov eax, dword [ebp + 0x24]
push dword [ebp + 0xe0]
push 0x7e8924
mov eax, dword [eax]
mov dword [esp + 0x50], eax
call fcn.0058b200
mov edi, eax
add esp, 8
test edi, edi
jne 0x61c3c4
push dword [esp + 0x24]
mov edi, dword [esp + 0x60]
lea esi, [eax + 7]
mov ebx, dword [esp + 0x5c]
call fcn.005abd50
add esp, 4
jmp 0x61c5d2
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x24]
push 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
mov edx, edi
call fcn.005deca0
add esp, 0x14
mov esi, eax
push edi
call fcn.00588960
mov edi, dword [esp + 0x60]
add esp, 4
mov ebx, dword [esp + 0x58]
test esi, esi
jne 0x61c5bc
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x24]
push ebx
call fcn.005acbd0
add esp, 4
cmp eax, 0x64
jne 0x61c5b8
push 0
push ebx
call fcn.005ad3e0
add esp, 8
mov dword [esp + 0x40], eax
cmp dword [ebp + 0x2c], 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x1c], 0
je 0x61c449
mov ecx, dword [ebp + 0x18]
inc ecx
push ecx
push ebx
call fcn.005ad380
add esp, 8
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
nop
cmp ebx, dword [ebp + 0x18]
jge 0x61c400
mov eax, dword [ebp + 0x20]
cmp byte [ebx + eax], 0
jne 0x61c5ab
lea eax, [ebx + 1]
push eax
push dword [esp + 0x28]
call fcn.005ad490
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x24]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x2c], 0
call fcn.00611b50
mov ecx, dword [esp + 0x2c]
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x61c592
jmp 0x61c4a4
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x28]
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x5c], 0
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x58], 0
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x61c58a
push dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
mov edx, ebp
mov ecx, dword [esp + 0x48]
push ebx
push dword [esp + 0x44]
push dword [esp + 0x4c]
push eax
push dword [esp + 0x30]
call fcn.0061bf70
xor dword [esp + 0x28], eax
xor edi, edx
mov eax, dword [esp + 0x2c]
mov esi, 1
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov dword [esp + 0x2c], edi
mov ebx, dword [eax + 0x100]
cmp ebx, esi
jle 0x61c4a0
mov edi, dword [eax + 0x104]
add edi, 0x18
mov edx, dword [edi]
cmp edx, ebp
jg 0x61c575
push dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x24]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push esi
push dword [esp + 0x30]
call fcn.0061bf70
xor dword [esp + 0x28], eax
add esp, 0x18
xor dword [esp + 0x2c], edx
inc esi
add edi, 0x18
cmp esi, ebx
jl 0x61c546
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
jmp 0x61c4a0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x61c5a3
mov eax, dword [esp + 0x48]
push ecx
mov eax, dword [eax + 0x10]
call eax
add esp, 4
xor eax, eax
cmp esi, 0x65
cmove esi, eax
inc ebx
mov dword [esp + 0x20], ebx
test esi, esi
je 0x61c450
mov ebx, dword [esp + 0x10]
push dword [esp + 0x24]
call fcn.005abd50
add esp, 4
jmp 0x61c5d2
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x30], ebx
jne 0x61c5de
cmp dword [esp + 0x34], edi
je 0x61c5f2
mov eax, dword [esp + 0x4c]
mov dword [eax], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x4c]
pop edi
mov dword [eax], 1
mov eax, esi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret