Function at 0x140008a60
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
call fcn.14000bcd0
add rsp, 0x28
jmp 0x140008a60
mov rax, rsp
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor eax, eax
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [rsp + 0x58], rdi
lea rax, vtable.CefMainArgs.0
mov qword [rsp + 0x48], rax
mov ecx, 0x90
call fcn.140011d94
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140008ad2
lea edx, [rdi + 1]
mov rcx, rax
call fcn.1400091a0
mov rbx, rax
jmp 0x140008ad5
mov rbx, rdi
test rbx, rbx
je 0x140008aee
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rbx
mov rax, qword [rcx]
call qword [rax]
mov rdx, qword [0x140060328]
mov qword [0x140060328], rbx
test rdx, rdx
je 0x140008b16
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
add rdx, 8
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, vtable.CefStructBase_struct_CefSettingsTraits_.0
mov qword [rsp + 0x70], rax
xor edx, edx
mov r8d, 0x168
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xe0], rdi
mov qword [rsp + 0x78], 0x168
lea rdx, [0x140060358]
lea rcx, [rbp + 0xf0]
call fcn.1400022b0
nop
lea rdi, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov qword [rsp + 0x20], rdi
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x30], 0
lea rcx, [rbp + 0xf0]
call fcn.1400032d0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400088b0
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140008bb3
cmp byte [rsp + 0x30], 0
je 0x140008bb3
mov rcx, rbx
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, rbx
call fcn.140011dd0
nop
lea rcx, [rbp + 0xf0]
call fcn.140002500
lea rcx, [rsp + 0x70]
call fcn.14000bad0
lea rcx, [rbp + 0x110]
call fcn.14000ba60
nop
mov qword [rsp + 0x20], rdi
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x30], 0
lea rcx, [rbp + 0x110]
call fcn.1400032d0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400088b0
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140008c29
cmp byte [rsp + 0x30], 0
je 0x140008c29
mov rcx, rbx
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, rbx
call fcn.140011dd0
mov qword [rsp + 0x20], rdi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x30], 0
lea rcx, [rbp + 0x110]
call fcn.1400032d0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400088b0
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140008c7c
cmp byte [rsp + 0x30], 0
je 0x140008c7c
mov rcx, rbx
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, rbx
call fcn.140011dd0
lea rdx, str.debug.log
lea rcx, [rbp + 0xf0]
call fcn.140002330
nop
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x130]
call fcn.14003a2a0
nop
lea rcx, [rbp + 0xf0]
call fcn.140002500
mov qword [rsp + 0x20], rdi
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x30], 0
lea rcx, [rbp + 0x130]
call fcn.1400032d0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400088b0
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140008d0a
cmp byte [rsp + 0x30], 0
je 0x140008d0a
mov rcx, rbx
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, rbx
call fcn.140011dd0
mov dword [rbp - 0x3c], 1
mov dword [rbp - 0x7c], 1
mov dword [rbp - 0x44], 1
lea rcx, str.SU_CEF_DBG_PORT
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140008d61
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ebx, eax
test eax, eax
jle 0x140008d61
mov dword [rbp + 0xb4], eax
lea rdx, str.CEF_remote_debugging_port_set_to__i.
lea rcx, [rsp + 0x20]
call fcn.140002330
mov edx, ebx
mov rcx, rax
call fcn.140039ed0
mov rax, qword [0x140060328]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140008d86
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax]
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140015af0
mov byte [0x140060330], al
call fcn.1400058e0
nop
lea rcx, [rbp + 0x130]
call fcn.140002500
nop
lea rcx, [rbp + 0x110]
call fcn.140002500
nop
lea rcx, [rsp + 0x70]
call fcn.1400087f0
nop
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140011d70
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret