Function at 0x405520
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 0x46d921
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 - 0xf0]
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 0x4055a5
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x40559d
mov eax, dword [ecx]
mov word [eax + edx], 0x5c
jmp 0x4055c2
push 1
push 0x47d394
mov byte [ebp - 0xbc], 0
push dword [ebp - 0xbc]
push 1
call fcn.0040bc70
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 0x47d398
cmp eax, 0xa
jb 0x405637
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 0x40564e
mov byte [ebp - 0xbc], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0xbc]
push 0xa
call fcn.0040bc70
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 0x4056aa
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4056a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4056ec
push edx
push ecx
call fcn.0046bfdd
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 - 0xdc]
cmp edx, 0x10
jb 0x4056fc
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4056f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4056f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046bfdd
add esp, 8
sub esp, 0x18
mov dword [ebp - 0xe0], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xdc], 0xf
mov ecx, esp
mov byte [ebp - 0xf0], 0
push eax
call fcn.00409230
lea ecx, [ebp - 0x48]
call fcn.00404790
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 0x405789
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 0x405770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
push 0
mov byte [ebp - 0x28], 0
call fcn.0040add0
mov byte [ebp - 4], 7
mov edi, 4
movups xmm0, xmmword [str.fPZRYJ_]
mov ax, word [0x47ecb0]
mov esi, dword [0x4e2580]
mov word [ebp - 0xf4], ax
lea ecx, [edi + 0x1b]
movups xmmword [ebp - 0x10c], xmm0
movq xmm0, qword [0x47eca8]
movq qword [ebp - 0xfc], xmm0
test ah, ah
je 0x405967
xor edx, edx
mov dword [ebp - 0xbc], edx
cmp esi, 2
jl 0x405930
movaps xmm0, xmmword [str.4444444444444444]
movaps xmm4, xmmword [0x47ecf0]
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed10]
movd xmm7, ecx
movaps xmmword [ebp - 0xf0], xmm0
mov ecx, dword [ebp - 0xf0]
movd xmm5, edi
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
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 [0x47ed70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x10c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x10c], xmm1
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
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 [0x47ed70]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x108]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x108], xmm1
add edx, 8
cmp edx, 0x18
jl 0x405822
mov dword [ebp - 0xbc], edx
cmp edx, 0x1a
jge 0x405967
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xbc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x10c], cl
inc edx
mov dword [ebp - 0xbc], edx
cmp edx, 0x1a
jl 0x405930
mov eax, dword [str.RZR]
mov dword [ebp - 0xc4], eax
mov ax, word [0x47e48c]
mov word [ebp - 0xc0], ax
test ah, ah
je 0x4059c0
xor edx, edx
mov dword [ebp - 0xbc], edx
nop dword [eax + eax]
mov eax, 0x51eb851f
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [ebp - 0xbc]
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0xc4], cl
inc edx
mov dword [ebp - 0xbc], edx
cmp edx, 6
jl 0x405990
push 0
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x138]
push 0x47d228
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
call fcn.00401be0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x150]
call fcn.0040b400
sub esp, 0x14
mov byte [ebp - 4], 9
lea edx, [ebp - 0x10c]
mov dword [ebp - 0xc4], esp
mov ecx, esp
push edx
mov edx, eax
call fcn.0040b400
add esp, 4
mov byte [ebp - 4], 0xa
xor edx, edx
mov dword [ebp - 0xbc], edx
movups xmm0, xmmword [str.ABGK]
movups xmmword [ebp - 0x120], xmm0
movups xmm0, xmmword [0x47e648]
movups xmmword [ebp - 0x110], xmm0
movups xmm0, xmmword [0x47e658]
movups xmmword [ebp - 0x100], xmm0
cmp esi, 2
jl 0x405bb5
movaps xmm0, xmmword [str.4444444444444444]
mov eax, 0x1f
movaps xmm4, xmmword [0x47ecf0]
xor ecx, ecx
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed10]
movaps xmmword [ebp - 0xf0], xmm0
mov edx, dword [ebp - 0xf0]
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
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 [0x47ed70]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x120]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x120], xmm1
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
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 [0x47ed70]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x11c]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x11c], xmm1
add ecx, 8
cmp ecx, 0x30
jl 0x405ab0
jmp 0x405be5
mov eax, 0x51eb851f
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [ebp - 0xbc]
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x120], cl
inc edx
mov dword [ebp - 0xbc], edx
cmp edx, 0x30
jl 0x405bb5
sub esp, 0x18
lea ecx, [ebp - 0x120]
mov edx, esp
lea edi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405c07
sub ecx, edi
lea eax, [ebp - 0x120]
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 - 0x13c]
cmp edx, 0x10
jb 0x405c68
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405c5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cb3
push edx
push ecx
call fcn.0046bfdd
add esp, 8
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x405cc3
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405cb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405cb9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046bfdd
add esp, 8
push 0
push 1
sub esp, 0x28
mov dword [ebp - 0x128], 0
mov eax, esp
mov dword [ebp - 0x124], 0xf
lea edx, [ebp - 0x60]
mov byte [ebp - 0x138], 0
lea ecx, [ebp - 0x88]
mov dword [eax + 0x24], 0
call fcn.0040b4b0
add esp, 0x30
push str.success
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
call fcn.0040b5d0
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
cmp byte [ecx], dl
jne 0x405ebf
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 - 0xe8]
push eax
call fcn.00406680
mov edi, eax
cmp byte [edi + 0xc], dl
je 0x405e7d
xor ecx, ecx
cmp esi, 2
jl 0x405e54
movaps xmm2, xmmword [0x47ecf0]
mov eax, 4
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
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [str.4444444444444444]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x47ed10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x47ed00]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ed70]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x47ed10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ed70]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edi + 4]
pxor xmm1, xmm0
movd dword [edi + 4], xmm1
mov eax, 0x51eb851f
lea esi, [ecx + edi]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
inc ecx
imul eax, eax, 0x32
sub dl, al
add dl, 0x34
xor byte [esi], dl
cmp ecx, 0xd
jl 0x405e54
mov ecx, dword [ebp - 0xc4]
mov edx, edi
call fcn.0040b6c0
push str.message
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.0040b5d0
mov edx, eax
mov ecx, esi
call fcn.00408ee0
mov ecx, eax
call fcn.0040b8f0
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.0040b5d0
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 0x405f17
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xa0]
cmp ecx, eax
je 0x405f37
jmp 0x405f19
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x405f24
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.0040b5d0
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 0x405f87
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x78]
cmp ecx, eax
je 0x405fa1
jmp 0x405f89
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x405f94
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.0040bb00
test al, al
je 0x406530
movups xmm0, xmmword [0x47e700]
mov ax, word [0x47e718]
mov word [ebp - 0xf4], ax
movups xmmword [ebp - 0x10c], xmm0
movq xmm0, qword [0x47e710]
movq qword [ebp - 0xfc], xmm0
test ah, ah
je 0x40617b
xor ecx, ecx
cmp dword [0x4e2580], 2
jl 0x406150
movaps xmm0, xmmword [str.4444444444444444]
mov eax, 4
movaps xmm4, xmmword [0x47ecf0]
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed10]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0xf0], xmm0
mov edx, dword [ebp - 0xf0]
movd xmm7, eax
nop dword [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
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 [0x47ed70]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x10c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x10c], xmm1
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
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 [0x47ed70]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x108]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x108], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x406040
cmp ecx, 0x1a
jge 0x40617b
nop dword [eax + eax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x32
sub dl, al
add dl, 0x34
xor byte [ebp + ecx - 0x10c], dl
inc ecx
cmp ecx, 0x1a
jl 0x406150
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x10c]
call fcn.0040b6c0
sub esp, 0x18
lea eax, [ebp - 0xb8]
mov ecx, esp
mov dword [ebp - 0xc4], esp
push eax
call fcn.00409230
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.00409230
mov byte [ebp - 4], 0x12
call fcn.00404fd0
add esp, 0x30
mov dword [ebp - 0xbc], eax
cmp eax, 1
je 0x4063cc
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 - 0x138]
push eax
call fcn.004066b0
mov edi, eax
cmp byte [edi + 0x16], 0
je 0x40637a
xor ecx, ecx
cmp dword [0x4e2580], 2
jl 0x406351
movaps xmm0, xmmword [str.4444444444444444]
mov eax, 4
movaps xmm4, xmmword [0x47ecf0]
mov esi, 4
movaps xmm3, xmmword [0x47ed90]
mov edx, edi
movaps xmm6, xmmword [0x47ed10]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0xf0], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0xf0]
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
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 [0x47ed70]
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 - 0xf0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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 [0x47ed70]
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 0x406250
cmp ecx, 0x17
jge 0x40637a
mov eax, 0x51eb851f
lea esi, [ecx + edi]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
inc ecx
imul eax, eax, 0x32
sub dl, al
add dl, 0x34
xor byte [esi], dl
cmp ecx, 0x17
jl 0x406351
mov ecx, dword [ebp - 0xc4]
mov edx, edi
call fcn.0040b6c0
mov edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x150]
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.0040b8f0
lea ecx, [ebp - 0x150]
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 0x406400
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4063f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40666a
push edx
push ecx
call fcn.0046bfdd
add esp, 8
cmp esi, 0x10
jb 0x406434
mov ecx, dword [ebp - 0xa0]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x40642a
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40666a
push esi
push ecx
call fcn.0046bfdd
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.00409190
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x406473
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406469
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40666a
push edx
push ecx
call fcn.0046bfdd
add esp, 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00409190
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4064c1
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4064b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40666a
push edx
push ecx
call fcn.0046bfdd
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 0x40650d
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40666a
push edx
push ecx
call fcn.0046bfdd
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.0046bda2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp edi, 0x10
jb 0x406563
mov ecx, dword [ebp - 0x78]
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x406559
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40666a
push edx
push ecx
call fcn.0046bfdd
add esp, 8
cmp esi, 0x10
jb 0x406597
mov ecx, dword [ebp - 0xa0]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x40658d
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40666a
push esi
push ecx
call fcn.0046bfdd
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.00409190
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x4065d6
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4065cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40666a
push edx
push ecx
call fcn.0046bfdd
add esp, 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00409190
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x406620
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406616
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40666a
push edx
push ecx
call fcn.0046bfdd
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 0x40650d
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406503
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3