Function at 0x180022940
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x748]
sub rsp, 0x820
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x710], rax
mov r13, rcx
xor esi, esi
mov r12d, esi
mov dword [rsp + 0x30], esi
lea ecx, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rbp + 0x118], rsi
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x118], rsi
mov qword [rbp + 0x120], 7
mov word [rbp + 0x108], si
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x1800229d0
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.180004e70
nop
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], 7
mov word [rbp + 0xc8], si
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], si
mov dword [rsp + 0x40], esi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18002312e
cmp dword [rsp + 0x40], 2
jl 0x180023125
mov rdx, qword [rax + 8]
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x180022a64
lea rcx, [rbp - 0x58]
call fcn.180004e70
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], 7
mov word [rbp - 0x18], si
mov r8d, 6
lea rdx, str.__shm
lea rcx, [rbp - 0x18]
call fcn.180004e70
nop
lea r9, [rbp - 0x18]
mov r14, qword [rbp - 0x18]
cmp qword [rbp], 8
cmovae r9, r14
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
mov rbx, qword [rbp - 8]
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, qword [rbp - 0x48]
call fcn.180011d40
cmp rax, 0xffffffffffffffff
je 0x180022b8f
lea rcx, [rbx + rax]
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], 7
mov word [rbp + 8], si
mov rax, qword [rbp - 0x48]
cmp rax, rcx
jb 0x180023b8c
sub rax, rcx
mov r8, rdi
cmp rax, rdi
cmovb r8, rax
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 8]
call fcn.180004e70
mov dword [rsp + 0x30], 1
lea rcx, [rbp + 0xc8]
call fcn.180004df0
movups xmm0, xmmword [rbp + 8]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], 7
mov word [rbp + 8], si
mov r12d, 1
and r12d, 0xfffffffe
mov dword [rsp + 0x30], r12d
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], 7
mov word [rbp + 8], si
cmp qword [rbp + 0xd8], 0
je 0x180022c1d
mov byte [r13 + 0x88], 1
lea rdx, [rbp + 0xc8]
mov rcx, r13
call fcn.180024f00
test al, al
jne 0x1800230d3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rax, qword [rbp]
cmp rax, 8
jb 0x180022c08
lea rdx, [rax*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180022c00
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022c00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180385c70
mov qword [rbp - 8], rsi
mov qword [rbp], 7
mov word [rbp - 0x18], si
jmp 0x180023b29
mov byte [r13 + 0x88], 0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], si
lea r10, [rbp - 0x58]
mov r15, qword [rbp - 0x58]
mov r8, qword [rbp - 0x40]
cmp r8, 8
cmovae r10, r15
mov rbx, qword [rbp - 0x48]
cmp rbx, 6
jb 0x180022e5e
lea r11, [rbx - 5]
lea r11, [r10 + r11*2]
mov rax, r10
nop word [rax + rax]
mov rdx, r11
sub rdx, rax
sar rdx, 1
je 0x180022e5a
movzx ecx, word [rax]
cmp cx, 0x2d
je 0x180022c92
add rax, 2
sub rdx, 1
jmp 0x180022c79
test rax, rax
je 0x180022e5a
mov r9d, 6
lea rdx, str.__pic
mov r8, rax
nop dword [rax + rax]
cmp cx, word [rdx]
jne 0x180022cc9
add r8, 2
add rdx, 2
sub r9, 1
je 0x180022ccf
movzx ecx, word [r8]
jmp 0x180022cb0
add rax, 2
jmp 0x180022c70
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x180022e5a
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], si
mov r8d, 6
lea rdx, str.__pic
lea rcx, [rbp + 0x48]
call fcn.180004e70
nop
lea r9, [rbp + 0x48]
mov r14, qword [rbp + 0x48]
mov r15, qword [rbp + 0x60]
cmp r15, 8
cmovae r9, r14
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
mov rdi, qword [rbp + 0x58]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, qword [rbp - 0x48]
call fcn.180011d40
lea rcx, [rdi + rax]
cmp rcx, qword [rbp - 0x48]
jae 0x180022df4
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], si
mov rax, qword [rbp - 0x48]
cmp rax, rcx
jb 0x180023b92
sub rax, rcx
mov rdi, 0xffffffffffffffff
mov r8, rdi
cmp rax, rdi
cmovb r8, rax
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 0x28]
call fcn.180004e70
or r12d, 2
mov dword [rsp + 0x30], r12d
lea rcx, [rbp - 0x38]
call fcn.180004df0
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rbp + 0x38]
movups xmmword [rbp - 0x28], xmm1
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], si
and r12d, 0xfffffffd
mov dword [rsp + 0x30], r12d
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], si
jmp 0x180022dfb
mov rdi, 0xffffffffffffffff
mov byte [r13 + 0x89], 1
cmp r15, 8
jb 0x180022e41
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180022e39
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022e39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180385c70
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], si
mov r14, qword [rbp - 0x18]
jmp 0x180022fc4
mov r8, qword [rbp - 0x40]
lea r10, [rbp - 0x58]
cmp r8, 8
cmovae r10, r15
cmp rbx, 0x17
jb 0x180022f1a
lea r11, [rbx - 0x16]
lea r11, [r10 + r11*2]
mov rax, r10
nop
mov rdx, r11
sub rdx, rax
sar rdx, 1
je 0x180022f16
movzx ecx, word [rax]
cmp cx, 0x2d
je 0x180022ea2
add rax, 2
sub rdx, 1
jmp 0x180022e89
test rax, rax
je 0x180022f16
mov r9d, 0x17
lea rdx, str._immediately_experience
mov r8, rax
cmp cx, word [rdx]
jne 0x180022ed0
add r8, 2
add rdx, 2
sub r9, 1
je 0x180022ed6
movzx ecx, word [r8]
jmp 0x180022eb7
add rax, 2
jmp 0x180022e80
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x180022f16
cmp dword [rsp + 0x40], 3
jl 0x180022f09
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + 0x10]
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x180022ef5
lea rcx, [rbp - 0x38]
call fcn.180004e70
mov byte [r13 + 0x8a], 1
jmp 0x180022fc4
mov r8, qword [rbp - 0x40]
lea r10, [rbp - 0x58]
cmp r8, 8
cmovae r10, r15
cmp rbx, 0x12
jb 0x180022fac
lea r11, [rbx - 0x11]
lea r11, [r10 + r11*2]
mov rax, r10
nop dword [rax + rax]
mov rdx, r11
sub rdx, rax
sar rdx, 1
je 0x180022fa8
movzx ecx, word [rax]
cmp cx, 0x2d
je 0x180022f5e
add rax, 2
sub rdx, 1
jmp 0x180022f49
test rax, rax
je 0x180022fa8
mov r9d, 0x12
lea rdx, str._restart_picviewer
mov r8, rax
cmp cx, word [rdx]
jne 0x180022f8c
add r8, 2
add rdx, 2
sub r9, 1
je 0x180022f92
movzx ecx, word [r8]
jmp 0x180022f73
add rax, 2
jmp 0x180022f40
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x180022fa8
mov byte [r13 + 0x8b], 1
jmp 0x180022fc4
mov r8, qword [rbp - 0x40]
lea rdx, [rbp - 0x58]
cmp r8, 8
cmovae rdx, r15
mov r8, rbx
lea rcx, [rbp - 0x38]
call fcn.180004e70
cmp qword [rbp - 0x28], 0
je 0x18002307b
mov edx, 4
lea rcx, [rbp - 0x38]
call fcn.18015a5e0
lea rcx, [rbp - 0x38]
call fcn.1801585c0
test al, al
je 0x18002307b
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x2f0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
mov r8d, 0x208
lea rdx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov r8, qword [rbp - 0x28]
test eax, eax
je 0x18002305a
mov eax, eax
cmp rax, r8
je 0x18002305a
lea rax, [rbp + 0x2f0]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180023040
lea rcx, [r13 + 0x60]
mov r8, rdi
lea rdx, [rbp + 0x2f0]
jmp 0x180023075
lea rcx, [r13 + 0x60]
lea rax, [rbp - 0x38]
cmp rcx, rax
je 0x18002307b
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
call fcn.180004e70
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1800230be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800230b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800230b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], si
mov r15, qword [rsp + 0x48]
mov rax, qword [rbp]
cmp rax, 8
jb 0x180023115
lea rdx, [rax*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x18002310d
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002310d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180385c70
mov qword [rbp - 8], rsi
mov qword [rbp], 7
mov word [rbp - 0x18], si
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov edx, 0x58
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x1804cd338], eax
mov edx, 0x5a
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x1804cc77c], eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1804cd338]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1803e65e8]
movss dword [0x1804cc7ac], xmm0
cmp eax, 0x60
sete byte [0x1804cb541]
mulss xmm0, dword [0x1803e66c0]
cvttss2si eax, xmm0
mov dword [0x1804cd3b8], eax
mov rcx, r13
call fcn.180023bf0
test al, al
je 0x180023b29
mov rax, qword [r13 + 0xd0]
lea rcx, [0x180000000]
test rax, rax
cmovne rcx, rax
xchg qword [0x1804db0a0], rcx
mov ecx, 8
call fcn.180385c34
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call qword [sym.imp.2345MiniUI.dll_public:_void___cdecl_RC::RCMiniUIRenderFactorySkia::constructor_void____ptr64]
lea rax, vtable.RC::RCMiniUIRenderFactorySkia.0
mov qword [rbx], rax
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIAppModule____ptr64___cdecl_RC::RCMiniUIAppModule::Instance_void_]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.2345MiniUI.dll_public:_bool___cdecl_RC::RCMiniUIAppModule::SetRenderFactory_class_RC::RCMiniUIRenderFactory____ptr64____ptr64]
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIAppModule____ptr64___cdecl_RC::RCMiniUIAppModule::Instance_void_]
mov rcx, rax
lea rdx, [0x180000000]
call qword [sym.imp.2345MiniUI.dll_public:_void___cdecl_RC::RCMiniUIAppModule::Init_struct_HINSTANCE______ptr64____ptr64]
mov rbx, qword [0x1804db0a0]
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIAppModule____ptr64___cdecl_RC::RCMiniUIAppModule::Instance_void_]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.2345MiniUI.dll_public:_void___cdecl_RC::RCMiniUIAppModule::SetResourceHandle_struct_HINSTANCE______ptr64____ptr64]
lea rcx, [rbp + 0x1d0]
call fcn.18015fa90
cmp dword [rbp + 0x1d4], 6
jb 0x1800232fe
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], si
mov r8d, 4
lea rdx, [0x1803c0178]
lea rcx, [rbp + 0x68]
call fcn.180004e70
nop
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIFontPoolInterface____ptr64___cdecl_RC::RCMiniUIResourceManager::GetGolobalFontPool_void_]
mov r9, qword [rax]
mov r8d, 0xfffffff4
lea rdx, [rbp + 0x68]
mov rcx, rax
call qword [r9 + 0x18]
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x1800232e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800232e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800232e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], si
jmp 0x1800233bf
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], si
mov r8d, 2
lea rdx, [0x1803c016c]
lea rcx, [rbp + 0x88]
call fcn.180004e70
nop
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIFontPoolInterface____ptr64___cdecl_RC::RCMiniUIResourceManager::GetGolobalFontPool_void_]
mov r9, qword [rax]
mov r8d, 0xfffffff4
lea rdx, [rbp + 0x88]
mov rcx, rax
call qword [r9 + 0x18]
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 8
jb 0x1800233a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800233a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800233a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], si
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIStylePoolInterface____ptr64___cdecl_RC::RCMiniUIManner::GetGlobalStylePool_void_]
mov r8, qword [rax]
mov edx, 0x65
mov rcx, rax
call qword [r8]
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUISkinPoolInterface____ptr64___cdecl_RC::RCMiniUIManner::GetGlobalSkinPool_void_]
mov r8, qword [rax]
mov edx, 0x64
mov rcx, rax
call qword [r8]
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIStringPoolInterface____ptr64___cdecl_RC::RCMiniUIResourceManager::GetGolobalStringPool_void_]
mov r8, qword [rax]
mov edx, 0x66
mov rcx, rax
call qword [r8 + 8]
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIAppModule____ptr64___cdecl_RC::RCMiniUIAppModule::Instance_void_]
mov rcx, rax
call qword [sym.imp.2345MiniUI.dll_public:_void___cdecl_RC::RCMiniUIAppModule::CreateCurrentThreadMessageLoop_void____ptr64]
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIAppModule____ptr64___cdecl_RC::RCMiniUIAppModule::Instance_void_]
mov rcx, rax
call qword [sym.imp.2345MiniUI.dll_public:_class_WTL::CMessageLoop____ptr64___cdecl_RC::RCMiniUIAppModule::GetMessageLoop_void____ptr64]
mov r14, rax
test rax, rax
je 0x180023b29
lea rbx, [rax + 8]
mov qword [rsp + 0x50], rbx
mov edx, dword [rbx + 8]
movsxd r8, dword [rbx + 0xc]
cmp edx, r8d
jne 0x180023495
mov r9, qword [rbx]
lea rax, [rsp + 0x78]
cmp rax, r9
jb 0x18002345a
lea rcx, [r9 + r8*8]
lea rax, [rsp + 0x78]
cmp rax, rcx
jb 0x180023b98
test r8d, r8d
jne 0x180023465
lea edi, [r8 + 1]
jmp 0x18002346c
lea edi, [rdx + rdx]
test edi, edi
js 0x1800234b3
movsxd rdx, edi
cmp rdx, 0xfffffff
ja 0x1800234b3
mov r8d, 8
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x1800234b3
mov dword [rbx + 0xc], edi
mov qword [rbx], rax
mov edx, dword [rbx + 8]
mov dword [rsp + 0x48], edx
movsxd rcx, edx
mov rax, qword [rbx]
lea rdx, [rax + rcx*8]
mov qword [rsp + 0x60], rdx
test rdx, rdx
je 0x1800234b0
mov qword [rdx], r13
inc dword [rbx + 8]
lea r15, [r13 + 8]
mov qword [rsp + 0x50], r15
lea rbx, [r14 + 0x18]
mov qword [rsp + 0x60], rbx
mov edx, dword [rbx + 8]
movsxd r8, dword [rbx + 0xc]
cmp edx, r8d
jne 0x18002352b
mov r9, qword [rbx]
lea rax, [rsp + 0x50]
cmp rax, r9
jb 0x1800234f0
lea rcx, [r9 + r8*8]
lea rax, [rsp + 0x50]
cmp rax, rcx
jb 0x180023b81
test r8d, r8d
jne 0x1800234fb
lea edi, [r8 + 1]
jmp 0x180023502
lea edi, [rdx + rdx]
test edi, edi
js 0x180023549
movsxd rdx, edi
cmp rdx, 0xfffffff
ja 0x180023549
mov r8d, 8
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x180023549
mov dword [rbx + 0xc], edi
mov qword [rbx], rax
mov edx, dword [rbx + 8]
mov dword [rsp + 0x48], edx
movsxd rcx, edx
mov rax, qword [rbx]
lea rdx, [rax + rcx*8]
mov qword [rsp + 0x38], rdx
test rdx, rdx
je 0x180023546
mov qword [rdx], r15
inc dword [rbx + 8]
mov rcx, r13
call fcn.180021470
test al, al
je 0x180023b29
mov ecx, 0xb0
call fcn.180385c34
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.180262590
mov rbx, rax
lea rcx, [rbp + 0xa8]
call fcn.1801fe490
nop
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x78]
call fcn.180004aa0
nop
mov rdx, rax
mov rcx, rbx
call fcn.180262da0
test al, al
je 0x180023ac7
mov rdx, rbx
lea rcx, [r13 + 0x20]
call fcn.180017d90
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 8
jb 0x180023603
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800235fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800235fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], si
cmp byte [r13 + 0x88], 0
jne 0x180023773
cmp byte [r13 + 0x8b], 0
je 0x18002367d
lea rcx, [rbp + 0x158]
call fcn.180242350
nop
lea rcx, [rbp + 0x158]
call fcn.180244160
nop
test al, al
lea rax, vtable.RC::RCVersionUpdateTask.0
mov qword [rbp + 0x158], rax
je 0x180023671
lea rcx, [rbp + 0x160]
call fcn.180004df0
jmp 0x180023b29
lea rcx, [rbp + 0x160]
jmp 0x18002375a
cmp byte [r13 + 0x8a], 0
jne 0x18002375f
lea rcx, [rbp + 0x128]
call fcn.180242350
nop
lea rcx, [rbp + 0x128]
call fcn.180242fe0
test al, al
je 0x180023745
call fcn.1800250c0
test al, al
jne 0x180023745
mov qword [rbp + 0x1c8], rsi
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_96ac14e8daaead47c7dfc386f4341430___int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_.0
mov qword [rbp + 0x190], rax
lea rax, [rbp + 0x190]
mov qword [rbp + 0x1c8], rax
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x108]
mov dl, 1
lea rcx, [rbp + 0x128]
call fcn.1802438a0
movzx ebx, al
mov rcx, qword [rbp + 0x1c8]
test rcx, rcx
je 0x180023722
mov r8, qword [rcx]
lea rax, [rbp + 0x190]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov qword [rbp + 0x1c8], rsi
test bl, bl
je 0x180023745
lea rax, vtable.RC::RCVersionUpdateTask.0
mov qword [rbp + 0x128], rax
lea rcx, [rbp + 0x130]
call fcn.180004df0
jmp 0x180023b29
lea rax, vtable.RC::RCVersionUpdateTask.0
mov qword [rbp + 0x128], rax
lea rcx, [rbp + 0x130]
call fcn.180004df0
lea rdx, [r13 + 0x60]
mov rcx, r13
call fcn.180024ca0
test al, al
je 0x180023b29
mov rcx, r13
call fcn.180024060
test al, al
je 0x180023b29
mov ecx, ILFree
call fcn.180385c34
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.180260eb0
nop
lea rax, vtable.RC::RCViewerCommandCenter.0
mov qword [rbx], rax
mov qword [rbx + 0x90], r13
mov ecx, 0x48
call fcn.180385c34
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.18012ed00
nop
lea rcx, [rbx + 8]
mov rdx, rax
call fcn.18008c070
lea rcx, [rbx + 0x10]
lea r8, str.ioef
lea rdx, [0x1804cc000]
call fcn.18008c1b0
nop
mov rdx, rbx
lea rcx, [r13 + 0x28]
call fcn.180022520
mov ecx, 0xa8
call fcn.180385c34
mov qword [rsp + 0x38], rax
movss xmm1, dword [0x1804cc7ac]
mov rcx, rax
call fcn.18004d770
nop
mov rdx, rax
lea rcx, [r13 + 0x40]
call fcn.180017d90
mov rcx, qword [r13 + 0x40]
test rcx, rcx
je 0x180023b29
mov rax, qword [rcx]
mov rdx, qword [r13 + 0x38]
call qword [rax + 0x30]
mov rcx, qword [r13 + 0x40]
mov rax, qword [rcx]
mov rdx, qword [r13 + 0x20]
call qword [rax + 0x150]
mov rcx, qword [r13 + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x160]
test al, al
je 0x180023b29
mov ecx, 0x110
call fcn.180385c34
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.1800436b0
nop
lea rbx, [r13 + 0x48]
mov rdx, rax
mov rcx, rbx
call fcn.180017d90
cmp qword [rbx], 0
je 0x180023ac3
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], 7
mov word [rbp + 0xe8], si
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x1800238cd
lea rdx, [rbp + 0xe8]
call fcn.1802381b0
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea rdx, [rbp + 0xe8]
call qword [rax + 0x20]
mov rcx, qword [r13 + 0x40]
mov rax, qword [rcx]
mov rdx, qword [rbx]
call qword [rax + 0x40]
nop
lea rcx, [rbp + 0xe8]
call fcn.180004df0
mov rcx, qword [r13 + 0x80]
test rcx, rcx
je 0x18002391f
mov rax, qword [r13 + 0x28]
mov qword [rcx + 0x48], rax
mov rcx, qword [r13 + 0x80]
add rcx, 0x78
mov rdx, qword [r13 + 0x40]
call fcn.180017d90
mov ecx, 0xbf0
call fcn.180385c34
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.18010f8f0
nop
mov rdx, rax
lea rcx, [r13 + 0x30]
call fcn.180025ae0
mov rcx, qword [r13 + 0x30]
add rcx, 0x608
mov rdx, qword [r13 + 0x10]
call fcn.180017d90
mov rcx, qword [r13 + 0x30]
mov rax, qword [0x1804db0a0]
mov qword [rcx + 0xe0], rax
mov rcx, qword [r13 + 0x28]
mov rax, qword [r13 + 0x30]
mov qword [rax + 0x628], rcx
mov rcx, qword [r13 + 0x30]
add rcx, 0x618
mov rdx, qword [r13 + 0x40]
call fcn.180017d90
mov rcx, qword [r13 + 0x30]
add rcx, 0x620
mov rdx, qword [r13 + 0x38]
call fcn.180017d90
mov rcx, qword [r13 + 0x30]
add rcx, 0x610
mov rdx, qword [r13 + 0x20]
call fcn.180017d90
mov ecx, 0x28
call fcn.180385c34
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.1800ab6b0
nop
mov rdx, rax
lea rcx, [r13 + 0xb0]
call fcn.180025a40
mov rcx, qword [r13 + 0xb0]
mov rax, qword [r13 + 0x28]
mov qword [rax + 0x28], rcx
call fcn.18022eb30
mov rbx, rax
lea r14, [rax + 0x30]
cmp qword [r14], 0
jne 0x180023ac3
xchg byte [rax + 0x178], sil
mov ecx, 0x20
call fcn.180385c34
mov rdi, rax
mov qword [rsp + 0x38], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_std::thread_.0
mov qword [rdi], rax
lea rsi, [rdi + 0x10]
mov ecx, 0x10
call fcn.180385c34
mov qword [rax], rbx
lea rcx, [0x18022eff0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x58], rax
mov ebx, dword [rsp + 0x30]
or ebx, 8
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1802308e0
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180023a86
mov edx, 0x10
call fcn.180385c70
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
or ebx, 4
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.18022fba0
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180023ac3
call fcn.180003f60
mov bl, 1
jmp 0x180023b2b
mov rdx, qword [rbp + 0xc0]
cmp rdx, 8
jb 0x180023b10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180023b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180023b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], si
xor bl, bl
lea rcx, [rbp - 0x58]
call fcn.180004df0
nop
lea rcx, [rbp + 0xc8]
call fcn.180004df0
nop
lea rcx, [rbp + 0x108]
call fcn.180004df0
movzx eax, bl
mov rcx, qword [rbp + 0x710]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0x820]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.180018c80
nop
call fcn.18000ae60
nop
call fcn.18000ae60
nop
mov ecx, 0x80004005
call fcn.180018c80
int3