Function at 0x1400207cc
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x390
lea rbp, [rax - 0x328]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ea200]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r15, rcx
xor r12d, r12d
lea rdx, [rbp + 0x100]
call qword [sym.imp.USER32.dll_BeginPaint]
mov r14, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea edx, [r12 + 0x6e]
call qword [sym.imp.USER32.dll_LoadBitmapW]
mov rdi, rax
test rax, rax
je 0x1400208b6
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
lea r8, [rbp + 0x160]
lea edx, [r12 + 0x20]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetObjectW]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rsi
mov ecx, dword [rbp + 0x168]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbp + 0x164]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
movabs rax, 0x47ea98e158d068c7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0xe0c85135ab89f291
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs r13, 0x630d70f6ef949457
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rcx, 0xf1f2652bfabab78a
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0x4780988058a26893
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x200], rax
movabs rax, 0xe0985115abe7f2f0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x208], rax
movabs rax, 0x630d70f6effb9425
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x210], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x218], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x200]
vmovdqu ymmword [rbp + 0x20], ymm1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0x20
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov r12d, 0x190
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea edi, [rdx + 0x10]
mov ecx, edi
vzeroupper
call qword [sym.imp.GDI32.dll_CreateFontW]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov ebx, 0xffffff
mov edx, ebx
mov rcx, r14
call qword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [rdi - 0xf]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SetBkMode]
movabs rax, 0x4780988058a268cb
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rcx, 0xe0985115abe7f2f0
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
movabs rax, 0x4780988058a26893
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x10], xmm0
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x10]
mov edx, 0x21c
lea r8d, [rdi - 0xb]
mov rcx, r14
call qword [sym.imp.GDI32.dll_TextOutW]
movabs rax, 0x47ea98e158d068c7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xe0c85135ab89f291
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rcx, 0xf1f2652bfabab78a
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x4780988058a26893
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x220], rax
movabs rax, 0xe0985115abe7f2f0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x228], rax
movabs rax, 0x630d70f6effb9425
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x230], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x238], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x220]
vmovdqu ymmword [rbp + 0x40], ymm1
lea rax, [rbp + 0x40]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0x20
xor r13d, r13d
mov dword [rsp + 0x58], r13d
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, edi
vzeroupper
call qword [sym.imp.GDI32.dll_CreateFontW]
mov rdi, rax
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.GDI32.dll_SetTextColor]
lea r12d, [r13 + 1]
mov edx, r12d
mov rcx, r14
call qword [sym.imp.GDI32.dll_SetBkMode]
xor edx, edx
lea r8d, [r13 + 0x64]
lea rcx, [rbp + 0x280]
call fcn.1400b3170
mov al, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x140020d56
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1400f0984]
cmp eax, 0x2ee
jb 0x140020c0c
mov al, byte [0x1400f0988]
add al, r12b
mov byte [0x1400f0988], al
cmp al, 4
jl 0x140020c00
mov byte [0x1400f0988], r13b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400f0984], eax
mov al, byte [0x1400f0988]
test al, al
jne 0x140020c22
movabs rax, 0x4780988058d168b6
jmp 0x140020c41
cmp al, r12b
jne 0x140020c33
movabs rax, 0x478098ae58d168b6
jmp 0x140020c41
cmp al, 2
jne 0x140020c9f
movabs rax, 0x47ae98ae58d168b6
lea r9, [0x1400f0930]
cmp qword [0x1400f0948], 7
cmova r9, qword [0x1400f0930]
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
movabs rcx, 0xe0985115abe7f2f0
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movabs rax, 0x4780988058a26893
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
mov qword [rbp], rcx
jmp 0x140020d17
cmp al, 3
jne 0x140021372
lea r9, [0x1400f0930]
cmp qword [0x1400f0948], 7
cmova r9, qword [0x1400f0930]
movabs rax, 0x47ae98ae58d168b6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
movabs rax, 0xe0985115abe7f2de
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movabs rax, 0x4780988058a26893
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
movabs rax, 0xe0985115abe7f2f0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
movdqa xmm0, xmmword [rbp + 0x160]
xorps xmm0, xmmword [rbp + 0x150]
movdqa xmmword [rbp + 0x160], xmm0
lea r8, [rbp + 0x160]
mov edx, 0x32
lea rcx, [rbp + 0x280]
call fcn.14001d2e4
jmp 0x140021372
mov r9d, r13d
mov r8d, r13d
mov edx, r13d
lea rcx, [0x1400eb454]
mov eax, dword [rcx]
cmp eax, 0xffffffff
je 0x140020d77
mov eax, dword [rcx]
add r9d, eax
mov eax, dword [rcx]
add r8d, r12d
add edx, r12d
add rcx, 4
cmp edx, 0x14
jb 0x140020d66
test r8d, r8d
jle 0x140020d93
mov eax, r9d
cdq
idiv r8d
mov ebx, eax
jmp 0x140020d96
mov ebx, r13d
xorps xmm3, xmm3
xorps xmm1, xmm1
mov edx, r13d
lea rcx, [0x1400eb4a8]
movsd xmm2, qword [0x1400dabf8]
mov rax, qword [rcx]
movq xmm0, rax
ucomisd xmm0, xmm2
jp 0x140020dbe
je 0x140020dca
mov rax, qword [rcx]
movq xmm0, rax
addsd xmm1, xmm0
add edx, r12d
add rcx, 8
cmp edx, 0x14
jb 0x140020dae
cmp ebx, 0x64
jge 0x140020f7f
ucomisd xmm1, xmm2
jp 0x140020deb
je 0x1400211a1
lea rcx, [rbp + 0xe0]
call fcn.140017648
mov rdx, rax
cmp qword [rax + 0x18], 7
jbe 0x140020e04
mov rdx, qword [rax]
movabs rax, 0x47ee98f758cd68d7
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x60], rcx
movabs rax, 0xe0fc5174ab88f29c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x63377091ef95944c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xf1d7654ffa9fb7aa
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xac91426cca3a9e62
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xedbe879dfbc5aa7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x4780988058a26893
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
movabs rax, 0xe0985115abe7f2f0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movabs rax, 0x630d70f6effb9425
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
movabs rax, 0xf1f2652bfabab78a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x178], rax
movabs rax, 0xacb44244ca1a9e47
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
movabs rax, 0xedbe879df955ad4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
vmovdqu ymm0, ymmword [rbp + 0x160]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm2, xmmword [rbp + 0x80]
vxorps xmm2, xmm2, xmmword [rbp + 0x180]
vmovdqa xmmword [rbp + 0x80], xmm2
mov qword [rsp + 0x20], rdx
mov r9d, ebx
lea r8, [rbp + 0x60]
mov edx, 0x32
lea rcx, [rbp + 0x280]
vzeroupper
call fcn.14001d2e4
lea rcx, [rbp + 0xe0]
call fcn.1400069bc
jmp 0x140021372
comisd xmm3, xmm1
jb 0x1400211a1
movabs rax, 0x47ee98f758cd68d7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0xe0fc5174ab88f29c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x632d7091ef95944c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0xf1826546fad5b7c9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movabs rax, 0xacd14230ca7f9e2b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0xedbe858dfb55ab0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x4780988058a26893
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
movabs rax, 0xe0985115abe7f2f0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c8], rax
movabs rax, 0x630d70f6effb9425
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1d0], rax
movabs rax, 0xf1f2652bfabab78a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1d8], rax
movabs rax, 0xacb44244ca1a9e47
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1e0], rax
movabs rax, 0xedbe879df955ad4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1e8], rax
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x1c0]
vmovdqa ymmword [rbp + 0xa0], ymm1
vmovdqa xmm0, xmmword [rbp + 0xc0]
vxorps xmm0, xmm0, xmmword [rbp + 0x1e0]
vmovdqa xmmword [rbp + 0xc0], xmm0
lea r8, [rbp + 0xa0]
mov edx, 0x32
lea rcx, [rbp + 0x280]
vzeroupper
call fcn.14001d2e4
cmp byte [0x1400f0980], r13b
jne 0x140021372
mov byte [0x1400f0980], r12b
lea rdx, str.Patching
call fcn.1400230c0
mov eax, r12d
xchg byte [0x1400eb450], al
mov rcx, r12
call fcn.140029568
mov qword [rbp + 0x150], rax
lea rcx, [rbp + 0x168]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1400238f0]
xor edx, edx
xor ecx, ecx
call fcn.14008f52c
mov qword [rbp + 0x160], rax
test rax, rax
je 0x1400213f0
cmp dword [rbp + 0x168], r13d
je 0x140021402
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x150], xmm0
lea rcx, [rbp + 0x150]
call fcn.140028d48
test eax, eax
jne 0x140021402
jmp 0x140021372
movabs rax, 0x47ef98f258d068d6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
movabs rax, 0xe0b8513babc9f282
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movabs rax, 0x637e7099ef979466
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
movabs rax, 0xf19c654afa9ab7ef
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x178], rax
movabs rax, 0xacc64230ca3a9e23
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
movabs rax, 0xebce818dfb55aad
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
movabs rax, 0x80bbba849bc2b9b8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
movabs rcx, 0xdfb2f97f6ce6829e
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
movabs rax, 0x4780988058a26893
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x240], rax
movabs rax, 0xe0985115abe7f2f0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x248], rax
movabs rax, 0x630d70f6effb9425
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x250], rax
movabs rax, 0xf1f2652bfabab78a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x258], rax
movabs rax, 0xacb44244ca1a9e47
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x260], rax
movabs rax, 0xedbe879df955ad4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x268], rax
movabs rax, 0x8095baea9babb9d9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x270], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x278], rax
vmovdqu ymm0, ymmword [rbp + 0x240]
vpxor ymm1, ymm0, ymmword [rbp + 0x160]
vmovdqa ymmword [rbp + 0x160], ymm1
vmovdqu ymm0, ymmword [rbp + 0x180]
vpxor ymm1, ymm0, ymmword [rbp + 0x260]
vmovdqa ymmword [rbp + 0x180], ymm1
lea r8, [rbp + 0x160]
mov edx, 0x32
lea rcx, [rbp + 0x280]
vzeroupper
call fcn.14001d2e4
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x280]
mov edx, 0xa
mov r8d, 0xb0
mov rcx, r14
call qword [sym.imp.GDI32.dll_TextOutW]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
lea rdx, [rbp + 0x100]
mov rcx, r15
call qword [sym.imp.USER32.dll_EndPaint]
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140029540
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp + 0x168], r13d
mov ecx, 6
call fcn.1400288d0
nop
mov ecx, r12d
call fcn.1400288d0
int3