Function at 0x180023310
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 [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x28], 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 + 0x20]
call fcn.1801648f0
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.180021450
mov rcx, rax
call fcn.1800206e0
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 0x180023629
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1803f7240]
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.180005cd0
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.180005cd0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180023490
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002348b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002348b
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 [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
lea rcx, [rbp - 0x80]
call fcn.180198bd0
call fcn.180231ac0
call fcn.180231b60
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.180021820
test al, al
je 0x1800235ce
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], bx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x180023553
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180005cd0
nop
lea rcx, [rbp - 0x60]
call fcn.180022c80
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800235bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800235b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800235b6
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 [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
lea rcx, [rbp - 0x60]
call fcn.180022a10
nop
lea rcx, [rbp - 0x60]
call fcn.180021720
call fcn.180021450
mov rcx, rax
call fcn.1800207b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop
call fcn.180231ac0
mov rbx, qword [rax]
cmp byte [rbx], 0
je 0x18002361f
call fcn.1801aec30
mov rdx, rbx
mov rcx, rax
call fcn.1801aef30
xor edx, edx
mov rcx, rbx
call fcn.1801aaae0
mov byte [rbx], 0
lea rcx, [rbp - 0x80]
call fcn.180005c50
nop
cmp byte [rsp + 0x30], 0
je 0x18002363c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rcx, [rsp + 0x20]
call fcn.180164a10
xor eax, eax
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
jmp 0x180023310