Function at 0x4024d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x473060]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, 0x473d98
mov dword [0x473da8], ebx
mov ecx, edi
mov dword [0x473dac], ebx
mov dword [0x473db0], ebx
mov byte [0x473db6], bl
call fcn.00401d17
push 3
call fcn.00407410
pop ecx
call fcn.00407330
mov dword [0x473df4], eax
test eax, eax
jne 0x402538
mov dword [0x473df4], ebx
xor al, al
jmp 0x402847
push esi
push 0x2712
push eax
call fcn.004073e0
add esp, 0xc
push 0xf
pop eax
cmp byte [0x473cb3], bl
jne 0x4025e5
mov dword [ebp - 0x48], ebx
lea edx, [ebp - 0x48]
mov dword [ebp - 0x44], 1
mov esi, ebx
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 - 0x14], 0xd
mov dword [ebp - 0x10], 0xe
test eax, eax
je 0x4025de
push eax
pop edi
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx - 0x2b]
xor byte [ecx + 0x473ca4], al
inc esi
cmp esi, edi
jne 0x4025c6
mov edi, 0x473d98
mov byte [0x473cb3], 1
push 0x473ca4
push 0x2722
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
xor esi, esi
inc esi
push esi
push 0x50
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push 0x40249d
push 0x4e2b
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push 3
push 0x54
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push 0x1e
push 0x4e
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push 0xb4
push 0xd
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push esi
push 0x2b
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push esi
push 0x34
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push ebx
push 0x40
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push ebx
push 0x51
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push esi
push 0x4a
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push ebx
push 0x2a
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push ebx
push 0x29
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push esi
push 0x71
push dword [0x473df4]
call fcn.004073e0
movaps xmm0, xmmword [0x471250]
add esp, 0xc
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x4c], ebx
push 0x10
pop eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x40], 3
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 4
mov esi, ebx
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x34], 6
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x2c], 8
mov dword [ebp - 0x28], 9
mov dword [ebp - 0x24], 0xa
mov dword [ebp - 0x20], 0xb
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x18], 0xd
mov dword [ebp - 0x14], 0xe
mov dword [ebp - 0x10], 0xf
test eax, eax
je 0x402781
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx - 0x2b]
xor byte [ebp + ecx - 0x64], al
inc esi
cmp esi, 0x10
jne 0x40276f
lea eax, [ebp - 0x64]
mov byte [ebp - 0x54], 1
push eax
push 0x27e3
push dword [0x473df4]
call fcn.004073e0
add esp, 0xc
push dword [0x473df4]
call fcn.004073d0
pop ecx
test eax, eax
je 0x4027dc
mov ecx, edi
mov dword [0x473da8], ebx
mov dword [0x473dac], ebx
mov dword [0x473db0], ebx
mov byte [0x473db6], bl
call fcn.00401d17
push dword [0x473df4]
call fcn.004072f0
pop ecx
jmp 0x40252b
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], ebx
push eax
push 0x200002
push dword [0x473df4]
call fcn.00407310
add esp, 0xc
push dword [0x473df4]
call fcn.004072f0
cmp dword [ebp - 0x68], 0xc8
pop ecx
mov dword [0x473df4], ebx
je 0x40283e
cmp dword [ebp - 0x68], 0x130
je 0x40283e
mov ecx, edi
mov dword [0x473da8], ebx
mov dword [0x473dac], ebx
mov dword [0x473db0], ebx
mov byte [0x473db6], bl
call fcn.00401d17
jmp 0x402531
cmp dword [0x473dac], ebx
setg al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004428c2
mov esp, ebp
pop ebp
ret 4