Function at 0x45f190
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4767f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x49400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x48ad10]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x174d4c5e
mov byte [ebp - 0x34], 0
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x13
jb 0x45f1e6
xorps xmm0, xmm0
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x47]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45f212
sub ecx, edx
lea eax, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.00468c60
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x48a2c0]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x673d3c
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x12
jb 0x45f243
xorps xmm0, xmm0
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x47]
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45f270
sub ecx, edx
lea eax, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00468c60
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
call fcn.00441060
mov ecx, dword [ebp - 0x4c]
add esp, 4
cmp ecx, 0x10
jb 0x45f2cc
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f2c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f304
push ecx
push edx
call fcn.004733de
add esp, 8
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x45f314
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f30a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45f30a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004733de
add esp, 8
mov cl, 0xd
mov byte [ebp - 0x2e], 0
mov al, 0x3c
mov byte [ebp - 0x30], cl
xor al, cl
mov byte [ebp - 0x2e], 0
lea edx, [ebp - 0x2f]
mov byte [ebp - 0x2f], al
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x45f330
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x2f]
mov esi, dword [ebp - 0x2c]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
cmp edi, 0x10
push eax
cmovae ecx, esi
call fcn.0046eab0
add esp, 8
mov byte [0x4952d8], al
cmp edi, 0x10
jb 0x45f38f
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x45f385
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45f385
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004733de
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00472e83
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret