Function at 0x1000034ac
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x890
mov rax, qword [0x100006110]
xor rax, rsp
mov qword [rsp + 0x880], rax
xor ebx, ebx
mov rsi, r8
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x207
mov rbp, rbx
mov r12d, ebx
mov byte [rsp + 0x30], bl
call sub.msvcrt.dll_memset
mov edi, 0x206
lea rcx, [rsp + 0x672]
xor edx, edx
mov r8, rdi
mov word [rsp + 0x670], bx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x462]
mov r8, rdi
xor edx, edx
mov word [rsp + 0x460], bx
call sub.msvcrt.dll_memset
lea edx, [rbx + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov r13d, 0x104
cmp eax, ebx
jne 0x100003615
mov edi, 0x80004005
mov rcx, qword [0x100006780]
lea r8, [rsp + 0x460]
mov r9d, r13d
mov edx, 0x61b
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, qword [0x100006780]
lea r8, [rsp + 0x670]
mov r9d, r13d
mov edx, 0x61c
call qword [sym.imp.USER32.dll_LoadStringW]
lea r8, [rsp + 0x460]
lea rdx, [rsp + 0x670]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp rbp, rbx
je 0x1000035bd
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x100006780]
cmp rcx, rbx
je 0x1000035d6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x100006780], rbx
cmp r12d, ebx
je 0x1000035e1
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp edi, ebx
setl bl
mov eax, ebx
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.100004680
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
call fcn.100004160
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
mov edi, eax
jl 0x100003557
lea rcx, [rsp + 0x240]
mov edx, r13d
mov r12d, 1
mov rdi, rbx
call fcn.100003168
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea rdx, [0x100001890]
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp eax, ebx
je 0x10000368b
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
mov qword [0x100006780], rdi
cmp rdi, rbx
je 0x100003552
cmp rsi, rbx
je 0x1000036b7
lea rdx, [0x100001838]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call fcn.1000032a0
jmp 0x1000036b9
mov eax, ebx
mov dword [0x100006704], eax
cmp rsi, rbx
je 0x1000036f5
lea r8, [rsp + 0x134]
lea rdx, [0x100001848]
mov r9d, r13d
mov rcx, rsi
call fcn.1000032a0
lea r8, [rsp + 0x30]
lea rdx, [0x100001850]
mov r9d, r13d
mov rcx, rsi
call fcn.1000032a0
lea rcx, [rsp + 0x350]
mov edx, r13d
call fcn.100003168
lea rcx, [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rdx, [0x100001880]
lea rcx, [rsp + 0x350]
cmp eax, ebx
cmove rcx, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
cmp rax, rbx
je 0x100003552
lea rdx, [0x1000018a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x100006788], rax
cmp rax, rbx
je 0x100003552
mov eax, dword [0x100006704]
lea rcx, [0x100001bac]
lea r9, [0x1000024b0]
cmp eax, ebx
cmovne r9, rcx
mov rcx, qword [0x100006780]
neg eax
sbb rdx, rdx
lea rax, [rsp + 0x30]
xor r8d, r8d
and edx, 4
mov qword [rsp + 0x20], rax
add rdx, 0x44d
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 0xffffffff
jne 0x1000037ac
mov edi, 0x8000ffff
jmp 0x100003557
mov edi, ebx
jmp 0x1000035af