Function at 0x14005a9d0
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
push rbp
push r12
sub rsp, 0x178
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
mov r12, rdx
mov rbp, rcx
cmp dword [0x14013f898], eax
jl 0x14005a9ff
mov eax, 4
add rsp, 0x178
pop r12
pop rbp
ret
mov qword [rsp + 0x190], rbx
mov rbx, qword [0x140140268]
mov qword [rsp + 0x198], rsi
cmp byte [rbx + 0x23], 0
mov qword [rsp + 0x1a8], rdi
mov qword [rsp + 0x170], r13
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x160], r15
jne 0x14005aa40
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x14005aa4e
mov rcx, rbx
call fcn.140001130
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x14005aa71
test byte [rbx + 0x21], 4
je 0x14005aa6b
lea rcx, [0x140143150]
mov rdx, rbx
call fcn.140060290
mov rdx, qword [rbx + 8]
jmp 0x14005aad4
cmp al, 2
jne 0x14005aacd
mov rdx, qword [0x140143de8]
test rdx, rdx
jne 0x14005aad4
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14005aaad
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
lea rcx, [0x1401035a0]
lea rdx, [0x1401035ac]
test eax, eax
cmovne rdx, rcx
jmp 0x14005aad4
xor ecx, ecx
call fcn.140006960
mov ecx, 0xffffffff
lea rdx, [0x1401035ac]
cmp rax, rcx
cmovne rdx, qword [0x140143de0]
jmp 0x14005aad4
lea rdx, [0x140141fa8]
lea rcx, [rsp + 0x60]
mov r8d, 0x7f
call qword [sym.imp.MSVCR100.dll_wcsncpy]
mov rbx, qword [0x14013b0f8]
inc dword [0x14013f898]
add rbx, 0x150
lea rdx, [0x14013e0b0]
xor r15d, r15d
mov rcx, rbx
mov r8d, 0x150
mov word [rsp + 0x15e], r15w
mov qword [0x14013b0f8], rbx
call sub.MSVCR100.dll_memcpy
lea rcx, [0x140143150]
xor edx, edx
mov dword [rbx + 0x3c], r15d
call fcn.140035140
cmp dword [0x14013f8dc], r15d
mov qword [0x140143d38], r15
je 0x14005ab50
lea rcx, [0x140140270]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rbx + 0x12e], r15b
jne 0x14005ab6e
mov byte [rbx + 0x12e], 1
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x140143d44], r15d
je 0x14005ab80
cmp dword [0x140143d40], r15d
jne 0x14005ab89
cmp byte [rbx + 0x12e], r15b
je 0x14005abc6
mov byte [rbx + 0x12c], r15b
cmp byte [rbx + 0x12e], r15b
jne 0x14005abc6
cmp dword [0x140143d44], r15d
jge 0x14005abae
mov dword [rbx + 0x120], 0xffffffff
jmp 0x14005abc6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x140143d44]
mov dword [rbx + 0x120], eax
mov rdi, qword [0x140143c48]
mov esi, dword [0x140143cec]
mov r13, qword [0x140143c50]
mov r14d, dword [0x140143cf0]
mov qword [0x140143c50], rdi
mov qword [0x140143c48], r12
mov dword [0x140143cf0], esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140141fd8]
mov dword [0x140143d4c], eax
mov dword [0x140143d48], eax
mov dword [0x140143cec], eax
cmp byte [rbp], 5
jne 0x14005ac7e
cmp rcx, qword [0x140141fe0]
jne 0x14005ac2f
call fcn.140007370
mov rcx, qword [0x140141fd8]
cmp rcx, qword [0x140141fd0]
jb 0x14005ac49
mov rax, qword [0x140143818]
mov qword [rcx], rax
mov rcx, qword [0x140141fd8]
add rcx, 0x18
lea rax, [0x1401058d8]
mov qword [0x140141fd8], rcx
mov qword [rcx + 8], rax
mov qword [rcx], r15
mov dword [rcx + 0x10], r15d
mov rcx, qword [rbp + 0x18]
call fcn.14005a940
sub qword [0x140141fd8], 0x18
mov ebx, eax
jmp 0x14005ad27
cmp rcx, qword [0x140141fe0]
mov rbx, qword [rbp + 0x18]
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x40], r12
jne 0x14005aca1
call fcn.140007370
mov rcx, qword [0x140141fd8]
cmp rcx, qword [0x140141fd0]
jb 0x14005acbb
mov rax, qword [0x140143818]
mov qword [rcx], rax
mov rcx, qword [0x140141fd8]
add rcx, 0x18
lea rax, [0x1401058d8]
mov dword [rsp + 0x30], r15d
mov qword [0x140141fd8], rcx
mov qword [rcx + 8], rax
lea rax, [rsp + 0x1a0]
mov qword [rcx], r15
mov dword [rcx + 0x10], r15d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea r8, str.call
mov rdx, rbx
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.1400cc0f0
sub qword [0x140141fd8], 0x18
mov ebx, eax
test eax, eax
je 0x14005ad27
mov rax, qword [rsp + 0x1a0]
neg rax
sbb ebx, ebx
add ebx, 4
mov rax, qword [0x14013b0f8]
mov rcx, qword [rax + 0xf8]
mov qword [0x140143c48], rdi
mov dword [0x140143cec], esi
mov qword [0x14013f8b8], rcx
lea rcx, [rsp + 0x60]
mov qword [0x140143c50], r13
mov dword [0x140143cf0], r14d
call fcn.1400049a0
mov r15, qword [rsp + 0x160]
mov r14, qword [rsp + 0x168]
mov r13, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x1a8]
mov rsi, qword [rsp + 0x198]
mov eax, ebx
mov rbx, qword [rsp + 0x190]
add rsp, 0x178
pop r12
pop rbp
ret