Function at 0x405560
Capabilities:
Encode data using xor
Terminate process

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 0x46da71
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x4833a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xbc], 0
call fcn.004041d0
mov ecx, eax
mov dword [ebp - 4], 0
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x4055e5
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x4055dd
mov eax, dword [ecx]
mov word [eax + edx], 0x5c
jmp 0x405602
push 1
push 0x47d37c
mov byte [ebp - 0xbc], 0
push dword [ebp - 0xbc]
push 1
call fcn.0040bd90
mov ecx, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x20]
sub eax, ecx
push 0xa
push 0x47d370
cmp eax, 0xa
jb 0x405677
cmp edx, 0x10
lea esi, [ebp - 0x30]
lea eax, [ecx + 0xa]
cmovae esi, dword [ebp - 0x30]
add esi, ecx
mov dword [ebp - 0x20], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
lea eax, [ebp - 0x30]
jmp 0x40568e
mov byte [ebp - 0xbc], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0xbc]
push 0xa
call fcn.0040bd90
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x4056ea
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4056e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40572c
push edx
push ecx
call fcn.0046c11f
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xc8]
cmp edx, 0x10
jb 0x40573c
mov ecx, dword [ebp - 0xdc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405732
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405732
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046c11f
add esp, 8
sub esp, 0x18
mov dword [ebp - 0xcc], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc8], 0xf
mov ecx, esp
mov byte [ebp - 0xdc], 0
push eax
call fcn.00409350
lea ecx, [ebp - 0x48]
call fcn.004047a0
add esp, 0x18
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
cmovae eax, edx
lea edi, [ebp - 0x48]
mov dword [ebp - 0xbc], eax
cmovae ecx, edx
mov eax, dword [ebp - 0x38]
add eax, ecx
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0xc4], eax
cmovae edi, edx
cmp edi, eax
je 0x4057c9
mov esi, dword [ebp - 0xbc]
sub esi, edi
nop dword [eax]
movzx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [edi + esi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0xc4]
jne 0x4057b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
push 0
mov byte [ebp - 0x28], 0
call fcn.0040aef0
mov byte [ebp - 4], 7
xor edx, edx
mov eax, dword [0x47e2f0]
movups xmm0, xmmword [0x47e2e0]
mov esi, dword [0x4e2580]
mov dword [ebp - 0x118], eax
lea edi, [edx + 5]
mov al, byte [0x47e2f4]
mov byte [ebp - 0x114], al
lea eax, [edx + 0x1f]
mov dword [ebp - 0xbc], edx
movups xmmword [ebp - 0x128], xmm0
cmp esi, 2
jl 0x405970
movaps xmm0, xmmword [str.7777777777777777]
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed00]
movaps xmmword [ebp - 0x110], xmm0
mov ecx, dword [ebp - 0x110]
movd xmm5, edi
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 [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x128]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x128], 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 [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x124]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x124], xmm1
add edx, 8
cmp edx, 0x10
jl 0x405851
mov dword [ebp - 0xbc], edx
cmp edx, 0x15
jge 0x4059ad
nop word [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0xbc]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xbc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x37
xor byte [ebp + edx - 0x128], cl
inc edx
mov dword [ebp - 0xbc], edx
cmp edx, 0x15
jl 0x405970
mov eax, dword [str.QQU_]
mov dword [ebp - 0xc4], eax
mov ax, word [0x47e664]
mov word [ebp - 0xc0], ax
test ah, ah
je 0x405a0d
xor edx, edx
mov dword [ebp - 0xbc], edx
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 0xbc]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0xbc]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x37
xor byte [ebp + edx - 0xc4], cl
inc edx
mov dword [ebp - 0xbc], edx
cmp edx, 6
jl 0x4059d1
push 0
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0xdc]
push 0x47d228
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
call fcn.00401be0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xf8]
call fcn.0040b520
sub esp, 0x14
mov byte [ebp - 4], 9
lea edx, [ebp - 0x128]
mov dword [ebp - 0xc4], esp
mov ecx, esp
push edx
mov edx, eax
call fcn.0040b520
add esp, 4
mov byte [ebp - 4], 0xa
xor edx, edx
mov dword [ebp - 0xbc], edx
movups xmm0, xmmword [0x47e59c]
movups xmmword [ebp - 0x158], xmm0
movups xmm0, xmmword [0x47e5ac]
movups xmmword [ebp - 0x148], xmm0
movups xmm0, xmmword [0x47e5bc]
movups xmmword [ebp - 0x138], xmm0
cmp esi, 2
jl 0x405c10
movaps xmm0, xmmword [str.7777777777777777]
mov eax, 0x1f
movaps xmm4, xmmword [0x47ece0]
xor ecx, ecx
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed00]
movaps xmmword [ebp - 0x110], xmm0
mov edx, dword [ebp - 0x110]
movd xmm5, edi
movd xmm7, eax
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x158]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x158], 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 [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x154]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x154], xmm1
add ecx, 8
cmp ecx, 0x30
jl 0x405b00
jmp 0x405c4c
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 0xbc]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0xbc]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x37
xor byte [ebp + edx - 0x158], cl
inc edx
mov dword [ebp - 0xbc], edx
cmp edx, 0x30
jl 0x405c10
sub esp, 0x18
lea ecx, [ebp - 0x158]
mov edx, esp
lea edi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405c70
sub ecx, edi
lea eax, [ebp - 0x158]
push ecx
push eax
mov ecx, edx
call fcn.00401be0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
call fcn.00404320
add esp, 0x30
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xe4]
cmp edx, 0x10
jb 0x405cd1
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405cc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405d1c
push edx
push ecx
call fcn.0046c11f
add esp, 8
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xc8]
cmp edx, 0x10
jb 0x405d2c
mov ecx, dword [ebp - 0xdc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405d22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405d22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046c11f
add esp, 8
push 0
push 1
sub esp, 0x28
mov dword [ebp - 0xcc], 0
mov eax, esp
mov dword [ebp - 0xc8], 0xf
lea edx, [ebp - 0x60]
mov byte [ebp - 0xdc], 0
lea ecx, [ebp - 0x88]
mov dword [eax + 0x24], 0
call fcn.0040b5d0
add esp, 0x30
push str.success
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
call fcn.0040b6f0
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
cmp byte [ecx], dl
jne 0x405f32
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x110]
push eax
call fcn.00406700
mov edi, eax
cmp byte [edi + 0xc], dl
je 0x405ef0
xor ecx, ecx
cmp esi, 2
jl 0x405ec5
movaps xmm2, xmmword [0x47ece0]
mov eax, 5
movaps xmm4, xmmword [0x47ed90]
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
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [str.7777777777777777]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x47ed00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x47ecf0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edi]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [edi], 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 [0x47ed00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edi + 4]
pxor xmm1, xmm0
movd dword [edi + 4], xmm1
mov eax, 0x8fb823ef
lea esi, [ecx + edi]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
inc ecx
imul eax, eax, 0x39
sub dl, al
add dl, 0x37
xor byte [esi], dl
cmp ecx, 0xd
jl 0x405ec5
mov ecx, dword [ebp - 0xc4]
mov edx, edi
call fcn.0040b7e0
push str.message
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.0040b6f0
mov edx, eax
mov ecx, esi
call fcn.00409000
mov ecx, eax
call fcn.0040ba10
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xfffffffffffffffe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push str.hash
lea ecx, [ebp - 0x88]
call fcn.0040b6f0
mov byte [ebp - 4], 0xf
mov esi, 0xf
cmp byte [eax], 3
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], esi
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0xbc], 0xb
jne 0x405f8a
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xa0]
cmp ecx, eax
je 0x405faa
jmp 0x405f8c
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x405f97
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.00401be0
mov esi, dword [ebp - 0x8c]
push str.link
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x10
call fcn.0040b6f0
mov byte [ebp - 4], 0x11
mov edi, 0xf
cmp byte [eax], 3
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], edi
mov byte [ebp - 0x78], 0
mov dword [ebp - 0xbc], 0x27
jne 0x405ffa
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x78]
cmp ecx, eax
je 0x406014
jmp 0x405ffc
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x406007
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.00401be0
mov edi, dword [ebp - 0x64]
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0xa0]
call fcn.0040bc20
test al, al
je 0x4065b1
movups xmm0, xmmword [0x47e748]
mov ax, word [0x47e760]
mov word [ebp - 0xe0], ax
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [0x47e758]
movq qword [ebp - 0xe8], xmm0
test ah, ah
je 0x4061ed
xor ecx, ecx
cmp dword [0x4e2580], 2
jl 0x4061c0
movaps xmm0, xmmword [str.7777777777777777]
mov eax, 5
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed00]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x110], xmm0
mov edx, dword [ebp - 0x110]
movd xmm7, eax
nop
movd xmm0, ecx
lea eax, [ecx + 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 [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0xf8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0xf8], 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 [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0xf4]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0xf4], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x4060b0
cmp ecx, 0x1a
jge 0x4061ed
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, 0x37
xor byte [ebp + ecx - 0xf8], dl
inc ecx
cmp ecx, 0x1a
jl 0x4061c0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0xf8]
call fcn.0040b7e0
sub esp, 0x18
lea eax, [ebp - 0xb8]
mov ecx, esp
mov dword [ebp - 0xc4], esp
push eax
call fcn.00409350
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.00409350
mov byte [ebp - 4], 0x12
call fcn.00405000
add esp, 0x30
mov dword [ebp - 0xbc], eax
cmp eax, 1
je 0x40644d
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x128]
push eax
call fcn.00406730
mov edi, eax
cmp byte [edi + 0x16], 0
je 0x4063fb
xor ecx, ecx
cmp dword [0x4e2580], 2
jl 0x4063d0
movaps xmm0, xmmword [str.7777777777777777]
mov eax, 5
movaps xmm4, xmmword [0x47ece0]
mov esi, 4
movaps xmm3, xmmword [0x47ed90]
mov edx, edi
movaps xmm6, xmmword [0x47ed00]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x110], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0x110]
nop dword [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 [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [esi + edx]
lea edx, [edx + 8]
paddb xmm1, xmm0
movd xmm0, dword [edx - 8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [edx - 8], xmm1
paddd xmm2, xmm4
mov eax, dword [ebp - 0x110]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, 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 [0x47ed60]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edx - 4]
pxor xmm1, xmm0
movd dword [edx - 4], xmm1
cmp ecx, 0x10
jl 0x4062c0
cmp ecx, 0x17
jge 0x4063fb
nop dword [eax]
mov eax, 0x8fb823ef
lea esi, [ecx + edi]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
inc ecx
imul eax, eax, 0x39
sub dl, al
add dl, 0x37
xor byte [esi], dl
cmp ecx, 0x17
jl 0x4063d0
mov ecx, dword [ebp - 0xc4]
mov edx, edi
call fcn.0040b7e0
mov edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0xf8]
mov esi, eax
call fcn.00402a00
mov edx, eax
mov byte [ebp - 4], 0x14
mov ecx, esi
call fcn.00401d20
mov ecx, eax
call fcn.0040ba10
lea ecx, [ebp - 0xf8]
call fcn.00401b50
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xfffffffffffffffe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x406481
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406477
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066eb
push edx
push ecx
call fcn.0046c11f
add esp, 8
cmp esi, 0x10
jb 0x4064b5
mov ecx, dword [ebp - 0xa0]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x4064ab
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066eb
push esi
push ecx
call fcn.0046c11f
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.004092b0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x4064f4
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4064ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066eb
push edx
push ecx
call fcn.0046c11f
add esp, 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.004092b0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x406542
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406538
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066eb
push edx
push ecx
call fcn.0046c11f
add esp, 8
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x40658e
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406584
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066eb
push edx
push ecx
call fcn.0046c11f
add esp, 8
mov eax, 1
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.0046bee2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp edi, 0x10
jb 0x4065e4
mov ecx, dword [ebp - 0x78]
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4065da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066eb
push edx
push ecx
call fcn.0046c11f
add esp, 8
cmp esi, 0x10
jb 0x406618
mov ecx, dword [ebp - 0xa0]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x40660e
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066eb
push esi
push ecx
call fcn.0046c11f
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.004092b0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x406657
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40664d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066eb
push edx
push ecx
call fcn.0046c11f
add esp, 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.004092b0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4066a1
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406697
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066eb
push edx
push ecx
call fcn.0046c11f
add esp, 8
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x40658e
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406584
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406584
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3