Function at 0x1400800f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400c7008]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov eax, dword [rcx + 0x2b0]
lea r9, [rsp + 0x30]
mov rbx, qword [rcx + 0x18]
lea rdx, [rbp - 0x80]
xorps xmm0, xmm0
mov dword [rbp - 0x80], reloc.WS2_32.dll_listen
xorps xmm1, xmm1
mov qword [rbp - 0x78], pe_nt_image_headers64
xor edi, edi
mov dword [rbp - 0x68], eax
mov rcx, rbx
mov qword [rsp + 0x38], rdi
mov r8d, pe_nt_image_headers64
mov qword [rsp + 0x40], rdi
mov dword [rbp - 0x70], edi
mov dword [rbp - 0x64], edi
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmmword [rbp + 0x90], xmm1
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400802c3
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
lea r8d, [rdi + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400802c3
cmp dword [rsp + 0x70], edi
je 0x140080290
lea ecx, [rdi + 0x20]
call fcn.14000e3d0
test al, al
je 0x14008035b
mov ecx, dword [rsp + 0x70]
lea rdx, [rsp + 0x38]
call fcn.14000ebf0
mov r9d, dword [rsp + 0x70]
lea rdx, str.TUN:_enabling_dhcp_using_service_failed:__s__status_u_if_index_d_
mov r8, rax
lea ecx, [rdi + 0x20]
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x20], eax
call fcn.14000e000
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140080261
nop dword [rax + rax]
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
test rbx, rbx
jne 0x140080250
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x14008035b
nop
mov rcx, qword [rdi + 0x10]
mov rbx, qword [rdi]
call qword [rdi + reloc.WS2_32.dll_htonl]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, rbx
test rbx, rbx
jne 0x140080270
jmp 0x14008035b
cmp dword [0x1400cfe94], 1
jb 0x1400802bc
mov ecx, 1
call fcn.14000e3d0
test al, al
je 0x1400802bc
mov r8d, dword [rbp - 0x68]
lea rdx, str.DHCP_enabled_on_interface__d_using_service
mov ecx, 1
call fcn.14000e000
mov al, 1
jmp 0x14008035d
mov ecx, 0x40
call fcn.14000e3d0
test al, al
je 0x14008035b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x48]
call fcn.14000ebf0
mov r9, rax
mov dword [rsp + 0x20], ebx
lea r8, str.Enable_dhcp
mov ecx, 0x40
lea rdx, str._s:_could_not_talk_to_service:__s___lu_
call fcn.14000e000
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140080331
nop dword [rax + rax]
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
test rbx, rbx
jne 0x140080320
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14008035b
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx]
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, rdi
test rdi, rdi
jne 0x140080340
xor al, al
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140088150
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret