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

Disassembly:
push rbp
lea rbp, [rsp - 0x2010]
mov eax, 0x2110
call fcn.180389480
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x2120], rbx
mov qword [rsp + 0x2128], rsi
mov qword [rsp + 0x2138], rdi
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rbp + 0x2008], rax
mov rdi, r8
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x180205020]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.180242670
mov rcx, rax
mov rdx, rbx
call fcn.180242730
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [rsp + 0x38]
call fcn.18015f2d0
nop
mov dword [rsp + 0x20], 1
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
sete byte [rsp + 0x58]
cmp byte [rsp + 0x58], sil
jne 0x18001fb68
lea rbx, [rsi - 1]
jmp 0x180020253
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [rsp + 0x40], 8
mov dword [rsp + 0x44], 0x7ff
lea rcx, [rsp + 0x40]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.1800203d0
mov rcx, rax
call fcn.18001f740
call fcn.180233620
call fcn.1802336c0
nop
xor edx, edx
mov r8d, 0x201f
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1f8f], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
movdqu xmmword [rbp + 0x1fd0], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x1fd0], xmm1
mov word [rbp + 0x1fc0], si
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x18001fc00
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x1fc0]
call fcn.180004ea0
nop
mov edx, 0x20
lea r8, [rsp + 0x20]
lea rcx, [rbp + 0x1fc0]
call fcn.18015f540
nop
mov rdx, qword [rbp + 0x1fd8]
cmp rdx, 8
jb 0x18001fc7d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1fc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001fc78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001fc78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x1fd0], xmm0
mov word [rbp + 0x1fc0], si
mov dword [rsp + 0x70], 0x2027
mov byte [rbp + 0xf8e], 1
mov word [rbp + 0x1f8f], 0x101
mov rax, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
sub rax, r8
sar rax, 5
test rax, rax
je 0x18001fde2
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x18001fcd3
mov rdx, qword [r8]
mov rcx, rsi
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x18001fd02
nop
cmp ax, 0x39
ja 0x18001fd02
lea rcx, [rcx + rcx*4]
movzx eax, ax
lea rcx, [rcx - 0x18]
lea rcx, [rax + rcx*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x18001fce0
mov qword [rbp + 0xf7c], rcx
test rcx, rcx
jne 0x18001fd20
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rbp + 0xf7c], rax
mov r8, qword [rsp + 0x20]
lea rdx, [r8 + 0x20]
cmp qword [rdx + 0x18], 8
jb 0x18001fd2e
mov rdx, qword [rdx]
mov rcx, rsi
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x18001fd62
nop word [rax + rax]
cmp ax, 0x39
ja 0x18001fd62
lea rcx, [rcx + rcx*4]
movzx eax, ax
lea rcx, [rcx - 0x18]
lea rcx, [rax + rcx*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x18001fd40
test ecx, ecx
setne byte [rbp + 0xf8d]
lea rdx, [r8 + 0x40]
cmp qword [rdx + 0x18], 8
jb 0x18001fd79
mov rdx, qword [rdx]
mov rcx, rsi
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x18001fda7
cmp ax, 0x39
ja 0x18001fda7
lea rcx, [rcx + rcx*4]
movzx eax, ax
lea rcx, [rcx - 0x18]
lea rcx, [rax + rcx*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x18001fd85
test ecx, ecx
setne byte [rbp + 0xf8c]
lea rcx, [r8 + 0x60]
cmp qword [rcx + 0x18], 8
jb 0x18001fdbe
mov rcx, qword [rcx]
lea rdx, [rbp + 0xf8f]
sub rdx, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18001fdd0
jmp 0x18001fe22
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rbp + 0xf7c], rax
mov word [rbp + 0xf8c], 0x101
movsd xmm0, qword [0x1803c1e50]
movsd qword [rbp + 0xf8f], xmm0
mov eax, dword [0x1803c1e58]
mov dword [rbp + 0xf97], eax
movzx eax, word [0x1803c1e5c]
mov word [rbp + 0xf9b], ax
mov rbx, rsi
mov qword [rsp + 0x40], rbx
lea rcx, [rbp + 0x1fa0]
call fcn.1801ffd30
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1fd0], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x1fd0], xmm1
mov word [rbp + 0x1fc0], si
mov r8d, 0x14
lea rdx, str.2345ImageCapture.dll
lea rcx, [rbp + 0x1fc0]
call fcn.180004ea0
nop
lea r8, [rbp + 0x1fc0]
lea rdx, [rbp + 0x1fa0]
lea rcx, [rbp + 0x1fe0]
call fcn.18015aff0
mov rdi, rax
lea rax, [rbp + 0x1fa0]
cmp rax, rdi
je 0x18001fecc
lea rcx, [rbp + 0x1fa0]
call fcn.180004e20
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x1fa0], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x1fb0], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbp + 0x1ff8]
cmp rdx, 8
jb 0x18001ff15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1fe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ff10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001ff10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x1ff0], xmm0
mov word [rbp + 0x1fe0], si
mov rdx, qword [rbp + 0x1fd8]
cmp rdx, 8
jb 0x18001ff75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1fc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ff70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001ff70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x1fd0], xmm0
mov word [rbp + 0x1fc0], si
lea rdi, [rbp + 0x1fa0]
cmp qword [rbp + 0x1fb8], 8
cmovae rdi, qword [rbp + 0x1fa0]
mov rax, qword [0x1804df690]
test rax, rax
jne 0x18001ffd7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.CheckSigner
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1804df690], rax
test rax, rax
je 0x18002013b
mov r8b, 1
xor edx, edx
mov rcx, rdi
call rax
test al, al
je 0x18002013b
lea rcx, [rbp + 0x1fa0]
cmp qword [rbp + 0x1fb8], 8
cmovae rcx, qword [rbp + 0x1fa0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x18002013b
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rdx, str.ScreenshotRun
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002013b
lea rcx, [rsp + 0x70]
call rax
nop
mov rdx, qword [rbp + 0x1fb8]
cmp rdx, 8
jb 0x180020084
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1fa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002007f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002007f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x1fb0], xmm0
mov word [rbp + 0x1fa0], si
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
cmovne rbx, rsi
mov qword [rsp + 0x40], rbx
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x180020123
mov rdi, qword [rsp + 0x28]
cmp rbx, rdi
je 0x1800200d9
mov rcx, rbx
call fcn.180004e20
add rbx, 0x20
cmp rbx, rdi
jne 0x1800200c3
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18002010d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002010d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180388460
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
call fcn.1800203d0
mov rcx, rax
call fcn.18001f810
call qword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x180020228
mov rdx, qword [rbp + 0x1fb8]
cmp rdx, 8
jb 0x180020184
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1fa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002017f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002017f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x1fb0], xmm0
mov word [rbp + 0x1fa0], si
test rbx, rbx
je 0x1800201b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
cmovne rbx, rsi
mov qword [rsp + 0x40], rbx
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x180020228
mov rdi, qword [rsp + 0x28]
cmp rbx, rdi
je 0x1800201de
mov rcx, rbx
call fcn.180004e20
add rbx, 0x20
cmp rbx, rdi
jne 0x1800201c8
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x180020212
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020212
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180388460
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
call fcn.180233620
mov rdi, qword [rax]
mov ebx, esi
cmp byte [rdi], sil
je 0x180020253
call fcn.1801aa680
mov rdx, rdi
mov rcx, rax
call fcn.1801aa980
xor edx, edx
mov rcx, rdi
call fcn.1801a6530
mov byte [rdi], bl
cmp byte [rsp + 0x58], 0
je 0x180020266
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rcx, [rsp + 0x38]
call fcn.18015f3f0
mov eax, ebx
mov rcx, qword [rbp + 0x2008]
xor rcx, rsp
call fcn.180388400
lea r11, [rsp + 0x2110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
jmp 0x18001faa0