Function at 0x140048f30
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 [0x140129bb0], eax
jl 0x140048f5f
mov eax, 4
add rsp, 0x178
pop r12
pop rbp
ret
mov qword [rsp + 0x190], rbx
mov rbx, qword [0x14012a580]
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 [0x140129b9d]
mov byte [0x140129b9d], 1
jne 0x140048faf
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x140048fbd
mov rcx, rbx
call fcn.140001130
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x140048fe0
test byte [rbx + 0x21], 4
je 0x140048fda
lea rcx, [0x14012b510]
mov rdx, rbx
call fcn.14004eb90
mov rdx, qword [rbx + 8]
jmp 0x140049043
cmp al, 2
jne 0x14004903c
mov rdx, qword [0x14012c190]
test rdx, rdx
jne 0x140049043
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14004901c
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
lea rcx, [0x1400f0518]
lea rdx, [0x1400f0524]
test eax, eax
cmovne rdx, rcx
jmp 0x140049043
xor ecx, ecx
call fcn.140006ca0
mov ecx, 0xffffffff
lea rdx, [0x1400f0524]
cmp rax, rcx
cmovne rdx, qword [0x14012c188]
jmp 0x140049043
lea rdx, [0x14012b418]
lea rcx, [rsp + 0x60]
mov r8d, 0x7f
call fcn.1400d94e4
mov rbx, qword [0x1401245a8]
inc dword [0x140129bb0]
add rbx, 0x150
lea rdx, [0x1401284a0]
xor edi, edi
mov rcx, rbx
mov r8d, 0x150
mov word [rsp + 0x15e], di
mov qword [0x1401245a8], rbx
call fcn.1400d6960
lea rcx, [0x14012b510]
xor edx, edx
mov dword [rbx + 0x3c], edi
call fcn.140029660
cmp dword [0x140129bf8], edi
mov qword [0x14012c0e0], rdi
je 0x1400490d0
mov rax, qword [0x140126128]
lea rcx, [0x1400f0524]
test rax, rax
je 0x1400490ca
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rbx + 0x12e], dil
jne 0x1400490ee
mov byte [rbx + 0x12e], 1
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x14012c0ec], edi
je 0x1400490fe
cmp dword [0x14012c0e8], edi
jne 0x140049107
cmp byte [rbx + 0x12e], dil
je 0x140049143
mov byte [rbx + 0x12c], dil
cmp byte [rbx + 0x12e], dil
jne 0x140049143
cmp dword [0x14012c0ec], edi
jge 0x14004912b
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140049143
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x14012c0ec]
mov dword [rbx + 0x120], eax
mov rdi, qword [0x14012bfe0]
mov esi, dword [0x14012c084]
mov r13, qword [0x14012bfe8]
mov r14d, dword [0x14012c088]
mov qword [0x14012bfe8], rdi
mov qword [0x14012bfe0], r12
mov dword [0x14012c088], esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012b448]
mov dword [0x14012c0f4], eax
mov dword [0x14012c0f0], eax
mov dword [0x14012c084], eax
cmp byte [rbp], 5
jne 0x140049228
cmp rcx, qword [0x14012b450]
jne 0x1400491b0
call fcn.1400075d0
mov rcx, qword [0x14012b448]
cmp rcx, qword [0x14012b440]
jb 0x1400491ca
mov rax, qword [0x14012bbb0]
mov qword [rcx], rax
mov rcx, qword [0x14012b448]
add rcx, 0x18
xor edx, edx
lea rax, [0x1400f27a8]
mov qword [0x14012b448], rcx
mov qword [rcx + 8], rax
mov qword [rcx], rdx
mov dword [rcx + 0x10], edx
mov rcx, qword [rbp + 0x18]
call fcn.140048ea0
mov rcx, qword [0x14012b448]
sub rcx, 0x18
mov ebx, eax
cmp rcx, qword [0x14012b440]
mov qword [0x14012b448], rcx
jb 0x1400492f6
mov rcx, qword [rcx]
mov qword [0x14012b468], rcx
mov qword [0x14012bbb0], rcx
jmp 0x1400492f6
mov rbx, qword [rbp + 0x18]
xor edx, edx
cmp rcx, qword [0x14012b450]
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x40], r12
jne 0x14004924e
call fcn.1400075d0
mov rcx, qword [0x14012b448]
xor edx, edx
cmp rcx, qword [0x14012b440]
jb 0x140049268
mov rax, qword [0x14012bbb0]
mov qword [rcx], rax
mov rcx, qword [0x14012b448]
add rcx, 0x18
mov dword [rsp + 0x30], edx
lea rax, [0x1400f27a8]
mov qword [0x14012b448], 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.1400ae180
mov ebx, eax
mov rax, qword [0x14012b448]
sub rax, 0x18
cmp rax, qword [0x14012b440]
mov qword [0x14012b448], rax
jb 0x1400492e2
mov rax, qword [rax]
mov qword [0x14012b468], rax
mov qword [0x14012bbb0], rax
test ebx, ebx
je 0x1400492f6
mov rax, qword [rsp + 0x1a0]
neg rax
sbb ebx, ebx
add ebx, 4
mov rax, qword [0x1401245a8]
mov rcx, qword [rax + 0xf8]
mov qword [0x14012bfe0], rdi
mov dword [0x14012c084], esi
mov qword [0x140129bd8], rcx
lea rcx, [rsp + 0x60]
mov qword [0x14012bfe8], r13
mov dword [0x14012c088], r14d
call fcn.140004f40
mov r14, qword [rsp + 0x168]
mov r13, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x1a8]
mov rsi, qword [rsp + 0x198]
mov byte [0x140129b9d], r15b
mov r15, qword [rsp + 0x160]
mov eax, ebx
mov rbx, qword [rsp + 0x190]
add rsp, 0x178
pop r12
pop rbp
ret