Function at 0x180055120
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
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x180176040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r15d, r15d
mov ebx, edx
mov rdi, rcx
movabs rsi, 0x605111ac6ab92b46
movabs r14, 0xc76c9b61f9c9a4dd
test dl, 8
je 0x18005525f
movabs r9, 0xe918f50490a5c786
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x20]
mov rax, qword [rsp + 0x30]
movabs r10, 0x6051118c37d54722
mov qword [rbp + 0x20], rax
mov r8d, edx
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x20]
mov qword [rsp + 0x48], rax
xorps xmm0, xmmword [rsp + 0x40]
movq rax, xmm0
movdqa xmmword [rbp + 0x20], xmm0
test al, al
je 0x1800551fb
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x1800551f0
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0x90]
mov qword [rbp + 0x90], rax
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x98], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x90]
mov qword [rsp + 0x58], rax
xorps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x90], xmm0
jmp 0x18005534a
test bl, 4
je 0x18005535b
movabs r9, 0xb44be80494a8c386
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x30]
mov rax, qword [rsp + 0x30]
movabs r10, 0x605131f106d54f66
mov qword [rbp + 0x30], rax
mov r8d, edx
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x30]
mov qword [rsp + 0x68], rax
xorps xmm0, xmmword [rsp + 0x60]
movq rax, xmm0
movdqa xmmword [rbp + 0x30], xmm0
test al, al
je 0x1800552eb
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x1800552e0
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xa0]
mov qword [rbp + 0xa0], rax
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xa8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xa0]
mov qword [rsp + 0x78], rax
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0xa0], xmm0
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 0x20
je 0x18005544a
movabs r9, 0xb30ffe1596bbd486
lea rdx, [rbp + 0x40]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x40]
mov rax, qword [rsp + 0x30]
movabs r10, 0x605111ac4ae44f23
mov qword [rbp + 0x40], rax
mov r8d, edx
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x40]
mov qword [rbp - 0x78], rax
xorps xmm0, xmmword [rbp - 0x80]
movq rax, xmm0
movdqa xmmword [rbp + 0x40], xmm0
test al, al
je 0x1800553dd
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x1800553d2
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xb0]
mov qword [rbp + 0xb0], rax
xor r9d, r9d
mov qword [rsp + 0x30], r10
mov rcx, rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xb0]
mov qword [rbp - 0x68], rax
xorps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp + 0xb0], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
bt ebx, 0xe
jae 0x180055538
movabs r9, 0xe731ef009ca1c786
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x50]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp + 0x50], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x50]
mov qword [rbp - 0x58], rax
xorps xmm0, xmmword [rbp - 0x60]
movq rax, xmm0
movdqa xmmword [rbp + 0x50], xmm0
test al, al
je 0x1800554cb
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x1800554c0
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xc0]
mov qword [rbp + 0xc0], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov rcx, rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xc0]
mov qword [rbp - 0x48], rax
xorps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0xc0], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 0x10
je 0x180055628
movabs r9, 0x9a02fe059da0cc86
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x60]
mov rax, qword [rsp + 0x30]
movabs r10, 0x605111ac6ab92b66
mov qword [rbp + 0x60], rax
mov r8d, edx
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x68], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x60]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp + 0x60], xmm0
test al, al
je 0x1800555bb
nop
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x1800555b0
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xd0]
mov qword [rbp + 0xd0], rax
xor r9d, r9d
mov qword [rsp + 0x30], r10
mov rcx, rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xd8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xd0]
mov qword [rbp - 0x28], rax
xorps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0xd0], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 2
je 0x180055718
movabs r9, 0xbe00f50e8facc086
lea rdx, [rbp + 0x70]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x70]
mov rax, qword [rsp + 0x30]
movabs r10, 0x605111ac6ab90b1b
mov qword [rbp + 0x70], rax
mov r8d, edx
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x70]
mov qword [rbp - 0x18], rax
xorps xmm0, xmmword [rbp - 0x20]
movq rax, xmm0
movdqa xmmword [rbp + 0x70], xmm0
test al, al
je 0x1800556ab
nop
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x1800556a0
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xe0]
mov qword [rbp + 0xe0], rax
xor r9d, r9d
mov qword [rsp + 0x30], r10
mov rcx, rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xe8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xe0]
mov qword [rbp - 8], rax
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0xe0], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs r9, 0xc76c9b61f9c9a4d7
lea rdx, [rbp + 0x80]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x80]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp + 0x80], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x80]
mov qword [rbp + 8], rax
xorps xmm0, xmmword [rbp]
movq rax, xmm0
movdqa xmmword [rbp + 0x80], xmm0
test al, al
je 0x18005579b
nop
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x180055790
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xf0]
mov qword [rbp + 0xf0], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov rcx, rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xf8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xf0]
mov qword [rbp + 0x18], rax
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0xf0], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1800d6ea0
lea r11, [rsp + 0x210]
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