Function at 0x18005a0e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x18017b040]
xor rax, rsp
mov qword [rbp - 0x10], rax
movsx rax, dx
mov r11, rcx
cmp eax, 0xe
ja case.default.0x18005a124
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x5aa8c]
add rcx, rdx
jmp rcx
movabs rdx, 0x9f5b4b58b94977f2
lea r9, [rbp - 0x30]
movabs rbx, 0x729ba199b272f0de
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
movabs r8, 0x72bbfcf5dd1d9285
mov rax, qword [rbp - 0x50]
mov r10d, r9d
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x50], rdx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], rdx
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 0x18005a1ab
nop word [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a1a0
mov qword [rbp - 0x50], rbx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], rdx
jmp 0x18005aa1b
movabs rdx, 0x9f5b4b58b94977f2
lea r9, [rbp - 0x30]
movabs rbx, 0x52e6cac4a973fbde
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
movabs r8, 0x72bbfcf5dd1d9285
mov rax, qword [rbp - 0x50]
mov r10d, r9d
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x50], rdx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a1ab
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a234
jmp 0x18005a1ab
movabs rdi, 0x2f8dcd81b374e7de
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0x9f5b4b58b94977d2
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], r9
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, ebx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a2cb
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a2c0
mov qword [rbp - 0x50], rdi
sub r10d, ebx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], r9
jmp 0x18005aa1e
movabs rdx, 0x9f5b4b58b94977f2
lea r9, [rbp - 0x30]
movabs rbx, 0x52e6cec6a973fbde
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
movabs r8, 0x72bbfcf5dd1d9285
mov rax, qword [rbp - 0x50]
mov r10d, r9d
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x50], rdx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a1ab
nop word [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a360
jmp 0x18005a1ab
movabs rdi, 0x2f89cf81b374e7de
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0x9f5b4b58b94977d2
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], r9
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, ebx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a2cb
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a3f0
jmp 0x18005a2cb
movabs rdx, 0x9f5b4b58b94977f2
lea r9, [rbp - 0x30]
movabs rbx, 0x52e6c8c3a973fbde
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
movabs r8, 0x72bbfcf5dd1d9285
mov rax, qword [rbp - 0x50]
mov r10d, r9d
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x50], rdx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x38], rax
movdqa xmm0, xmmword [rbp - 0x40]
xorps xmm0, xmmword [rbp - 0x30]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005a1ab
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a474
jmp 0x18005a1ab
movabs rdi, 0x2f8fca81b374e7de
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0x9f5b4b58b94977d2
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], r9
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, ebx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a2cb
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a502
jmp 0x18005a2cb
movabs rdi, 0x40888894b271f4de
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0x9f5b4b58b94957af
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], r9
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, ebx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a2cb
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a590
jmp 0x18005a2cb
movabs rdi, 0x468d8894b271f4de
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0x9f5b4b58b94957af
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], r9
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, ebx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a2cb
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a620
jmp 0x18005a2cb
movabs rdi, 0x2fdc929caf69e1de
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0x9f5b4b58b94977d2
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], r9
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, ebx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a2cb
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a6b0
jmp 0x18005a2cb
movabs rdx, 0x9f5b4b58b94977f2
lea r9, [rbp - 0x30]
movabs rbx, 0x52e68e9ab172f1de
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
movabs r8, 0x72bbfcf5dd1d9285
mov rax, qword [rbp - 0x50]
mov r10d, r9d
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x50], rdx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a1ab
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a734
jmp 0x18005a1ab
movabs rdi, 0x40c99381be78e4de
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0x9f5b4b58b94957af
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], r9
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, ebx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a2cb
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a7c2
jmp 0x18005a2cb
movabs rdi, 0x41c99381be78e4de
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0x9f5b4b58b94957af
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], r9
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, ebx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a2cb
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a850
jmp 0x18005a2cb
movabs rdi, 0x46c99381be78e4de
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0x9f5b4b58b94957af
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], r9
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, ebx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a2cb
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a8e0
jmp 0x18005a2cb
movabs rdi, 0x2fde9092b37ce3de
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0x9f5b4b58b94977d2
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], r9
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, ebx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005a2cb
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005a970
jmp 0x18005a2cb
movabs rbx, 0x1ccc939bb673e7de
lea r9, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs rdi, 0x9f7b163dc93003df
mov qword [rbp - 0x30], rax
movabs r8, 0x72bbfcf5dd1d9285
mov qword [rbp - 0x50], rdi
movabs rdx, 0x9f5b4b58b94977f2
mov rax, qword [rbp - 0x50]
mov r10d, r9d
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r8
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rdx
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 0x18005aa0b
nop word [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x18005aa00
mov qword [rbp - 0x50], rbx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], rdi
sub r10d, r9d
mov rax, qword [rbp - 0x50]
xor r9d, r9d
mov qword [rbp - 0x18], rax
mov rcx, r11
mov qword [rbp - 0x50], r8
mov r8d, r10d
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x50], rdx
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x40], rax
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], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800db810
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret