Function at 0x14007b180
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3c0
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
call fcn.140018e60
movzx eax, al
test eax, eax
jne 0x14007b1c9
mov rcx, qword [rsp + 0x3d0]
call fcn.14000ffc0
jmp 0x14007b63a
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x150], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x40], 0
lea r9, [rsp + 0x130]
lea r8, [rsp + 0x150]
xor edx, edx
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.Wlanapi.dll_WlanOpenHandle]
test eax, eax
je 0x14007b22c
mov rcx, qword [rsp + 0x3d0]
call fcn.14000ffc0
jmp 0x14007b63a
mov qword [rsp + 0x138], 0
lea r8, [rsp + 0x138]
xor edx, edx
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.Wlanapi.dll_WlanEnumInterfaces]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x14007b260
jmp 0x14007b5c1
mov rax, qword [rsp + 0x138]
cmp dword [rax], 0
jne 0x14007b272
jmp 0x14007b5c1
mov edx, 8
lea rcx, [rsp + 0x140]
call fcn.14000c8b0
lea rcx, [rsp + 0x140]
call fcn.140022b50
nop
mov rcx, qword [rsp + 0x3d0]
call fcn.140010050
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x14007b2ee
lea rcx, [rsp + 0x140]
call fcn.14000ffc0
jmp 0x14007b5c1
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x128]
add rax, 2
mov rcx, rax
call fcn.140138904
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14007b33e
lea rcx, [rsp + 0x140]
call fcn.14000ffc0
jmp 0x14007b5c1
mov rax, qword [rsp + 0x128]
add rax, 2
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov rcx, qword [rsp + 0x70]
rep stosb byte [rdi], al
mov dword [rsp + 0x148], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x148]
mov r8d, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x148]
cmp rax, qword [rsp + 0x128]
je 0x14007b3b4
lea rcx, [rsp + 0x140]
call fcn.14000ffc0
jmp 0x14007b5c1
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x178]
call fcn.140009a10
nop
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x88], rax
lea rdx, str.kfsox76sfnsnIJTb
mov rcx, qword [rsp + 0x78]
call fcn.140009a10
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x178]
mov rcx, qword [rsp + 0x88]
call fcn.140010660
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
mov r9d, 1
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x158]
call fcn.140009070
nop
lea rcx, [rsp + 0x158]
call fcn.1400097a0
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.1400209a0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400097a0
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.140023e40
nop
lea rcx, [rsp + 0xc8]
call fcn.140009960
mov dword [rsp + 0x14c], 0
lea rcx, [rsp + 0x140]
call fcn.140010050
mov ecx, 0x214
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x138]
lea rcx, [rdx + rcx + 8]
lea rdx, [rsp + 0x14c]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 2
mov rdx, rcx
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.Wlanapi.dll_WlanSetProfile]
test eax, eax
je 0x14007b58e
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor r9d, r9d
lea r8, [rsp + 0x1a0]
mov edx, 0x208
mov ecx, dword [rsp + 0x14c]
call qword [sym.imp.Wlanapi.dll_WlanReasonCodeToString]
nop
lea rcx, [rsp + 0x158]
call fcn.140009960
nop
lea rcx, [rsp + 0x178]
call fcn.140009960
nop
lea rcx, [rsp + 0x140]
call fcn.14000ffc0
jmp 0x14007b5c1
lea rcx, [rsp + 0x158]
call fcn.140009960
nop
lea rcx, [rsp + 0x178]
call fcn.140009960
nop
lea rcx, [rsp + 0x140]
call fcn.14000ffc0
xor eax, eax
test eax, eax
jne 0x14007b1fa
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x14007b5d4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x40], 0
je 0x14007b61c
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140138344
cmp qword [rsp + 0x60], 0
jne 0x14007b606
mov qword [rsp + 0xb8], 0
jmp 0x14007b61c
mov qword [rsp + 0x40], 0x8123
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb8], rax
xor edx, edx
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.Wlanapi.dll_WlanCloseHandle]
nop
mov rcx, qword [rsp + 0x3d0]
call fcn.14000ffc0
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.140138320
add rsp, 0x3c0
pop rdi
ret