Function at 0x180067c40
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18011c010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rcx, qword [0x18011ec20]
mov rbx, qword [0x18011ec68]
test rcx, rcx
je 0x180067c7e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movsx edx, byte [rbx]
lea rcx, str.__t_v_r_n_f
xor edi, edi
mov qword [0x18011ec20], rdi
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
je 0x180067cb9
nop dword [rax]
movsx edx, byte [rbx + 1]
lea rcx, str.__t_v_r_n_f
inc rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
jne 0x180067ca0
mov r8d, 4
lea rdx, str.R02S
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x180067e42
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax + 4], dil
jne 0x180067ce0
cmp rax, 0x20
jb 0x180067e42
mov rax, qword [rbx + 4]
lea r9, [rbp - 0x40]
mov r8d, reloc.WS2_32.dll_recv
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x38]
mov byte [rbp - 0x18], dil
lea rcx, [rbp - 0x20]
call fcn.180061e10
cmp dword [rbp - 0x40], edi
je 0x180067d1f
neg rax
mov dword [rbp - 0x30], eax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x180067d35
mov esi, 1
cmp byte [rax], dil
jne 0x180067d37
mov esi, edi
mov rax, qword [rbx + 0xc]
lea r9, [rbp - 0x40]
mov r8d, reloc.WS2_32.dll_recv
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.180061e10
cmp dword [rbp - 0x40], edi
je 0x180067d5e
neg rax
mov dword [rbp - 0x2c], eax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x180067d74
cmp byte [rax], dil
mov eax, 1
jne 0x180067d76
mov eax, edi
add esi, eax
lea r9, [rbp - 0x40]
mov rax, qword [rbx + 0x14]
lea rdx, [rbp - 0x38]
mov r8d, reloc.WS2_32.dll_recv
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.180061e10
cmp dword [rbp - 0x40], edi
je 0x180067d9f
neg rax
mov dword [rbp - 0x28], eax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x180067db5
cmp byte [rax], dil
mov eax, 1
jne 0x180067db7
mov eax, edi
add esi, eax
lea r9, [rbp - 0x40]
mov rax, qword [rbx + 0x1c]
lea rdx, [rbp - 0x38]
mov r8d, reloc.WS2_32.dll_recv
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.180061e10
cmp dword [rbp - 0x40], edi
je 0x180067de0
neg rax
mov dword [rbp - 0x24], eax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x180067df6
cmp byte [rax], dil
je 0x180067df6
mov edi, 1
lea eax, [rdi + rsi]
test eax, eax
jne 0x180067e42
mov edx, 0x9c4
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x180067e62
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x9c4
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop dword [rax]
jmp 0x180067e40
mov r9, rbx
lea r8, str.Unknown_or_invalid_random_seed:__s
mov edx, 4
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop dword [rax]
jmp 0x180067e60
mov r8d, 4
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sym.glib_2.0.dll_g_rand_set_seed_array
mov qword [0x18011ec20], rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800989b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret