Function at 0x180058ee0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180180040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov ebx, edx
mov rdi, rcx
movabs rsi, 0x31eec079b84ced78
movabs r14, 0xaa2c0794d01dd84f
test dl, 8
je 0x180058fad
movabs r9, 0x845869f1b971bb14
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x31eec059e520811c
mov qword [rbp - 0x30], rax
mov r8d, edx
mov qword [rbp - 0x50], r10
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x18], rax
xorps xmm0, xmmword [rbp - 0x20]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005902b
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x180058fa0
jmp 0x18005902b
test bl, 4
je 0x180059081
movabs r9, 0xd90b74f1bd7cbf14
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x31eee024d4208958
mov qword [rbp - 0x30], rax
mov r8d, edx
mov qword [rbp - 0x50], r10
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005902b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x180059020
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], r10
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 0x20
je 0x180059151
movabs r9, 0xde4f62e0bf6fa814
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x31eec0799811891d
mov qword [rbp - 0x30], rax
mov r8d, edx
mov qword [rbp - 0x50], r10
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x1800590fb
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x1800590f0
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], r10
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
bt ebx, 0xe
jae 0x180059221
movabs r9, 0x8a7173f5b575bb14
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
mov r8d, edx
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x1800591cb
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x1800591c0
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], rsi
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 0x10
je 0x1800592f1
movabs r9, 0xf74262f0b474b014
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x31eec079b84ced58
mov qword [rbp - 0x30], rax
mov r8d, edx
mov qword [rbp - 0x50], r10
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005929b
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x180059290
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], r10
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 2
je 0x1800593c1
movabs r9, 0xd34069fba678bc14
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x31eec079b84ccd25
mov qword [rbp - 0x30], rax
mov r8d, edx
mov qword [rbp - 0x50], r10
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005936b
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x180059360
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], r10
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs r9, 0xaa2c0794d01dd845
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
mov r8d, edx
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005942b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x180059420
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], rsi
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800dea20
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret