Function at 0x140062210
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x158
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x120], rdx
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x10c], 0
mov dword [rsp + 0x108], 0
mov dword [rsp + 0x104], 0
mov rax, qword [rsp + 0x110]
cmp byte [rax + 0x28], 0
je 0x1400622c3
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x118]
lea r8, [rsp + 0x10c]
xor r9d, r9d
call sub.KERNEL32.dll_GetOverlappedResult
mov dword [rsp + 0x104], eax
jmp 0x140062559
mov rax, qword [rsp + 0x118]
add rax, 0x10
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x110]
cmp qword [rax + 0x10], 0
setge al
and al, 1
cmp al, 0
je 0x1400622ff
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x10]
mov dword [rsp + 0x6c], eax
jmp 0x140062415
mov rax, qword [rsp + 0x120]
mov rcx, rax
add rcx, 0x120
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x110]
add rcx, 8
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0xf8], 0
mov rax, qword [rax + 0x120]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x150], rax
movabs rdx, 0x9e3779b97f4a7c15
add rax, rdx
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x148]
shr rdx, 0x1e
xor rax, rdx
movabs rdx, 0xbf58476d1ce4e5b9
imul rax, rdx
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x148]
shr rdx, 0x1b
xor rax, rdx
movabs rdx, 0x94d049bb133111eb
imul rax, rdx
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x148]
mov rax, qword [rsp + 0x148]
shr rax, 0x1f
xor rdx, rax
call fcn.14008ba00
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, rax
call fcn.14008bcb0
mov qword [rsp + 0x60], rax
cmp rax, 0
setne al
and al, 1
mov byte [rsp + 0xfc], al
test al, 1
je 0x14006240a
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x6c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x118]
mov edx, dword [rcx + 0x10]
mov ecx, 0x20
shr edx, cl
xor ecx, ecx
mov r8b, cl
xor ecx, ecx
test r8b, 1
cmovne ecx, edx
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x110]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x20]
mov r8d, eax
mov rax, qword [rsp + 0x118]
lea r9, [rsp + 0x10c]
mov qword [rsp + 0x20], rax
call sub.KERNEL32.dll_WriteFile
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
je 0x14006254d
mov r9, qword [rsp + 0x78]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
lea rax, [0x1400b9f38]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], 0x48
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xb0], rax
movabs rax, 0x600000000000014
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], 1
lea rcx, [rsp + 0xe0]
lea rdx, [0x1400ba118]
lea r8, str.C:_Users_Jshaw_Odin_odin_http_nbio_nbio_internal_windows.odin
call fcn.140011cd0
mov rax, qword [rsp + 0x110]
mov byte [rax + 0x28], 1
cmp dword [rsp + 0x104], 0
jne 0x14006256f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x108], eax
mov rax, qword [rsp + 0x110]
cmp qword [rax + 0x10], 0
setge al
and al, 1
cmp al, 0
je 0x14006278f
mov rax, qword [rsp + 0x120]
mov rcx, rax
add rcx, 0x120
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x110]
add rcx, 8
mov qword [rsp + 0x40], rcx
mov edx, dword [rsp + 0x10c]
mov dword [rsp + 0x34], edx
mov qword [rsp + 0xa8], 0
mov rax, qword [rax + 0x120]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x140], rax
movabs rdx, 0x9e3779b97f4a7c15
add rax, rdx
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x138]
shr rdx, 0x1e
xor rax, rdx
movabs rdx, 0xbf58476d1ce4e5b9
imul rax, rdx
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x138]
shr rdx, 0x1b
xor rax, rdx
movabs rdx, 0x94d049bb133111eb
imul rax, rdx
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x138]
shr rax, 0x1f
xor rdx, rax
call fcn.14008ba00
mov rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, rax
call fcn.14008bcb0
mov qword [rsp + 0x48], rax
cmp rax, 0
setne al
and al, 1
mov byte [rsp + 0xac], al
test al, 1
je 0x14006269f
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov dword [rsp + 0xa8], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
add edx, dword [rsp + 0xa8]
mov dword [rsp + 0x30], edx
mov rax, qword [rax]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x130], rax
movabs rdx, 0x9e3779b97f4a7c15
add rax, rdx
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x128]
shr rdx, 0x1e
xor rax, rdx
movabs rdx, 0xbf58476d1ce4e5b9
imul rax, rdx
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x128]
shr rdx, 0x1b
xor rax, rdx
movabs rdx, 0x94d049bb133111eb
imul rax, rdx
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
mov rax, qword [rsp + 0x128]
shr rax, 0x1f
xor rdx, rax
call fcn.14008ba00
mov r9d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, rax
mov rax, qword [rsp + 0x78]
mov dword [rsp + 0xa4], r9d
lea r9, [rsp + 0xa4]
lea r10, str.C:_Users_Jshaw_Odin_odin_http_nbio_nbio_internal_windows.odin
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], rax
call fcn.14008baf0
mov ecx, dword [rsp + 0x10c]
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x10c], ecx
mov dword [rsp + 0x108], eax
mov dword [rsp + 0x98], ecx
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x98]
add rsp, 0x158
ret