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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r12, r8
mov r13, rdx
mov r14, rcx
and dword [rsp + 0x38], 0
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
and dword [rax - 0x58], ebp
xor edx, edx
lea r8d, [rbp + 0x1c]
lea rcx, [rax - 0x54]
call sub.msvcrt.dll_memset
xor r10d, r10d
mov dword [rsp + 0x50], r10d
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov ebx, r10d
mov dword [rsp + 0x30], r10d
mov r15, qword [rsp + 0x110]
cmp qword [rsp + 0x100], r10
je 0x1000f7c31
mov rsi, qword [rsp + 0x108]
cmp rsi, r10
je 0x1000f7c31
cmp r13, r10
je 0x1000f7c31
cmp r12, r10
je 0x1000f7c31
cmp r15, r10
je 0x1000f7c31
mov rcx, qword [r14 + 0x118]
lea edi, [rbp + 1]
cmp rcx, r10
je 0x1000f771f
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1000f771b
call sub.KERNEL32.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
xor r10d, r10d
cmp eax, r10d
cmovle ebx, eax
mov eax, 0x80004005
cmp ebx, r10d
cmovge ebx, eax
lea rsi, [0x100152eb8]
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f7c90
test byte [rcx + 0x1c], dil
je 0x1000f7c90
lea edx, [rbp + 0x16]
mov r9d, ebx
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov rcx, qword [0x100152eb8]
xor r10d, r10d
jmp 0x1000f7c90
mov dword [rsp + 0x30], edi
mov edx, edi
mov rbp, qword [rsp + 0x100]
mov rcx, rbp
call fcn.1000f64fc
mov edx, edi
mov rcx, rsi
call fcn.1000f64fc
and dword [r15], ebx
lea rcx, [rsp + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpGetDefaultProxyConfiguration]
test eax, eax
je 0x1000f7817
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1000f7817
lea rsi, [0x100152eb8]
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f7792
test byte [rcx + 0x1c], 4
je 0x1000f7792
mov edx, 0x17
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
mov rdx, qword [rsp + 0x40]
mov rcx, rbp
call fcn.1000f6078
mov ebx, eax
xor r10d, r10d
cmp eax, r10d
jl 0x1000f77d6
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x108]
call fcn.1000f6078
mov ebx, eax
xor r10d, r10d
cmp eax, r10d
jl 0x1000f77d6
mov eax, dword [rsp + 0x38]
mov dword [r15], eax
mov ebx, r10d
mov rcx, qword [0x100152eb8]
jmp 0x1000f7c79
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f7c79
test byte [rcx + 0x1c], dil
je 0x1000f7c79
mov edx, 0x18
mov r9d, ebx
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov rcx, qword [0x100152eb8]
xor r10d, r10d
jmp 0x1000f7c79
lea rcx, [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
xor r10d, r10d
cmp eax, r10d
je 0x1000f789c
lea ebp, [r10 + 3]
mov edx, dword [rsp + 0x50]
cmp edx, r10d
je 0x1000f784b
mov eax, edi
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x84], ebp
mov ebx, edi
jmp 0x1000f7852
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
cmp rcx, r10
je 0x1000f7870
or eax, 2
mov dword [rsp + 0x80], eax
mov qword [rsp + 0x88], rcx
mov ebx, edi
cmp edx, r10d
jne 0x1000f7893
cmp qword [rsp + 0x58], r10
jne 0x1000f7893
cmp qword [rsp + 0x60], r10
jne 0x1000f7893
mov dword [rsp + 0x80], edi
mov dword [rsp + 0x84], ebp
mov ebx, edi
mov dword [rsp + 0x9c], edi
jmp 0x1000f78b8
mov dword [rsp + 0x80], edi
mov ebp, 3
mov dword [rsp + 0x84], ebp
mov dword [rsp + 0x9c], edi
mov ebx, edi
lea rsi, [0x100152eb8]
cmp ebx, r10d
je 0x1000f7ae9
mov qword [rsp + 0x70], r10
mov dword [rsp + 0x7c], r10d
mov dword [rsp + 0x78], r10d
lea rax, [0x1000271f4]
lea r8, [0x10001e918]
cmp dword [rsp + 0xf8], r10d
cmovne r8, rax
mov qword [rsp + 0x20], r12
mov r9, r13
lea rdx, [0x1000271f8]
lea rcx, [rsp + 0x70]
call fcn.1000f6258
mov ebx, eax
test eax, eax
jns 0x1000f795d
lea rsi, [0x100152eb8]
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f7942
test byte [rcx + 0x1c], dil
je 0x1000f7942
mov edx, 0x19
mov r9d, eax
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
nop
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.1000f64fc
mov rcx, qword [0x100152eb8]
xor r10d, r10d
jmp 0x1000f7c79
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f7984
test byte [rcx + 0x1c], 4
je 0x1000f7984
mov edx, 0x1a
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [r14]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r12d, r12d
je 0x1000f7a63
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f79de
test byte [rcx + 0x1c], 4
je 0x1000f79de
mov edx, 0x1b
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x100]
call fcn.1000f6078
mov ebx, eax
test eax, eax
js 0x1000f7a1d
mov rdx, qword [rsp + 0x48]
mov r13, qword [rsp + 0x108]
mov rcx, r13
call fcn.1000f6078
mov ebx, eax
test eax, eax
js 0x1000f7a1d
mov eax, dword [rsp + 0x38]
mov dword [r15], eax
jmp 0x1000f7acf
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f7a48
test byte [rcx + 0x1c], dil
je 0x1000f7a48
mov edx, 0x1c
mov r9d, ebx
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
nop
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.1000f64fc
mov rcx, qword [0x100152eb8]
xor r10d, r10d
jmp 0x1000f7c79
mov rax, qword [0x100152eb8]
cmp rax, rsi
je 0x1000f7ac7
test byte [rax + 0x1c], dil
je 0x1000f7abd
call sub.KERNEL32.dll_GetLastError
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
mov eax, 0x80004005
test r9d, r9d
cmovns r9d, eax
mov edx, 0x1d
lea r8, [0x10001db30]
mov rcx, qword [0x100152eb8]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov r13, qword [rsp + 0x108]
jmp 0x1000f7acf
mov r13, qword [rsp + 0x108]
jmp 0x1000f7acf
mov r13, qword [rsp + 0x108]
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.1000f64fc
xor r10d, r10d
cmp r12d, r10d
jne 0x1000f7c1c
jmp 0x1000f7af1
mov r13, qword [rsp + 0x108]
cmp qword [rsp + 0x60], r10
je 0x1000f7c25
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f7b2d
test byte [rcx + 0x1c], 4
je 0x1000f7b2d
mov edx, 0x1e
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
mov rcx, qword [0x100152eb8]
xor r10d, r10d
mov rax, qword [rsp + 0x60]
cmp word [rax], r10w
je 0x1000f7bab
cmp word [rax], 0x3a
jne 0x1000f7b45
cmp word [rax + 2], r10w
je 0x1000f7bab
mov dword [r15], ebp
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x100]
call fcn.1000f6078
mov ebx, eax
xor r10d, r10d
cmp eax, r10d
jge 0x1000f7ba4
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f7c79
test byte [rcx + 0x1c], dil
je 0x1000f7c79
lea edx, [r10 + 0x1f]
mov r9d, eax
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov rcx, qword [0x100152eb8]
xor r10d, r10d
jmp 0x1000f7c79
mov rcx, qword [0x100152eb8]
mov rax, qword [rsp + 0x68]
cmp rax, r10
je 0x1000f7c2c
cmp word [rax], r10w
je 0x1000f7c2c
cmp word [rax], 0x3a
jne 0x1000f7bc8
cmp word [rax + 2], r10w
je 0x1000f7c2c
mov rdx, qword [rsp + 0x68]
mov rcx, r13
call fcn.1000f6078
mov ebx, eax
xor r10d, r10d
cmp eax, r10d
jge 0x1000f7c1c
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f7c79
test byte [rcx + 0x1c], dil
je 0x1000f7c79
lea edx, [r10 + 0x20]
mov r9d, eax
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov rcx, qword [0x100152eb8]
xor r10d, r10d
jmp 0x1000f7c79
mov rcx, qword [0x100152eb8]
jmp 0x1000f7c2c
mov rcx, qword [0x100152eb8]
mov ebx, r10d
jmp 0x1000f7c79
mov ebx, 0x80070057
lea rsi, [0x100152eb8]
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x1000f7cf5
mov edi, 1
test byte [rcx + 0x1c], dil
je 0x1000f7cf5
lea edx, [rdi + 0x14]
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
mov rcx, qword [0x100152eb8]
xor r10d, r10d
cmp dword [rsp + 0x30], r10d
je 0x1000f7c90
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [0x100152eb8]
xor r10d, r10d
cmp ebx, r10d
jl 0x1000f7cf0
mov r9, qword [rsp + 0x100]
cmp r9, r10
je 0x1000f7cf0
mov r8, qword [rsp + 0x108]
cmp r8, r10
je 0x1000f7cf0
cmp r15, r10
je 0x1000f7cf0
cmp rcx, rsi
je 0x1000f7cf0
test byte [rcx + 0x1c], 4
je 0x1000f7cf0
mov edx, 0x21
mov eax, dword [r15]
mov dword [rsp + 0x28], eax
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov r9, qword [r9]
lea r8, [0x10001db30]
mov rcx, qword [rcx + 0x10]
call fcn.10008ed5c
mov rbp, qword [rsp + 0x40]
xor r10d, r10d
jmp 0x1000f7cf5
mov rbp, qword [rsp + 0x40]
cmp rbp, r10
je 0x1000f7d06
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor r10d, r10d
mov rcx, qword [rsp + 0x48]
cmp rcx, r10
je 0x1000f7d19
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor r10d, r10d
mov rcx, qword [rsp + 0x58]
cmp rcx, r10
je 0x1000f7d2c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor r10d, r10d
mov rax, qword [rsp + 0x60]
cmp rax, r10
je 0x1000f7d42
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor r10d, r10d
mov rax, qword [rsp + 0x68]
cmp rax, r10
je 0x1000f7d55
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, ebx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret