Function at 0x1800593d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x18017a040]
xor rax, rsp
mov qword [rbp + 0x160], rax
movsx rax, dx
mov r11, rcx
cmp eax, 0xe
ja case.default.0x18005941c
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x59f4c]
add rcx, rdx
jmp rcx
movabs rdx, 0xda952d7936bc53c0
lea r9, [rbp + 0x60]
movabs rbx, 0x1d57f400303d1bbc
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x30], rbx
movabs r8, 0x1d77a96c5f5279e7
mov rax, qword [rsp + 0x30]
mov r10d, r9d
mov qword [rbp + 0x60], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x68], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x60]
mov qword [rsp + 0x58], rax
xorps xmm0, xmmword [rsp + 0x50]
movq rax, xmm0
movdqa xmmword [rbp + 0x60], xmm0
test al, al
je 0x1800594ab
nop dword [rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x1800594a0
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
mov qword [rsp + 0x30], rdx
jmp 0x180059ed2
movabs rdx, 0xda952d7936bc53c0
lea r9, [rbp + 0x70]
movabs rbx, 0x3d2a9f5d2b3c10bc
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rbx
movabs r8, 0x1d77a96c5f5279e7
mov rax, qword [rsp + 0x30]
mov r10d, r9d
mov qword [rbp + 0x70], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x70]
mov qword [rsp + 0x68], rax
xorps xmm0, xmmword [rsp + 0x60]
movq rax, xmm0
movdqa xmmword [rbp + 0x70], xmm0
test al, al
je 0x1800594ab
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059542
jmp 0x1800594ab
movabs rdi, 0x40419818313b0cbc
lea rbx, [rbp + 0x80]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0x80]
mov rax, qword [rsp + 0x30]
movabs r9, 0xda952d7936bc53e0
mov qword [rbp + 0x80], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], r9
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, ebx
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x80]
mov qword [rsp + 0x78], rax
xorps xmm0, xmmword [rsp + 0x70]
movq rax, xmm0
movdqa xmmword [rbp + 0x80], xmm0
test al, al
je 0x1800595fb
nop dword [rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x1800595f0
mov qword [rsp + 0x30], rdi
sub r10d, ebx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
mov qword [rsp + 0x30], r9
jmp 0x180059ed5
movabs rdx, 0xda952d7936bc53c0
lea r9, [rbp + 0x90]
movabs rbx, 0x3d2a9b5f2b3c10bc
lea rcx, [rbp + 0x90]
mov qword [rsp + 0x30], rbx
movabs r8, 0x1d77a96c5f5279e7
mov rax, qword [rsp + 0x30]
mov r10d, r9d
mov qword [rbp + 0x90], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x98], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x90]
mov qword [rbp - 0x78], rax
xorps xmm0, xmmword [rbp - 0x80]
movq rax, xmm0
movdqa xmmword [rbp + 0x90], xmm0
test al, al
je 0x1800594ab
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x1800596a4
jmp 0x1800594ab
movabs rdi, 0x40459a18313b0cbc
lea rbx, [rbp + 0xa0]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0xa0]
mov rax, qword [rsp + 0x30]
movabs r9, 0xda952d7936bc53e0
mov qword [rbp + 0xa0], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], r9
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, ebx
mov qword [rbp + 0xa8], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xa0]
mov qword [rbp - 0x68], rax
xorps xmm0, xmmword [rbp - 0x70]
movq rax, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
test al, al
je 0x1800595fb
nop dword [rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059750
jmp 0x1800595fb
movabs rdx, 0xda952d7936bc53c0
lea r9, [rbp + 0xb0]
movabs rbx, 0x3d2a9d5a2b3c10bc
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x30], rbx
movabs r8, 0x1d77a96c5f5279e7
mov rax, qword [rsp + 0x30]
mov r10d, r9d
mov qword [rbp + 0xb0], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb8], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xb0]
mov qword [rbp - 0x58], rax
xorps xmm0, xmmword [rbp - 0x60]
movq rax, xmm0
movdqa xmmword [rbp + 0xb0], xmm0
test al, al
je 0x1800594ab
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x1800597f0
jmp 0x1800594ab
movabs rdi, 0x40439f18313b0cbc
lea rbx, [rbp + 0xc0]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0xc0]
mov rax, qword [rsp + 0x30]
movabs r9, 0xda952d7936bc53e0
mov qword [rbp + 0xc0], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], r9
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, ebx
mov qword [rbp + 0xc8], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xc0]
mov qword [rbp - 0x48], rax
xorps xmm0, xmmword [rbp - 0x50]
movq rax, xmm0
movdqa xmmword [rbp + 0xc0], xmm0
test al, al
je 0x1800595fb
nop dword [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x1800598a0
jmp 0x1800595fb
movabs rdi, 0x2f44dd0d303e1fbc
lea rbx, [rbp + 0xd0]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0xd0]
mov rax, qword [rsp + 0x30]
movabs r9, 0xda952d7936bc739d
mov qword [rbp + 0xd0], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], r9
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, ebx
mov qword [rbp + 0xd8], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xd0]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
test al, al
je 0x1800595fb
nop dword [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059950
jmp 0x1800595fb
movabs rdi, 0x2941dd0d303e1fbc
lea rbx, [rbp + 0xe0]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0xe0]
mov rax, qword [rsp + 0x30]
movabs r9, 0xda952d7936bc739d
mov qword [rbp + 0xe0], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], r9
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, ebx
mov qword [rbp + 0xe8], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xe0]
mov qword [rbp - 0x28], rax
xorps xmm0, xmmword [rbp - 0x30]
movq rax, xmm0
movdqa xmmword [rbp + 0xe0], xmm0
test al, al
je 0x1800595fb
nop dword [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059a00
jmp 0x1800595fb
movabs rdi, 0x4010c7052d260abc
lea rbx, [rbp + 0xf0]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0xf0]
mov rax, qword [rsp + 0x30]
movabs r9, 0xda952d7936bc53e0
mov qword [rbp + 0xf0], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], r9
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, ebx
mov qword [rbp + 0xf8], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xf0]
mov qword [rbp - 0x18], rax
xorps xmm0, xmmword [rbp - 0x20]
movq rax, xmm0
movdqa xmmword [rbp + 0xf0], xmm0
test al, al
je 0x1800595fb
nop dword [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059ab0
jmp 0x1800595fb
movabs rdx, 0xda952d7936bc53c0
lea r9, [rbp + 0x100]
movabs rbx, 0x3d2adb03333d1abc
lea rcx, [rbp + 0x100]
mov qword [rsp + 0x30], rbx
movabs r8, 0x1d77a96c5f5279e7
mov rax, qword [rsp + 0x30]
mov r10d, r9d
mov qword [rbp + 0x100], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x108], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x100]
mov qword [rbp - 8], rax
xorps xmm0, xmmword [rbp - 0x10]
movq rax, xmm0
movdqa xmmword [rbp + 0x100], xmm0
test al, al
je 0x1800594ab
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059b50
jmp 0x1800594ab
movabs rdi, 0x2f05c6183c370fbc
lea rbx, [rbp + 0x110]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0x110]
mov rax, qword [rsp + 0x30]
movabs r9, 0xda952d7936bc739d
mov qword [rbp + 0x110], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], r9
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, ebx
mov qword [rbp + 0x118], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x110]
mov qword [rbp + 8], rax
xorps xmm0, xmmword [rbp]
movq rax, xmm0
movdqa xmmword [rbp + 0x110], xmm0
test al, al
je 0x1800595fb
nop dword [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059c00
jmp 0x1800595fb
movabs rdi, 0x2e05c6183c370fbc
lea rbx, [rbp + 0x120]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0x120]
mov rax, qword [rsp + 0x30]
movabs r9, 0xda952d7936bc739d
mov qword [rbp + 0x120], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], r9
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, ebx
mov qword [rbp + 0x128], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x120]
mov qword [rbp + 0x18], rax
xorps xmm0, xmmword [rbp + 0x10]
movq rax, xmm0
movdqa xmmword [rbp + 0x120], xmm0
test al, al
je 0x1800595fb
nop dword [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059cb0
jmp 0x1800595fb
movabs rdi, 0x2905c6183c370fbc
lea rbx, [rbp + 0x130]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0x130]
mov rax, qword [rsp + 0x30]
movabs r9, 0xda952d7936bc739d
mov qword [rbp + 0x130], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], r9
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, ebx
mov qword [rbp + 0x138], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x130]
mov qword [rbp + 0x28], rax
xorps xmm0, xmmword [rbp + 0x20]
movq rax, xmm0
movdqa xmmword [rbp + 0x130], xmm0
test al, al
je 0x1800595fb
nop dword [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059d60
jmp 0x1800595fb
movabs rdi, 0x4012c50b313308bc
lea rbx, [rbp + 0x140]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0x140]
mov rax, qword [rsp + 0x30]
movabs r9, 0xda952d7936bc53e0
mov qword [rbp + 0x140], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], r9
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, ebx
mov qword [rbp + 0x148], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x140]
mov qword [rbp + 0x38], rax
xorps xmm0, xmmword [rbp + 0x30]
movq rax, xmm0
movdqa xmmword [rbp + 0x140], xmm0
test al, al
je 0x1800595fb
nop dword [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059e10
jmp 0x1800595fb
movabs rbx, 0x7300c602343c0cbc
lea r9, [rbp + 0x150]
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x150]
mov rax, qword [rsp + 0x30]
movabs rdi, 0xdab5701c46c527ed
mov qword [rbp + 0x150], rax
movabs r8, 0x1d77a96c5f5279e7
mov qword [rsp + 0x30], rdi
movabs rdx, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
mov r10d, r9d
mov qword [rbp + 0x158], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x150]
mov qword [rbp + 0x48], rax
xorps xmm0, xmmword [rbp + 0x40]
movq rax, xmm0
movdqa xmmword [rbp + 0x150], xmm0
test al, al
je 0x180059ebf
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180059eb4
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
mov qword [rsp + 0x30], rdi
sub r10d, r9d
mov rax, qword [rsp + 0x30]
xor r9d, r9d
mov qword [rbp + 0x58], rax
mov rcx, r11
mov qword [rsp + 0x30], r8
mov r8d, r10d
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdx
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x50]
mov qword [rsp + 0x48], rax
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x50], xmm0
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1800da960
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret