Function at 0x46cb40
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479709
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x58
mov eax, dword [0x4902d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
mov al, byte [eax]
test al, al
je 0x46cb98
mov ecx, dword [esi + 4]
call fcn.0046bf50
jmp 0x46d02d
mov eax, dword [esi + 8]
mov al, byte [eax]
test al, al
je 0x46ce56
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4933a8]
cmp eax, dword [ecx + 4]
jle 0x46cc5b
push 0x4933a8
call fcn.004743d1
add esp, 4
cmp dword [0x4933a8], 0xffffffff
jne 0x46cc5b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x14]
mov esi, dword [esi + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push 0x14
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.004746f8
movups xmm0, xmmword [ebp - 0x30]
add esp, 4
mov dword [ebp - 0x18], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], edi
push 0x4933a4
push 0
push eax
push 0x473ce0
push 0
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [0x4933a0], eax
test eax, eax
je 0x46cc75
push 0x47a2e0
call fcn.004746e3
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x4933a8
call fcn.00474387
add esp, 4
mov al, byte [0x493308]
test al, al
jne 0x46ccad
mov eax, dword [0x4933a4]
test eax, eax
jne 0x46cc87
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [0x4933a4], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push eax
push dword [0x4933a0]
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x46cca2
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
xorps xmm0, xmm0
movlpd qword [0x4933a0], xmm0
mov al, 1
mov ecx, 0x493308
xchg byte [ecx], al
movups xmm0, xmmword [str.yLNSYSJV_6_hifI]
mov ax, word [0x485f7c]
mov word [ebp - 0x20], ax
movups xmmword [ebp - 0x30], xmm0
test ah, ah
je 0x46ce4e
xor ecx, ecx
cmp dword [0x4931b8], 2
jl 0x46ce24
movaps xmm0, xmmword [0x486200]
mov eax, 5
movaps xmm4, xmmword [0x4860d0]
movaps xmm3, xmmword [0x486540]
movaps xmm6, xmmword [0x486110]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x60], xmm0
mov edx, dword [ebp - 0x60]
movd xmm7, eax
lea eax, [ecx + 4]
nop word [eax + eax]
movd xmm0, ecx
add ecx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x34]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + eax - 0x34], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x30]
pxor xmm1, xmm0
movd dword [ebp + eax - 0x30], xmm1
add eax, 8
cmp eax, 0x14
jl 0x46cd20
cmp ecx, 0x12
jge 0x46ce4e
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x39
sub dl, al
add dl, 0x38
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0x12
jl 0x46ce24
lea eax, [ebp - 0x30]
jmp 0x46d024
mov eax, dword [esi + 0x10]
mov al, byte [eax]
test al, al
je 0x46d02d
mov eax, dword [esi]
mov al, byte [eax]
test al, al
jne 0x46d02d
mov eax, dword [0x485ecc]
xor edx, edx
cmp dword [0x4931b8], 2
movups xmm0, xmmword [str.yLNSYSJV_6f___._lN]
mov dword [ebp - 0x38], eax
mov ax, word [0x485ed0]
mov word [ebp - 0x34], ax
mov al, byte [0x485ed2]
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x32], al
mov dword [ebp - 0x1c], edx
jl 0x46cff0
movaps xmm0, xmmword [0x486200]
mov eax, 5
movaps xmm4, xmmword [0x4860d0]
movaps xmm3, xmmword [0x486540]
movaps xmm6, xmmword [0x486110]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x60], xmm0
mov ecx, dword [ebp - 0x60]
movd xmm7, eax
lea eax, [edx + 4]
nop
movd xmm0, edx
add edx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x4c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + eax - 0x4c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x48]
pxor xmm1, xmm0
movd dword [ebp + eax - 0x48], xmm1
add eax, 8
cmp eax, 0x14
jl 0x46cee0
mov dword [ebp - 0x1c], edx
cmp edx, 0x17
jge 0x46d021
nop word [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x1c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x48], cl
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 0x17
jl 0x46cff0
lea eax, [ebp - 0x48]
push eax
call fcn.00433ec0
add esp, 4
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.00473fd7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret