Function at 0x180154140
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 [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rdi, r8
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x180204a60]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.18023fe80
mov rcx, rax
mov rdx, rbx
call fcn.18023ff40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [rsp + 0x20]
call fcn.18015ed10
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.180020340
mov rcx, rax
call fcn.18001f6b0
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 0x180022259
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1803e6740]
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.180004e70
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.180004e70
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1800220c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800220bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800220bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
lea rcx, [rbp - 0x80]
call fcn.180194080
call fcn.180230e30
call fcn.180230ed0
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.180020710
test al, al
je 0x1800221fe
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], bx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x180022183
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180004e70
nop
lea rcx, [rbp - 0x60]
call fcn.180021920
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800221eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800221e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800221e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
lea rcx, [rbp - 0x60]
call fcn.1800216b0
nop
lea rcx, [rbp - 0x60]
call fcn.180020610
call fcn.180020340
mov rcx, rax
call fcn.18001f780
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop
call fcn.180230e30
mov rbx, qword [rax]
cmp byte [rbx], 0
je 0x18002224f
call fcn.1801aa0c0
mov rdx, rbx
mov rcx, rax
call fcn.1801aa3c0
xor edx, edx
mov rcx, rbx
call fcn.1801a5f70
mov byte [rbx], 0
lea rcx, [rbp - 0x80]
call fcn.180004df0
nop
cmp byte [rsp + 0x30], 0
je 0x18002226c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rcx, [rsp + 0x20]
call fcn.18015ee30
xor eax, eax
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
jmp 0x180021f40