Function at 0x1400bfa50
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x190
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], 0xfffffffffffffffe
mov qword [rbp], rcx
mov dword [rbp + 0xc8], edx
mov qword [rbp + 0xd0], r9
and r8b, 1
mov byte [rbp + 0xcc], r8b
mov eax, dword [rbp + 0xc8]
mov cl, byte [rbp + 0xcc]
mov rdx, qword [rbp + 0xd0]
mov qword [rbp + 0xe0], rdx
mov byte [rbp + 0xdc], cl
mov dword [rbp + 0xd8], eax
lea rcx, [rbp + 0xd8]
call fcn.14003ac00
xor al, 0xff
test al, 1
jne 0x1400bfac1
jmp 0x1400bfacd
mov rax, qword [rbp]
test byte [rax + 0x3c], 1
jne 0x1400bfad6
jmp 0x1400bfb16
add rsp, 0x190
pop rbp
ret
mov rcx, qword [rbp]
call fcn.1400bffb0
mov ecx, eax
mov rdx, qword [rbp + 0xe0]
mov r8d, dword [rbp + 0xd8]
call fcn.14015e300
mov dword [rbp + 0xf0], 0xaa
mov dword [rbp + 0xf8], eax
cmp dword [rbp + 0xf8], 0xffffffff
je 0x1400bfbbf
jmp 0x1400bfbd6
mov rcx, qword [rbp]
call fcn.1400bffd0
mov rdx, qword [rbp]
mov qword [rbp + 0xe8], rax
mov r8, qword [rbp + 0xe8]
mov eax, dword [rdx + 0x88]
mov rcx, qword [rdx + 0x90]
mov rdx, qword [rdx + 0x98]
mov qword [rbp + 0xb0], r8
lea r8, [0x1401b2bc0]
mov qword [rbp + 0xa8], r8
mov qword [rbp + 0x80], rdx
mov qword [rbp + 0x78], rcx
mov dword [rbp + 0x70], eax
mov eax, dword [rbp + 0x70]
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x80]
mov qword [rbp + 0xa0], rdx
mov qword [rbp + 0x98], rcx
mov dword [rbp + 0x90], eax
mov byte [rbp + 0x8f], 1
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x48], rax
call fcn.1400c0ab0
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
call fcn.1400c0bb0
mov qword [rbp - 8], rax
jmp 0x1400bfc48
call fcn.14009fce0
mov ecx, eax
mov edx, 9
call fcn.14009fcd0
test al, 1
jne 0x1400bfbd8
jmp 0x1400bfbec
jmp 0x1400bfc00
lea rcx, [0x1401b2b70]
call fcn.1400c0740
mov rcx, rax
call fcn.140011610
lea rcx, [0x1401b2ba0]
call fcn.1400c0830
mov rcx, rax
call fcn.140011610
mov r8, qword [rbp + 0xf8]
mov edx, dword [rbp + 0xf0]
lea rcx, [rbp + 0xd8]
call fcn.14003b140
mov qword [rbp + 0x10], rcx
mov dword [rbp + 8], eax
and dl, 1
mov byte [rbp + 0xc], dl
mov eax, dword [rbp + 8]
mov cl, byte [rbp + 0xc]
mov rdx, qword [rbp + 0x10]
mov qword [rbp + 0xe0], rdx
mov byte [rbp + 0xdc], cl
mov dword [rbp + 0xd8], eax
jmp 0x1400bfaad
mov rax, qword [rbp - 8]
mov qword [rbp + 0xc0], rax
mov rcx, qword [rbp + 0xe8]
mov rdx, qword [rbp + 0xe0]
mov r8d, dword [rbp + 0xd8]
mov r9, qword [rbp + 0xc0]
mov rax, rsp
mov qword [rax + 0x20], r9
lea r9, [rbp + 0xbc]
call sub.KERNEL32.dll_WriteFile
mov dword [rbp + 0xb8], eax
mov eax, dword [rbp + 0xb8]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0xbc]
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x38]
mov ecx, dword [rbp + 0x3c]
mov dword [rbp + 0x64], ecx
mov dword [rbp + 0x60], eax
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x58], eax
cmp dword [rbp + 0x5c], 0
jne 0x1400bfcce
call fcn.140082100
mov dword [rbp + 0x54], eax
mov ecx, dword [rbp + 0x54]
call fcn.140082460
test al, 1
jne 0x1400bfcf1
jmp 0x1400bfd00
mov rcx, qword [rbp + 0x68]
mov dl, 1
call fcn.1400c0ce0
mov eax, dword [rbp + 0x58]
mov dword [rbp - 0xc], eax
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x1400bfdf9
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x1400bfd0e
mov ecx, dword [rbp + 0x54]
call fcn.140082480
test al, 1
jne 0x1400bfd2d
jmp 0x1400bfd3c
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x1400bfd15
mov eax, dword [rbp - 0x10]
mov dword [rbp + 0xf0], 0xab
mov dword [rbp + 0xf8], eax
jmp 0x1400bfc00
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x1400bfd4a
mov ecx, dword [rbp + 0x54]
call fcn.1400824a0
test al, 1
jne 0x1400bfd51
jmp 0x1400bfd7d
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x1400bfd15
mov rcx, qword [rbp]
mov r9, qword [rbp + 0xa0]
mov r8, qword [rbp + 0x98]
mov edx, dword [rbp + 0x90]
mov rax, rsp
mov dword [rax + 0x20], 0xca
call fcn.1400bfff0
jmp 0x1400bfe04
mov ecx, dword [rbp + 0x54]
call fcn.1400824c0
test al, 1
jne 0x1400bfd8b
jmp 0x1400bfd96
test byte [rbp + 0x8f], 1
jne 0x1400bfdab
jmp 0x1400bfdb8
mov rcx, qword [rbp + 0xa8]
mov edx, dword [rbp + 0x54]
call fcn.1400c0970
mov qword [rbp - 0x18], rax
jmp 0x1400bfdee
lea rax, [0x1401b2c00]
mov qword [rbp - 0x20], rax
jmp 0x1400bfdc5
lea rax, [0x1401b2c20]
mov qword [rbp - 0x20], rax
jmp 0x1400bfdc5
mov rdx, qword [rbp - 0x20]
lea rcx, [0x1401b2be0]
call fcn.1400313b0
mov qword [rbp - 0x28], rax
jmp 0x1400bfddb
mov rcx, qword [rbp - 0x28]
call fcn.1400c0740
mov rcx, rax
call fcn.140011610
jmp 0x1400bfdee
mov rcx, qword [rbp - 0x18]
call fcn.140011610
jmp 0x1400bfdf9
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x10], eax
jmp 0x1400bfd15
mov rax, qword [rbp + 0x68]
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp + 0xb0]
mov qword [rbp + 0x28], rcx
mov ecx, dword [rax + 0x10]
call fcn.1400c0ea0
mov cl, al
and cl, 1
mov byte [rbp + 0x27], cl
test al, 1
jne 0x1400bfe6f
jmp 0x1400bfe77
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp + 0x28]
add rdx, 0x28
lea r8, [rbp + 0x20]
xor r9d, r9d
call sub.KERNEL32.dll_GetOverlappedResult
mov dword [rbp + 0x1c], eax
mov ecx, dword [rbp + 0x1c]
call fcn.14001bf60
test al, 1
jne 0x1400bfea2
jmp 0x1400bfebe
mov rax, qword [rbp - 0x30]
mov edx, dword [rax + 0x10]
lea rcx, [0x1401b2c40]
call fcn.140032750
mov qword [rbp - 0x38], rax
jmp 0x1400bfe8f
mov al, byte [rbp + 0x27]
mov byte [rbp - 0x39], al
jmp 0x1400bfe86
mov rax, qword [rbp - 0x30]
mov ecx, dword [rax + 0x10]
call fcn.1400c0e80
mov byte [rbp - 0x39], al
mov al, byte [rbp - 0x39]
test al, 1
jne 0x1400bfe2d
jmp 0x1400bfe56
mov rcx, qword [rbp - 0x38]
call fcn.140081f90
mov rcx, rax
call fcn.140001b70
jmp 0x1400bfea2
call fcn.140082100
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x34], eax
mov ecx, dword [rbp + 0x34]
call fcn.1400824e0
test al, 1
jne 0x1400bfedc
jmp 0x1400bfef5
mov eax, dword [rbp + 0x20]
mov dword [rbp - 0x40], eax
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x10], eax
jmp 0x1400bfd15
mov rcx, qword [rbp + 0xa8]
lea rdx, [0x1401b2c60]
call fcn.1400313b0
mov qword [rbp - 0x48], rax
jmp 0x1400bff03
mov ecx, dword [rbp + 0x34]
call fcn.140082460
test al, 1
jne 0x1400bff16
jmp 0x1400bff25
mov rcx, qword [rbp - 0x48]
call fcn.1400cd580
mov rcx, rax
call fcn.140011920
jmp 0x1400bff16
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x1400bff33
mov ecx, dword [rbp + 0x34]
call fcn.140082480
test al, 1
jne 0x1400bff3d
jmp 0x1400bff4c
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x1400bfd15
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x1400bff61
mov edx, dword [rbp + 0x18]
lea rcx, [0x1401b2c80]
call fcn.1400c0970
mov qword [rbp - 0x50], rax
jmp 0x1400bff6b
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x1400bfd15
mov rcx, qword [rbp - 0x50]
call fcn.140011610
jmp 0x1400bff76
int3