Function at 0x140011244
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001a8d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, 0x126
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
mov qword [rbp + 0x408], 0xfffffffffffffffe
mov rax, qword [0x140037010]
xor rax, rbp
mov qword [rbp + 0x450], rax
mov dword [rbp + 0x3e4], 0
mov rax, qword [rbp + 0x480]
cmp qword [rax + 0x68], 0
je 0x14001a93d
mov rax, qword [rbp + 0x480]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001a949
mov al, 1
jmp 0x14001ac86
mov dword [rbp + 4], 8
call fcn.1400113ed
mov rcx, qword [rbp + 0x480]
mov rcx, qword [rcx]
mov qword [rbp + 0x418], rcx
mov edx, eax
mov rcx, qword [rbp + 0x480]
mov rax, qword [rbp + 0x418]
call qword [rax + 0x18]
mov dword [rbp + 0x224], eax
call fcn.1400113ed
mov dword [rbp + 0x244], eax
lea rdx, [rbp + 0x224]
lea rcx, [rbp + 0x244]
call fcn.140011ab9
movzx eax, al
test eax, eax
je 0x14001a9ab
xor al, al
jmp 0x14001ac86
xor r8d, r8d
mov edx, 8
lea rcx, [rbp + 0x48]
call fcn.1400119b0
nop
lea rdx, [rbp + 0x288]
lea rcx, [rbp + 0x48]
call fcn.140011a96
mov qword [rbp + 0x418], rax
mov rax, qword [rbp + 0x418]
mov qword [rbp + 0x420], rax
mov rcx, qword [rbp + 0x420]
call fcn.1400110d7
mov qword [rbp + 0x428], rax
lea rcx, [rbp + 0x48]
call fcn.140011979
mov rcx, qword [rbp + 0x428]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x430], rax
lea rdx, [rbp + 0x2b8]
lea rcx, [rbp + 0x48]
call fcn.140011a96
mov qword [rbp + 0x438], rax
mov rax, qword [rbp + 0x438]
mov qword [rbp + 0x440], rax
mov rcx, qword [rbp + 0x440]
call fcn.1400110d7
mov rcx, qword [rbp + 0x480]
add rcx, 0x74
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp + 0x430]
mov r9, rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rbp + 0x480]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x264], eax
lea rcx, [rbp + 0x2b8]
call fcn.140011465
nop
lea rcx, [rbp + 0x288]
call fcn.140011465
mov eax, dword [rbp + 0x264]
mov dword [rbp + 0x448], eax
cmp dword [rbp + 0x448], 0
je 0x14001aac7
cmp dword [rbp + 0x448], 1
je 0x14001aad2
cmp dword [rbp + 0x448], 3
je 0x14001ac45
jmp 0x14001ac5e
mov rax, qword [rbp + 0x480]
mov byte [rax + 0x71], 0
lea rdx, [rbp + 0x2e8]
lea rcx, [rbp + 0x48]
call fcn.140011a96
mov qword [rbp + 0x418], rax
mov rax, qword [rbp + 0x418]
mov qword [rbp + 0x420], rax
mov rcx, qword [rbp + 0x420]
call fcn.1400110d7
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0x2e8]
call fcn.140011465
cmp qword [rbp + 0x88], 0
jbe 0x14001aba2
lea rdx, [rbp + 0x338]
lea rcx, [rbp + 0x48]
call fcn.140011a96
mov qword [rbp + 0x418], rax
mov rax, qword [rbp + 0x418]
mov qword [rbp + 0x420], rax
mov eax, dword [rbp + 0x3e4]
or eax, 1
mov dword [rbp + 0x3e4], eax
mov rcx, qword [rbp + 0x420]
call fcn.1400110d7
mov rcx, qword [rbp + 0x480]
mov r9, qword [rcx + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001aba2
mov dword [rbp + 0x428], 1
jmp 0x14001abac
mov dword [rbp + 0x428], 0
movzx eax, byte [rbp + 0x428]
mov byte [rbp + 0x314], al
mov eax, dword [rbp + 0x3e4]
and eax, 1
test eax, eax
je 0x14001abd9
and dword [rbp + 0x3e4], 0xfffffffe
lea rcx, [rbp + 0x338]
call fcn.140011465
movzx eax, byte [rbp + 0x314]
test eax, eax
je 0x14001ac00
mov byte [rbp + 0x364], 0
lea rcx, [rbp + 0x48]
call fcn.1400111f4
movzx eax, byte [rbp + 0x364]
jmp 0x14001ac86
mov rax, qword [rbp + 0x480]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001ac28
mov byte [rbp + 0x384], 1
lea rcx, [rbp + 0x48]
call fcn.1400111f4
movzx eax, byte [rbp + 0x384]
jmp 0x14001ac86
cmp qword [rbp + 0x88], 0
jne 0x14001ac43
xor r8d, r8d
mov edx, 8
lea rcx, [rbp + 0x48]
call fcn.1400111a9
jmp 0x14001ac77
mov byte [rbp + 0x3a4], 1
lea rcx, [rbp + 0x48]
call fcn.1400111f4
movzx eax, byte [rbp + 0x3a4]
jmp 0x14001ac86
mov byte [rbp + 0x3c4], 0
lea rcx, [rbp + 0x48]
call fcn.1400111f4
movzx eax, byte [rbp + 0x3c4]
jmp 0x14001ac86
jmp 0x14001a9bd
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002fba0]
call fcn.14001141f
mov rax, rdi
mov rcx, qword [rbp + 0x450]
xor rcx, rbp
call fcn.140011a37
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret