Function at 0x140091ad0
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 0x140091b41
jmp 0x140091b4d
mov rax, qword [rbp]
test byte [rax + 0x3c], 1
jne 0x140091b56
jmp 0x140091b96
add rsp, 0x190
pop rbp
ret
mov rcx, qword [rbp]
call fcn.140092030
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 0x140091c3f
jmp 0x140091c56
mov rcx, qword [rbp]
call fcn.140092050
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, [0x1401b19f0]
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 0x140091cc8
call fcn.14009fce0
mov ecx, eax
mov edx, 9
call fcn.14009fcd0
test al, 1
jne 0x140091c58
jmp 0x140091c6c
jmp 0x140091c80
lea rcx, [0x1401b19a0]
call fcn.1400c0740
mov rcx, rax
call fcn.140011610
lea rcx, [0x1401b19d0]
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 0x140091b2d
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 0x140091d4e
call fcn.140082100
mov dword [rbp + 0x54], eax
mov ecx, dword [rbp + 0x54]
call fcn.140082460
test al, 1
jne 0x140091d71
jmp 0x140091d80
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 0x140091e79
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x140091d8e
mov ecx, dword [rbp + 0x54]
call fcn.140082480
test al, 1
jne 0x140091dad
jmp 0x140091dbc
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x140091d95
mov eax, dword [rbp - 0x10]
mov dword [rbp + 0xf0], 0xab
mov dword [rbp + 0xf8], eax
jmp 0x140091c80
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x140091dca
mov ecx, dword [rbp + 0x54]
call fcn.1400824a0
test al, 1
jne 0x140091dd1
jmp 0x140091dfd
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x140091d95
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.140092070
jmp 0x140091e84
mov ecx, dword [rbp + 0x54]
call fcn.1400824c0
test al, 1
jne 0x140091e0b
jmp 0x140091e16
test byte [rbp + 0x8f], 1
jne 0x140091e2b
jmp 0x140091e38
mov rcx, qword [rbp + 0xa8]
mov edx, dword [rbp + 0x54]
call fcn.1400c0970
mov qword [rbp - 0x18], rax
jmp 0x140091e6e
lea rax, [0x1401b1a30]
mov qword [rbp - 0x20], rax
jmp 0x140091e45
lea rax, [0x1401b1a50]
mov qword [rbp - 0x20], rax
jmp 0x140091e45
mov rdx, qword [rbp - 0x20]
lea rcx, [0x1401b1a10]
call fcn.1400313b0
mov qword [rbp - 0x28], rax
jmp 0x140091e5b
mov rcx, qword [rbp - 0x28]
call fcn.1400c0740
mov rcx, rax
call fcn.140011610
jmp 0x140091e6e
mov rcx, qword [rbp - 0x18]
call fcn.140011610
jmp 0x140091e79
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x10], eax
jmp 0x140091d95
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 0x140091eef
jmp 0x140091ef7
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 0x140091f22
jmp 0x140091f3e
mov rax, qword [rbp - 0x30]
mov edx, dword [rax + 0x10]
lea rcx, [0x1401b1a70]
call fcn.140032750
mov qword [rbp - 0x38], rax
jmp 0x140091f0f
mov al, byte [rbp + 0x27]
mov byte [rbp - 0x39], al
jmp 0x140091f06
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 0x140091ead
jmp 0x140091ed6
mov rcx, qword [rbp - 0x38]
call fcn.140081f90
mov rcx, rax
call fcn.140001b70
jmp 0x140091f22
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 0x140091f5c
jmp 0x140091f75
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 0x140091d95
mov rcx, qword [rbp + 0xa8]
lea rdx, [0x1401b1a90]
call fcn.1400313b0
mov qword [rbp - 0x48], rax
jmp 0x140091f83
mov ecx, dword [rbp + 0x34]
call fcn.140082460
test al, 1
jne 0x140091f96
jmp 0x140091fa5
mov rcx, qword [rbp - 0x48]
call fcn.1400cd580
mov rcx, rax
call fcn.140011920
jmp 0x140091f96
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x140091fb3
mov ecx, dword [rbp + 0x34]
call fcn.140082480
test al, 1
jne 0x140091fbd
jmp 0x140091fcc
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x140091d95
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.1400c0c10
jmp 0x140091fe1
mov edx, dword [rbp + 0x18]
lea rcx, [0x1401b1ab0]
call fcn.1400c0970
mov qword [rbp - 0x50], rax
jmp 0x140091feb
xor eax, eax
mov dword [rbp - 0x10], eax
jmp 0x140091d95
mov rcx, qword [rbp - 0x50]
call fcn.140011610
jmp 0x140091ff6
int3