Function at 0x10001980c
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xc8
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov esi, 0x80000000
lea rdi, [0x100082100]
mov rcx, rdi
mov rax, qword [0x100082100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rcx, rdi
mov rax, qword [0x100082100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rcx, rdi
mov rax, qword [0x100082100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov rcx, rdi
mov rax, qword [0x100082100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xa0], rax
mov rcx, rdi
mov rax, qword [0x100082100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x110], rax
xor ebp, ebp
mov dword [rsp + 0x108], ebp
mov rbx, rbp
mov rcx, rdi
mov rax, qword [0x100082100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x118], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x40], ebp
lea rcx, [rsp + 0x48]
call fcn.10001fe6c
mov word [rsp + 0x50], bp
mov dword [rsp + 0x54], ebp
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x5c], ebp
mov dword [rsp + 0x60], ebp
mov dword [rsp + 0x64], ebp
mov dword [rsp + 0x68], ebp
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x7c], ebp
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0x90], ebp
lea rcx, [rsp + 0x88]
call fcn.10001fe6c
lea r13d, [rbp + 1]
mov dword [rsp + 0x94], r13d
mov dword [rsp + 0x98], ebp
mov dword [rsp + 0x9c], ebp
lea rcx, [rsp + 0xa0]
call fcn.10001fe6c
mov dword [rsp + 0xa8], ebp
mov dword [rsp + 0xac], ebp
mov rdi, qword [0x100082fd8]
mov rdx, qword [0x100083838]
mov ecx, r13d
sub ecx, dword [rdx - 8]
mov eax, dword [rdx - 0xc]
mov r12d, 0x104
sub eax, r12d
or eax, ecx
jge 0x100019995
mov edx, r12d
lea rcx, [0x100083838]
call fcn.10001fc6c
mov rdx, qword [0x100083838]
cmp dword [rdx - 0xc], r12d
jge 0x1000199a6
mov ecx, 0x80070057
call fcn.10001fd10
int3
mov dword [rdx - 0x10], r12d
mov rax, qword [0x100083838]
mov word [rax + 0x208], bp
mov rax, qword [0x100083838]
mov r8d, dword [rax - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r12, 0xffffffffffffffff
cmp eax, ebp
je 0x100019d30
mov rdx, qword [0x100083838]
cmp rdx, rbp
jne 0x1000199eb
mov ecx, ebp
jmp 0x100019a04
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r13
cmp ecx, ebp
jl 0x100019d25
cmp ecx, dword [rdx - 0xc]
jg 0x100019d25
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [0x100083838]
mov word [rax + rcx*2], bp
mov rax, qword [0x100083838]
mov ecx, ebp
cmp dword [rax - 0x10], ebp
setne cl
cmp ecx, ebp
je 0x100019d30
call fcn.100033a80
mov dword [reloc.OLEAUT32.dll_SysStringLen], eax
call fcn.10001da90
call fcn.10001e7fc
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rdx, [rsp + 0x108]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
cmp rax, rbp
jne 0x100019a91
lea rdx, [0x1000025a0]
mov ecx, r13d
call fcn.10001dcc0
lea rdx, [0x1000025f8]
mov ecx, 3
call fcn.10001dcc0
jmp 0x100019d30
mov r8, rdi
lea rdx, [0x100002630]
mov ecx, r13d
call fcn.10001e170
mov dword [rsp + 0x100], ebp
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [0x10001baf4]
mov r8, r13
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
cmp eax, ebp
je 0x100019af0
cmp dword [rsp + 0x100], 0x18
jne 0x100019af0
lea rdx, [0x100002660]
mov ecx, r13d
call fcn.10001dcc0
mov r8d, r13d
jmp 0x100019b05
lea rdx, [0x1000026a8]
mov ecx, r13d
call fcn.10001dcc0
mov r8d, 2
mov rdx, qword [0x100082fd8]
lea rcx, [0x1000026e8]
call fcn.100030f64
cmp eax, ebp
je 0x100019b34
lea r8, [0x100002700]
mov edx, eax
mov ecx, 3
call fcn.10001de60
jmp 0x100019d30
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x40]
mov rdx, rbx
mov ecx, dword [rsp + 0x108]
call fcn.10001bd90
mov edi, eax
mov r8, qword [rsp + 0xa0]
cmp dword [r8 - 0x10], ebp
je 0x100019b6f
lea rdx, [0x100002778]
mov ecx, r13d
call fcn.10001e170
lea rdx, [0x1000025a0]
mov ecx, r13d
call fcn.10001dcc0
cmp edi, ebp
jne 0x100019ba6
mov rdx, qword [rsp + 0x110]
mov ecx, 3
call fcn.10001dcc0
lea rcx, [rsp + 0x110]
call fcn.10001b5a4
jmp 0x100019d30
mov edi, dword [rsp + 0x40]
cmp edi, ebp
cmove edi, r13d
mov dword [rsp + 0x40], edi
cmp edi, 4
jne 0x100019c00
lea rdx, [0x100005b10]
lea rcx, [rsp + 0x30]
call fcn.10001ff98
nop
lea rcx, [rsp + 0x30]
call fcn.10001b5a4
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x100019d30
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x100019d30
cmp dword [rsp + 0x98], ebp
je 0x100019c57
cmp dword [reloc.OLEAUT32.dll_SysStringLen], 2
jne 0x100019c25
lea rdx, [0x100002790]
mov ecx, 2
call fcn.10001dcc0
jmp 0x100019c57
call fcn.100030a6c
cmp eax, ebp
je 0x100019c46
mov dword [0x1000834b8], r13d
lea rdx, [0x100002850]
mov ecx, r13d
call fcn.10001dcc0
jmp 0x100019c57
lea rdx, [0x1000028b0]
mov ecx, 3
call fcn.10001dcc0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov rdx, qword [rbx]
lea rcx, [rsp + 0xb0]
call fcn.10001ff98
nop
mov edx, dword [rsp + 0x94]
mov rcx, rax
call fcn.10001cfd0
cmp eax, ebp
jne 0x100019ca1
mov r8, qword [rbx]
lea rdx, [0x100002920]
mov ecx, 3
call fcn.10001e170
jmp 0x100019d30
lea rcx, [rsp + 0x118]
call fcn.100034c6c
cmp eax, ebp
jne 0x100019cc9
mov r8, qword [rsp + 0x118]
lea rdx, [0x100002990]
mov ecx, r13d
call fcn.10001e170
lea rax, [0x10001da6c]
mov qword [0x100083740], rax
mov qword [0x100083748], rbp
mov qword [0x100083750], rbp
cmp edi, r13d
je 0x100019d02
cmp edi, r13d
jle 0x100019d0e
cmp edi, 3
jg 0x100019d0e
lea rcx, [rsp + 0x40]
call fcn.10001a654
mov esi, eax
jmp 0x100019d0e
lea rcx, [rsp + 0x40]
call fcn.100019fc0
mov esi, eax
mov qword [0x100083740], rbp
mov qword [0x100083748], rbp
mov qword [0x100083750], rbp
jmp 0x100019d30
mov ecx, 0x80070057
call fcn.10001fd10
int3
mov r8d, esi
lea rdx, [0x1000029d8]
mov ecx, r13d
call fcn.10001e170
mov rcx, qword [0x100083508]
cmp rcx, rbp
je 0x100019d5b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x100083508], rbp
mov qword [0x100083510], rbp
mov word [0x100083520], bp
mov dword [0x100083518], ebp
cmp dword [0x1000834b8], ebp
je 0x100019d7c
call fcn.100030c48
cmp rbx, rbp
je 0x100019d8a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.10001e600
lea rcx, [0x1000827c0]
call fcn.1000308a8
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rdx, qword [rsp + 0x118]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x100019dc7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x110]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x100019dec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x100019e10
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x100019e34
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x100019e55
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x100019e76
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
add rsp, 0xc8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret