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

Disassembly:
push rbp
lea rbp, [rsp - 0x20b0]
mov eax, 0x21b0
call fcn.180394fd0
sub rsp, rax
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x21c0], rbx
mov qword [rsp + 0x21c8], rsi
mov qword [rsp + 0x21d8], rdi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x20a8], rax
mov rdi, r8
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1802062c0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.18023f270
mov rcx, rax
mov rdx, rbx
call fcn.18023f330
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [rsp + 0x50]
call fcn.1801648f0
nop
mov dword [rsp + 0x30], 1
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
lea r8, [rbp + 0x2060]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
sete byte [rsp + 0x60]
cmp byte [rsp + 0x60], sil
jne 0x180020b09
lea rbx, [rsi - 1]
jmp 0x1800212d0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [rsp + 0x48], 8
mov dword [rsp + 0x4c], 0x7ff
lea rcx, [rsp + 0x48]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.180021450
mov rcx, rax
call fcn.1800206e0
call fcn.180231ac0
call fcn.180231b60
nop
xor edx, edx
mov r8d, 0x201f
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x202f], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
movdqu xmmword [rbp + 0x2070], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x2070], xmm1
mov word [rbp + 0x2060], si
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x180020ba0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x2060]
call fcn.180005cd0
nop
mov edx, 0x20
lea r8, [rsp + 0x30]
lea rcx, [rbp + 0x2060]
call fcn.180164b60
nop
mov rdx, qword [rbp + 0x2078]
cmp rdx, 8
jb 0x180020c1d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2060]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020c18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020c18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x2070], xmm0
mov word [rbp + 0x2060], si
mov dword [rbp + 0x10], 0x2027
mov byte [rbp + 0x102e], 1
mov word [rbp + 0x202f], 0x101
mov rax, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
sub rax, r8
sar rax, 5
test rax, rax
je 0x180020d82
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x180020c72
mov rdx, qword [r8]
mov rcx, rsi
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x180020ca2
nop
cmp ax, 0x39
ja 0x180020ca2
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 0x180020c80
mov qword [rbp + 0x101c], rcx
test rcx, rcx
jne 0x180020cc0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rbp + 0x101c], rax
mov r8, qword [rsp + 0x30]
lea rdx, [r8 + 0x20]
cmp qword [rdx + 0x18], 8
jb 0x180020cce
mov rdx, qword [rdx]
mov rcx, rsi
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x180020d02
nop word [rax + rax]
cmp ax, 0x39
ja 0x180020d02
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 0x180020ce0
test ecx, ecx
setne byte [rbp + 0x102d]
lea rdx, [r8 + 0x40]
cmp qword [rdx + 0x18], 8
jb 0x180020d19
mov rdx, qword [rdx]
mov rcx, rsi
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x180020d47
cmp ax, 0x39
ja 0x180020d47
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 0x180020d25
test ecx, ecx
setne byte [rbp + 0x102c]
lea rcx, [r8 + 0x60]
cmp qword [rcx + 0x18], 8
jb 0x180020d5e
mov rcx, qword [rcx]
lea rdx, [rbp + 0x102f]
sub rdx, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180020d70
jmp 0x180020dc2
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rbp + 0x101c], rax
mov word [rbp + 0x102c], 0x101
movsd xmm0, qword [0x1803cedf8]
movsd qword [rbp + 0x102f], xmm0
mov eax, dword [0x1803cee00]
mov dword [rbp + 0x1037], eax
movzx eax, word [0x1803cee04]
mov word [rbp + 0x103b], ax
mov rbx, rsi
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x68]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x58]
mov qword [rbp], rax
lea rax, [rbp - 0x38]
mov qword [rbp + 0x2060], rax
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], si
mov r8d, 7
lea rdx, str.Version
lea rcx, [rsp + 0x68]
call fcn.180005cd0
nop
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
mov r8d, 7
lea rdx, str.Upgrade
lea rcx, [rbp - 0x78]
call fcn.180005cd0
nop
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], si
mov r8d, 0xa
lea rdx, str.config.ini
lea rcx, [rbp - 0x58]
call fcn.180005cd0
nop
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], si
mov r8d, 7
lea rdx, str.2345Pic
lea rcx, [rbp - 0x38]
call fcn.180005cd0
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x2040]
call fcn.1803716e0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2090], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x2090], xmm1
mov word [rbp + 0x2080], si
mov r8d, 0x14
lea rdx, str.2345ImageCapture.dll
lea rcx, [rbp + 0x2080]
call fcn.180005cd0
nop
lea r8, [rbp + 0x2080]
lea rdx, [rbp + 0x2040]
lea rcx, [rbp + 0x2060]
call fcn.180160610
mov rdi, rax
lea rax, [rbp + 0x2040]
cmp rax, rdi
je 0x180020f45
lea rcx, [rbp + 0x2040]
call fcn.180005c50
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x2040], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x2050], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbp + 0x2078]
cmp rdx, 8
jb 0x180020f8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2060]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020f89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020f89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x2070], xmm0
mov word [rbp + 0x2060], si
mov rdx, qword [rbp + 0x2098]
cmp rdx, 8
jb 0x180020fee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2080]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020fe9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020fe9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x2090], xmm0
mov word [rbp + 0x2080], si
lea rdi, [rbp + 0x2040]
cmp qword [rbp + 0x2058], 8
cmovae rdi, qword [rbp + 0x2040]
mov rax, qword [0x1804f2f30]
test rax, rax
jne 0x180021050
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 [0x1804f2f30], rax
test rax, rax
je 0x1800211b8
mov r8b, 1
xor edx, edx
mov rcx, rdi
call rax
test al, al
je 0x1800211b8
lea rcx, [rbp + 0x2040]
cmp qword [rbp + 0x2058], 8
cmovae rcx, qword [rbp + 0x2040]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x1800211b8
mov rbx, rax
mov qword [rsp + 0x48], rax
lea rdx, str.ScreenshotRun
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800211b8
lea rcx, [rbp + 0x10]
call rax
nop
mov rdx, qword [rbp + 0x2058]
cmp rdx, 8
jb 0x1800210fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2040]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800210f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800210f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x2050], xmm0
mov word [rbp + 0x2040], si
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
cmovne rbx, rsi
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1800211a0
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x180021156
nop dword [rax + rax]
mov rcx, rbx
call fcn.180005c50
add rbx, 0x20
cmp rbx, rdi
jne 0x180021140
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18002118a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002118a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180393fb0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
call fcn.180021450
mov rcx, rax
call fcn.1800207b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x1800212a5
mov rdx, qword [rbp + 0x2058]
cmp rdx, 8
jb 0x180021201
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2040]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800211fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800211fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x2050], xmm0
mov word [rbp + 0x2040], si
test rbx, rbx
je 0x180021231
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
cmovne rbx, rsi
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1800212a5
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x18002125b
mov rcx, rbx
call fcn.180005c50
add rbx, 0x20
cmp rbx, rdi
jne 0x180021245
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18002128f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002128f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180393fb0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
call fcn.180231ac0
mov rdi, qword [rax]
mov ebx, esi
cmp byte [rdi], sil
je 0x1800212d0
call fcn.1801aec30
mov rdx, rdi
mov rcx, rax
call fcn.1801aef30
xor edx, edx
mov rcx, rdi
call fcn.1801aaae0
mov byte [rdi], bl
cmp byte [rsp + 0x60], 0
je 0x1800212e3
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rcx, [rsp + 0x50]
call fcn.180164a10
mov eax, ebx
mov rcx, qword [rbp + 0x20a8]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0x21b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
jmp 0x180020a40