Function at 0x403f29
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x479060]
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, 0x479f78
mov dword [0x479f88], ebx
mov dword [0x479f8c], ebx
mov dword [0x479f90], ebx
mov byte [0x479f96], bl
call fcn.00402023
push 3
call fcn.0040af00
pop ecx
call fcn.0040ae20
mov dword [0x479fb0], eax
test eax, eax
jne 0x403f89
mov dword [0x479fb0], ebx
xor al, al
jmp 0x4041fe
push esi
push 0x2712
push eax
call fcn.0040aed0
add esp, 0xc
push edi
push 0x2722
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push 1
push 0x50
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push 0x403b8a
push 0x4e2b
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push 3
push 0x54
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push 0x1e
push 0x4e
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push 0xb4
push 0xd
pop esi
push esi
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
xor edi, edi
inc edi
push edi
push 0x2b
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push edi
push 0x34
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push ebx
push 0x40
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push ebx
push 0x51
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push edi
push 0x4a
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push ebx
push 0x2a
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push ebx
push 0x29
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push edi
push 0x71
push dword [0x479fb0]
call fcn.0040aed0
movaps xmm0, xmmword [0x4763f0]
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 0x404132
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x60], al
inc esi
cmp esi, edi
jne 0x404121
lea eax, [ebp - 0x60]
mov byte [ebp - 0x50], 1
push eax
push 0x27e3
push dword [0x479fb0]
call fcn.0040aed0
add esp, 0xc
push dword [0x479fb0]
call fcn.0040aec0
pop ecx
test eax, eax
je 0x404190
mov ecx, 0x479f78
mov dword [0x479f88], ebx
mov dword [0x479f8c], ebx
mov dword [0x479f90], ebx
mov byte [0x479f96], bl
call fcn.00402023
push dword [0x479fb0]
call fcn.0040ade0
pop ecx
jmp 0x403f7c
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], ebx
push eax
push 0x200002
push dword [0x479fb0]
call fcn.0040ae00
add esp, 0xc
push dword [0x479fb0]
call fcn.0040ade0
cmp dword [ebp - 0x64], 0xc8
pop ecx
mov dword [0x479fb0], ebx
je 0x4041f5
cmp dword [ebp - 0x64], 0x130
je 0x4041f5
mov ecx, 0x479f78
mov dword [0x479f88], ebx
mov dword [0x479f8c], ebx
mov dword [0x479f90], ebx
mov byte [0x479f96], bl
call fcn.00402023
jmp 0x403f82
cmp dword [0x479f8c], ebx
setg al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004465ce
mov esp, ebp
pop ebp
ret 8