Function at 0x140004340
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rbp + 0x200], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r8d, r8d
mov rsi, 0xffffffffffffffff
mov rdi, rax
mov ecx, r8d
mov eax, r8d
mov qword [rsp + 0x58], rcx
mov edx, r8d
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rdx
mov r13d, r8d
mov r15d, r8d
mov r14d, r8d
nop dword [rax]
inc rsi
cmp word [rdi + rsi*2], ax
jne 0x1400043b0
cmp word [rdi], 0x22
mov rbx, r8
sete r12b
test rsi, rsi
je 0x140004761
nop dword [rax]
test r12b, r12b
je 0x140004400
test rbx, rbx
je 0x140004741
cmp word [rdi + rbx*2], 0x22
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
jne 0x140004750
xor r12b, r12b
jmp 0x140004750
lea r10, [rdi + rbx*2]
mov r11, r8
mov rax, r8
lea rcx, [0x140003000]
mov r9d, 0x2d
nop word [rax + rax]
movzx edx, word [r10 + rax]
cmp dx, r9w
je 0x14000445f
lea eax, [rdx - 0x41]
mov r8d, edx
cmp ax, 0x19
ja 0x140004442
lea ecx, [rdx + 0x20]
movzx eax, r9w
cmp ecx, eax
je 0x140004458
sub dx, 0x61
cmp dx, 0x19
ja 0x1400044c4
lea ecx, [r8 - 0x20]
movzx eax, r9w
cmp ecx, eax
jne 0x1400044c4
lea rcx, [0x140003000]
inc r11
lea rax, [r11 + r11]
movzx r9d, word [rax + rcx + 0x113c0]
test r9w, r9w
jne 0x140004420
lea r13, [rax + r10]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
xor r8d, r8d
test rbx, rbx
je 0x14000449e
cmp word [rdi + rbx*2 - 2], 0x20
jne 0x14000449e
mov word [rdi + rbx*2 - 2], r8w
dec rbx
add rbx, r11
test r13, r13
je 0x140004750
test r15, r15
je 0x140004750
test r14, r14
jne 0x140004768
jmp 0x140004750
xor eax, eax
lea r10, [rdi + rbx*2]
mov r11d, eax
lea rcx, [0x140003000]
mov r9d, 0x2d
nop word [rax + rax]
movzx edx, word [r10 + rax]
cmp dx, r9w
je 0x14000451f
lea eax, [rdx - 0x41]
mov r8d, edx
cmp ax, 0x19
ja 0x140004502
lea ecx, [rdx + 0x20]
movzx eax, r9w
cmp ecx, eax
je 0x140004518
sub dx, 0x61
cmp dx, 0x19
ja 0x14000453e
lea ecx, [r8 - 0x20]
movzx eax, r9w
cmp ecx, eax
jne 0x14000453e
lea rcx, [0x140003000]
inc r11
lea rax, [r11 + r11]
movzx r9d, word [rax + rcx + 0x113d0]
test r9w, r9w
jne 0x1400044e0
lea r15, [rax + r10]
jmp 0x140004479
xor eax, eax
lea r10, [rdi + rbx*2]
mov r11d, eax
lea rcx, [0x140003000]
mov r9d, 0x2d
movzx edx, word [r10 + rax]
cmp dx, r9w
je 0x140004593
lea eax, [rdx - 0x41]
mov r8d, edx
cmp ax, 0x19
ja 0x140004576
lea ecx, [rdx + 0x20]
movzx eax, r9w
cmp ecx, eax
je 0x14000458c
sub dx, 0x61
cmp dx, 0x19
ja 0x1400045c0
lea ecx, [r8 - 0x20]
movzx eax, r9w
cmp ecx, eax
jne 0x1400045c0
lea rcx, [0x140003000]
inc r11
lea rax, [r11 + r11]
movzx r9d, word [rax + rcx + 0x113e8]
test r9w, r9w
jne 0x140004554
mov rcx, qword [rsp + 0x58]
add rax, r10
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
jmp 0x140004488
xor eax, eax
lea r10, [rdi + rbx*2]
mov r11d, eax
lea rcx, [0x140003000]
mov r9d, 0x2d
nop word [rax + rax]
movzx edx, word [rax + r10]
cmp dx, r9w
je 0x14000461f
lea eax, [rdx - 0x41]
mov r8d, edx
cmp ax, 0x19
ja 0x140004602
lea ecx, [rdx + 0x20]
movzx eax, r9w
cmp ecx, eax
je 0x140004618
sub dx, 0x61
cmp dx, 0x19
ja 0x140004648
lea ecx, [r8 - 0x20]
movzx eax, r9w
cmp ecx, eax
jne 0x140004648
lea rcx, [0x140003000]
inc r11
lea rax, [r11 + r11]
movzx r9d, word [rax + rcx + 0x113f8]
test r9w, r9w
jne 0x1400045e0
mov rdx, qword [rsp + 0x50]
lea rcx, [rax + r10]
mov qword [rsp + 0x58], rcx
jmp 0x140004483
xor eax, eax
lea r10, [rdi + rbx*2]
mov r11d, eax
lea rcx, [0x140003000]
mov r9d, 0x2d
nop
movzx edx, word [rax + r10]
cmp dx, r9w
je 0x14000469f
lea eax, [rdx - 0x41]
mov r8d, edx
cmp ax, 0x19
ja 0x140004682
lea ecx, [rdx + 0x20]
movzx eax, r9w
cmp ecx, eax
je 0x140004698
sub dx, 0x61
cmp dx, 0x19
ja 0x1400046c3
lea ecx, [r8 - 0x20]
movzx eax, r9w
cmp ecx, eax
jne 0x1400046c3
lea rcx, [0x140003000]
inc r11
lea rax, [r11 + r11]
movzx r9d, word [rax + rcx + 0x11410]
test r9w, r9w
jne 0x140004660
lea rdx, [r10 + rax]
mov qword [rsp + 0x50], rdx
jmp 0x14000447e
xor eax, eax
lea r10, [rdi + rbx*2]
mov r11d, eax
lea rcx, [0x140003000]
mov r9d, 0x2d
nop dword [rax]
movzx edx, word [rax + r10]
cmp dx, r9w
je 0x14000471f
lea eax, [rdx - 0x41]
mov r8d, edx
cmp ax, 0x19
ja 0x140004702
lea ecx, [rdx + 0x20]
movzx eax, r9w
cmp ecx, eax
je 0x140004718
sub dx, 0x61
cmp dx, 0x19
ja 0x14000473e
lea ecx, [r8 - 0x20]
movzx eax, r9w
cmp ecx, eax
jne 0x14000473e
lea rcx, [0x140003000]
inc r11
lea rax, [r11 + r11]
movzx r9d, word [rax + rcx + 0x11430]
test r9w, r9w
jne 0x1400046e0
lea r14, [rax + r10]
jmp 0x140004479
xor r8d, r8d
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
inc rbx
cmp rbx, rsi
jb 0x1400043d0
test r14, r14
jne 0x140004768
lea r14, str.GameOverlayRenderer64.dll
test rax, rax
je 0x140004777
test rcx, rcx
je 0x140004777
test rdx, rdx
jne 0x140004789
test r13, r13
je 0x140004914
test r15, r15
je 0x140004914
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x208
call fcn.1400128a0
mov edx, 0x2f
mov rcx, r14
call fcn.1400058f0
test rax, rax
jne 0x140004810
mov edx, 0x5c
mov rcx, r14
call fcn.1400058f0
test rax, rax
jne 0x140004810
mov r8d, 0x104
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
dec eax
xor ebx, ebx
cmp eax, 0x102
ja 0x140004812
mov edx, 0x104
mov word [rbp + 0x1f6], bx
lea rcx, [rbp - 0x10]
call fcn.14000861c
lea rdx, str.binx64launcher.exe
lea rcx, [rbp - 0x10]
call fcn.140005968
test rax, rax
je 0x14000480a
mov word [rax], bx
jmp 0x140004812
mov word [rbp - 0x10], bx
jmp 0x140004812
xor ebx, ebx
mov r8, r14
lea rcx, [rbp - 0x10]
mov edx, 0x104
call fcn.140008310
test r13, r13
je 0x140004866
test r15, r15
je 0x140004866
xor edx, edx
mov r8d, 0x10
mov rcx, r13
call fcn.140008ef8
xor edx, edx
movsxd rbx, eax
mov r8d, 0x10
mov rcx, r15
call fcn.140008ef8
movsxd r8, eax
lea rcx, [rbp - 0x10]
mov rdx, rbx
call fcn.140004000
xor eax, eax
jmp 0x140004919
mov rdx, qword [rsp + 0x58]
xorps xmm0, xmm0
mov rcx, qword [rsp + 0x60]
xor eax, eax
mov qword [rsp + 0x78], rax
xor r9d, r9d
lea rax, [rsp + 0x68]
mov dword [rbp - 0x80], 0x68
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebx
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140004910
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x10]
mov rdx, qword [rsp + 0x68]
call fcn.140004000
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140004919
mov eax, 1
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140004ac0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret