Function at 0x140078cf0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140b74de8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rcx
test rcx, rcx
mov eax, 0x56106237
mov r15d, 0x4d23d5b5
cmove r15d, eax
mov eax, 0x8240bf5b
lea r12, [rsp + 0x58]
mov r14d, 0x67eedf3b
mov r13d, 0x7172967f
jmp 0x140078d70
mov eax, dword [0x140b75a00]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xc878229d
cmove eax, r14d
cmp dword [0x140b75a04], 0xa
cmovl eax, r14d
nop word cs:[rax + rax]
nop dword [rax + rax]
cmp eax, 0x3f6d8092
jle 0x140078db0
cmp eax, 0x5fa8cd8d
jg 0x140078e20
cmp eax, 0x4d23d5b4
jg 0x140078e7b
cmp eax, 0x3f6d8093
je 0x140078f4a
cmp eax, 0x41d45b90
jne 0x140078d70
mov eax, 0x722749e7
jmp 0x140078d70
cmp eax, 0x3db247f
jle 0x140078e50
cmp eax, 0x2a1dfba3
jg 0x140078e9b
cmp eax, 0x3db2480
je 0x140079070
cmp eax, 0x7a9f7f3
jne 0x140078d70
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x30]
mov ecx, 0x8d00a110
nop dword [rax]
cmp ecx, 0x77ff9ad2
je 0x140079087
cmp ecx, 0x8d00a110
jne 0x140078df0
mov edx, 1
mov rcx, rdi
mov r8, rbx
mov r9, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ecx, 0x77ff9ad2
jmp 0x140078df0
cmp eax, 0x7172967e
jg 0x140078ef2
cmp eax, 0x5fa8cd8e
je 0x14007909b
cmp eax, 0x67eedf3b
jne 0x140078d70
mov eax, 0x88141a81
jmp 0x140078d70
cmp eax, 0xba61d239
jg 0x140078f35
cmp eax, 0x8240bf5b
je 0x1400790a5
cmp eax, 0x88141a81
jne 0x140078d70
mov eax, 0xba61d23a
jmp 0x140078d70
cmp eax, 0x4d23d5b5
je 0x1400790bb
cmp eax, 0x56106237
jne 0x140078d70
mov eax, 0xba61d23a
jmp 0x140078d70
cmp eax, 0x2a1dfba4
je 0x1400790cf
cmp eax, 0x384103ba
jne 0x140078d70
mov qword [rsp + 0x58], 0
mov rcx, r12
call fcn.1400d37a0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x40]
lea rdx, [0x14071f443]
call fcn.14000f4a0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
setne byte [rsp + 0x26]
mov eax, 0x2a1dfba4
jmp 0x140078d70
cmp eax, 0x7172967f
je 0x140078d3e
cmp eax, 0x722749e7
jne 0x140078d70
mov rax, qword [rsp + 0x38]
mov eax, dword [0x140b75a00]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xc878229d
cmove eax, r13d
cmp dword [0x140b75a04], 0xa
cmovl eax, r13d
jmp 0x140078d70
cmp eax, 0xc878229d
jne 0x1400790e6
mov eax, 0x7172967f
jmp 0x140078d70
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x140b75120]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete cl
cmp dword [0x140b75124], 0xa
setl dl
or dl, cl
mov ecx, 0x32a4e1c6
mov edx, 0x9989f046
cmovne ecx, edx
mov ebp, 0x32a4e1c6
mov edx, 0x9bc8b999
cmovne ebp, edx
mov dword [rsp + 0x28], eax
mov edi, 0xb6d4ea11
mov eax, 0x4c01c499
cmovne edi, eax
mov ebx, 0xb6d4ea11
mov eax, 0x57790e1a
cmovne ebx, eax
mov edx, 0x9f054fdd
jmp 0x140078fc0
mov edx, 0x9bc8b999
nop word [rax + rax]
mov esi, edx
cmp edx, 0x32a4e1c5
jle 0x140078ff0
cmp esi, 0x5641c840
jg 0x140079020
cmp esi, 0x32a4e1c6
je 0x140078fb2
mov edx, esi
cmp esi, 0x4c01c499
jne 0x140078fc0
mov edx, 0x5641c841
jmp 0x140078fc0
cmp esi, 0x9f054fdc
jle 0x140079040
mov edx, ebx
cmp esi, 0x9f054fdd
je 0x140078fc0
mov edx, esi
cmp esi, 0xb6d4ea11
jne 0x140078fc0
mov edx, dword [rsp + 0x28]
mov edx, 0x57790e1a
jmp 0x140078fc0
mov edx, ebp
cmp esi, 0x5641c841
je 0x140078fc0
mov edx, esi
cmp esi, 0x57790e1a
jne 0x140078fc0
cmp dword [rsp + 0x28], 0
sete al
mov edx, edi
jmp 0x140078fc0
mov edx, ecx
cmp esi, 0x9bc8b999
je 0x140078fc0
mov edx, esi
cmp esi, 0x9989f046
jne 0x140078fc0
and al, 1
mov byte [rsp + 0x27], al
mov al, byte [rsp + 0x27]
mov eax, 0x5fa8cd8e
jmp 0x140078d70
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x537c], 0
mov eax, r15d
jmp 0x140078d70
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, 0x3f6d8093
jmp 0x140078d70
mov eax, 0x722749e7
jmp 0x140078d70
mov rax, qword [0x140b74e90]
mov qword [rsp + 0x48], rax
mov eax, 0x3db2480
jmp 0x140078d70
mov qword [rsp + 0x38], r12
mov rax, qword [rsp + 0x38]
mov eax, 0x384103ba
jmp 0x140078d70
cmp byte [rsp + 0x26], 0
mov eax, 0x41d45b90
mov ecx, 0x7a9f7f3
cmovne eax, ecx
jmp 0x140078d70
cmp eax, 0xba61d23a
jne 0x140078d70
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1406ad9c0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret