Function at 0x1400c4ee0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
xor r14d, r14d
mov qword [rbp + 0x30], 0xffffffffffffffff
mov qword [rbp + 0x38], 0xffffffffffffffff
mov qword [rbp + 0x40], 0xffffffffffffffff
mov qword [rbp + 0x48], 0xffffffffffffffff
mov dword [rbp + 0x50], 0xffffffff
mov qword [rbp + 0x54], 0xfffffffffffffffd
mov dword [rbp + 0x5c], 0xffffffff
mov qword [rbp + 0x60], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x50], r14b
lea rbx, [0x14085ea50]
lea r12d, [r14 + 1]
cmp byte [0x14085e5b8], r14b
jne 0x1400c5568
mov r15d, r14d
mov qword [rbp + 0xd8], rbx
movzx edi, byte [rbp + 0xd0]
movzx ebx, byte [rbp + 0xd0]
lea rsi, str.C:gifgif__
lea r10, [rbp + 0x7d]
test r15d, r15d
jns 0x1400c4fd2
mov ecx, r15d
neg ecx
nop
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x1400c4fa0
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x1400c500a
mov r8d, r15d
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1400c4fe0
lea r9, [rbp + 0xd0]
lea r8, [rbp + 0x7d]
mov rdx, r10
lea rcx, [rsp + 0x70]
call fcn.1400d17c0
nop
mov r8, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
sub rax, r8
cmp rax, 0xc
jb 0x1400c50cc
lea rax, [r8 + 0xc]
mov qword [rbp - 0x80], rax
lea rsi, [rsp + 0x70]
cmp rcx, 0xf
cmova rsi, qword [rsp + 0x70]
lea rax, [0x1401eaa34]
cmp rax, rsi
jbe 0x1400c507b
lea rax, [rsi + r8]
lea rcx, str.C:gifgif__
cmp rcx, rax
ja 0x1400c507b
cmp rsi, rcx
jbe 0x1400c5081
mov r14, rsi
sub r14, rcx
jmp 0x1400c5081
mov r14d, listen
inc r8
lea rcx, [rsi + 0xc]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
lea rdx, str.C:gifgif__
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, listen
sub r8, r14
lea rdx, str.C:gifgif__
add rdx, 0xc
add rdx, r14
lea rcx, [rsi + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x70]
xor r14d, r14d
jmp 0x1400c50ef
mov qword [rsp + 0x28], listen
mov qword [rsp + 0x20], rsi
xor r9d, r9d
movzx r8d, dil
lea edx, [r9 + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1400bfb10
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r13
mov byte [rax], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x1400c516e
lea rax, [rcx + 5]
mov qword [rsp + 0x40], rax
lea rsi, [rsp + 0x30]
cmp rdx, 0xf
cmova rsi, qword [rsp + 0x30]
add rsi, rcx
mov r8d, 5
lea rdx, str._.jpg
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + 5], 0
lea rax, [rsp + 0x30]
jmp 0x1400c5191
mov qword [rsp + 0x20], 5
lea r9, str._.jpg
movzx r8d, bl
mov edx, 5
lea rcx, [rsp + 0x30]
call fcn.1400bf980
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r13
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400c51f6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c51e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c5619
call fcn.1401d7408
movups xmm0, xmmword [rbp + 0x80]
movups xmm1, xmmword [rbp + 0x68]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400c523d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5238
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c5620
call fcn.1401d7408
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r13
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400c5288
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5283
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c5627
call fcn.1401d7408
lea rax, vtable.std::wstring_convert_class_std::codecvt_utf8_utf16_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
mov qword [rbp - 0x50], rax
mov cl, 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], 0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r14
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r14w
mov word [rbp + 0x18], 0
mov byte [rbp + 0x1a], 0
mov ecx, 0x40
call fcn.1401d73cc
mov r14, rax
mov qword [rbp + 0xe0], rax
test rax, rax
je 0x1400c5300
xor edx, edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_long_long_unsigned___int64_____ptr64]
lea rax, vtable.std::codecvt_utf8_utf16_wchar_t__1114111__0_.0
mov qword [r14], rax
jmp 0x1400c5303
xor r14d, r14d
mov qword [rbp + 0x10], 0
mov qword [rbp - 0x48], r14
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const____ptr64_]
mov rsi, rax
test r14, r14
je 0x1400c5355
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::locale::id::operator_unsigned_long_long_unsigned___int64__void____ptr64]
mov r8, rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_private:_static_void___cdecl_std::locale::_Locimp::_Locimp_Addfac_class_std::locale::_Locimp____ptr64__class_std::locale::facet____ptr64__unsigned_long_long_unsigned___int64__]
xor r14d, r14d
mov dword [rsi + 0x20], r14d
lea rcx, [rsi + 0x28]
lea rdx, [0x1401ea9b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____ptr64___cdecl_std::_Yarn_char_::operator_char_const____ptr64____ptr64]
mov rcx, qword [rbp - 0x38]
cmp rcx, rsi
je 0x1400c5385
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400c5378
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, r12d
mov rcx, rax
call r8
mov qword [rbp - 0x38], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
test rsi, rsi
je 0x1400c53a7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400c53a7
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, r12d
mov rcx, rax
call r8
mov qword [rbp + 0x20], r14
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x60]
add r9, r8
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400e38e0
lea r10, [rbp - 0x70]
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
cmova r10, rcx
mov rsi, qword [rbp + 0xd8]
cmp qword [rsi], 0
jne 0x1400c5428
movsxd rax, r15d
lea rcx, [0x14085ea50]
lea rcx, [rcx + rax*8]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rbp + 0x30]
mov rdx, r10
mov rcx, qword [0x14085e9e8]
call sub.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromFileW
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x70]
cmp r15d, 0xa
jg 0x1400c5435
mov byte [0x14085e5b8], 1
cmp rdx, 7
jbe 0x1400c546d
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5468
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c562e
call fcn.1401d7408
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
lea rax, vtable.std::wstring_convert_class_std::codecvt_utf8_utf16_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x1400c54c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c54c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c5635
call fcn.1401d7408
mov qword [rbp], r14
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r14w
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400c5515
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5510
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c5635
call fcn.1401d7408
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400c5544
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400c5544
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, r12d
mov rcx, rax
call r8
inc r15d
add rsi, 8
mov qword [rbp + 0xd8], rsi
cmp r15d, 0xb
jle 0x1400c4f89
mov r13, qword [rsp + 0x68]
lea rbx, [0x14085ea50]
cmp byte [0x14085e5b8], 1
jne 0x1400c55e2
mov ecx, dword [0x14085f270]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x14085eaac], eax
jg 0x1400c565c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14085eaa8]
cmp eax, 0x46
jbe 0x1400c55cb
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 0xa
jge 0x1400c55b8
lea r12d, [rax + 1]
mov dword [reloc.WS2_32.dll_accept], r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14085eaa8], eax
movsxd rax, dword [reloc.WS2_32.dll_accept]
mov rax, qword [rbx + rax*8]
mov qword [0x14085e5c0], rax
mov r13, qword [rsp + 0x68]
cmp r13, 0xf
jbe 0x1400c5641
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c563c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c563c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1401d7408
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14085eaac]
call fcn.1401d76f8
cmp dword [0x14085eaac], 0xffffffff
jne 0x1400c5598
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14085eaa8], eax
lea rcx, [0x14085eaac]
call fcn.1401d768c
jmp 0x1400c5598