Function at 0x439e30
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.0040bf00
nop
mov rax, qword [0x00465110]
cmp byte [rax + 0x134], 0
je 0x439ede
lea rcx, [rbp + 0x70]
mov edx, 3
lea r8, [0x0043a25c]
mov r9, qword [rbp + 0xe0]
lea rax, [0x0043a2a4]
mov qword [rsp + 0x20], rax
call fcn.0040d530
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x70]
call fcn.0040d820
mov rcx, qword [rbp + 0x68]
mov dl, 1
call fcn.00438b50
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0xe0]
lea r8, [0x0043a2a4]
call fcn.0040d230
mov rcx, qword [rbp + 0x60]
call fcn.0040d180
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 0x439f69
mov rax, qword [0x00465110]
cmp byte [rax + 0x134], 0
je 0x43a1ae
lea rcx, [0x0043a2d8]
mov dl, 1
call fcn.00438b50
xor ecx, ecx
call fcn.00438d90
jmp 0x43a1ae
mov rcx, qword [rbp + 0xc0]
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointerEx
test eax, eax
jne 0x439faf
mov rax, qword [0x00465110]
cmp byte [rax + 0x134], 0
je 0x43a048
lea rcx, [0x0043a334]
mov dl, 1
call fcn.00438b50
xor ecx, ecx
call fcn.00438d90
jmp 0x43a048
mov rax, qword [0x00465110]
mov rax, qword [rax + 0x98]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x439fee
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax - 8]
mov qword [rbp + 0xa8], rax
mov rcx, qword [rbp + 0xc0]
mov rax, qword [0x00465110]
mov rdx, qword [rax + 0x98]
mov r8d, dword [rbp + 0xa8]
lea r9, [rbp + 0xbc]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
jne 0x43a048
mov rax, qword [0x00465110]
cmp byte [rax + 0x134], 0
je 0x43a048
lea rcx, [0x0043a38c]
mov dl, 1
call fcn.00438b50
xor ecx, ecx
call fcn.00438d90
mov rax, qword [0x00465110]
mov rax, qword [rax + 0x98]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
je 0x43a087
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 0x43a183
mov rax, qword [0x00465110]
cmp byte [rax + 0x134], 0
je 0x43a183
mov qword [rbp + 0xc8], 0
nop
lea rcx, [rbp + 0x58]
mov edx, dword [rbp + 0xbc]
call fcn.004225f0
lea rcx, [rbp + 0xc8]
mov edx, 3
lea r8, [0x0043a3d4]
mov r9, qword [rbp + 0x58]
lea rax, [0x0043a40c]
mov qword [rsp + 0x20], rax
call fcn.0040dbb0
mov rax, qword [0x00465110]
mov rax, qword [rax + 0x98]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x43a12f
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.004225f0
lea rcx, [rbp + 0x50]
mov edx, 3
mov r8, qword [rbp + 0xc8]
mov r9, qword [rbp + 0x48]
lea rax, [0x0043a428]
mov qword [rsp + 0x20], rax
call fcn.0040dbb0
mov rcx, qword [rbp + 0x50]
mov dl, 1
call fcn.00438b50
nop
lea rcx, [rbp + 0xc8]
call fcn.0040bcf0
xor ecx, ecx
call fcn.00438d90
mov rcx, qword [rbp + 0xc0]
call sub.kernel32.dll_CloseHandle
mov rax, qword [0x00465110]
cmp byte [rax + 0x134], 0
je 0x43a1ad
lea rcx, [0x0043a444]
mov dl, 1
call fcn.00438b50
nop
lea rcx, [rbp + 0x48]
mov edx, 3
call fcn.0040bdd0
lea rcx, [rbp + 0x60]
call fcn.0040bd90
lea rcx, [rbp + 0x68]
call fcn.0040bcf0
lea rcx, [rbp + 0x70]
call fcn.0040bd90
lea rcx, [rbp + 0xe0]
call fcn.0040bd90
lea rsp, [rbp + 0xd0]
pop rbp
ret