Function at 0x1400bd7b0
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 0x1400bd821
jmp 0x1400bd82d
mov rax, qword [rbp]
test byte [rax + 0x3c], 1
jne 0x1400bd836
jmp 0x1400bd876
add rsp, 0x190
pop rbp
ret
mov rcx, qword [rbp]
call fcn.1400bdd10
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 0x1400bd91f
jmp 0x1400bd936
mov rcx, qword [rbp]
call fcn.1400bdd30
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, [0x1401b2940]
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 0x1400bd9a8
call fcn.14009fce0
mov ecx, eax
mov edx, 9
call fcn.14009fcd0
test al, 1
jne 0x1400bd938
jmp 0x1400bd94c
jmp 0x1400bd960
lea rcx, [0x1401b28f0]
call fcn.1400c0740
mov rcx, rax
call fcn.140011610
lea rcx, [0x1401b2920]
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 0x1400bd80d
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 0x1400bda2e
call fcn.140082100
mov dword [rbp + 0x54], eax
mov ecx, dword [rbp + 0x54]
call fcn.140082460
test al, 1
jne 0x1400bda51
jmp 0x1400bda60
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 0x1400bdb59
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x1400bda6e
mov ecx, dword [rbp + 0x54]
call fcn.140082480
test al, 1
jne 0x1400bda8d
jmp 0x1400bda9c
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x1400bda75
mov eax, dword [rbp - 0x10]
mov dword [rbp + 0xf0], 0xab
mov dword [rbp + 0xf8], eax
jmp 0x1400bd960
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x1400bdaaa
mov ecx, dword [rbp + 0x54]
call fcn.1400824a0
test al, 1
jne 0x1400bdab1
jmp 0x1400bdadd
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x1400bda75
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.1400bdd50
jmp 0x1400bdb64
mov ecx, dword [rbp + 0x54]
call fcn.1400824c0
test al, 1
jne 0x1400bdaeb
jmp 0x1400bdaf6
test byte [rbp + 0x8f], 1
jne 0x1400bdb0b
jmp 0x1400bdb18
mov rcx, qword [rbp + 0xa8]
mov edx, dword [rbp + 0x54]
call fcn.1400c0970
mov qword [rbp - 0x18], rax
jmp 0x1400bdb4e
lea rax, [0x1401b2980]
mov qword [rbp - 0x20], rax
jmp 0x1400bdb25
lea rax, [0x1401b29a0]
mov qword [rbp - 0x20], rax
jmp 0x1400bdb25
mov rdx, qword [rbp - 0x20]
lea rcx, [0x1401b2960]
call fcn.1400313b0
mov qword [rbp - 0x28], rax
jmp 0x1400bdb3b
mov rcx, qword [rbp - 0x28]
call fcn.1400c0740
mov rcx, rax
call fcn.140011610
jmp 0x1400bdb4e
mov rcx, qword [rbp - 0x18]
call fcn.140011610
jmp 0x1400bdb59
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x10], eax
jmp 0x1400bda75
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 0x1400bdbcf
jmp 0x1400bdbd7
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 0x1400bdc02
jmp 0x1400bdc1e
mov rax, qword [rbp - 0x30]
mov edx, dword [rax + 0x10]
lea rcx, [0x1401b29c0]
call fcn.140032750
mov qword [rbp - 0x38], rax
jmp 0x1400bdbef
mov al, byte [rbp + 0x27]
mov byte [rbp - 0x39], al
jmp 0x1400bdbe6
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 0x1400bdb8d
jmp 0x1400bdbb6
mov rcx, qword [rbp - 0x38]
call fcn.140081f90
mov rcx, rax
call fcn.140001b70
jmp 0x1400bdc02
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 0x1400bdc3c
jmp 0x1400bdc55
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 0x1400bda75
mov rcx, qword [rbp + 0xa8]
lea rdx, [0x1401b29e0]
call fcn.1400313b0
mov qword [rbp - 0x48], rax
jmp 0x1400bdc63
mov ecx, dword [rbp + 0x34]
call fcn.140082460
test al, 1
jne 0x1400bdc76
jmp 0x1400bdc85
mov rcx, qword [rbp - 0x48]
call fcn.1400cd580
mov rcx, rax
call fcn.140011920
jmp 0x1400bdc76
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x1400bdc93
mov ecx, dword [rbp + 0x34]
call fcn.140082480
test al, 1
jne 0x1400bdc9d
jmp 0x1400bdcac
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x1400bda75
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x1400bdcc1
mov edx, dword [rbp + 0x18]
lea rcx, [0x1401b2a00]
call fcn.1400c0970
mov qword [rbp - 0x50], rax
jmp 0x1400bdccb
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x1400bda75
mov rcx, qword [rbp - 0x50]
call fcn.140011610
jmp 0x1400bdcd6
int3