Function at 0x180020710
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rcx
xor r12d, r12d
lea ecx, [r12 + 1]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], r12w
jne 0x180020785
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.180004e70
nop
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r12w
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
je 0x1800208a2
cmp dword [rsp + 0x20], 2
jl 0x180020899
mov rdx, qword [rax + 8]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x180020803
mov r8, rdi
lea rcx, [rsp + 0x78]
call fcn.180004e70
nop
lea rcx, [rbx + 0x58]
lea rax, [rsp + 0x78]
cmp rcx, rax
je 0x180020843
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
call fcn.180004e70
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x180020887
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020882
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020882
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], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rbx + 0x58]
mov rcx, rbx
call fcn.180021d50
test al, al
je 0x180020ef3
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIAppModule____ptr64___cdecl_RC::RCMiniUIAppModule::Instance_void_]
mov rcx, rax
lea r15, [0x180000000]
mov rdx, r15
call qword [sym.imp.2345MiniUI.dll_public:_void___cdecl_RC::RCMiniUIAppModule::Init_struct_HINSTANCE______ptr64____ptr64]
lea rcx, [rbp + 0x40]
call fcn.18015fa90
cmp dword [rbp + 0x44], 6
jb 0x180020986
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
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 - 0x50]
cmp rdx, 8
jb 0x180020970
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002096b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002096b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
jmp 0x180020a25
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
mov r8d, 2
lea rdx, [0x1803c016c]
lea rcx, [rbp - 0x48]
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 - 0x48]
mov rcx, rax
call qword [r9 + 0x18]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x180020a14
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020a0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020a0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
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 0x180020ef3
lea rdi, [rax + 8]
mov qword [rsp + 0x28], rdi
mov edx, dword [rdi + 8]
movsxd r8, dword [rdi + 0xc]
cmp edx, r8d
jne 0x180020afb
mov r9, qword [rdi]
lea rax, [rsp + 0x38]
cmp rax, r9
jb 0x180020ac0
lea rcx, [r9 + r8*8]
lea rax, [rsp + 0x38]
cmp rax, rcx
jb 0x180020f93
test r8d, r8d
jne 0x180020acb
lea esi, [r8 + 1]
jmp 0x180020ad2
lea esi, [rdx + rdx]
test esi, esi
js 0x180020b19
movsxd rdx, esi
cmp rdx, 0xfffffff
ja 0x180020b19
mov r8d, 8
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x180020b19
mov dword [rdi + 0xc], esi
mov qword [rdi], rax
mov edx, dword [rdi + 8]
mov dword [rsp + 0x38], edx
movsxd rcx, edx
mov rax, qword [rdi]
lea rdx, [rax + rcx*8]
mov qword [rsp + 0x40], rdx
test rdx, rdx
je 0x180020b16
mov qword [rdx], rbx
inc dword [rdi + 8]
test rbx, rbx
je 0x180020b29
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
jmp 0x180020b31
mov rsi, r12
mov qword [rsp + 0x28], r12
lea rdi, [r14 + 0x18]
mov qword [rsp + 0x40], rdi
mov edx, dword [rdi + 8]
movsxd r8, dword [rdi + 0xc]
cmp edx, r8d
jne 0x180020ba3
mov r9, qword [rdi]
lea rax, [rsp + 0x28]
cmp rax, r9
jb 0x180020b65
lea rcx, [r9 + r8*8]
lea rax, [rsp + 0x28]
cmp rax, rcx
jb 0x180020f88
test r8d, r8d
jne 0x180020b70
lea r14d, [r8 + 1]
jmp 0x180020b79
lea r14d, [rdx + rdx]
test r14d, r14d
js 0x180020bc1
movsxd rdx, r14d
cmp rdx, 0xfffffff
ja 0x180020bc1
mov r8d, 8
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x180020bc1
mov dword [rdi + 0xc], r14d
mov qword [rdi], rax
mov edx, dword [rdi + 8]
mov dword [rsp + 0x38], edx
movsxd rcx, edx
mov rax, qword [rdi]
lea rdx, [rax + rcx*8]
mov qword [rsp + 0x30], rdx
test rdx, rdx
je 0x180020bbe
mov qword [rdx], rsi
inc dword [rdi + 8]
mov rcx, rbx
call fcn.180021470
test al, al
je 0x180020ef3
mov ecx, 0xb0
call fcn.180385c34
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.180262590
mov rdi, rax
lea rcx, [rbp - 0x28]
call fcn.1801fe490
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x58]
call fcn.180004aa0
nop
mov rdx, rax
mov rcx, rdi
call fcn.180262da0
test al, al
je 0x180020e9f
mov rcx, qword [rbx + 0x20]
cmp rcx, rdi
je 0x180020c4a
test rdi, rdi
je 0x180020c3b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180020c46
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbx + 0x20], rdi
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180020c8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020c88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020c88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
mov rcx, rbx
call fcn.180020fa0
test al, al
je 0x180020ef3
mov rcx, rbx
call fcn.1800211e0
test al, al
je 0x180020ef3
mov ecx, ILFree
call fcn.180385c34
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.180260eb0
nop
lea rax, vtable.RC::RCExplorerCommandCenter.0
mov qword [rdi], rax
mov qword [rdi + 0x90], rbx
mov ecx, 0x48
call fcn.180385c34
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.18012f380
nop
mov rsi, qword [rdi + 8]
mov qword [rdi + 8], rax
test rsi, rsi
je 0x180020d29
mov qword [rsp + 0x40], rsi
mov rcx, rsi
call fcn.18008c0d0
mov edx, 0x48
mov rcx, rsi
call fcn.180385c70
lea rcx, [rdi + 0x10]
lea r8, [0x1804cb9d0]
lea rdx, [0x1804cb6d0]
call fcn.18008c1b0
mov rcx, rdi
call fcn.18008a480
nop
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], rdi
test rcx, rcx
je 0x180020d60
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov ecx, 0xe90
call fcn.180385c34
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.18008f0d0
mov rsi, rax
mov rcx, qword [rbx + 0x48]
mov qword [rbx + 0x48], rax
test rcx, rcx
je 0x180020d96
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
mov rsi, qword [rbx + 0x48]
mov rdi, qword [rbx + 0x10]
mov rcx, qword [rsi + 0x128]
cmp rcx, rdi
je 0x180020dcc
test rdi, rdi
je 0x180020dba
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rsi + 0x128]
test rcx, rcx
je 0x180020dc5
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsi + 0x128], rdi
mov rax, qword [rbx + 0x48]
mov qword [rax + 0x110], r15
xchg qword [0x1804db0a0], r15
mov rdi, qword [rbx + 0x20]
mov rsi, qword [rbx + 0x48]
mov rcx, qword [rsi + 0x130]
cmp rcx, rdi
je 0x180020e18
test rdi, rdi
je 0x180020e06
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rsi + 0x130]
test rcx, rcx
je 0x180020e11
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsi + 0x130], rdi
mov rcx, qword [rbx + 0x28]
mov rax, qword [rbx + 0x48]
mov qword [rax + 0x140], rcx
mov rdi, qword [rbx + 0x30]
mov rsi, qword [rbx + 0x48]
mov rcx, qword [rsi + 0x138]
cmp rcx, rdi
je 0x180020e61
test rdi, rdi
je 0x180020e4f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rsi + 0x138]
test rcx, rcx
je 0x180020e5a
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsi + 0x138], rdi
mov rdi, qword [rbx + 0x38]
mov rbx, qword [rbx + 0x48]
mov rcx, qword [rbx + 0x540]
cmp rcx, rdi
je 0x180020e9b
test rdi, rdi
je 0x180020e89
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rbx + 0x540]
test rcx, rcx
je 0x180020e94
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbx + 0x540], rdi
mov bl, 1
jmp 0x180020ef5
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180020ee2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020edd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020edd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
xor bl, bl
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r12w
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x180020f49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020f44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020f44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
movzx eax, bl
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.180018c80
int3
mov ecx, 0x80004005
call fcn.180018c80
int3