Function at 0x1400491e0
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 [0x14012ac50], eax
jl 0x14004920f
mov eax, 4
add rsp, 0x178
pop r12
pop rbp
ret
mov qword [rsp + 0x190], rbx
mov rbx, qword [0x14012b620]
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
movzx r15d, byte [0x14012ac3d]
mov byte [0x14012ac3d], 1
jne 0x14004925f
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x14004926d
mov rcx, rbx
call fcn.140001130
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x140049290
test byte [rbx + 0x21], 4
je 0x14004928a
lea rcx, [0x14012c5c0]
mov rdx, rbx
call fcn.14004f050
mov rdx, qword [rbx + 8]
jmp 0x1400492f3
cmp al, 2
jne 0x1400492ec
mov rdx, qword [0x14012d240]
test rdx, rdx
jne 0x1400492f3
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x1400492cc
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
lea rcx, [0x1400f1518]
lea rdx, [0x1400f1524]
test eax, eax
cmovne rdx, rcx
jmp 0x1400492f3
xor ecx, ecx
call fcn.140006ae0
mov ecx, 0xffffffff
lea rdx, [0x1400f1524]
cmp rax, rcx
cmovne rdx, qword [0x14012d238]
jmp 0x1400492f3
lea rdx, [0x14012c4b8]
lea rcx, [rsp + 0x60]
mov r8d, 0x7f
call fcn.1400da434
mov rbx, qword [0x1401255c8]
inc dword [0x14012ac50]
add rbx, 0x150
lea rdx, [0x140129540]
xor edi, edi
mov rcx, rbx
mov r8d, 0x150
mov word [rsp + 0x15e], di
mov qword [0x1401255c8], rbx
call fcn.1400d78b0
lea rcx, [0x14012c5c0]
xor edx, edx
mov dword [rbx + 0x3c], edi
call fcn.1400296f0
cmp dword [0x14012ac98], edi
mov qword [0x14012d190], rdi
je 0x140049380
mov rax, qword [0x140127148]
lea rcx, [0x1400f1524]
test rax, rax
je 0x14004937a
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rbx + 0x12e], dil
jne 0x14004939e
mov byte [rbx + 0x12e], 1
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x14012d19c], edi
je 0x1400493ae
cmp dword [0x14012d198], edi
jne 0x1400493b7
cmp byte [rbx + 0x12e], dil
je 0x1400493f3
mov byte [rbx + 0x12c], dil
cmp byte [rbx + 0x12e], dil
jne 0x1400493f3
cmp dword [0x14012d19c], edi
jge 0x1400493db
mov dword [rbx + 0x120], 0xffffffff
jmp 0x1400493f3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x14012d19c]
mov dword [rbx + 0x120], eax
mov rdi, qword [0x14012d090]
mov esi, dword [0x14012d134]
mov r13, qword [0x14012d098]
mov r14d, dword [0x14012d138]
mov qword [0x14012d098], rdi
mov qword [0x14012d090], r12
mov dword [0x14012d138], esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012c4e8]
mov dword [0x14012d1a4], eax
mov dword [0x14012d1a0], eax
mov dword [0x14012d134], eax
cmp byte [rbp], 5
jne 0x1400494d8
cmp rcx, qword [0x14012c4f0]
jne 0x140049460
call fcn.140007410
mov rcx, qword [0x14012c4e8]
cmp rcx, qword [0x14012c4e0]
jb 0x14004947a
mov rax, qword [0x14012cc60]
mov qword [rcx], rax
mov rcx, qword [0x14012c4e8]
add rcx, 0x18
xor edx, edx
lea rax, [0x1400f3828]
mov qword [0x14012c4e8], rcx
mov qword [rcx + 8], rax
mov qword [rcx], rdx
mov dword [rcx + 0x10], edx
mov rcx, qword [rbp + 0x18]
call fcn.140049150
mov rcx, qword [0x14012c4e8]
sub rcx, 0x18
mov ebx, eax
cmp rcx, qword [0x14012c4e0]
mov qword [0x14012c4e8], rcx
jb 0x1400495a6
mov rcx, qword [rcx]
mov qword [0x14012c508], rcx
mov qword [0x14012cc60], rcx
jmp 0x1400495a6
mov rbx, qword [rbp + 0x18]
xor edx, edx
cmp rcx, qword [0x14012c4f0]
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x40], r12
jne 0x1400494fe
call fcn.140007410
mov rcx, qword [0x14012c4e8]
xor edx, edx
cmp rcx, qword [0x14012c4e0]
jb 0x140049518
mov rax, qword [0x14012cc60]
mov qword [rcx], rax
mov rcx, qword [0x14012c4e8]
add rcx, 0x18
mov dword [rsp + 0x30], edx
lea rax, [0x1400f3828]
mov qword [0x14012c4e8], rcx
mov qword [rcx + 8], rax
mov qword [rcx], rdx
mov dword [rcx + 0x10], edx
lea rax, [rsp + 0x1a0]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r8, str.call
mov rdx, rbx
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.1400af240
mov ebx, eax
mov rax, qword [0x14012c4e8]
sub rax, 0x18
cmp rax, qword [0x14012c4e0]
mov qword [0x14012c4e8], rax
jb 0x140049592
mov rax, qword [rax]
mov qword [0x14012c508], rax
mov qword [0x14012cc60], rax
test ebx, ebx
je 0x1400495a6
mov rax, qword [rsp + 0x1a0]
neg rax
sbb ebx, ebx
add ebx, 4
mov rax, qword [0x1401255c8]
mov rcx, qword [rax + 0xf8]
mov qword [0x14012d090], rdi
mov dword [0x14012d134], esi
mov qword [0x14012ac78], rcx
lea rcx, [rsp + 0x60]
mov qword [0x14012d098], r13
mov dword [0x14012d138], r14d
call fcn.140004f60
mov r14, qword [rsp + 0x168]
mov r13, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x1a8]
mov rsi, qword [rsp + 0x198]
mov byte [0x14012ac3d], r15b
mov r15, qword [rsp + 0x160]
mov eax, ebx
mov rbx, qword [rsp + 0x190]
add rsp, 0x178
pop r12
pop rbp
ret