Function at 0x40285a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x473060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, 0x473dc0
mov dword [0x473dd0], ebx
mov dword [0x473dd4], ebx
mov dword [0x473dd8], ebx
mov byte [0x473dde], bl
call fcn.00401d17
push 3
call fcn.00407410
pop ecx
call fcn.00407330
mov dword [0x473df8], eax
test eax, eax
jne 0x4028ba
mov dword [0x473df8], ebx
xor al, al
jmp 0x402b2f
push esi
push 0x2712
push eax
call fcn.004073e0
add esp, 0xc
push edi
push 0x2722
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push 1
push 0x50
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push 0x4024bb
push 0x4e2b
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push 3
push 0x54
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push 0x1e
push 0x4e
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push 0xb4
push 0xd
pop esi
push esi
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
xor edi, edi
inc edi
push edi
push 0x2b
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push edi
push 0x34
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push ebx
push 0x40
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push ebx
push 0x51
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push edi
push 0x4a
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push ebx
push 0x2a
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push ebx
push 0x29
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push edi
push 0x71
push dword [0x473df8]
call fcn.004073e0
movaps xmm0, xmmword [0x471250]
add esp, 0xc
movups xmmword [ebp - 0x60], xmm0
push 0x10
pop edi
mov dword [ebp - 0x14], esi
lea edx, [ebp - 0x48]
mov byte [ebp - 0x50], bl
mov esi, ebx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 6
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x24], 9
mov dword [ebp - 0x20], 0xa
mov dword [ebp - 0x1c], 0xb
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 0xe
mov dword [ebp - 0xc], 0xf
test edi, edi
je 0x402a63
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx - 0x2b]
xor byte [ebp + ecx - 0x60], al
inc esi
cmp esi, edi
jne 0x402a52
lea eax, [ebp - 0x60]
mov byte [ebp - 0x50], 1
push eax
push 0x27e3
push dword [0x473df8]
call fcn.004073e0
add esp, 0xc
push dword [0x473df8]
call fcn.004073d0
pop ecx
test eax, eax
je 0x402ac1
mov ecx, 0x473dc0
mov dword [0x473dd0], ebx
mov dword [0x473dd4], ebx
mov dword [0x473dd8], ebx
mov byte [0x473dde], bl
call fcn.00401d17
push dword [0x473df8]
call fcn.004072f0
pop ecx
jmp 0x4028ad
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], ebx
push eax
push 0x200002
push dword [0x473df8]
call fcn.00407310
add esp, 0xc
push dword [0x473df8]
call fcn.004072f0
cmp dword [ebp - 0x64], 0xc8
pop ecx
mov dword [0x473df8], ebx
je 0x402b26
cmp dword [ebp - 0x64], 0x130
je 0x402b26
mov ecx, 0x473dc0
mov dword [0x473dd0], ebx
mov dword [0x473dd4], ebx
mov dword [0x473dd8], ebx
mov byte [0x473dde], bl
call fcn.00401d17
jmp 0x4028b3
cmp dword [0x473dd4], ebx
setg al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004428c2
mov esp, ebp
pop ebp
ret 8