Function at 0x140002890
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400771e8]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor r13d, r13d
xorps xmm6, xmm6
movaps xmmword [rbp - 0x69], xmm6
mov qword [rbp - 0x49], r13
lea rax, vtable.CefMainArgs.0
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], r13
lea rcx, str.USER32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetProcessDpiAwarenessContext
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140078800], rax
test rax, rax
je 0x140002915
lea rcx, [r13 - 4]
call rax
test eax, eax
jne 0x14000291a
call fcn.14000f850
lea rcx, [rbp - 0x79]
call fcn.14000e570
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
lea r15, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r13
mov byte [rsp + 0x40], r13b
test rax, rax
je 0x1400029a3
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x140002960
test rdi, rdi
je 0x1400029a3
mov ecx, 0x18
call fcn.14003c7b4
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov byte [rsp + 0x40], 1
lea r9d, [rcx + 1]
mov r8, qword [rsp + 0x38]
mov rdx, rdi
mov rcx, rsi
call sub.libcef.dll_cef_string_utf16_set
lea rdx, [rsp + 0x30]
mov rcx, rbx
call r14
mov qword [rsp + 0x30], r15
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400029d8
cmp byte [rsp + 0x40], r13b
je 0x1400029d8
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, qword [rsp + 0x38]
call fcn.14003c7f0
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x60]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r13
mov ecx, 0x18
call fcn.14003c7b4
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov byte [rsp + 0x40], 1
mov r8, qword [rsp + 0x38]
lea edx, [rcx + 0xa]
lea rcx, str.parent_pid
call sub.libcef.dll_cef_string_utf8_to_utf16
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x41]
mov rcx, rbx
call rdi
lea rdx, [rbp - 0x21]
mov rcx, rax
call fcn.1400024a0
mov qword [rbp - 0x41], r15
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140002a69
cmp byte [rbp - 0x31], r13b
je 0x140002a61
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, qword [rbp - 0x39]
call fcn.14003c7f0
mov qword [rbp - 0x39], r13
mov byte [rbp - 0x31], r13b
mov qword [rsp + 0x30], r15
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140002a93
cmp byte [rsp + 0x40], r13b
je 0x140002a93
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, qword [rsp + 0x38]
call fcn.14003c7f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rbx, [rbp + 0x14]
nop
dec rbx
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [rbx], cl
mov ecx, edx
test edx, edx
jne 0x140002aa0
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
lea rax, [rbp + 0x14]
cmp rbx, rax
jne 0x140002ae8
lea edi, [rdx + 0xf]
mov byte [rbp - 0x41], r13b
mov r14, qword [rbp - 0x41]
jmp 0x140002b6b
lea rsi, [rbp + 0x14]
sub rsi, rbx
movabs rdi, 0x7fffffffffffffff
cmp rsi, rdi
ja 0x140002f47
cmp rsi, 0x10
jae 0x140002b2e
mov qword [rbp - 0x29], 0xf
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x41]
call fcn.14003ea10
mov byte [rbp + rsi - 0x41], r13b
mov rdi, qword [rbp - 0x29]
mov r14, qword [rbp - 0x41]
jmp 0x140002b6b
mov rax, rsi
or rax, 0xf
cmp rax, rdi
ja 0x140002b49
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x41]
call fcn.140002670
mov r14, rax
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003ea10
mov byte [r14 + rsi], r13b
cmp qword [rbp - 0x11], r13
je 0x140002c51
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400787f0], rax
call fcn.1400434e0
mov rsi, rax
lea rbx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rbx, qword [rbp - 0x21]
mov dword [rax], r13d
mov r8d, 0xa
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400438d0
mov r15d, eax
cmp rbx, qword [rsp + 0x30]
je 0x140002f4d
cmp dword [rsi], 0x22
je 0x140002f5a
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov ecx, 0x10
call fcn.14003c7b4
test rax, rax
je 0x140002bfb
mov dword [rax], ebx
mov dword [rax + 4], r15d
lea rcx, [0x1400027d0]
mov qword [rax + 8], rcx
jmp 0x140002bfe
mov rax, r13
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140001850]
xor edx, edx
xor ecx, ecx
call fcn.140043ae8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140002f6d
cmp dword [rbp - 0x61], r13d
jne 0x140002f67
xorps xmm0, xmm0
movaps xmm6, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmmword [rbp - 0x69], xmm6
mov byte [0x1400787f8], 1
mov ecx, 0x70
call fcn.14003c7b4
mov rbx, rax
test rax, rax
je 0x140002db3
lea rax, [0x14005a8d0]
mov qword [rbx + 8], rax
lea rax, [0x14005a8d8]
mov qword [rbx + 0x18], rax
lea rax, [0x14005a8e0]
mov qword [rbx + 0x28], rax
lea rax, [0x14005a8e8]
mov qword [rbx + 0x38], rax
lea rax, vtable.CefApp.0
mov qword [rbx], rax
lea rax, vtable.CefApp.1.0
mov qword [rbx + 0x68], rax
lea rax, vtable.CefRenderProcessHandler.0
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rax + 4]
lea rax, vtable.CefRenderProcessHandler.1.0
mov qword [rcx + rbx + 0x18], rax
lea rax, vtable.CefBrowserProcessHandler.0
mov qword [rbx + 0x20], rax
mov rax, qword [rbx + 0x28]
movsxd rcx, dword [rax + 4]
lea rax, vtable.CefBrowserProcessHandler.1.0
mov qword [rcx + rbx + 0x28], rax
lea rax, vtable.CefV8Handler.0
mov qword [rbx + 0x30], rax
mov rax, qword [rbx + 0x38]
movsxd rcx, dword [rax + 4]
lea rax, vtable.CefV8Handler.1.0
mov qword [rcx + rbx + 0x38], rax
lea rax, vtable.BrowserApp.0
mov qword [rbx], rax
lea rax, vtable.BrowserApp.1.0
mov qword [rbx + 0x10], rax
lea rax, vtable.BrowserApp.2.0
mov qword [rbx + 0x20], rax
lea rax, vtable.BrowserApp.3.0
mov qword [rbx + 0x30], rax
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.BrowserApp.4.0
mov qword [rcx + rbx + 8], rax
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x60]
mov dword [rcx + rbx + 4], edx
mov byte [rbx + 0x40], r13b
mov qword [rbx + 0x48], r13
mov qword [rbx + 0x50], r13
mov ecx, 0x30
call fcn.14003c7b4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx + 0x48], rax
mov dword [rbx + 0x5c], r13d
lea r15, [rbx + 8]
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rbx
mov rax, qword [rcx]
call qword [rax]
mov qword [rsp + 0x30], rbx
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rbx
mov rax, qword [rcx]
call qword [rax]
jmp 0x140002dc1
mov rbx, r13
mov qword [rsp + 0x30], rbx
mov r15d, 8
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x59]
call fcn.14000f860
mov r12d, eax
cmp byte [0x1400787f8], r13b
je 0x140002e2d
mov rcx, qword [0x1400787f0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
movdqa xmm0, xmm6
psrldq xmm0, 8
movd esi, xmm0
test esi, esi
je 0x140002f7d
call sub.KERNEL32.dll_GetCurrentThreadId
cmp esi, eax
je 0x140002f88
movdqa xmmword [rbp - 0x69], xmm6
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.14003c01c
test eax, eax
jne 0x140002f93
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x69], xmm0
mov rcx, qword [0x1400787f0]
test rcx, rcx
je 0x140002e40
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rbx, rbx
je 0x140002e5a
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rbx
mov rax, qword [rcx]
call qword [rax + 8]
nop
cmp rdi, 0x10
jb 0x140002e91
lea rdx, [rdi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140002e89
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002f9e
mov rcx, r14
call fcn.14003c7f0
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140002ecc
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ec7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002f9e
call fcn.14003c7f0
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x140002efb
mov rcx, qword [rax + 8]
movsxd rcx, dword [rcx + 4]
add rax, 8
add rcx, rax
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rax, vtable.CefStructBase_struct_CefMainArgsTraits_.0
mov qword [rbp - 0x59], rax
cmp dword [rbp - 0x61], 0
jne 0x140002f41
mov eax, r12d
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14003c910
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140043984
int3
call fcn.140002650
int3
lea rcx, str.invalid_stoi_argument
call fcn.14003c4c4
int3
lea rcx, str.stoi_argument_out_of_range
call fcn.14003c50c
int3
call fcn.140043984
int3
mov dword [rsp + 0x38], r13d
mov ecx, 6
call fcn.14003c240
int3
mov ecx, 1
call fcn.14003c240
int3
mov ecx, 5
call fcn.14003c240
int3
mov ecx, 2
call fcn.14003c240
int3
call fcn.140043394
int3