Function at 0x406740
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 0x46dac9
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 0x4067d6
lea eax, [ecx + 0xa]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4067bd
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 0x4067f5
push 0xa
push str.FFont.ttf
mov byte [ebp - 0xb4], 0
mov ecx, edi
push dword [ebp - 0xb4]
push 0xa
call fcn.0040bd10
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 0x40685d
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406853
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406853
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046c08d
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.004092d0
lea ecx, [ebp - 0x2c]
call fcn.00404790
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 0x4068e9
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 0x4068d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
push 0
mov byte [ebp - 0xb0], 0
call fcn.0040ae70
mov byte [ebp - 4], 5
mov ax, word [0x47e668]
movq xmm0, qword [0x47e660]
movq qword [ebp - 0xcc], xmm0
mov word [ebp - 0xc4], ax
test ah, ah
je 0x40696c
xor edx, edx
mov dword [ebp - 0xb4], edx
nop
mov eax, 0x2f684bdb
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, 0x36
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0xcc], cl
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, 0xa
jl 0x406930
mov eax, dword [str._SWY]
mov dword [ebp - 0xbc], eax
mov ax, word [0x47e698]
mov word [ebp - 0xb8], ax
test ah, ah
je 0x4069cc
xor edx, edx
mov dword [ebp - 0xb4], edx
mov eax, 0x2f684bdb
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, 0x36
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0xbc], cl
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, 6
jl 0x406990
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.0040b4a0
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.0040b4a0
add esp, 4
mov byte [ebp - 4], 8
xor edx, edx
movups xmm0, xmmword [str.QNOLN]
mov esi, dword [0x4e2580]
mov dword [ebp - 0xb4], edx
lea eax, [edx + 4]
lea edi, [edx + 0x1f]
movups xmmword [ebp - 0x134], xmm0
movups xmm0, xmmword [0x47e750]
movups xmmword [ebp - 0x124], xmm0
movups xmm0, xmmword [0x47e760]
movups xmmword [ebp - 0x114], xmm0
cmp esi, 2
jl 0x406bd0
movaps xmm0, xmmword [str.9999999999999999]
xor ecx, ecx
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed80]
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
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
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 [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 0x406ac0
jmp 0x406c0c
mov eax, 0x2f684bdb
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, 0x36
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x134], cl
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, 0x30
jl 0x406bd0
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 0x406c30
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 0x406c91
mov ecx, dword [ebp - 0x104]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406c87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdc
push edx
push ecx
call fcn.0046c08d
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 0x406cec
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406ce2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406ce2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046c08d
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.0040b550
add esp, 0x30
push str.success
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.0040b670
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
cmp byte [ecx], dl
jne 0x406ee8
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.004076a0
mov edi, eax
cmp byte [edi + 0xb], dl
je 0x406ea9
xor ecx, ecx
cmp esi, 2
jl 0x406e80
movaps xmm2, xmmword [0x47ece0]
mov eax, 4
movaps xmm4, xmmword [0x47ed80]
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.9999999999999999]
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
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 [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 word [eax + eax]
mov eax, 0x4bda12f7
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, 0x36
sub dl, al
add dl, 0x39
xor byte [esi], dl
cmp ecx, 0xc
jl 0x406e80
mov ecx, dword [ebp - 0xbc]
mov edx, edi
call fcn.0040b760
push str.message
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040b670
mov edx, eax
mov ecx, esi
call fcn.00408f80
mov ecx, eax
call fcn.0040b990
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.0040b670
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 0x406f37
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x88]
cmp ecx, eax
je 0x406f54
jmp 0x406f39
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x406f44
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.0040b670
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 0x406fa1
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x5c]
cmp ecx, eax
je 0x406fbb
jmp 0x406fa3
xor eax, eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x406fae
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.0040bba0
test al, al
je 0x407550
movups xmm0, xmmword [0x47e5c8]
mov ax, word [0x47e5e0]
mov word [ebp - 0xec], ax
movups xmmword [ebp - 0x104], xmm0
movq xmm0, qword [0x47e5d8]
movq qword [ebp - 0xf4], xmm0
test ah, ah
je 0x40719b
xor ecx, ecx
cmp dword [0x4e2580], 2
jl 0x407170
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed80]
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
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
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 [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 0x407060
cmp ecx, 0x1a
jge 0x40719b
nop dword [eax + eax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x36
sub dl, al
add dl, 0x39
xor byte [ebp + ecx - 0x104], dl
inc ecx
cmp ecx, 0x1a
jl 0x407170
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.0040b760
sub esp, 0x18
lea eax, [ebp - 0xa0]
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.004092d0
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.004092d0
mov byte [ebp - 4], 0x10
call fcn.00404fd0
add esp, 0x30
mov dword [ebp - 0xb4], eax
cmp eax, 1
je 0x4073ec
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.004076c0
mov edi, eax
cmp byte [edi + 0x1b], 0
je 0x40739a
xor ecx, ecx
cmp dword [0x4e2580], 2
jl 0x407371
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x47ece0]
mov esi, 4
movaps xmm3, xmmword [0x47ed80]
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 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 [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
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 0x407270
cmp ecx, 0x1c
jge 0x40739a
mov eax, 0x4bda12f7
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, 0x36
sub dl, al
add dl, 0x39
xor byte [esi], dl
cmp ecx, 0x1c
jl 0x407371
mov ecx, dword [ebp - 0xbc]
mov edx, edi
call fcn.0040b760
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.0040b990
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 0x407420
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40768a
push edx
push ecx
call fcn.0046c08d
add esp, 8
cmp esi, 0x10
jb 0x407454
mov ecx, dword [ebp - 0x88]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x40744a
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40768a
push esi
push ecx
call fcn.0046c08d
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.00409230
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x407490
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407486
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40768a
push edx
push ecx
call fcn.0046c08d
add esp, 8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00409230
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4074e1
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4074d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40768a
push edx
push ecx
call fcn.0046c08d
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 0x40752d
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407523
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40768a
push edx
push ecx
call fcn.0046c08d
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.0046be52
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp edi, 0x10
jb 0x407583
mov ecx, dword [ebp - 0x5c]
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x407579
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40768a
push edx
push ecx
call fcn.0046c08d
add esp, 8
cmp esi, 0x10
jb 0x4075b7
mov ecx, dword [ebp - 0x88]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x4075ad
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40768a
push esi
push ecx
call fcn.0046c08d
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.00409230
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4075f3
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4075e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40768a
push edx
push ecx
call fcn.0046c08d
add esp, 8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00409230
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x407640
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407636
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40768a
push edx
push ecx
call fcn.0046c08d
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 0x40752d
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407523
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407523
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3