Function at 0x140081a70
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r15, r8
mov rdi, rdx
mov r14, rcx
lea rax, [rcx + 0x53e0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
lea rbx, [rcx + 0x53e8]
mov eax, 0xcaa02a73
mov r12d, 0x1a3dbfe2
mov r13d, 0x5207d244
jmp 0x140081ae2
mov eax, dword [0x14082f960]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9794c23a
mov ecx, 0x23b15ba6
cmove eax, ecx
cmp dword [0x14082f964], 0xa
cmovl eax, ecx
cmp eax, 0x1a3dbfe1
jle 0x140081b30
cmp eax, 0x4462e624
jg 0x140081b60
cmp eax, 0x2b4635a5
jle 0x140081bff
cmp eax, 0x2b4635a6
je 0x140081c14
cmp eax, 0x31b5c9f1
jne 0x140081ae2
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call fcn.14000c920
mov eax, 0x7b4a2c43
jmp 0x140081ae2
cmp eax, 0xcaa02a72
jg 0x140081bc0
cmp eax, 0x801a9a58
je 0x140081c32
cmp eax, 0x86076be0
je 0x140081c50
cmp eax, 0x9794c23a
jne 0x140081ae2
mov eax, 0x9aaa810
jmp 0x140081ae2
cmp eax, 0x4462e625
je 0x140081d3a
cmp eax, 0x5207d244
je 0x140081e1a
cmp eax, 0x7b4a2c43
jne 0x140081ae2
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call fcn.14000c920
mov eax, dword [0x14082f960]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x31b5c9f1
cmove eax, r13d
cmp dword [0x14082f964], 0xa
cmovl eax, r13d
jmp 0x140081ae2
cmp eax, 0xcaa02a73
je 0x140081e24
cmp eax, 0x9aaa810
je 0x140081abc
cmp eax, 0x190e95d9
jne 0x140081ae2
mov eax, dword [0x14082f960]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x86076be0
mov ecx, 0x4462e625
jmp 0x140081ad5
cmp eax, 0x1a3dbfe2
jne 0x140082018
mov eax, 0x2b4635a6
jmp 0x140081ae2
mov eax, dword [0x14082f960]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9794c23a
mov ecx, 0x9aaa810
jmp 0x140081ad5
mov eax, dword [0x14082f960]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x31b5c9f1
mov ecx, 0x7b4a2c43
jmp 0x140081ad5
mov rcx, rbx
xor edx, edx
call fcn.14000c610
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call fcn.14000c920
mov rax, qword [rsp + 0x38]
mov r9, qword [rax]
mov eax, dword [rbx]
mov dword [rsp + 0x2c], eax
mov eax, dword [0x14082f2a0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x14082f2a4], 0xa
setl cl
or cl, al
mov esi, 0x55ba6651
mov eax, 0xdf60d6f1
cmovne esi, eax
mov ecx, 0x55ba6651
mov eax, 0xc41cc5bd
cmovne ecx, eax
mov eax, 0x316e53d7
nop word cs:[rax + rax]
nop dword [rax]
cmp eax, 0x316e53d6
jg 0x140081cf0
cmp eax, 0x867041a1
je 0x140081d1b
cmp eax, 0xc41cc5bd
je 0x140081d21
cmp eax, 0xdf60d6f1
jne 0x140081cc0
jmp 0x140081e3c
cmp eax, 0x5cfdf7a9
je 0x140081d25
cmp eax, 0x55ba6651
je 0x140081d33
cmp eax, 0x316e53d7
jne 0x140081cc0
cmp dword [rsp + 0x2c], 0
mov eax, 0x5cfdf7a9
mov edx, 0x867041a1
cmove eax, edx
xor edx, edx
jmp 0x140081cc0
mov ebp, edx
mov eax, ecx
jmp 0x140081cc0
mov eax, esi
jmp 0x140081cc0
mov edx, dword [rsp + 0x2c]
add edx, 0xffffffff
mov eax, 0x867041a1
jmp 0x140081cc0
mov eax, 0xc41cc5bd
jmp 0x140081cc0
mov rcx, rbx
xor edx, edx
call fcn.14000c610
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call fcn.14000c920
mov rax, qword [rsp + 0x38]
mov r9, qword [rax]
mov eax, dword [rbx]
mov dword [rsp + 0x2c], eax
mov eax, dword [0x14082f2a0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x14082f2a4], 0xa
setl cl
or cl, al
mov esi, 0x55ba6651
mov eax, 0xdf60d6f1
cmovne esi, eax
mov ecx, 0x55ba6651
mov eax, 0xc41cc5bd
cmovne ecx, eax
mov eax, 0x316e53d7
nop dword [rax]
cmp eax, 0x316e53d6
jg 0x140081dd0
cmp eax, 0x867041a1
je 0x140081dfb
cmp eax, 0xc41cc5bd
je 0x140081e01
cmp eax, 0xdf60d6f1
jne 0x140081da0
jmp 0x140081f00
cmp eax, 0x5cfdf7a9
je 0x140081e05
cmp eax, 0x55ba6651
je 0x140081e13
cmp eax, 0x316e53d7
jne 0x140081da0
cmp dword [rsp + 0x2c], 0
mov eax, 0x5cfdf7a9
mov edx, 0x867041a1
cmove eax, edx
xor edx, edx
jmp 0x140081da0
mov ebp, edx
mov eax, ecx
jmp 0x140081da0
mov eax, esi
jmp 0x140081da0
mov edx, dword [rsp + 0x2c]
add edx, 0xffffffff
mov eax, 0x867041a1
jmp 0x140081da0
mov eax, 0xc41cc5bd
jmp 0x140081da0
mov eax, 0x2b4635a6
jmp 0x140081ae2
cmp qword [rsp + 0x40], 0
mov eax, 0x190e95d9
mov ecx, 0x801a9a58
cmove eax, ecx
jmp 0x140081ae2
mov dword [rsp + 0x30], ebp
movsxd r8, dword [rsp + 0x30]
mov rax, qword [r14 + 0x53f0]
mov qword [rsp + 0x30], rax
mov eax, dword [0x14082f968]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x14082f96c], 0xa
setl cl
or cl, al
mov ebp, 0x724d038d
mov eax, 0x170e781f
cmovne ebp, eax
mov edx, 0x724d038d
mov eax, 0x6068245d
cmovne edx, eax
mov eax, 0x3ac38329
nop
cmp eax, 0x3ac38328
jg 0x140081ec0
cmp eax, 0xbc3b3632
je 0x140081fd0
cmp eax, 0xbfd71434
je 0x140081ef1
cmp eax, 0x170e781f
jne 0x140081e90
mov eax, 0xbc3b3632
mov rcx, qword [rsp + 0x30]
jmp 0x140081e90
cmp eax, 0x724d038d
je 0x140081ef5
cmp eax, 0x6068245d
je 0x140081efc
cmp eax, 0x3ac38329
jne 0x140081e90
cmp qword [rsp + 0x30], 0
mov eax, 0xbfd71434
mov ecx, 0xbc3b3632
cmove eax, ecx
lea rcx, [0x14082ea08]
jmp 0x140081e90
mov eax, edx
jmp 0x140081e90
mov eax, 0x6068245d
jmp 0x140081e90
mov eax, ebp
jmp 0x140081e90
mov dword [rsp + 0x30], ebp
movsxd r8, dword [rsp + 0x30]
mov rax, qword [r14 + 0x53f0]
mov qword [rsp + 0x30], rax
mov eax, dword [0x14082f968]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x14082f96c], 0xa
setl cl
or cl, al
mov ebp, 0x724d038d
mov eax, 0x170e781f
cmovne ebp, eax
mov edx, 0x724d038d
mov eax, 0x6068245d
cmovne edx, eax
mov eax, 0x3ac38329
nop word cs:[rax + rax]
nop dword [rax]
cmp eax, 0x3ac38328
jg 0x140081f90
cmp eax, 0xbc3b3632
je 0x140081fe5
cmp eax, 0xbfd71434
je 0x140081fc1
cmp eax, 0x170e781f
jne 0x140081f60
mov eax, 0xbc3b3632
mov rcx, qword [rsp + 0x30]
jmp 0x140081f60
cmp eax, 0x724d038d
je 0x140081fc5
cmp eax, 0x6068245d
je 0x140081fcc
cmp eax, 0x3ac38329
jne 0x140081f60
cmp qword [rsp + 0x30], 0
mov eax, 0xbfd71434
mov ecx, 0xbc3b3632
cmove eax, ecx
lea rcx, [0x14082ea08]
jmp 0x140081f60
mov eax, edx
jmp 0x140081f60
mov eax, 0x6068245d
jmp 0x140081f60
mov eax, ebp
jmp 0x140081f60
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, 0x4462e625
jmp 0x140081ae2
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [0x14082f960]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x86076be0
cmove eax, r12d
cmp dword [0x14082f964], 0xa
cmovl eax, r12d
jmp 0x140081ae2
cmp eax, 0x23b15ba6
jne 0x140081ae2
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret