Function at 0x48f610
Capabilities:
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 0x5fcf43
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x686bb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x6d4064]
mov ecx, 1
cmp dword [0x6d41f0], 0
movups xmm0, xmmword [str.sZMU_OSOai_31F]
mov dword [ebp - 0x9c], eax
mov eax, dword [0x6d40a0]
mov dword [ebp - 0x114], eax
mov eax, dword [0x6d4054]
mov dword [ebp - 0x110], eax
mov eax, dword [0x6d4060]
mov dword [ebp - 0x10c], eax
movzx eax, byte [0x6d420c]
cmove eax, ecx
xor edx, edx
cmp dword [0x6d3fec], 2
mov byte [0x6d420c], al
mov al, byte [0x676a50]
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xf8], al
lea ecx, [edx + 5]
mov dword [ebp - 0xa4], edx
lea esi, [edx + 0x1f]
jl 0x48f820
movaps xmm0, xmmword [str.6666666666666666]
movaps xmm4, xmmword [0x677150]
movaps xmm3, xmmword [0x6774e0]
movaps xmm6, xmmword [0x677180]
movd xmm5, ecx
movaps xmmword [ebp - 0xc0], xmm0
mov ecx, dword [ebp - 0xc0]
movd xmm7, esi
nop dword [eax]
movd xmm0, edx
lea eax, [edx + 4]
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 [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x108]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x108], 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 [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x104]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x104], xmm1
add edx, 8
cmp edx, 0x10
jl 0x48f700
mov dword [ebp - 0xa4], edx
cmp edx, 0x11
jge 0x48f85d
nop word [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0xa4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xa4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x108], cl
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, 0x11
jl 0x48f820
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xe4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f890
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
lea ecx, [ebp - 0xf4]
call fcn.0049ac20
mov dword [ebp - 4], 0
lea edi, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 0x10
mov ax, word [0x675094]
cmovae edi, dword [ebp - 0xf4]
xor edx, edx
movq xmm0, qword [str.fbzwett_]
mov word [ebp - 0xb4], ax
mov al, byte [0x675096]
movq qword [ebp - 0xbc], xmm0
mov byte [ebp - 0xb2], al
mov dword [ebp - 0xa4], edx
nop word [eax + eax]
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0xa4]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xbc], cl
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, 0xb
jl 0x48f900
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f960
sub ecx, edx
lea eax, [ebp - 0xbc]
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.0049ac20
mov byte [ebp - 4], 1
lea esi, [ebp - 0xd8]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd8]
cmp edx, 0x10
jb 0x48f99d
mov esi, ecx
test esi, esi
je 0x48fa00
test edi, edi
je 0x48fa00
push dword [ebp - 0x10c]
lea eax, [ebp - 0x58]
push 0x675a0c
push eax
call fcn.004a08d0
lea ecx, [ebp - 0x58]
add esp, 0xc
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f9c0
sub ecx, edx
inc ecx
cmp ecx, 0x40
ja 0x48f9e3
push ecx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x98]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
sub esp, 0xc
lea eax, [ebp - 0x98]
push eax
push edi
push esi
call fcn.004a08f0
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x48fa2e
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48fa24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fa7c
push edx
push ecx
call fcn.005f7cf7
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
cmp edx, 0x10
jb 0x48fa8c
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48fa82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48fa82
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005f7cf7
add esp, 8
mov eax, dword [0x676970]
xor edx, edx
cmp dword [0x6d3fec], 2
movq xmm0, qword [str.qVUemYOMV__B]
mov dword [ebp - 0xb8], eax
mov al, byte [0x676974]
movq qword [ebp - 0xc0], xmm0
mov byte [ebp - 0xb4], al
mov dword [ebp - 0xa4], edx
jl 0x48fbf0
movaps xmm2, xmmword [0x677150]
mov eax, 5
movaps xmm4, xmmword [0x6774e0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
mov dword [ebp - 0xa4], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [str.6666666666666666]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x677180]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x677160]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.qVUemYOMV__B]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0xc0], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x677180]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0xbc]
pxor xmm1, xmm0
movd dword [ebp - 0xbc], xmm1
nop dword [eax]
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0xa4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xa4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xc0], cl
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, 0xd
jl 0x48fbf0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xe4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48fc60
sub ecx, edx
lea eax, [ebp - 0xc0]
push ecx
push eax
lea ecx, [ebp - 0xf4]
call fcn.0049ac20
mov dword [ebp - 4], 2
lea edi, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 0x10
mov ax, word [0x675094]
cmovae edi, dword [ebp - 0xf4]
xor edx, edx
movq xmm0, qword [str.fbzwett_]
mov word [ebp - 0xb4], ax
mov al, byte [0x675096]
movq qword [ebp - 0xbc], xmm0
mov byte [ebp - 0xb2], al
mov dword [ebp - 0xa4], edx
nop word [eax + eax]
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0xa4]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xbc], cl
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, 0xb
jl 0x48fcd0
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48fd30
sub ecx, edx
lea eax, [ebp - 0xbc]
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.0049ac20
mov byte [ebp - 4], 3
lea esi, [ebp - 0xd8]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd8]
cmp edx, 0x10
jb 0x48fd6d
mov esi, ecx
test esi, esi
je 0x48fdd0
test edi, edi
je 0x48fdd0
push dword [ebp - 0x110]
lea eax, [ebp - 0x58]
push 0x675a0c
push eax
call fcn.004a08d0
lea ecx, [ebp - 0x58]
add esp, 0xc
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48fd90
sub ecx, edx
inc ecx
cmp ecx, 0x40
ja 0x48fdb3
push ecx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x98]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
sub esp, 0xc
lea eax, [ebp - 0x98]
push eax
push edi
push esi
call fcn.004a08f0
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x48fdfe
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48fdf4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fe4c
push edx
push ecx
call fcn.005f7cf7
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
cmp edx, 0x10
jb 0x48fe5c
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48fe52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48fe52
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005f7cf7
add esp, 8
mov ax, word [0x676b40]
movq xmm0, qword [str.V_R]
movq qword [ebp - 0xbc], xmm0
mov word [ebp - 0xb4], ax
test ah, ah
je 0x48feb5
xor edx, edx
mov dword [ebp - 0xa4], edx
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0xa4]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xbc], cl
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, 0xa
jl 0x48fe85
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xe4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48fee3
sub ecx, edx
lea eax, [ebp - 0xbc]
push ecx
push eax
lea ecx, [ebp - 0xf4]
call fcn.0049ac20
mov dword [ebp - 4], 4
lea edi, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 0x10
mov ax, word [0x675094]
cmovae edi, dword [ebp - 0xf4]
xor edx, edx
movq xmm0, qword [str.fbzwett_]
mov word [ebp - 0xb4], ax
mov al, byte [0x675096]
movq qword [ebp - 0xbc], xmm0
mov byte [ebp - 0xb2], al
mov dword [ebp - 0xa4], edx
nop word [eax + eax]
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0xa4]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xbc], cl
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, 0xb
jl 0x48ff50
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48ffb0
sub ecx, edx
lea eax, [ebp - 0xbc]
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.0049ac20
mov byte [ebp - 4], 5
lea esi, [ebp - 0xd8]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd8]
cmp edx, 0x10
jb 0x48ffed
mov esi, ecx
test esi, esi
je 0x490050
test edi, edi
je 0x490050
push dword [ebp - 0x114]
lea eax, [ebp - 0x58]
push 0x675a0c
push eax
call fcn.004a08d0
lea ecx, [ebp - 0x58]
add esp, 0xc
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490010
sub ecx, edx
inc ecx
cmp ecx, 0x40
ja 0x490033
push ecx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x98]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
sub esp, 0xc
lea eax, [ebp - 0x98]
push eax
push edi
push esi
call fcn.004a08f0
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x49007e
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x490074
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4900cc
push edx
push ecx
call fcn.005f7cf7
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
cmp edx, 0x10
jb 0x4900dc
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4900d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4900d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005f7cf7
add esp, 8
mov eax, dword [0x676a38]
movq xmm0, qword [str.zXY__IcnGL4__C]
mov dword [ebp - 0xb8], eax
mov ax, word [0x676a3c]
movq qword [ebp - 0xc0], xmm0
mov word [ebp - 0xb4], ax
test ah, ah
je 0x49027d
xor edx, edx
cmp dword [0x6d3fec], 2
mov dword [ebp - 0xa4], edx
jl 0x490240
movaps xmm2, xmmword [0x677150]
mov eax, 5
movaps xmm4, xmmword [0x6774e0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
mov dword [ebp - 0xa4], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [str.6666666666666666]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x677180]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x677160]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.zXY__IcnGL4__C]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0xc0], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x677180]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0xbc]
pxor xmm1, xmm0
movd dword [ebp - 0xbc], xmm1
nop
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0xa4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xa4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xc0], cl
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, 0xe
jl 0x490240
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xe4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4902b0
sub ecx, edx
lea eax, [ebp - 0xc0]
push ecx
push eax
lea ecx, [ebp - 0xf4]
call fcn.0049ac20
mov dword [ebp - 4], 6
lea edi, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 0x10
mov ax, word [0x675094]
cmovae edi, dword [ebp - 0xf4]
xor edx, edx
movq xmm0, qword [str.fbzwett_]
mov word [ebp - 0xb4], ax
mov al, byte [0x675096]
movq qword [ebp - 0xbc], xmm0
mov byte [ebp - 0xb2], al
mov dword [ebp - 0xa4], edx
nop word [eax + eax]
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0xa4]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xbc], cl
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, 0xb
jl 0x490320
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490380
sub ecx, edx
lea eax, [ebp - 0xbc]
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.0049ac20
mov byte [ebp - 4], 7
lea esi, [ebp - 0xd8]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd8]
cmp edx, 0x10
jb 0x4903bd
mov esi, ecx
test esi, esi
je 0x490420
test edi, edi
je 0x490420
push dword [ebp - 0x9c]
lea eax, [ebp - 0x58]
push 0x675a0c
push eax
call fcn.004a08d0
lea ecx, [ebp - 0x58]
add esp, 0xc
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4903e0
sub ecx, edx
inc ecx
cmp ecx, 0x40
ja 0x490403
push ecx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x98]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
sub esp, 0xc
lea eax, [ebp - 0x98]
push eax
push edi
push esi
call fcn.004a08f0
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x49044e
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x490444
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49049c
push edx
push ecx
call fcn.005f7cf7
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
cmp edx, 0x10
jb 0x4904ac
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4904a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4904a2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005f7cf7
add esp, 8
movups xmm0, xmmword [str.u_rdacqQ__0]
mov ax, word [0x676990]
xor edx, edx
cmp dword [0x6d3fec], 2
movups xmmword [ebp - 0xf4], xmm0
mov word [ebp - 0xdc], ax
movq xmm0, qword [0x676988]
mov al, byte [0x676992]
movq qword [ebp - 0xe4], xmm0
mov byte [ebp - 0xda], al
mov dword [ebp - 0xa4], edx
jl 0x490650
movaps xmm0, xmmword [str.6666666666666666]
mov eax, 5
movaps xmm4, xmmword [0x677150]
movaps xmm3, xmmword [0x6774e0]
movaps xmm6, xmmword [0x677180]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0xc0], xmm0
mov ecx, dword [ebp - 0xc0]
movd xmm7, eax
movd xmm0, edx
lea eax, [edx + 4]
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 [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xf4]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0xf4], 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 [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xf0]
pxor xmm1, xmm0
movd dword [ebp + edx - 0xf0], xmm1
add edx, 8
cmp edx, 0x18
jl 0x490532
mov dword [ebp - 0xa4], edx
cmp edx, 0x1b
jge 0x49068d
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0xa4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xa4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xf4], cl
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, 0x1b
jl 0x490650
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4906c0
sub ecx, edx
lea eax, [ebp - 0xf4]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.0049ac20
mov dword [ebp - 4], 8
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x118], 0x10
push 0x675a08
cmovae eax, dword [ebp - 0x12c]
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov eax, dword [ebp - 0xa4]
add esp, 0xc
test eax, eax
je 0x49075c
xorps xmm0, xmm0
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0xa0], 0x676b48
mov dword [ebp - 0x9c], eax
push ecx
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 9
push eax
call fcn.004a50d0
push dword [ebp - 0xa4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x490798
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49078e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49078e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005f7cf7
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.005f7bd4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret