Function at 0x4015c0
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
sub esp, 0x48
mov eax, dword [0x414d8c]
xor ecx, ecx
movups xmm0, xmmword [0x414d7c]
push esi
mov dword [ebp - 0x35], eax
mov al, byte [0x414d90]
lea esi, [ecx + 5]
push edi
mov edi, dword [0x512180]
mov byte [ebp - 0x31], al
lea eax, [ecx + 0x1f]
mov dword [ebp - 4], ecx
movups xmmword [ebp - 0x45], xmm0
cmp edi, 2
jl 0x401747
movaps xmm0, xmmword [str.9999999999999999]
movaps xmm4, xmmword [0x414e30]
movaps xmm3, xmmword [0x414e80]
movaps xmm6, xmmword [0x414e50]
movd xmm7, eax
lea eax, [ecx + 4]
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x30]
movd xmm5, esi
nop
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 [0x414e60]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x49]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + eax - 0x49], 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 [0x414e60]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x45]
pxor xmm1, xmm0
movd dword [ebp + eax - 0x45], xmm1
add eax, 8
cmp eax, 0x14
jl 0x401640
mov dword [ebp - 4], ecx
cmp ecx, 0x15
jge 0x40177b
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 4]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 4]
add al, 0x39
xor byte [ebp + ecx - 0x45], al
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0x15
jl 0x401747
cmp byte [str._TQA], 0
mov eax, dword [0x414dd4]
mov dword [ebp - 4], eax
je 0x401863
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp edi, 2
jl 0x401830
movaps xmm3, xmmword [0x414e30]
mov ecx, 0x1f
movaps xmm2, xmm3
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x414e80]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x414e80]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, esi
psrad xmm2, xmm0
movd xmm0, ecx
movaps xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x414e50]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x414e60]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.9999999999999999]
movd xmm0, eax
pxor xmm1, xmm0
movd dword [ebp - 4], xmm1
jmp 0x401863
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0xc]
add al, 0x39
xor byte [ebp + ecx - 4], al
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, 4
jl 0x401830
cmp byte [0x414da7], 0
mov edx, dword [str.___HRK__n_f_vOUWL___0___0___9_O]
mov esi, dword [0x414da4]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
je 0x4019c9
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp edi, 2
jl 0x401996
movaps xmm2, xmmword [0x414e30]
mov eax, 5
movaps xmm4, xmmword [0x414e80]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [str.9999999999999999]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x414e50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x414e40]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x414e60]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edx
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x14], 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 [0x414e50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x414e60]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, esi
pxor xmm1, xmm0
movd dword [ebp - 0x10], xmm1
jmp 0x4019c9
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0xc]
add al, 0x39
xor byte [ebp + ecx - 0x14], al
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, 8
jl 0x401996
cmp byte [0x414dd3], 0
movq xmm0, qword [0x414dc8]
mov eax, dword [0x414dd0]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
je 0x401b44
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp edi, 2
jl 0x401b10
movaps xmm2, xmmword [0x414e30]
mov eax, 5
movaps xmm4, xmmword [0x414e80]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 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 - 0xc], ecx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [str.9999999999999999]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x414e50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x414e40]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x414e60]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x414dc8]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x2c], 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 [0x414e50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x414e60]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x28]
pxor xmm1, xmm0
movd dword [ebp - 0x28], xmm1
nop word [eax + eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0xc]
add al, 0x39
xor byte [ebp + ecx - 0x2c], al
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, 0xc
jl 0x401b10
lea esi, [ebp - 0x45]
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x401b50
mov ax, word [0x414df4]
sub esi, ecx
movq xmm0, qword [str.uUUS]
movq qword [ebp - 0x1e], xmm0
mov word [ebp - 0x16], ax
test ah, ah
je 0x401bb3
xor ecx, ecx
mov dword [ebp - 0xc], ecx
nop dword [eax]
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0xc]
add al, 0x39
xor byte [ebp + ecx - 0x1e], al
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, 0xa
jl 0x401b80
push ecx
push esi
lea eax, [ebp - 0x45]
push eax
push ecx
lea eax, [ebp - 0x1e]
push eax
lea edx, [ebp - 0x2c]
call fcn.00401490
lea esi, [ebp - 4]
add esp, 0x14
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x401bd0
mov ax, word [0x414d9c]
sub esi, ecx
movq xmm0, qword [str.uUUSnP25B]
movq qword [ebp - 0x1e], xmm0
mov word [ebp - 0x16], ax
test ah, ah
je 0x401c33
xor ecx, ecx
mov dword [ebp - 0xc], ecx
nop dword [eax]
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0xc]
add al, 0x39
xor byte [ebp + ecx - 0x1e], al
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, 0xa
jl 0x401c00
push ecx
push esi
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 0x1e]
push eax
lea edx, [ebp - 0x2c]
call fcn.00401490
lea esi, [ebp - 0x14]
add esp, 0x14
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x401c50
mov edx, dword [str.lJNRKO_juhj]
sub esi, ecx
cmp byte [0x414dc7], 0
mov eax, dword [0x414dc4]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
je 0x401dc3
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp edi, 2
jl 0x401d90
movaps xmm2, xmmword [0x414e30]
mov eax, 5
movaps xmm4, xmmword [0x414e80]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [str.9999999999999999]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x414e50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x414e40]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x414e60]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edx
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 8], 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 [0x414e50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x414e60]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x414dc4]
pxor xmm1, xmm0
movd dword [ebp - 4], xmm1
jmp 0x401dc3
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0xc]
add al, 0x39
xor byte [ebp + ecx - 8], al
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, 8
jl 0x401d90
push ecx
push esi
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x2c]
call fcn.00401490
mov ax, word [0x414de8]
add esp, 0x14
movq xmm0, qword [str.JNInXS2B]
movq qword [ebp - 0x1e], xmm0
mov word [ebp - 0x16], ax
test ah, ah
je 0x401e33
xor ecx, ecx
mov dword [ebp - 0xc], ecx
nop dword [eax]
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0xc]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0xc]
add al, 0x39
xor byte [ebp + ecx - 0x1e], al
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, 0xa
jl 0x401e00
push ecx
push 0
push 0x414d78
push ecx
lea eax, [ebp - 0x1e]
push eax
lea edx, [ebp - 0x2c]
call fcn.00401490
push 4
call fcn.00402941
add esp, 0x18
mov ecx, eax
mov dword [eax], vtable.B.0
call fcn.00401480
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret