Function at 0x406770
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 0x46db69
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
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 - 0xe8]
mov dword [ebp - 0xb4], 0
call fcn.004041d0
mov edi, eax
mov dword [ebp - 4], 0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xa
jb 0x406806
lea eax, [ecx + 0xa]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4067ed
mov eax, dword [edi]
push 0xa
lea esi, [eax + ecx]
push str.FFont.ttf
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x406825
push 0xa
push str.FFont.ttf
mov byte [ebp - 0xb4], 0
mov ecx, edi
push dword [ebp - 0xb4]
push 0xa
call fcn.0040bd90
mov edi, eax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xd4]
cmp edx, 0x10
jb 0x40688d
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406883
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406883
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 - 0xd8], 0
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xd4], 0xf
mov ecx, esp
mov byte [ebp - 0xe8], 0
push eax
call fcn.00409350
lea ecx, [ebp - 0x2c]
call fcn.004047a0
add esp, 0x18
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
cmovae eax, edx
lea edi, [ebp - 0x2c]
mov dword [ebp - 0xb4], eax
cmovae ecx, edx
mov eax, dword [ebp - 0x1c]
add eax, ecx
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0xbc], eax
cmovae edi, edx
cmp edi, eax
je 0x406919
mov esi, dword [ebp - 0xb4]
sub esi, edi
nop
movzx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi + edi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0xbc]
jne 0x406900
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
push 0
mov byte [ebp - 0xb0], 0
call fcn.0040aef0
mov byte [ebp - 4], 5
mov ax, word [0x47e7a0]
movq xmm0, qword [str.qVTO]
movq qword [ebp - 0xcc], xmm0
mov word [ebp - 0xc4], ax
test ah, ah
je 0x40699c
xor edx, edx
mov dword [ebp - 0xb4], edx
nop
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 0xb4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0xb4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x37
xor byte [ebp + edx - 0xcc], cl
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, 0xa
jl 0x406960
mov eax, dword [str.QQU_]
mov dword [ebp - 0xbc], eax
mov ax, word [0x47e664]
mov word [ebp - 0xb8], ax
test ah, ah
je 0x4069fc
xor edx, edx
mov dword [ebp - 0xb4], edx
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 0xb4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0xb4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x37
xor byte [ebp + edx - 0xbc], cl
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, 6
jl 0x4069c0
push 0
mov dword [ebp - 0xe8], 0
lea ecx, [ebp - 0xe8]
push 0x47d228
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
call fcn.00401be0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x104]
call fcn.0040b520
sub esp, 0x14
mov byte [ebp - 4], 7
lea edx, [ebp - 0xcc]
mov dword [ebp - 0xbc], esp
mov ecx, esp
push edx
mov edx, eax
call fcn.0040b520
add esp, 4
mov byte [ebp - 4], 8
xor edx, edx
movups xmm0, xmmword [0x47e59c]
mov esi, dword [0x4e2580]
mov dword [ebp - 0xb4], edx
lea eax, [edx + 5]
lea edi, [edx + 0x1f]
movups xmmword [ebp - 0x134], xmm0
movups xmm0, xmmword [0x47e5ac]
movups xmmword [ebp - 0x124], xmm0
movups xmm0, xmmword [0x47e5bc]
movups xmmword [ebp - 0x114], xmm0
cmp esi, 2
jl 0x406c00
movaps xmm0, xmmword [str.7777777777777777]
xor ecx, ecx
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed00]
movaps xmmword [ebp - 0xd0], xmm0
mov edx, dword [ebp - 0xd0]
movd xmm5, eax
movd xmm7, edi
nop dword [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 - 0x134]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x134], 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 - 0x130]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x130], xmm1
add ecx, 8
cmp ecx, 0x30
jl 0x406af0
jmp 0x406c3c
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 0xb4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0xb4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x37
xor byte [ebp + edx - 0x134], cl
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, 0x30
jl 0x406c00
sub esp, 0x18
lea ecx, [ebp - 0x134]
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 0x406c60
sub ecx, edi
lea eax, [ebp - 0x134]
push ecx
push eax
mov ecx, edx
call fcn.00401be0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00404320
add esp, 0x30
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xf0]
cmp edx, 0x10
jb 0x406cc1
mov ecx, dword [ebp - 0x104]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406cb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406d0c
push edx
push ecx
call fcn.0046c11f
add esp, 8
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xd4]
cmp edx, 0x10
jb 0x406d1c
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406d12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406d12
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 - 0xd8], 0
mov eax, esp
mov dword [ebp - 0xd4], 0xf
lea edx, [ebp - 0x44]
mov byte [ebp - 0xe8], 0
lea ecx, [ebp - 0x70]
mov dword [eax + 0x24], 0
call fcn.0040b5d0
add esp, 0x30
push str.success
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.0040b6f0
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
cmp byte [ecx], dl
jne 0x406f1a
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004076e0
mov edi, eax
cmp byte [edi + 0xb], dl
je 0x406edb
xor ecx, ecx
cmp esi, 2
jl 0x406eb0
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
nop
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, 0xc
jl 0x406eb0
mov ecx, dword [ebp - 0xbc]
mov edx, edi
call fcn.0040b7e0
push str.message
lea ecx, [ebp - 0x70]
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 - 0x70]
call fcn.0040b6f0
mov byte [ebp - 4], 0xd
mov esi, 0xf
cmp byte [eax], 3
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], esi
mov byte [ebp - 0x88], 0
mov dword [ebp - 0xb4], 5
jne 0x406f69
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x88]
cmp ecx, eax
je 0x406f86
jmp 0x406f6b
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x406f76
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.00401be0
mov esi, dword [ebp - 0x74]
push str.link
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xe
call fcn.0040b6f0
mov byte [ebp - 4], 0xf
mov edi, 0xf
cmp byte [eax], 3
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], edi
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0xb4], 0x13
jne 0x406fd3
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x5c]
cmp ecx, eax
je 0x406fed
jmp 0x406fd5
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x406fe0
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401be0
mov edi, dword [ebp - 0x48]
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x88]
call fcn.0040bc20
test al, al
je 0x407591
movups xmm0, xmmword [0x47e2c4]
mov ax, word [0x47e2dc]
mov word [ebp - 0xec], ax
movups xmmword [ebp - 0x104], xmm0
movq xmm0, qword [0x47e2d4]
movq qword [ebp - 0xf4], xmm0
test ah, ah
je 0x4071cd
xor ecx, ecx
cmp dword [0x4e2580], 2
jl 0x4071a0
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 - 0xd0], xmm0
mov edx, dword [ebp - 0xd0]
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 - 0x104]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x104], 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 - 0x100]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x100], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x407090
cmp ecx, 0x1a
jge 0x4071cd
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 - 0x104], dl
inc ecx
cmp ecx, 0x1a
jl 0x4071a0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x104]
call fcn.0040b7e0
sub esp, 0x18
lea eax, [ebp - 0xa0]
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.00409350
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.00409350
mov byte [ebp - 4], 0x10
call fcn.00405000
add esp, 0x30
mov dword [ebp - 0xb4], eax
cmp eax, 1
je 0x40742d
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x120]
push eax
call fcn.00407700
mov edi, eax
cmp byte [edi + 0x1b], 0
je 0x4073db
xor ecx, ecx
cmp dword [0x4e2580], 2
jl 0x4073b0
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 - 0xd0], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0xd0]
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 - 0xd0]
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, 0x18
jl 0x4072a0
cmp ecx, 0x1c
jge 0x4073db
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, 0x1c
jl 0x4073b0
mov ecx, dword [ebp - 0xbc]
mov edx, edi
call fcn.0040b7e0
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0x104]
mov esi, eax
call fcn.00402a00
mov edx, eax
mov byte [ebp - 4], 0x12
mov ecx, esi
call fcn.00401d20
mov ecx, eax
call fcn.0040ba10
lea ecx, [ebp - 0x104]
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 - 0x48]
cmp edx, 0x10
jb 0x407461
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407457
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4076cb
push edx
push ecx
call fcn.0046c11f
add esp, 8
cmp esi, 0x10
jb 0x407495
mov ecx, dword [ebp - 0x88]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x40748b
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4076cb
push esi
push ecx
call fcn.0046c11f
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.004092b0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4074d1
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4074c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4076cb
push edx
push ecx
call fcn.0046c11f
add esp, 8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004092b0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x407522
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407518
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4076cb
push edx
push ecx
call fcn.0046c11f
add esp, 8
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x40756e
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407564
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4076cb
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 0x4075c4
mov ecx, dword [ebp - 0x5c]
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4075ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4076cb
push edx
push ecx
call fcn.0046c11f
add esp, 8
cmp esi, 0x10
jb 0x4075f8
mov ecx, dword [ebp - 0x88]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x4075ee
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4076cb
push esi
push ecx
call fcn.0046c11f
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.004092b0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x407634
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40762a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4076cb
push edx
push ecx
call fcn.0046c11f
add esp, 8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004092b0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x407681
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407677
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4076cb
push edx
push ecx
call fcn.0046c11f
add esp, 8
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x40756e
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407564
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407564
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3