Function at 0x140061b90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r15, rcx
mov r12d, dword [rbp + 0x130]
mov rbx, qword [rbp + 0x148]
mov r13d, dword [rbp + 0x150]
mov rsi, qword [rbp + 0x168]
xor r14d, r14d
mov dword [rsp + 0x50], r14d
mov rax, qword [rcx + 0x138]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140062074
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.1403ec370
lea rcx, [rbp - 0x30]
call fcn.1400252f0
nop
lea rdi, [0x1404f6458]
mov rdx, rdi
test rbx, rbx
cmovne rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140061c50
lea rcx, [rbp - 0x70]
call fcn.14001fb40
nop
lea rdx, [rbp - 0x70]
call fcn.140096150
lea rdx, str.IPC
lea rcx, [rbp - 0x20]
call fcn.140023f90
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov ecx, dword [r8 + rax + 0x18]
and ecx, 0xfffff3ff
mov r14d, 0x200
or ecx, r14d
mov dword [r8 + rax + 0x18], ecx
mov edx, r12d
mov rcx, rax
call fcn.14001dd00
mov rcx, rax
lea rdx, [0x1404f6440]
call fcn.140023f90
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rax
call fcn.14001df00
mov rcx, rax
lea rdx, [0x1404df780]
call fcn.140021910
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx - 8]
and eax, 0xfffff3ff
or eax, r14d
mov dword [rbp + rcx - 8], eax
mov edx, r13d
lea rcx, [rbp - 0x20]
call fcn.14001dd00
mov rcx, rax
lea rdx, [0x1404f6454]
call fcn.140021910
test rsi, rsi
cmovne rdi, rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xor r12d, r12d
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x140061d30
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.14001fb40
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14001df00
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov r8, r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov dword [rsp + 0x50], 2
movups xmmword [rsp + 0x38], xmm0
mov rcx, r12
mov r9, qword [rbp + 0x58]
mov eax, r9d
and al, 0x22
cmp al, 2
je 0x140061dc9
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
test rdx, rdx
je 0x140061dc9
mov rax, qword [rbp + 8]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x50]
cmovb rdx, qword [rbp + 0x50]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x140061e00
test r9b, 4
jne 0x140061e36
mov rax, qword [rbp + 0x20]
mov r10, qword [rax]
mov rdx, r12
test r10, r10
je 0x140061dfb
mov rax, qword [rbp]
mov r9, qword [rax]
mov rax, qword [rbp + 0x38]
movsxd rcx, dword [rax]
lea rdx, [r10 + rcx*2]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x140061e00
mov r9, qword [rsp + 0x38]
test rcx, rcx
je 0x140061e36
lea rcx, [rsp + 0x58]
cmp rdx, 7
ja 0x140061e2c
mov qword [rsp + 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.1403ebbf0
mov word [rsp + rbx + 0x58], r12w
jmp 0x140061e31
call fcn.140023ce0
mov r8, qword [rsp + 0x68]
cmp r8, r14
cmovb r14w, r8w
movzx r13d, r14w
lea rdi, [r13*2 + 8]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov qword [rbp - 0x78], r12
cmp rdi, 0x1000
jb 0x140061e8c
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400620aa
call fcn.14014f518
mov rcx, rax
test rax, rax
je 0x1400620b0
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140061e94
mov rcx, rdi
call fcn.14014f518
mov qword [rsp + 0x78], rax
lea rsi, [rax + rdi]
mov qword [rbp - 0x78], rsi
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1403ec370
mov qword [rbp - 0x80], rsi
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140061f31
sub rsi, rbx
cmp rsi, rdi
jne 0x140061f31
mov eax, dword [rbp + 0x158]
mov dword [rbx], eax
mov word [rbx + 4], r14w
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova r8, qword [rsp + 0x58]
lea rdx, [r13 + 1]
lea rcx, [rbx + 6]
call fcn.1401694d0
mov dword [rsp + 0x50], r12d
lea rcx, [r15 + 0x140]
mov qword [rsp + 0x30], rcx
call fcn.14002c2d0
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x50]
mov r8d, edi
mov rdx, rbx
mov rcx, qword [r15 + 0x138]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0x30]
call fcn.14002c2f0
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140061f77
mov rdx, qword [rbp - 0x78]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140061f62
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400620b0
mov rcx, rbx
call fcn.14014f510
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r12
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140061fb9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061fb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400620b6
call fcn.14014f510
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14006200d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062008
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400620bc
call fcn.14014f510
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r12w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14006205a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062055
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400620a4
call fcn.14014f510
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r12w
lea rcx, [rbp - 0x30]
call fcn.140024270
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14014f4f0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14015fa1c
nop
call fcn.14001cd90
int3
call fcn.14015fa1c
nop
call fcn.14015fa1c
nop
call fcn.14015fa1c
int3