Function at 0x414af0
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x130
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rcx
mov rax, qword [rbp + 0xe8]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0xe0]
mov rcx, rax
mov qword [rbp - 0x18], rcx
mov rcx, r9
mov qword [rbp - 0x10], rcx
mov qword [rbp], r8
mov qword [rbp + 0x10], rax
mov qword [rbp + 8], r9
lea rcx, [rbp + 0x1c]
mov edx, 0xaa
mov r8d, 4
call fcn.004adff0
lea rax, [rbp + 0x1c]
mov qword [rbp + 0x20], 0x4d430001
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], 4
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
lea rax, [rbp + 0x20]
xor ecx, ecx
mov edx, ecx
rol rdi, 3
rol rdi, 0xd
rol rdi, 0x3d
rol rdi, 0x33
xchg rbx, rbx
lea rcx, [rbp + 0x50]
mov edx, 0xaa
mov r8d, 0x20
call fcn.004adff0
lea rax, [rbp + 0x50]
mov qword [rbp + 0x20], 0x4d430001
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], 0x20
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
lea rax, [rbp + 0x20]
xor ecx, ecx
mov edx, ecx
rol rdi, 3
rol rdi, 0xd
rol rdi, 0x3d
rol rdi, 0x33
xchg rbx, rbx
mov rax, qword [rbp - 8]
cmp byte [rax + 8], 0
jne 0x414c2d
jmp 0x414c6a
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x80]
call fcn.004636c0
cmp byte [rbp + 0x84], 0
jne 0x414ca1
jmp 0x414cac
mov rax, qword [rbp - 8]
mov rax, qword [rax]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov ecx, eax
mov dword [rbp + 0x60], ecx
mov ecx, 0x20
shr rax, cl
mov dword [rbp + 0x64], eax
mov qword [rbp + 0x68], 0
lea rax, [rbp + 0x50]
mov qword [rbp - 0x48], rax
jmp 0x414c06
xor eax, eax
mov qword [rbp - 0x48], rax
jmp 0x414c06
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x38]
mov r8d, dword [rbp - 0x4c]
mov dword [rbp + 0x88], r8d
lea r9, [rbp + 0x1c]
mov qword [rsp + 0x20], rax
call sub.KERNEL32.dll_WriteFile
cmp eax, 0
je 0x414cef
jmp 0x414d93
mov eax, dword [rbp + 0x80]
mov dword [rbp - 0x4c], eax
jmp 0x414c72
mov eax, 0xffffffff
mov dword [rbp - 0x4c], eax
jmp 0x414c72
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
mov edx, dword [rbp + 0x1c]
mov word [rbp + 0xa8], 0
mov qword [rbp + 0xa0], rdx
mov rdx, qword [rbp + 0xa0]
mov qword [rcx], rdx
mov rdx, qword [rbp + 0xa8]
mov qword [rcx + 8], rdx
add rsp, 0x130
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
mov cx, ax
mov word [rbp - 0x4e], cx
sub ax, 6
je 0x414eea
jmp 0x414d07
mov ax, word [rbp - 0x4e]
sub ax, 8
je 0x414e11
jmp 0x414d17
mov ax, word [rbp - 0x4e]
sub ax, 0x21
je 0x414f19
jmp 0x414d27
mov ax, word [rbp - 0x4e]
sub ax, 0x40
je 0x414f48
jmp 0x414d37
mov ax, word [rbp - 0x4e]
sub ax, 0x6d
je 0x414ebb
jmp 0x414d47
mov ax, word [rbp - 0x4e]
movzx eax, ax
sub eax, 0x3e3
je 0x414e40
jmp 0x414d5b
mov ax, word [rbp - 0x4e]
movzx eax, ax
sub eax, 0x3e5
je 0x414e9e
jmp 0x414d6f
mov ax, word [rbp - 0x4e]
movzx eax, ax
sub eax, 0x6f8
je 0x414de2
jmp 0x414d7f
mov ax, word [rbp - 0x4e]
movzx eax, ax
sub eax, 0x718
je 0x414e6f
jmp 0x414d98
jmp 0x414cb6
mov rcx, qword [rbp - 0x30]
mov dx, word [rbp - 0x4e]
mov word [rbp + 0x8e], dx
call fcn.00415760
mov rcx, qword [rbp - 0x30]
mov word [rbp + 0x98], ax
call fcn.00402580
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp + 0x90]
mov qword [rcx], rdx
mov rdx, qword [rbp + 0x98]
mov qword [rcx + 8], rdx
add rsp, 0x130
pop rbp
ret
mov rcx, qword [rbp - 0x30]
call fcn.00402580
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov rdx, qword [0x004b5378]
mov qword [rcx], rdx
mov rdx, qword [0x004b5380]
mov qword [rcx + 8], rdx
add rsp, 0x130
pop rbp
ret
mov rcx, qword [rbp - 0x30]
call fcn.00402580
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov rdx, qword [0x004b5378]
mov qword [rcx], rdx
mov rdx, qword [0x004b5380]
mov qword [rcx + 8], rdx
add rsp, 0x130
pop rbp
ret
mov rcx, qword [rbp - 0x30]
call fcn.00402580
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov rdx, qword [0x004b5388]
mov qword [rcx], rdx
mov rdx, qword [0x004b5390]
mov qword [rcx + 8], rdx
add rsp, 0x130
pop rbp
ret
mov rcx, qword [rbp - 0x30]
call fcn.00402580
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov rdx, qword [0x004b5378]
mov qword [rcx], rdx
mov rdx, qword [0x004b5380]
mov qword [rcx + 8], rdx
add rsp, 0x130
pop rbp
ret
lea rcx, str.reached_unreachable_code
mov edx, 0x18
xor eax, eax
mov r8d, eax
lea r9, [0x004b5398]
call fcn.00401c10
mov rcx, qword [rbp - 0x30]
call fcn.00402580
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov rdx, qword [0x004b53a8]
mov qword [rcx], rdx
mov rdx, qword [0x004b53b0]
mov qword [rcx + 8], rdx
add rsp, 0x130
pop rbp
ret
mov rcx, qword [rbp - 0x30]
call fcn.00402580
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov rdx, qword [0x004b53b8]
mov qword [rcx], rdx
mov rdx, qword [0x004b53c0]
mov qword [rcx + 8], rdx
add rsp, 0x130
pop rbp
ret
mov rcx, qword [rbp - 0x30]
call fcn.00402580
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov rdx, qword [0x004b53c8]
mov qword [rcx], rdx
mov rdx, qword [0x004b53d0]
mov qword [rcx + 8], rdx
add rsp, 0x130
pop rbp
ret
mov rcx, qword [rbp - 0x30]
call fcn.00402580
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov rdx, qword [0x004b53d8]
mov qword [rcx], rdx
mov rdx, qword [0x004b53e0]
mov qword [rcx + 8], rdx
add rsp, 0x130
pop rbp
ret