Function at 0x1400b97b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x1406c4a98]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x1400b9915
mov ebp, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1400b980e
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x1400b980e
add ecx, 0xffffffff
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], bpl
jmp 0x1400b9a08
cmp qword [rdi + 0x80], 0
je 0x1400b9a03
mov rdx, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [rdx], rax
je 0x1400b991c
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400b997c
cmp dword [0x1406ce044], 0xa
jl 0x1400b9859
mov eax, dword [0x1406ce040]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1400b9859
mov byte [rsp + 0x5f], bpl
mov byte [rsp + 0x5f], bpl
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov rbx, qword [rcx]
lea rsi, [rsp + 0x48]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
lea r15, [rsp + 0x60]
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r14, [rsp + 0x5f]
mov r8, r14
call qword [rbx + gethostname]
cmp eax, 3
jge 0x1400b99ea
cmp eax, 1
ja 0x1400b9a03
mov eax, dword [0x1406ce040]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x1406ce044], 0xa
setl al
or al, cl
test al, al
je 0x1400b98d0
mov rbx, qword [rsp + 0x48]
sub rbx, r15
je 0x1400b9901
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x60]
mov edx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1400b9a03
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], r14
jne 0x1400b9a08
jmp 0x1400b9a03
xor ebp, ebp
jmp 0x1400b9a08
mov eax, dword [rdi + 0x90]
mov rcx, qword [rdi + 0x88]
sub eax, ecx
nop dword [rax + rax]
mov qword [rdx], rcx
mov rdx, qword [rdi + 0x38]
mov qword [rdx], rcx
mov rdx, qword [rdi + 0x50]
mov dword [rdx], eax
cmp dword [0x1406ce034], 0xa
jl 0x1400b982d
mov edx, dword [0x1406ce030]
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
je 0x1400b982d
mov rdx, qword [rdi + 0x18]
mov qword [rdx], rcx
mov rdx, qword [rdi + 0x38]
mov qword [rdx], rcx
mov rdx, qword [rdi + 0x50]
mov dword [rdx], eax
mov rdx, qword [rdi + 0x18]
jmp 0x1400b9930
mov rdi, qword [rdi + 0x80]
movsx ebx, bpl
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp dword [0x1406ce044], 0xa
jl 0x1400b99fe
mov ecx, dword [0x1406ce040]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1400b99fe
mov rsi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
nop word cs:[rax + rax]
nop dword [rax]
mov ecx, ebx
mov rdx, rdi
call rsi
mov ecx, ebx
mov rdx, rdi
call rsi
cmp dword [0x1406ce044], 0xa
jl 0x1400b99fe
mov ecx, dword [0x1406ce040]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x1400b99c0
jmp 0x1400b99fe
jne 0x1400b9a03
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
jne 0x1400b9a08
mov ebp, 0xffffffff
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401f88b0
mov eax, ebp
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret