Function at 0x1800222b0
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 [0x1804cc010]
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 0x180022340
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.180004ea0
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 0x180022a9e
cmp dword [rsp + 0x40], 2
jl 0x180022a95
mov rdx, qword [rax + 8]
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800223d4
lea rcx, [rbp - 0x58]
call fcn.180004ea0
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.180004ea0
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.180011650
cmp rax, 0xffffffffffffffff
je 0x1800224ff
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 0x1800234fc
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.180004ea0
mov dword [rsp + 0x30], 1
lea rcx, [rbp + 0xc8]
call fcn.180004e20
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 0x18002258d
mov byte [r13 + 0x88], 1
lea rdx, [rbp + 0xc8]
mov rcx, r13
call fcn.180024870
test al, al
jne 0x180022a43
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rax, qword [rbp]
cmp rax, 8
jb 0x180022578
lea rdx, [rax*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180022570
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022570
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180386950
mov qword [rbp - 8], rsi
mov qword [rbp], 7
mov word [rbp - 0x18], si
jmp 0x180023499
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 0x1800227ce
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 0x1800227ca
movzx ecx, word [rax]
cmp cx, 0x2d
je 0x180022602
add rax, 2
sub rdx, 1
jmp 0x1800225e9
test rax, rax
je 0x1800227ca
mov r9d, 6
lea rdx, str.__pic
mov r8, rax
nop dword [rax + rax]
cmp cx, word [rdx]
jne 0x180022639
add r8, 2
add rdx, 2
sub r9, 1
je 0x18002263f
movzx ecx, word [r8]
jmp 0x180022620
add rax, 2
jmp 0x1800225e0
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x1800227ca
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.180004ea0
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.180011650
lea rcx, [rdi + rax]
cmp rcx, qword [rbp - 0x48]
jae 0x180022764
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 0x180023502
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.180004ea0
or r12d, 2
mov dword [rsp + 0x30], r12d
lea rcx, [rbp - 0x38]
call fcn.180004e20
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 0x18002276b
mov rdi, 0xffffffffffffffff
mov byte [r13 + 0x89], 1
cmp r15, 8
jb 0x1800227b1
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1800227a9
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800227a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180386950
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], si
mov r14, qword [rbp - 0x18]
jmp 0x180022934
mov r8, qword [rbp - 0x40]
lea r10, [rbp - 0x58]
cmp r8, 8
cmovae r10, r15
cmp rbx, 0x17
jb 0x18002288a
lea r11, [rbx - 0x16]
lea r11, [r10 + r11*2]
mov rax, r10
nop
mov rdx, r11
sub rdx, rax
sar rdx, 1
je 0x180022886
movzx ecx, word [rax]
cmp cx, 0x2d
je 0x180022812
add rax, 2
sub rdx, 1
jmp 0x1800227f9
test rax, rax
je 0x180022886
mov r9d, 0x17
lea rdx, str._immediately_experience
mov r8, rax
cmp cx, word [rdx]
jne 0x180022840
add r8, 2
add rdx, 2
sub r9, 1
je 0x180022846
movzx ecx, word [r8]
jmp 0x180022827
add rax, 2
jmp 0x1800227f0
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x180022886
cmp dword [rsp + 0x40], 3
jl 0x180022879
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + 0x10]
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x180022865
lea rcx, [rbp - 0x38]
call fcn.180004ea0
mov byte [r13 + 0x8a], 1
jmp 0x180022934
mov r8, qword [rbp - 0x40]
lea r10, [rbp - 0x58]
cmp r8, 8
cmovae r10, r15
cmp rbx, 0x12
jb 0x18002291c
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 0x180022918
movzx ecx, word [rax]
cmp cx, 0x2d
je 0x1800228ce
add rax, 2
sub rdx, 1
jmp 0x1800228b9
test rax, rax
je 0x180022918
mov r9d, 0x12
lea rdx, str._restart_picviewer
mov r8, rax
cmp cx, word [rdx]
jne 0x1800228fc
add r8, 2
add rdx, 2
sub r9, 1
je 0x180022902
movzx ecx, word [r8]
jmp 0x1800228e3
add rax, 2
jmp 0x1800228b0
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x180022918
mov byte [r13 + 0x8b], 1
jmp 0x180022934
mov r8, qword [rbp - 0x40]
lea rdx, [rbp - 0x58]
cmp r8, 8
cmovae rdx, r15
mov r8, rbx
lea rcx, [rbp - 0x38]
call fcn.180004ea0
cmp qword [rbp - 0x28], 0
je 0x1800229eb
mov edx, 4
lea rcx, [rbp - 0x38]
call fcn.18015a4f0
lea rcx, [rbp - 0x38]
call fcn.1801584d0
test al, al
je 0x1800229eb
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 0x1800229ca
mov eax, eax
cmp rax, r8
je 0x1800229ca
lea rax, [rbp + 0x2f0]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1800229b0
lea rcx, [r13 + 0x60]
mov r8, rdi
lea rdx, [rbp + 0x2f0]
jmp 0x1800229e5
lea rcx, [r13 + 0x60]
lea rax, [rbp - 0x38]
cmp rcx, rax
je 0x1800229eb
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
call fcn.180004ea0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x180022a2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180022a29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022a29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
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 0x180022a85
lea rdx, [rax*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180022a7d
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022a7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180386950
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 [0x1804cf338], eax
mov edx, 0x5a
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x1804ce77c], eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1804cf338]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1803e74a8]
movss dword [0x1804ce7ac], xmm0
cmp eax, 0x60
sete byte [0x1804cd541]
mulss xmm0, dword [0x1803e7580]
cvttss2si eax, xmm0
mov dword [0x1804cf3b8], eax
mov rcx, r13
call fcn.180023560
test al, al
je 0x180023499
mov rax, qword [r13 + 0xd0]
lea rcx, [0x180000000]
test rax, rax
cmovne rcx, rax
xchg qword [0x1804dd0e0], rcx
mov ecx, 8
call fcn.180386914
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 [0x1804dd0e0]
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.18015f9a0
cmp dword [rbp + 0x1d4], 6
jb 0x180022c6e
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, [0x1803c1118]
lea rcx, [rbp + 0x68]
call fcn.180004ea0
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 0x180022c56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180022c51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022c51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], si
jmp 0x180022d2f
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, [0x1803c110c]
lea rcx, [rbp + 0x88]
call fcn.180004ea0
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 0x180022d16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180022d11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022d11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
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 0x180023499
lea rbx, [rax + 8]
mov qword [rsp + 0x50], rbx
mov edx, dword [rbx + 8]
movsxd r8, dword [rbx + 0xc]
cmp edx, r8d
jne 0x180022e05
mov r9, qword [rbx]
lea rax, [rsp + 0x78]
cmp rax, r9
jb 0x180022dca
lea rcx, [r9 + r8*8]
lea rax, [rsp + 0x78]
cmp rax, rcx
jb 0x180023508
test r8d, r8d
jne 0x180022dd5
lea edi, [r8 + 1]
jmp 0x180022ddc
lea edi, [rdx + rdx]
test edi, edi
js 0x180022e23
movsxd rdx, edi
cmp rdx, 0xfffffff
ja 0x180022e23
mov r8d, 8
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x180022e23
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 0x180022e20
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 0x180022e9b
mov r9, qword [rbx]
lea rax, [rsp + 0x50]
cmp rax, r9
jb 0x180022e60
lea rcx, [r9 + r8*8]
lea rax, [rsp + 0x50]
cmp rax, rcx
jb 0x1800234f1
test r8d, r8d
jne 0x180022e6b
lea edi, [r8 + 1]
jmp 0x180022e72
lea edi, [rdx + rdx]
test edi, edi
js 0x180022eb9
movsxd rdx, edi
cmp rdx, 0xfffffff
ja 0x180022eb9
mov r8d, 8
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x180022eb9
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 0x180022eb6
mov qword [rdx], r15
inc dword [rbx + 8]
mov rcx, r13
call fcn.180020de0
test al, al
je 0x180023499
mov ecx, 0xb0
call fcn.180386914
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.180263270
mov rbx, rax
lea rcx, [rbp + 0xa8]
call fcn.1801fe370
nop
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x78]
call fcn.180004ad0
nop
mov rdx, rax
mov rcx, rbx
call fcn.180263a80
test al, al
je 0x180023437
mov rdx, rbx
lea rcx, [r13 + 0x20]
call fcn.180017700
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 8
jb 0x180022f73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180022f6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180022f6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], si
cmp byte [r13 + 0x88], 0
jne 0x1800230e3
cmp byte [r13 + 0x8b], 0
je 0x180022fed
lea rcx, [rbp + 0x158]
call fcn.1802442d0
nop
lea rcx, [rbp + 0x158]
call fcn.1802460e0
nop
test al, al
lea rax, vtable.RC::RCVersionUpdateTask.0
mov qword [rbp + 0x158], rax
je 0x180022fe1
lea rcx, [rbp + 0x160]
call fcn.180004e20
jmp 0x180023499
lea rcx, [rbp + 0x160]
jmp 0x1800230ca
cmp byte [r13 + 0x8a], 0
jne 0x1800230cf
lea rcx, [rbp + 0x128]
call fcn.1802442d0
nop
lea rcx, [rbp + 0x128]
call fcn.180244f60
test al, al
je 0x1800230b5
call fcn.180024a30
test al, al
jne 0x1800230b5
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.180245820
movzx ebx, al
mov rcx, qword [rbp + 0x1c8]
test rcx, rcx
je 0x180023092
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 0x1800230b5
lea rax, vtable.RC::RCVersionUpdateTask.0
mov qword [rbp + 0x128], rax
lea rcx, [rbp + 0x130]
call fcn.180004e20
jmp 0x180023499
lea rax, vtable.RC::RCVersionUpdateTask.0
mov qword [rbp + 0x128], rax
lea rcx, [rbp + 0x130]
call fcn.180004e20
lea rdx, [r13 + 0x60]
mov rcx, r13
call fcn.180024610
test al, al
je 0x180023499
mov rcx, r13
call fcn.1800239d0
test al, al
je 0x180023499
mov ecx, ILFree
call fcn.180386914
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.180261b90
nop
lea rax, vtable.RC::RCViewerCommandCenter.0
mov qword [rbx], rax
mov qword [rbx + 0x90], r13
mov ecx, 0x48
call fcn.180386914
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.18012ed10
nop
lea rcx, [rbx + 8]
mov rdx, rax
call fcn.18008b9c0
lea rcx, [rbx + 0x10]
lea r8, str.ioef
lea rdx, [0x1804ce000]
call fcn.18008bb00
nop
mov rdx, rbx
lea rcx, [r13 + 0x28]
call fcn.180021e90
mov ecx, 0xa8
call fcn.180386914
mov qword [rsp + 0x38], rax
movss xmm1, dword [0x1804ce7ac]
mov rcx, rax
call fcn.18004d0e0
nop
mov rdx, rax
lea rcx, [r13 + 0x40]
call fcn.180017700
mov rcx, qword [r13 + 0x40]
test rcx, rcx
je 0x180023499
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 0x180023499
mov ecx, 0x110
call fcn.180386914
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.180043020
nop
lea rbx, [r13 + 0x48]
mov rdx, rax
mov rcx, rbx
call fcn.180017700
cmp qword [rbx], 0
je 0x180023433
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 0x18002323d
lea rdx, [rbp + 0xe8]
call fcn.18023a130
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.180004e20
mov rcx, qword [r13 + 0x80]
test rcx, rcx
je 0x18002328f
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.180017700
mov ecx, 0xbf0
call fcn.180386914
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.18010f590
nop
mov rdx, rax
lea rcx, [r13 + 0x30]
call fcn.180025450
mov rcx, qword [r13 + 0x30]
add rcx, 0x608
mov rdx, qword [r13 + 0x10]
call fcn.180017700
mov rcx, qword [r13 + 0x30]
mov rax, qword [0x1804dd0e0]
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.180017700
mov rcx, qword [r13 + 0x30]
add rcx, 0x620
mov rdx, qword [r13 + 0x38]
call fcn.180017700
mov rcx, qword [r13 + 0x30]
add rcx, 0x610
mov rdx, qword [r13 + 0x20]
call fcn.180017700
mov ecx, 0x28
call fcn.180386914
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.1800ab070
nop
mov rdx, rax
lea rcx, [r13 + 0xb0]
call fcn.1800253b0
mov rcx, qword [r13 + 0xb0]
mov rax, qword [r13 + 0x28]
mov qword [rax + 0x28], rcx
call fcn.180230ab0
mov rbx, rax
lea r14, [rax + 0x30]
cmp qword [r14], 0
jne 0x180023433
xchg byte [rax + 0x178], sil
mov ecx, 0x20
call fcn.180386914
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.180386914
mov qword [rax], rbx
lea rcx, [0x180230f70]
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.180232860
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800233f6
mov edx, 0x10
call fcn.180386950
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.180231b20
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180023433
call fcn.180003f90
mov bl, 1
jmp 0x18002349b
mov rdx, qword [rbp + 0xc0]
cmp rdx, 8
jb 0x180023480
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002347b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002347b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], si
xor bl, bl
lea rcx, [rbp - 0x58]
call fcn.180004e20
nop
lea rcx, [rbp + 0xc8]
call fcn.180004e20
nop
lea rcx, [rbp + 0x108]
call fcn.180004e20
movzx eax, bl
mov rcx, qword [rbp + 0x710]
xor rcx, rsp
call fcn.1803868f0
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.1800185f0
nop
call fcn.18000ae90
nop
call fcn.18000ae90
nop
mov ecx, 0x80004005
call fcn.1800185f0
int3