Function at 0x1800334d4
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2130
call fcn.180069af0
sub rsp, rax
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rsp + 0x2188], rbx
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x2120], rax
mov r14, rdx
mov r13, rcx
mov rdx, r8
lea rcx, [rsp + 0x90]
call fcn.180035d68
nop
mov rdx, qword [rsp + 0xb0]
sub rdx, qword [rsp + 0xa8]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xor ebx, ebx
cmp edx, ebx
jg 0x18003356f
lea rcx, [rsp + 0x90]
call fcn.180035cec
xor eax, eax
jmp 0x180033b7b
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 5
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], 7
or r15, 0xffffffffffffffff
mov rdi, r15
mov qword [rsp + 0x48], r15
mov ebp, ebx
lea r12, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, dword [r12]
mov edx, 0x80000000
mov rcx, r13
call qword [0x1800a0740]
mov rsi, rax
cmp rdi, r15
je 0x1800335e2
cmp rdi, rbx
je 0x1800335e2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rsi
mov qword [rsp + 0x48], rsi
cmp rsi, rbx
je 0x1800335f4
cmp rsi, r15
jne 0x1800335ff
inc ebp
add r12, 4
cmp ebp, 4
jb 0x1800335a2
cmp rsi, rbx
je 0x180033b58
cmp rsi, r15
je 0x180033b58
mov byte [rsp + 0x120], bl
xor edx, edx
mov r8d, 0xfff
lea rcx, [rsp + 0x121]
call fcn.180055bd0
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x120]
call fcn.1800326ec
cmp eax, ebx
jne 0x180033662
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x90]
call fcn.180035cec
xor eax, eax
jmp 0x180033b7b
cmp dword [rsp + 0x128], 2
je 0x18003368a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x90]
call fcn.180035cec
xor eax, eax
jmp 0x180033b7b
mov edi, ebx
cmp dword [rsp + 0x2c0], ebx
jbe 0x180033b3d
mov ebp, ebx
mov r13d, sendto
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xe0], rbx
mov byte [rsp + 0xd0], bl
mov eax, ebp
lea rdx, [rsp + rax + 0x2c4]
mov r8d, 0xa
lea rcx, [rsp + 0xc8]
call fcn.180006ec0
nop
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x78], rbx
mov byte [rsp + 0x68], bl
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x60]
call fcn.180006db0
mov byte [rsp + 0x88], bl
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.180035efc
mov r12b, al
cmp qword [rsp + 0x80], 0x10
jb 0x180033730
mov rcx, qword [rsp + 0x68]
call fcn.180054958
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x78], rbx
mov byte [rsp + 0x68], bl
cmp qword [rsp + 0xe8], 0x10
jb 0x180033759
mov rcx, qword [rsp + 0xd0]
call fcn.180054958
cmp r12b, bl
jne 0x180033775
inc edi
add ebp, 0xa
cmp edi, dword [rsp + 0x2c0]
jb 0x1800336a1
jmp 0x180033b3d
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xe0], rbx
mov byte [rsp + 0xd0], bl
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x544]
repne scasb al, byte [rdi]
not rcx
lea r12d, [rax + 1]
sub rcx, r12
mov r8, rcx
lea rdx, [rsp + 0x544]
lea rcx, [rsp + 0xc8]
call fcn.180006ec0
nop
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xf0]
call fcn.1800326b8
nop
lea ebp, [r12 + 0xf]
cmp qword [rsp + 0xe8], rbp
jb 0x1800337f0
mov rcx, qword [rsp + 0xd0]
call fcn.180054958
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xe0], rbx
mov byte [rsp + 0xd0], bl
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000080
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, r12d
mov edx, 0x40000000
mov rcx, r14
call qword [0x1800a0740]
mov rdi, rax
mov qword [rsp + 0x50], rax
cmp rax, rbx
je 0x180033ae0
cmp rax, r15
je 0x180033ae0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rdx, [rsp + 0xf8]
cmp qword [rsp + 0x110], rbp
cmovae rdx, qword [rsp + 0xf8]
mov qword [rsp + 0xd8], rbx
mov dword [rsp + 0x20], ebp
lea r9, [0x18007ea20]
mov r8d, dword [rsp + 0x108]
lea rcx, [rsp + 0x60]
call fcn.180037b80
cmp qword [rax + 0x20], rbp
jb 0x1800338a8
mov rax, qword [rax + 8]
jmp 0x1800338ac
add rax, 8
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsp + 0xc8], xmm0
cmp qword [rsp + 0x80], rbp
jb 0x1800338cd
mov rcx, qword [rsp + 0x68]
call fcn.180054958
mov byte [rsp + 0x1120], bl
xor edx, edx
mov r8d, 0xfff
lea rcx, [rsp + 0x1121]
call fcn.180055bd0
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rsp + 0x1120]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x180033a62
mov r15d, 0x269ec3
mov r8d, dword [rsp + 0x40]
cmp r8d, ebx
jbe 0x180033a62
test r13b, r8b
je 0x18003393c
add r8d, r12d
test r13b, r8b
jne 0x18003392f
mov dword [rsp + 0x40], r8d
mov eax, r8d
shr eax, 4
cmp eax, ebx
jbe 0x1800339b2
lea rcx, [rsp + 0x1120]
mov r9d, eax
lea rdx, [rsp + 0xc8]
mov r10d, 4
mov eax, dword [rdx]
imul eax, eax, 0x343fd
add eax, r15d
shr eax, 0x10
mov word [rdx], ax
mov eax, dword [rdx]
imul eax, eax, 0x343fd
add eax, r15d
shr eax, 0x10
mov word [rdx + 2], ax
add rdx, 4
sub r10, r12
jne 0x18003395f
add qword [rsp + 0xd8], r12
mov rax, qword [rsp + 0xc8]
xor qword [rcx], rax
mov rax, qword [rsp + 0xd0]
xor qword [rcx + 8], rax
add rcx, rbp
sub r9, r12
jne 0x180033951
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x1120]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
je 0x180033a15
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x1120]
call fcn.180055bd0
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rsp + 0x1120]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x18003391c
jmp 0x180033a62
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp qword [rsp + 0x110], rbp
jb 0x180033a3f
mov rcx, qword [rsp + 0xf8]
call fcn.180054958
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], rbx
mov byte [rsp + 0xf8], bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x180033acc
xor r9d, r9d
lea r8, [rsp + 0x5cc]
mov edx, dword [rsp + 0x5c8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x110], rbp
jb 0x180033aa8
mov rcx, qword [rsp + 0xf8]
call fcn.180054958
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], rbx
mov byte [rsp + 0xf8], bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ebx, r12d
lea rcx, [rsp + 0x90]
call fcn.180035cec
mov eax, ebx
jmp 0x180033b7b
cmp rax, r15
je 0x180033af4
cmp rax, rbx
je 0x180033af4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x110], rbp
jb 0x180033b0b
mov rcx, qword [rsp + 0xf8]
call fcn.180054958
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], rbx
mov byte [rsp + 0xf8], bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x90]
call fcn.180035cec
xor eax, eax
jmp 0x180033b7b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x90]
call fcn.180035cec
xor eax, eax
jmp 0x180033b7b
cmp rsi, r15
je 0x180033b6c
cmp rsi, rbx
je 0x180033b6c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x90]
call fcn.180035cec
xor eax, eax
mov rcx, qword [rsp + 0x2120]
xor rcx, rsp
call fcn.180055580
mov rbx, qword [rsp + 0x2188]
add rsp, 0x2130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret