Function at 0x5484d0
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0xd0
mov rbp, rsp
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0x78], rbp
mov qword [rbp + 0xe0], rcx
lea rcx, [rbp + 0xe0]
call fcn.00410ce0
nop
mov rax, qword [0x00590880]
cmp byte [rax + 0x12c], 0
je 0x54857e
lea rcx, [rbp + 0x70]
mov edx, 3
lea r8, [0x005488fc]
mov r9, qword [rbp + 0xe0]
lea rax, [0x00548944]
mov qword [rsp + 0x20], rax
call fcn.00412510
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x70]
call fcn.00412820
mov rcx, qword [rbp + 0x68]
mov dl, 1
call fcn.005471f0
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0xe0]
lea r8, [0x00548944]
call fcn.00412210
mov rcx, qword [rbp + 0x60]
call fcn.00412160
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xc0], 0xffffffffffffffff
jne 0x548609
mov rax, qword [0x00590880]
cmp byte [rax + 0x12c], 0
je 0x54884e
lea rcx, [0x00548978]
mov dl, 1
call fcn.005471f0
xor ecx, ecx
call fcn.00547430
jmp 0x54884e
mov rcx, qword [rbp + 0xc0]
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointerEx
test eax, eax
jne 0x54864f
mov rax, qword [0x00590880]
cmp byte [rax + 0x12c], 0
je 0x5486e8
lea rcx, [0x005489d4]
mov dl, 1
call fcn.005471f0
xor ecx, ecx
call fcn.00547430
jmp 0x5486e8
mov rax, qword [0x00590880]
mov rax, qword [rax + 0x90]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x54868e
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax - 8]
mov qword [rbp + 0xa8], rax
mov rcx, qword [rbp + 0xc0]
mov rax, qword [0x00590880]
mov rdx, qword [rax + 0x90]
mov r8d, dword [rbp + 0xa8]
lea r9, [rbp + 0xbc]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
jne 0x5486e8
mov rax, qword [0x00590880]
cmp byte [rax + 0x12c], 0
je 0x5486e8
lea rcx, [0x00548a2c]
mov dl, 1
call fcn.005471f0
xor ecx, ecx
call fcn.00547430
mov rax, qword [0x00590880]
mov rax, qword [rax + 0x90]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
je 0x548727
mov rax, qword [rbp + 0x98]
mov rax, qword [rax - 8]
mov qword [rbp + 0x98], rax
mov eax, dword [rbp + 0xbc]
cmp eax, dword [rbp + 0x98]
je 0x548823
mov rax, qword [0x00590880]
cmp byte [rax + 0x12c], 0
je 0x548823
mov qword [rbp + 0xc8], 0
nop
lea rcx, [rbp + 0x58]
mov edx, dword [rbp + 0xbc]
call fcn.004316e0
lea rcx, [rbp + 0xc8]
mov edx, 3
lea r8, [0x00548a74]
mov r9, qword [rbp + 0x58]
lea rax, [0x00548aac]
mov qword [rsp + 0x20], rax
call fcn.00412c40
mov rax, qword [0x00590880]
mov rax, qword [rax + 0x90]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x5487cf
mov rax, qword [rbp + 0x88]
mov rax, qword [rax - 8]
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x88]
call fcn.004316e0
lea rcx, [rbp + 0x50]
mov edx, 3
mov r8, qword [rbp + 0xc8]
mov r9, qword [rbp + 0x48]
lea rax, [0x00548ac8]
mov qword [rsp + 0x20], rax
call fcn.00412c40
mov rcx, qword [rbp + 0x50]
mov dl, 1
call fcn.005471f0
nop
lea rcx, [rbp + 0xc8]
call fcn.00410ad0
xor ecx, ecx
call fcn.00547430
mov rcx, qword [rbp + 0xc0]
call sub.kernel32.dll_CloseHandle
mov rax, qword [0x00590880]
cmp byte [rax + 0x12c], 0
je 0x54884d
lea rcx, [0x00548ae4]
mov dl, 1
call fcn.005471f0
nop
lea rcx, [rbp + 0x48]
mov edx, 3
call fcn.00410bb0
lea rcx, [rbp + 0x60]
call fcn.00410b70
lea rcx, [rbp + 0x68]
call fcn.00410ad0
lea rcx, [rbp + 0x70]
call fcn.00410b70
lea rcx, [rbp + 0xe0]
call fcn.00410b70
lea rsp, [rbp + 0xd0]
pop rbp
ret