Function at 0x180058360
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 [0x180177040]
xor rax, rsp
mov qword [rbp - 0x10], rax
movsx rax, dx
mov r11, rcx
cmp eax, 0xe
ja case.default.0x1800583a4
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x58d0c]
add rcx, rdx
jmp rcx
movabs rdx, 0xab0233a545d5cf34
lea r9, [rbp - 0x30]
movabs rbx, 0xcd1cb4f898e32540
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
movabs r8, 0xcd3ce994f78c471b
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 0x18005842b
nop word [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058420
mov qword [rbp - 0x50], rbx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], rdx
jmp 0x180058c9b
movabs rdx, 0xab0233a545d5cf34
lea r9, [rbp - 0x30]
movabs rbx, 0xed61dfa583e22e40
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
movabs r8, 0xcd3ce994f78c471b
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 0x18005842b
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x1800584b4
jmp 0x18005842b
movabs rdi, 0x900ad8e099e53240
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0xab0233a545d5cf14
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], r9
movabs rdx, 0xab0233a545d5cf34
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 0x18005854b
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058540
mov qword [rbp - 0x50], rdi
sub r10d, ebx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], r9
jmp 0x180058c9e
movabs rdx, 0xab0233a545d5cf34
lea r9, [rbp - 0x30]
movabs rbx, 0xed61dba783e22e40
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
movabs r8, 0xcd3ce994f78c471b
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 0x18005842b
nop word [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x1800585e0
jmp 0x18005842b
movabs rdi, 0x900edae099e53240
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0xab0233a545d5cf14
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], r9
movabs rdx, 0xab0233a545d5cf34
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 0x18005854b
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058670
jmp 0x18005854b
movabs rdx, 0xab0233a545d5cf34
lea r9, [rbp - 0x30]
movabs rbx, 0xed61dda283e22e40
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
movabs r8, 0xcd3ce994f78c471b
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 0x18005842b
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x1800586f4
jmp 0x18005842b
movabs rdi, 0x9008dfe099e53240
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0xab0233a545d5cf14
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], r9
movabs rdx, 0xab0233a545d5cf34
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 0x18005854b
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058782
jmp 0x18005854b
movabs rdi, 0xff0f9df598e02140
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0xab0233a545d5ef69
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], r9
movabs rdx, 0xab0233a545d5cf34
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 0x18005854b
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058810
jmp 0x18005854b
movabs rdi, 0xf90a9df598e02140
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0xab0233a545d5ef69
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], r9
movabs rdx, 0xab0233a545d5cf34
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 0x18005854b
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x1800588a0
jmp 0x18005854b
movabs rdi, 0x905b87fd85f83440
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0xab0233a545d5cf14
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], r9
movabs rdx, 0xab0233a545d5cf34
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 0x18005854b
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058930
jmp 0x18005854b
movabs rdx, 0xab0233a545d5cf34
lea r9, [rbp - 0x30]
movabs rbx, 0xed619bfb9be32440
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
movabs r8, 0xcd3ce994f78c471b
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 0x18005842b
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x1800589b4
jmp 0x18005842b
movabs rdi, 0xff4e86e094e93140
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0xab0233a545d5ef69
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], r9
movabs rdx, 0xab0233a545d5cf34
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 0x18005854b
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058a42
jmp 0x18005854b
movabs rdi, 0xfe4e86e094e93140
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0xab0233a545d5ef69
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], r9
movabs rdx, 0xab0233a545d5cf34
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 0x18005854b
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058ad0
jmp 0x18005854b
movabs rdi, 0xf94e86e094e93140
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0xab0233a545d5ef69
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], r9
movabs rdx, 0xab0233a545d5cf34
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 0x18005854b
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058b60
jmp 0x18005854b
movabs rdi, 0x905985f399ed3640
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r9, 0xab0233a545d5cf14
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], r9
movabs rdx, 0xab0233a545d5cf34
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 0x18005854b
nop
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058bf0
jmp 0x18005854b
movabs rbx, 0xa34b86fa9ce23240
lea r9, [rbp - 0x30]
mov qword [rbp - 0x50], rbx
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs rdi, 0xab226ec035acbb19
mov qword [rbp - 0x30], rax
movabs r8, 0xcd3ce994f78c471b
mov qword [rbp - 0x50], rdi
movabs rdx, 0xab0233a545d5cf34
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 0x180058c8b
nop word [rax + rax]
inc rcx
mov r10, rcx
cmp byte [rcx], 0
jne 0x180058c80
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.1800d9270
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret