Function at 0x1800057a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rax, qword [0x180080a28]
xor rax, rsp
mov qword [rbp + 0x1f], rax
lea eax, [r8 + 0xf]
mov qword [rbp - 0x59], rdx
mov qword [rbp - 0x49], rcx
mov r15d, r8d
mov dword [rbp - 0x39], eax
mov r10, rcx
cmp r8d, eax
jae case.0x18000582b.233
mov r14, qword [rbp - 0x29]
lea r9, [0x180083d30]
mov r13, qword [rbp - 0x29]
mov r12, qword [rbp - 0x29]
mov ebx, dword [rbp - 0x39]
xor edi, edi
lea eax, [r15 - 0xe5]
lea r8, [0x180000000]
cmp eax, 0x23
ja case.0x18000582b.244
movzx eax, byte [r8 + rax + 0x5c90]
mov ecx, dword [r8 + rax*4 + 0x5c50]
add rcx, r8
jmp rcx
lea rax, [rbp - 9]
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x180005840
mov rdx, qword [r10 + 0x18]
mov rcx, qword [r10 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180005889
lea rax, [rcx + rsi]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0x10
jb 0x180005870
mov rax, qword [r10]
lea rdi, [rax + rcx]
mov r8, rsi
mov rcx, rdi
lea rdx, [rbp - 9]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x1800058a0
lea r9, [rbp - 9]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, r10
call fcn.180002ef0
mov rax, qword [rbp - 0x59]
lea rdx, [rbp - 1]
mov r8d, 0x137
lea rcx, [rbp - 0x41]
movsd xmm0, qword [rax]
movsd qword [rbp - 0x41], xmm0
call fcn.180024300
jmp 0x180005c02
mov byte [0x180083d60], 0
mov qword [rbp - 0x11], r9
jmp case.0x18000582b.244
test r13, r13
je case.0x18000582b.244
nop
mov rax, qword [rdx]
lea rcx, [rdi + 1]
mov edx, 0xfa
mov qword [rbp - 0x41], rax
xor r9d, r9d
lea r8, [rbp - 0x41]
call fcn.180020d80
mov rcx, qword [rbp - 0x11]
mov qword [rcx + rdi*8], rax
test rax, rax
je 0x180005c20
mov rdx, qword [rbp - 0x59]
inc rdi
cmp rdi, r13
jb 0x1800058e0
jmp 0x180005c06
mov rax, qword [rbp - 0x29]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x30]
mov qword [rbp - 0x31], rax
jmp case.0x18000582b.244
mov eax, 0x29
cmp eax, 0x29
je 0x18000594a
cmp eax, 0xec
je case.0x18000582b.233
jmp 0x180005951
mov dword [rbp - 0x51], 1
add eax, 0xc3
cmp eax, 0x1af
jb 0x180005938
movzx eax, word [0x1800791c4]
mov word [rbp - 9], ax
movzx eax, byte [0x1800791c6]
mov byte [rbp - 7], al
jmp case.0x18000582b.244
lea rax, [rbp - 1]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x180005982
mov rdx, qword [r10 + 0x18]
mov rcx, qword [r10 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1800059ce
lea rax, [rcx + rsi]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0x10
jb 0x1800059b2
mov rax, qword [r10]
lea rdi, [rax + rcx]
mov r8, rsi
mov rcx, rdi
lea rdx, [rbp - 1]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x180005c02
lea r9, [rbp - 1]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, r10
call fcn.180002ef0
jmp 0x180005c02
mov r13d, 6
jmp case.0x18000582b.244
mov r14, rdi
mov rsi, rdi
test r12, r12
je 0x180005a06
mov ecx, dword [r12]
jmp 0x180005a0b
mov ecx, 0xa
test ecx, ecx
je 0x180005a7d
sub ecx, 1
je 0x180005a95
sub ecx, 2
je 0x180005ae0
cmp ecx, 1
je 0x180005ae0
mov edi, 0x5c
nop
mov eax, edi
mov r14, rsi
sub eax, 0x5b
je case.0x18000582b.242
cmp eax, 1
jne 0x180005a71
test r12, r12
je 0x180005a4e
mov eax, dword [r12]
jmp 0x180005a53
mov eax, 0xa
movsxd rdx, eax
lea rcx, str.ToolsVersion:_Unable_to_read_signature_file__s.
mov rdx, qword [r8 + rdx*8 + 0x80210]
call fcn.180071d80
lea r8, [0x180000000]
dec edi
cmp edi, 0x5a
ja 0x180005a30
jmp 0x180005c02
mov eax, 0x7d
cmp eax, 0x7d
je 0x180005b09
add eax, 0x4a
cmp eax, 0xc7
jb 0x180005a82
mov edi, 0xe8
nop word [rax + rax]
mov eax, edi
sub eax, 0xe7
je case.0x18000582b.242
cmp eax, 1
jne 0x180005aca
mov r9, qword [rbp - 0x31]
lea rcx, [r12 + 0x10]
lea edx, [rax + 3]
mov r8d, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, rax
dec edi
cmp edi, 0xe6
ja 0x180005aa0
mov rdx, qword [rbp - 0x59]
nop dword [rax + rax]
mov r8, r12
mov ecx, 0x19
call fcn.180062bf0
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x180005af4
test ebx, ebx
je 0x180005b04
inc rdx
mov rcx, rax
jmp 0x180005b1f
test ebx, ebx
je 0x180005b15
movsxd rdx, ebx
cmp ebx, 4
jle 0x180005b1a
mov edx, 4
lea rcx, [r12 + 0x10]
mov r9, qword [rbp - 0x31]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, rax
mov rcx, qword [rbp - 0x59]
lea rdx, [rbp - 0x41]
mov r15d, 0x107
mov dword [rbp - 0x41], r14d
xor r9d, r9d
lea r8d, [r15 - 0x23]
call fcn.180057a00
jmp 0x180005c02
mov byte [0x180083d60], 1
mov byte [rbp - 0x51], 1
jmp case.0x18000582b.244
mov r8, rdx
mov dword [rbp - 0x21], edi
mov edx, 0x2c
lea rcx, [rbp - 0x21]
call fcn.18005d040
mov qword [rbp - 0x29], rax
test rax, rax
je 0x180005b87
cmp dword [rax], 7
je 0x180005c02
mov edx, 0x105
nop dword [rax]
mov ecx, edx
sub ecx, 0x104
je case.0x18000582b.233
cmp ecx, 1
jne 0x180005ba6
mov dword [rbp - 0x51], edi
dec edx
cmp edx, 0x103
ja 0x180005b90
jmp 0x180005c02
mov r8d, 4
lea rdx, [0x1800791fc]
lea rcx, [rbp - 7]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x180005c02
mov r8, rdx
mov dword [rbp - 0x19], 1
mov edx, 0x2c
lea rcx, [rbp - 0x19]
call fcn.18005d040
mov rdx, qword [rbp - 0x59]
lea r8, [rbp - 0x41]
mov ecx, 0x125
mov dword [rbp - 0x41], 2
mov r12, rax
call fcn.180033910
mov rbx, rax
mov rdx, qword [rbp - 0x59]
mov r10, qword [rbp - 0x49]
lea r9, [0x180083d30]
inc r15d
cmp r15d, dword [rbp - 0x39]
jae case.0x18000582b.233
jmp 0x1800057fe
mov byte [rbp - 0x51], 0
mov eax, dword [rbp - 0x51]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180072740
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret