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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rbp + 0x28], 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 + 0x20]
call fcn.18015f2d0
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [rbp - 0x80], 8
mov dword [rbp - 0x7c], 0x7ff
lea rcx, [rbp - 0x80]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.1800203d0
mov rcx, rax
call fcn.18001f740
mov dword [rsp + 0x40], 1
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
sete byte [rsp + 0x30]
cmp byte [rsp + 0x30], bl
je 0x1800222e9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x80], bx
movdqu xmmword [rsp + 0x70], xmm0
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], bx
lea r8d, [rbx + 7]
lea rdx, str.2345Pic
lea rcx, [rsp + 0x60]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.180004ea0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180022150
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002214b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002214b
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 [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
lea rcx, [rbp - 0x80]
call fcn.180194640
call fcn.180233620
call fcn.1802336c0
nop
lea rax, vtable.WTL::CMessageFilter.0
mov qword [rbp - 0x60], rax
lea rax, vtable.WTL::CIdleHandler.0
mov qword [rbp - 0x58], rax
lea rax, vtable.RC::RCImageExplorerApp.1.0
mov qword [rbp - 0x60], rax
lea rax, vtable.RC::RCImageExplorerApp.0
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], 7
mov word [rbp - 8], bx
lea rcx, [rbp - 0x60]
call fcn.1800207a0
test al, al
je 0x18002228e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], bx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x180022213
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180004ea0
nop
lea rcx, [rbp - 0x60]
call fcn.1800219b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18002227b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180022276
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022276
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 [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
lea rcx, [rbp - 0x60]
call fcn.180021740
nop
lea rcx, [rbp - 0x60]
call fcn.1800206a0
call fcn.1800203d0
mov rcx, rax
call fcn.18001f810
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop
call fcn.180233620
mov rbx, qword [rax]
cmp byte [rbx], 0
je 0x1800222df
call fcn.1801aa680
mov rdx, rbx
mov rcx, rax
call fcn.1801aa980
xor edx, edx
mov rcx, rbx
call fcn.1801a6530
mov byte [rbx], 0
lea rcx, [rbp - 0x80]
call fcn.180004e20
nop
cmp byte [rsp + 0x30], 0
je 0x1800222fc
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rcx, [rsp + 0x20]
call fcn.18015f3f0
xor eax, eax
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.180388400
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
jmp 0x180021fd0