Function at 0x180044620
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rdx
mov rbx, rcx
xor eax, eax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
xor r12d, r12d
mov qword [rbp + 7], r12
lea rdx, [rbp - 9]
call fcn.180043de0
test al, al
jne 0x18004468f
xor bl, bl
mov rdi, qword [rbp - 9]
jmp 0x1800448d0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], r12
movdqa xmmword [rbp - 0x49], xmm0
movdqa xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r12
mov dword [rbp - 0x21], 0xffffffff
add rbx, 0x38
mov rax, qword [rbx + 8]
cmp qword [rbx], rax
je 0x1800446ed
mov rdx, rbx
lea rcx, [rbp - 0x69]
call fcn.180047750
lea rdx, [rbx + 0x18]
lea rcx, [rbp - 0x51]
call fcn.180047750
lea rdx, [rbx + 0x30]
lea rcx, [rbp - 0x39]
call fcn.180047750
mov eax, dword [rbx + 0x48]
mov dword [rbp - 0x21], eax
lea r8, [rbp - 9]
lea rdx, [rbp - 0x69]
call fcn.180043550
mov rdi, qword [rbp - 9]
test al, al
jne 0x180044709
xor bl, bl
jmp 0x180044882
xor eax, eax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r12
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x69]
call fcn.1800426c0
mov rsi, qword [rbp + 0x17]
mov rbx, qword [rbp + 0x1f]
cmp rsi, rbx
je 0x180044867
mov rcx, r14
call fcn.18004f9b0
test al, al
je 0x180044867
mov dword [rbp - 0x11], r12d
mov r15, rbx
sub r15, rsi
mov rax, qword [r14]
test rax, rax
je 0x180044867
test rsi, rsi
je 0x180044867
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x180044867
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x11]
mov r8d, r15d
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180044867
mov eax, dword [rbp - 0x11]
cmp r15d, eax
jne 0x180044867
sub ebx, esi
cmp eax, ebx
jne 0x180044867
mov rbx, qword [rbp - 1]
mov r15d, ebx
sub r15d, edi
mov dword [rbp + 0xf], r15d
mov rax, qword [r14]
test rax, rax
je 0x180044867
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x180044867
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x11]
mov r8d, 4
lea rdx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180044867
cmp dword [rbp - 0x11], 4
jne 0x180044867
cmp rdi, rbx
je 0x18004483d
sub rbx, rdi
mov rax, qword [r14]
test rax, rax
je 0x180044867
test rdi, rdi
je 0x180044867
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x180044867
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x11]
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180044867
mov eax, dword [rbp - 0x11]
cmp ebx, eax
jne 0x180044867
cmp eax, r15d
jne 0x180044867
mov qword [rbp - 0x79], r12
cmp qword [r14], 0
je 0x180044863
lea rdx, [rbp - 0x79]
mov rcx, r14
call fcn.18004f810
test al, al
je 0x180044863
mov rdx, qword [rbp - 0x79]
mov rcx, r14
call fcn.18004fb40
mov bl, 1
jmp 0x180044869
xor bl, bl
test rsi, rsi
je 0x180044882
mov rcx, rsi
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r12
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x18004489c
call fcn.180139b7c
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r12
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1800448b6
call fcn.180139b7c
mov qword [rbp - 0x51], r12
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm0
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x1800448d0
call fcn.180139b7c
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r12
test rdi, rdi
je 0x1800448e9
mov rcx, rdi
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r12
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret