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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx]
mov rbx, rdx
mov rsi, rcx
call qword [rax + pe_nt_image_headers64]
test al, al
jne 0x1400596af
mov eax, dword [rbx]
sub eax, 0xe
cmp eax, 0xa
ja 0x1400596af
mov rcx, qword [rsi + 0x418]
mov rdx, rbx
test rcx, rcx
je 0x140059696
mov rax, qword [rcx]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
jmp qword [rax + InitCommonControls]
mov rcx, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
jmp fcn.140038260
mov eax, dword [rbx]
test eax, eax
jne 0x1400596e2
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x168]
test al, al
je 0x1400598dc
mov rcx, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
jmp 0x1400598f0
mov qword [rsp + 0x78], r14
cmp eax, 8
jne 0x140059774
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x110]
test al, al
je 0x140059774
cmp word [rbx + 0x1c], 0xd
jne 0x1400597f1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x168]
test al, al
je 0x1400598d7
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x1400598d7
mov rax, qword [rax + 0x148]
xor r14d, r14d
mov word [rbp - 0x24], r14w
mov dword [rbp - 0x10], r14d
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x40], 0x2d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x20], r14
mov dword [rbp - 0x30], eax
mov rcx, rsi
mov rax, qword [rsi]
mov qword [rbp - 0x18], r14
call qword [rax + 0x1a0]
jmp 0x1400598d7
cmp dword [rbx], 1
jne 0x1400597f1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x110]
test al, al
je 0x1400597f1
mov rax, qword [rsi]
mov r8b, 1
movzx edx, r8b
mov rcx, rsi
call qword [rax + 0x308]
mov rax, qword [rsi + 0x30]
xor r14d, r14d
mov word [rbp - 0x24], r14w
mov dword [rbp - 0x10], r14d
mov qword [rbp - 0x38], rsi
mov rcx, qword [rax + 0x148]
mov qword [rbp - 0x2c], rcx
mov dword [rbp - 0x40], 0x17
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x20], r14
mov dword [rbp - 0x30], eax
mov rcx, rsi
mov rax, qword [rsi]
mov qword [rbp - 0x18], r14
call qword [rax + 0x1a0]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x58]
jmp 0x1400598d7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + pe_nt_image_headers64]
test al, al
jne 0x140059829
mov eax, dword [rbx]
sub eax, 0xe
cmp eax, 0xa
ja 0x140059829
mov rcx, qword [rsi + 0x38]
mov rdx, rbx
test rcx, rcx
je 0x1400598cf
mov rax, qword [rcx]
call qword [rax + 0x1a0]
jmp 0x1400598d7
cmp dword [rbx], 8
jne 0x14005985c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x130]
test al, al
je 0x14005985c
movzx eax, word [rbx + 0x1c]
cmp ax, 0x20
je 0x14005984e
cmp ax, 0xd
jne 0x14005985c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x170]
jmp 0x1400598d7
cmp dword [rbx], 1
jne 0x1400598cc
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0xb8]
test al, al
je 0x1400598d7
mov rax, qword [rsi + 0x30]
xor r14d, r14d
mov qword [rsp + 0x70], rdi
mov rdi, qword [rbx + 0x28]
mov rbx, qword [rbx + 0x20]
mov rcx, qword [rax + 0x148]
mov qword [rbp - 0x2c], rcx
mov word [rbp - 0x24], r14w
mov dword [rbp - 0x10], r14d
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x40], 0x17
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x20], rbx
mov dword [rbp - 0x30], eax
mov rcx, rsi
mov rax, qword [rsi]
mov qword [rbp - 0x18], rdi
call qword [rax + 0x1a0]
mov rdi, qword [rsp + 0x70]
jmp 0x1400598d7
mov rdx, rbx
mov rcx, rsi
call fcn.140038260
mov r14, qword [rsp + 0x78]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
push rbx
sub rsp, 0x60
mov rax, qword [rcx + 0x30]
mov rbx, rcx
test rax, rax
je 0x140059955
mov rax, qword [rax + 0x148]
mov qword [rsp + 0x70], rdi
xor edi, edi
mov word [rsp + 0x3c], di
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x16
mov qword [rsp + 0x34], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x30], eax
mov rcx, rbx
mov rax, qword [rbx]
mov qword [rsp + 0x48], rdi
call qword [rax + 0x1a0]
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret