Function at 0x1400f2498
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0x2b0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x2a8], rbx
mov qword [rbp + 0x2b0], rsi
mov rax, qword [0x1401aeec0]
xor rax, rbp
mov qword [rbp + 0x260], rax
mov r12, rcx
mov qword [rbp + 0x38], rcx
lea rdx, [0x14015723e]
lea rcx, [rbp]
call fcn.140003880
nop
lea rdx, [0x140157f80]
lea rcx, [rbp + 0x48]
call fcn.140003880
mov r8d, dword [0x1401ab75c]
mov rdx, rax
lea rcx, [0x1401bcb38]
call fcn.14008502c
mov dword [0x1401ab75c], eax
or r14, 0xffffffffffffffff
mov dword [rsp + 0x20], r14d
mov r9d, r14d
mov r8d, eax
lea rdx, str.m_lang_id
lea rcx, [0x140158028]
call fcn.140084ba0
mov dword [0x1401ab75c], eax
test eax, eax
jne 0x1400f259c
lea rdx, str.DE_HELP
lea rcx, [rbp + 0x30]
call fcn.140003880
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.140083b3c
nop
mov rdx, rax
lea rcx, [rbp]
call fcn.140003940
nop
mov rcx, qword [rbp + 0x18]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1401a8050]
je 0x1400f25f2
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x1400f25f2
mov rcx, qword [rbp + 0x18]
add rcx, 0xfffffffffffffff4
call fcn.14011be18
jmp 0x1400f25f2
lea rdx, str.EN_HELP
lea rcx, [rbp + 0x40]
call fcn.140003880
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140083b3c
nop
mov rdx, rax
lea rcx, [rbp]
call fcn.140003940
nop
mov rcx, qword [rbp + 8]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1401a8050]
je 0x1400f25f2
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x1400f25f2
mov rcx, qword [rbp + 8]
add rcx, 0xfffffffffffffff4
call fcn.14011be18
and dword [rbp + 0x50], 0
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 0x54]
call fcn.14011b500
lea rdx, [rbp + 0x50]
mov ecx, 0x104
call qword [0x1401556f8]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14000a8dc
nop
lea rdx, str.tmp_htm__q_dir_hlp_z.html
lea rcx, [rbp + 0x20]
call fcn.140003880
nop
mov rdi, qword [rbp + 0x20]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x10]
call fcn.1400026b8
nop
lea rcx, [rdi - 0xc]
cmp rcx, qword [0x1401a8050]
je 0x1400f2669
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x1400f2669
call fcn.14011be18
lea rdx, [0x140157588]
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14011cecc
mov r13, rax
xor edx, edx
lea rcx, [rbp]
call fcn.140002cfc
mov rsi, rax
test rax, rax
jne 0x1400f269a
xor r10d, r10d
jmp 0x1400f271e
mov rcx, rax
call qword [0x140155830]
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x1400f26b3
xor r10d, r10d
jmp 0x1400f271e
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400f26cc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140130f00
sub rsp, rcx
lea rdi, [rsp + 0x40]
test rdi, rdi
je 0x1400f271b
mov byte [rdi], 0
lea eax, [rdx + rdx]
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, r14d
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [0x140155790]
neg eax
sbb r10, r10
and r10, rdi
jmp 0x1400f271e
xor r10d, r10d
xor eax, eax
mov rcx, r14
mov rdi, r10
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov r9, r13
lea edx, [rax + 1]
mov rcx, r10
call fcn.14011ccec
mov rcx, r13
call fcn.14011cad8
mov dword [rsp + 0x28], 3
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbx
lea rdx, str.open
xor ecx, ecx
call qword [0x1401559b0]
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x1401a8050]
je 0x1400f278a
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x1400f278a
call fcn.14011be18
nop
mov rcx, qword [rbp]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1401a8050]
je 0x1400f27af
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x1400f27af
call fcn.14011be18
nop
mov rcx, qword [r12]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1401a8050]
je 0x1400f27db
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x1400f27db
mov rcx, qword [r12]
sub rcx, 0xc
call fcn.14011be18
mov rcx, qword [rbp + 0x260]
xor rcx, rbp
call fcn.14011b6f0
mov rbx, qword [rbp + 0x2a8]
mov rsi, qword [rbp + 0x2b0]
lea rsp, [rbp + 0x270]
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret