Function at 0x1800218b0
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 [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rdi, r8
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x180204850]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.180241e00
mov rcx, rax
mov rdx, rbx
call fcn.180241ec0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [rsp + 0x20]
call fcn.18015ec20
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.18001fcb0
mov rcx, rax
call fcn.18001f020
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 0x180021bc9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1803e7600]
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 0x180021a30
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021a2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180021a2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
lea rcx, [rbp - 0x80]
call fcn.180193f90
call fcn.180232db0
call fcn.180232e50
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.180020080
test al, al
je 0x180021b6e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], bx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x180021af3
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180004ea0
nop
lea rcx, [rbp - 0x60]
call fcn.180021290
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180021b5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021b56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180021b56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
lea rcx, [rbp - 0x60]
call fcn.180021020
nop
lea rcx, [rbp - 0x60]
call fcn.18001ff80
call fcn.18001fcb0
mov rcx, rax
call fcn.18001f0f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop
call fcn.180232db0
mov rbx, qword [rax]
cmp byte [rbx], 0
je 0x180021bbf
call fcn.1801a9fd0
mov rdx, rbx
mov rcx, rax
call fcn.1801aa2d0
xor edx, edx
mov rcx, rbx
call fcn.1801a5e80
mov byte [rbx], 0
lea rcx, [rbp - 0x80]
call fcn.180004e20
nop
cmp byte [rsp + 0x30], 0
je 0x180021bdc
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rcx, [rsp + 0x20]
call fcn.18015ed40
xor eax, eax
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
jmp 0x1800218b0