Function at 0x406a00
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 0x46dde9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x4843a8]
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 0x406a96
lea eax, [ecx + 0xa]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x406a7d
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 0x406ab5
push 0xa
push str.FFont.ttf
mov byte [ebp - 0xb4], 0
mov ecx, edi
push dword [ebp - 0xb4]
push 0xa
call fcn.0040bfd0
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 0x406b1d
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406b13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406b13
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046c3ad
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.00409540
lea ecx, [ebp - 0x2c]
call fcn.00404aa0
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 0x406ba9
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 0x406b90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
push 0
mov byte [ebp - 0xb0], 0
call fcn.0040b0f0
mov byte [ebp - 4], 5
mov ax, word [0x47e734]
movq xmm0, qword [str.urZXC]
movq qword [ebp - 0xcc], xmm0
mov word [ebp - 0xc4], ax
test ah, ah
je 0x406c20
xor edx, edx
mov dword [ebp - 0xb4], edx
nop
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [ebp - 0xb4]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0xcc], cl
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, 0xa
jl 0x406bf0
mov eax, dword [0x47e588]
mov dword [ebp - 0xbc], eax
mov ax, word [0x47e58c]
mov word [ebp - 0xb8], ax
test ah, ah
je 0x406c74
xor edx, edx
mov dword [ebp - 0xb4], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [ebp - 0xb4]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0xbc], cl
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, 6
jl 0x406c44
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.0040b720
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.0040b720
add esp, 4
mov byte [ebp - 4], 8
xor edx, edx
movups xmm0, xmmword [str.__AFD]
mov esi, dword [0x4e3580]
mov dword [ebp - 0xb4], edx
lea eax, [edx + 4]
lea edi, [edx + 0x1f]
movups xmmword [ebp - 0x134], xmm0
movups xmm0, xmmword [0x47e600]
movups xmmword [ebp - 0x124], xmm0
movups xmm0, xmmword [0x47e610]
movups xmmword [ebp - 0x114], xmm0
cmp esi, 2
jl 0x406e75
movaps xmm0, xmmword [str.3333333333333333]
xor ecx, ecx
movaps xmm4, xmmword [0x47ed90]
movaps xmm3, xmmword [0x47ee30]
movaps xmm6, xmmword [0x47edb0]
movaps xmmword [ebp - 0xd0], xmm0
mov edx, dword [ebp - 0xd0]
movd xmm5, eax
movd xmm7, edi
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 [0x47ee10]
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
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 [0x47ee10]
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 0x406d70
jmp 0x406ea5
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [ebp - 0xb4]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x134], cl
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, 0x30
jl 0x406e75
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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ec7
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 0x406f28
mov ecx, dword [ebp - 0x104]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f73
push edx
push ecx
call fcn.0046c3ad
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 0x406f83
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406f79
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046c3ad
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.0040b810
add esp, 0x30
push str.success
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.0040b930
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
cmp byte [ecx], dl
jne 0x407178
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.00407930
mov edi, eax
cmp byte [edi + 0xb], dl
je 0x407139
xor ecx, ecx
cmp esi, 2
jl 0x407110
movaps xmm2, xmmword [0x47ed90]
mov eax, 4
movaps xmm4, xmmword [0x47ee30]
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.3333333333333333]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x47edb0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x47eda0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ee10]
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 [0x47edb0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ee10]
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, 0x5397829d
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, 0x31
sub dl, al
add dl, 0x33
xor byte [esi], dl
cmp ecx, 0xc
jl 0x407110
mov ecx, dword [ebp - 0xbc]
mov edx, edi
call fcn.0040ba20
push str.message
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040b930
mov edx, eax
mov ecx, esi
call fcn.004091f0
mov ecx, eax
call fcn.0040bc50
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.0040b930
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 0x4071c7
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x88]
cmp ecx, eax
je 0x4071e4
jmp 0x4071c9
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4071d4
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.0040b930
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 0x407231
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x5c]
cmp ecx, eax
je 0x40724b
jmp 0x407233
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40723e
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.0040be60
test al, al
je 0x4077e0
movups xmm0, xmmword [0x47e690]
mov ax, word [0x47e6a8]
mov word [ebp - 0xec], ax
movups xmmword [ebp - 0x104], xmm0
movq xmm0, qword [0x47e6a0]
movq qword [ebp - 0xf4], xmm0
test ah, ah
je 0x40742b
xor ecx, ecx
cmp dword [0x4e3580], 2
jl 0x407400
movaps xmm0, xmmword [str.3333333333333333]
mov eax, 4
movaps xmm4, xmmword [0x47ed90]
movaps xmm3, xmmword [0x47ee30]
movaps xmm6, xmmword [0x47edb0]
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
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 [0x47ee10]
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
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 [0x47ee10]
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 0x4072f0
cmp ecx, 0x1a
jge 0x40742b
nop dword [eax + eax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x31
sub dl, al
add dl, 0x33
xor byte [ebp + ecx - 0x104], dl
inc ecx
cmp ecx, 0x1a
jl 0x407400
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.0040ba20
sub esp, 0x18
lea eax, [ebp - 0xa0]
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.00409540
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.00409540
mov byte [ebp - 4], 0x10
call fcn.004052e0
add esp, 0x30
mov dword [ebp - 0xb4], eax
cmp eax, 1
je 0x40767c
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.00407950
mov edi, eax
cmp byte [edi + 0x1b], 0
je 0x40762a
xor ecx, ecx
cmp dword [0x4e3580], 2
jl 0x407601
movaps xmm0, xmmword [str.3333333333333333]
mov eax, 4
movaps xmm4, xmmword [0x47ed90]
mov esi, 4
movaps xmm3, xmmword [0x47ee30]
mov edx, edi
movaps xmm6, xmmword [0x47edb0]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0xd0], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0xd0]
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 [0x47ee10]
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
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 [0x47ee10]
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 0x407500
cmp ecx, 0x1c
jge 0x40762a
mov eax, 0x5397829d
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, 0x31
sub dl, al
add dl, 0x33
xor byte [esi], dl
cmp ecx, 0x1c
jl 0x407601
mov ecx, dword [ebp - 0xbc]
mov edx, edi
call fcn.0040ba20
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.0040bc50
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 0x4076b0
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4076a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40791a
push edx
push ecx
call fcn.0046c3ad
add esp, 8
cmp esi, 0x10
jb 0x4076e4
mov ecx, dword [ebp - 0x88]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x4076da
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40791a
push esi
push ecx
call fcn.0046c3ad
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.004094a0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x407720
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407716
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40791a
push edx
push ecx
call fcn.0046c3ad
add esp, 8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004094a0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x407771
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407767
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40791a
push edx
push ecx
call fcn.0046c3ad
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 0x4077bd
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4077b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40791a
push edx
push ecx
call fcn.0046c3ad
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.0046c172
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp edi, 0x10
jb 0x407813
mov ecx, dword [ebp - 0x5c]
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x407809
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40791a
push edx
push ecx
call fcn.0046c3ad
add esp, 8
cmp esi, 0x10
jb 0x407847
mov ecx, dword [ebp - 0x88]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x40783d
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40791a
push esi
push ecx
call fcn.0046c3ad
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.004094a0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x407883
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407879
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40791a
push edx
push ecx
call fcn.0046c3ad
add esp, 8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004094a0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4078d0
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4078c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40791a
push edx
push ecx
call fcn.0046c3ad
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 0x4077bd
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4077b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4077b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3