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

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
mov rsi, rdx
cmp dword [0x1401138bc], eax
mov rdi, rcx
jl 0x140053bfd
mov eax, 4
add rsp, 0x178
pop rdi
pop rsi
ret
mov qword [rsp + 0x190], rbx
mov rbx, qword [0x140113a28]
mov qword [rsp + 0x198], rbp
mov qword [rsp + 0x1a8], r12
mov qword [rsp + 0x170], r13
cmp byte [rbx + 0x23], 0
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x160], r15
movzx r15d, byte [0x14011386f]
mov byte [0x14011386f], 1
jne 0x140053c4d
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x140053c5b
mov rcx, rbx
call fcn.140001670
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x140053c77
test byte [rbx + 0x21], 4
je 0x140053c71
mov rdx, rbx
call fcn.1400580b0
mov rdx, qword [rbx + 8]
jmp 0x140053cda
cmp al, 2
jne 0x140053cd3
mov rdx, qword [0x140117c50]
test rdx, rdx
jne 0x140053cda
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140053cb3
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
lea rcx, [0x1400da798]
lea rdx, [0x1400da7a4]
cmovne rdx, rcx
jmp 0x140053cda
xor edx, edx
call fcn.140006d50
mov ecx, 0xffffffff
lea rdx, [0x1400da7a4]
cmp rax, rcx
cmovne rdx, qword [0x140117c48]
jmp 0x140053cda
lea rdx, [0x140115f20]
mov r8d, 0x7f
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor ebx, ebx
mov r9b, reloc.WSOCK32.dll_WSAAsyncSelect
mov r8b, 1
mov word [rsp + 0x15e], bx
xor edx, edx
xor ecx, ecx
call fcn.140004fb0
mov rbp, qword [0x140117ab0]
mov r12, qword [0x140117ab8]
mov r14d, dword [0x140117b54]
mov r13d, dword [0x140117b58]
mov qword [0x140117ab8], rbp
mov dword [0x140117b58], r14d
mov qword [0x140117ab0], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140112958]
mov dword [0x140117bb4], eax
mov dword [0x140117bb0], eax
mov dword [0x140117b54], eax
cmp byte [rdi], 5
jne 0x140053e33
cmp rcx, qword [0x140112960]
jne 0x140053d72
call fcn.1400075b0
mov rcx, qword [0x140112958]
cmp rcx, qword [0x140112950]
jb 0x140053d8c
mov rax, qword [0x140117680]
mov qword [rcx], rax
mov rcx, qword [0x140112958]
add rcx, 0x18
lea rax, [0x1400effb8]
mov qword [0x140112958], rcx
mov qword [rcx + 8], rax
mov rax, qword [0x1401101f0]
mov qword [rcx], rbx
mov dword [rcx + 0x10], ebx
mov rdi, qword [rdi + 0x18]
mov qword [0x140117680], rdi
cmp byte [rax + 0x139], bl
je 0x140053e04
movsxd rax, dword [0x140114ae0]
lea rbx, [0x140000000]
mov qword [rbx + rax*8 + 0x115130], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x140114ae0]
mov r8d, 0
mov dword [rbx + rdx*4 + 0x114af0], eax
inc edx
cmp edx, 0x190
cmovge edx, r8d
mov dword [0x140114ae0], edx
xor r9d, r9d
xor edx, edx
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.140090110
mov ebx, eax
cmp eax, 1
jne 0x140053e26
mov rcx, rdi
call fcn.1400524b0
mov ebx, eax
sub qword [0x140112958], 0x18
jmp 0x140053ede
cmp rcx, qword [0x140112960]
mov dword [rsp + 0x50], ebx
mov rbx, qword [rdi + 0x18]
mov qword [rsp + 0x40], rsi
jne 0x140053e55
call fcn.1400075b0
mov rcx, qword [0x140112958]
cmp rcx, qword [0x140112950]
jb 0x140053e6f
mov rax, qword [0x140117680]
mov qword [rcx], rax
mov rcx, qword [0x140112958]
add rcx, 0x18
lea rax, [0x1400effb8]
mov qword [0x140112958], rcx
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x30], r8d
mov qword [rcx + 8], rax
lea rax, [rsp + 0x1a0]
mov qword [rcx], r8
mov dword [rcx + 0x10], r8d
lea r8, str.call
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.1400a7590
sub qword [0x140112958], 0x18
mov ebx, eax
test eax, eax
je 0x140053ede
mov rax, qword [rsp + 0x1a0]
neg rax
sbb ebx, ebx
add ebx, 4
mov rcx, qword [0x1401101f0]
mov rdx, qword [rcx + 0xf8]
lea rcx, [rsp + 0x60]
mov qword [0x140113a30], rdx
mov qword [0x140117ab0], rbp
mov dword [0x140117b54], r14d
mov qword [0x140117ab8], r12
mov dword [0x140117b58], r13d
call fcn.140005160
mov r14, qword [rsp + 0x168]
mov eax, ebx
mov rbx, qword [rsp + 0x190]
mov r13, qword [rsp + 0x170]
mov r12, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x198]
mov byte [0x14011386f], r15b
mov r15, qword [rsp + 0x160]
add rsp, 0x178
pop rdi
pop rsi
ret