Function at 0x180020080
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 [0x1804cc010]
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 0x1800200f5
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.180004ea0
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 0x180020212
cmp dword [rsp + 0x20], 2
jl 0x180020209
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 0x180020173
mov r8, rdi
lea rcx, [rsp + 0x78]
call fcn.180004ea0
nop
lea rcx, [rbx + 0x58]
lea rax, [rsp + 0x78]
cmp rcx, rax
je 0x1800201b3
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
call fcn.180004ea0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1800201f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800201f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800201f2
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], 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.1800216c0
test al, al
je 0x180020863
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.18015f9a0
cmp dword [rbp + 0x44], 6
jb 0x1800202f6
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, [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 - 0x50]
cmp rdx, 8
jb 0x1800202e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800202db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800202db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
jmp 0x180020395
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, [0x1803c110c]
lea rcx, [rbp - 0x48]
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 - 0x48]
mov rcx, rax
call qword [r9 + 0x18]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x180020384
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002037f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002037f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
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 0x180020863
lea rdi, [rax + 8]
mov qword [rsp + 0x28], rdi
mov edx, dword [rdi + 8]
movsxd r8, dword [rdi + 0xc]
cmp edx, r8d
jne 0x18002046b
mov r9, qword [rdi]
lea rax, [rsp + 0x38]
cmp rax, r9
jb 0x180020430
lea rcx, [r9 + r8*8]
lea rax, [rsp + 0x38]
cmp rax, rcx
jb 0x180020903
test r8d, r8d
jne 0x18002043b
lea esi, [r8 + 1]
jmp 0x180020442
lea esi, [rdx + rdx]
test esi, esi
js 0x180020489
movsxd rdx, esi
cmp rdx, 0xfffffff
ja 0x180020489
mov r8d, 8
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x180020489
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 0x180020486
mov qword [rdx], rbx
inc dword [rdi + 8]
test rbx, rbx
je 0x180020499
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
jmp 0x1800204a1
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 0x180020513
mov r9, qword [rdi]
lea rax, [rsp + 0x28]
cmp rax, r9
jb 0x1800204d5
lea rcx, [r9 + r8*8]
lea rax, [rsp + 0x28]
cmp rax, rcx
jb 0x1800208f8
test r8d, r8d
jne 0x1800204e0
lea r14d, [r8 + 1]
jmp 0x1800204e9
lea r14d, [rdx + rdx]
test r14d, r14d
js 0x180020531
movsxd rdx, r14d
cmp rdx, 0xfffffff
ja 0x180020531
mov r8d, 8
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x180020531
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 0x18002052e
mov qword [rdx], rsi
inc dword [rdi + 8]
mov rcx, rbx
call fcn.180020de0
test al, al
je 0x180020863
mov ecx, 0xb0
call fcn.180386914
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.180263270
mov rdi, rax
lea rcx, [rbp - 0x28]
call fcn.1801fe370
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x58]
call fcn.180004ad0
nop
mov rdx, rax
mov rcx, rdi
call fcn.180263a80
test al, al
je 0x18002080f
mov rcx, qword [rbx + 0x20]
cmp rcx, rdi
je 0x1800205ba
test rdi, rdi
je 0x1800205ab
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1800205b6
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbx + 0x20], rdi
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800205fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800205f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800205f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
mov rcx, rbx
call fcn.180020910
test al, al
je 0x180020863
mov rcx, rbx
call fcn.180020b50
test al, al
je 0x180020863
mov ecx, ILFree
call fcn.180386914
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.180261b90
nop
lea rax, vtable.RC::RCExplorerCommandCenter.0
mov qword [rdi], rax
mov qword [rdi + 0x90], rbx
mov ecx, 0x48
call fcn.180386914
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.18012f390
nop
mov rsi, qword [rdi + 8]
mov qword [rdi + 8], rax
test rsi, rsi
je 0x180020699
mov qword [rsp + 0x40], rsi
mov rcx, rsi
call fcn.18008ba20
mov edx, 0x48
mov rcx, rsi
call fcn.180386950
lea rcx, [rdi + 0x10]
lea r8, [0x1804cd9d0]
lea rdx, [0x1804cd6d0]
call fcn.18008bb00
mov rcx, rdi
call fcn.180089de0
nop
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], rdi
test rcx, rcx
je 0x1800206d0
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov ecx, 0xe90
call fcn.180386914
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.18008ea20
mov rsi, rax
mov rcx, qword [rbx + 0x48]
mov qword [rbx + 0x48], rax
test rcx, rcx
je 0x180020706
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 0x18002073c
test rdi, rdi
je 0x18002072a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rsi + 0x128]
test rcx, rcx
je 0x180020735
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 [0x1804dd0e0], r15
mov rdi, qword [rbx + 0x20]
mov rsi, qword [rbx + 0x48]
mov rcx, qword [rsi + 0x130]
cmp rcx, rdi
je 0x180020788
test rdi, rdi
je 0x180020776
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rsi + 0x130]
test rcx, rcx
je 0x180020781
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 0x1800207d1
test rdi, rdi
je 0x1800207bf
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rsi + 0x138]
test rcx, rcx
je 0x1800207ca
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 0x18002080b
test rdi, rdi
je 0x1800207f9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rbx + 0x540]
test rcx, rcx
je 0x180020804
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbx + 0x540], rdi
mov bl, 1
jmp 0x180020865
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180020852
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002084d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002084d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
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 0x1800208b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800208b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800208b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
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.1803868f0
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.1800185f0
int3
mov ecx, 0x80004005
call fcn.1800185f0
int3