Function at 0x140040470
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov r12, rcx
xor r13d, r13d
mov dword [rbp + 0xf], r13d
mov qword [rbp - 0x79], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
mov rax, qword [0x1419a41a8]
test rax, rax
jne 0x1400404e3
mov qword [rbp - 0x29], 2
movdqu xmmword [rbp - 0x21], xmm0
lea rax, [0x140285bf8]
mov qword [rbp - 0x11], rax
lea rdx, [0x1401e6e30]
lea rcx, [rbp - 0x29]
call fcn.140022730
jmp 0x140040856
mov r14, qword [rax + 8]
mov rax, qword [r14 + 0x80]
movsxd rbx, dword [rax]
mov r15, qword [r14 + 0x88]
mov rdi, rbx
mov rdx, rbx
lea rcx, [rbp - 0x79]
call fcn.14003d060
cmp qword [r14 + 0x98], 0
je 0x14004079e
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.140017720
nop
mov rcx, qword [rax]
mov qword [rbp + 0x17], rcx
mov rcx, qword [rax + 8]
mov qword [rbp + 0x1f], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp + 0x27], rcx
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x14004057d
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14004057d
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x59]
call fcn.140030bb0
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140042430
nop
mov eax, dword [r14 + 0x90]
cmp ebx, eax
je 0x1400406cd
mov ebx, r13d
test eax, eax
jle 0x1400406cd
mov rsi, r13
nop dword [rax + rax]
mov r11, qword [r14 + 0x98]
mov r10, qword [r11 + rsi]
mov r9, r13
test rdi, rdi
jle 0x1400405f3
mov rax, qword [r15 + r9*8]
mov r8, r10
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400405e3
inc rax
test ecx, ecx
jne 0x1400405d0
test edx, edx
je 0x1400406ba
inc r9
cmp r9, rdi
jl 0x1400405c3
test r10, r10
je 0x14004060c
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [r10 + rax], 0
jne 0x140040600
jmp 0x14004060f
mov rax, r13
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r10
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x59], xmm0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.140017590
nop
mov rdx, qword [rax]
mov qword [rbp - 0x59], rdx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x51], rcx
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x49], rax
test rdx, rdx
je 0x14004064d
lock inc dword [rdx]
lea rax, [rbp - 0x59]
mov qword [rbp + 0x6f], rax
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 9]
call fcn.14003e7b0
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x14004068f
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14004068f
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x59]
call fcn.140030bb0
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400406ba
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400406ba
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x29]
call fcn.140030bb0
inc ebx
add rsi, 8
cmp ebx, dword [r14 + 0x90]
jl 0x1400405b0
mov rax, qword [rbp - 9]
mov qword [r12], rax
mov rax, qword [rbp - 1]
mov qword [r12 + 8], rax
mov rax, qword [rbp + 7]
mov qword [r12 + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r13
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14004071f
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14004071f
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x17]
call fcn.140030bb0
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x140040870
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140040870
mov rax, qword [rbp - 0x69]
lea rcx, [rax + rax*2]
mov rbx, qword [rbp - 0x71]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x140040785
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004077c
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14004077c
mov edx, 2
mov r8d, 8
mov rcx, qword [rbx]
call fcn.140030bb0
add rbx, 0x18
cmp rbx, rdi
jne 0x140040753
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x79]
call fcn.140030bb0
jmp 0x140040870
test ebx, ebx
jle 0x140040856
mov rbx, r13
nop dword [rax]
mov rcx, qword [r15 + rbx*8]
test rcx, rcx
je 0x1400407cb
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400407c0
jmp 0x1400407ce
mov rax, r13
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rcx
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x59], xmm0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.140017590
nop
mov r8, rax
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x79]
call fcn.14000ad10
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x14004080d
mov eax, dword [rax]
cmp eax, 1
jle 0x14004081f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.14000a560
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14004084a
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14004084a
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x29]
call fcn.140030bb0
inc rbx
cmp rbx, rdi
jl 0x1400407b0
mov rax, qword [rbp - 0x79]
mov qword [r12], rax
mov rax, qword [rbp - 0x71]
mov qword [r12 + 8], rax
mov rax, qword [rbp - 0x69]
mov qword [r12 + 0x10], rax
mov rax, r12
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret