Function at 0x18005e7e1
Capabilities:
Write file on windows

Disassembly:
push rax
pushf
mov eax, 0xf5811fbd
pushf
not eax
add eax, 0xb757fb15
xor eax, 0xdaaecdb4
rol eax, 0x91
popf
pushf
not eax
add eax, 0xafa41b6c
xor eax, 0x81dde47b
rol eax, 0x46
popf
cmp eax, 4
jne 0x18005e81e
popf
pop rax
jmp 0x18005eb2e
cmp eax, 0
jne 0x18005e82d
popf
pop rax
jmp 0x18005e8c3
cmp eax, 3
jne 0x18005e83c
popf
pop rax
jmp 0x18005ea68
cmp eax, 1
jne 0x18005e84b
popf
pop rax
jmp 0x18005e97a
cmp eax, 0xa
jne 0x18005e85a
popf
pop rax
jmp 0x18005ee27
cmp eax, 7
jne 0x18005e869
popf
pop rax
jmp 0x18005ec7d
cmp eax, 6
jne 0x18005e878
popf
pop rax
jmp 0x18005ec2a
cmp eax, 0xb
jne 0x18005e887
popf
pop rax
jmp 0x18005ee7f
cmp eax, 9
jne 0x18005e896
popf
pop rax
jmp 0x18005ed4f
cmp eax, 8
jne 0x18005e8a5
popf
pop rax
jmp 0x18005ecb4
cmp eax, 5
jne 0x18005e8b4
popf
pop rax
jmp 0x18005eb99
cmp eax, 2
jne 0x18005e8c3
popf
pop rax
jmp 0x18005e9fd
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18005e921
push rax
pushf
mov eax, 0xd8563b66
pushf
not eax
add eax, 0x8999f695
xor eax, 0xe2424ffe
rol eax, 0xa9
popf
pushf
not eax
add eax, 0xa9a9b964
xor eax, 0xb428b74a
rol eax, 0x24
popf
pushf
not eax
add eax, 0xb175f13b
xor eax, 0xd2eaf1c9
rol eax, 0x62
popf
jmp 0x18005e80f
push rax
pushf
mov eax, 0x12e93fed
pushf
not eax
add eax, 0x87eb546c
xor eax, 0x849d2cce
rol eax, 0x80
popf
pushf
not eax
add eax, 0xf34458ca
xor eax, 0xa81bbd14
rol eax, 0xc3
popf
pushf
not eax
add eax, 0xa43497b9
xor eax, 0x9049af4f
rol eax, 0xd4
popf
pushf
not eax
add eax, 0xb505445a
xor eax, 0xb4b86cf9
rol eax, 0x54
popf
jmp 0x18005e80f
cmp byte [rcx + 0x72], 0
je 0x18005e9ca
push rax
pushf
mov eax, 0x927ef93b
pushf
not eax
add eax, 0xefb74a70
xor eax, 0xe79ba3c0
rol eax, 0xd9
popf
pushf
not eax
add eax, 0xe63aae9c
xor eax, 0xbf99966c
rol eax, 0x14
popf
pushf
not eax
add eax, 0x93a43128
xor eax, 0x85ff7b58
rol eax, 0x72
popf
jmp 0x18005e80f
push rax
pushf
mov eax, 0xc9c045cf
pushf
not eax
add eax, 0xc1ee96c9
xor eax, 0x8ac76f34
rol eax, 0x81
popf
pushf
not eax
add eax, 0xb8a94332
xor eax, 0xd2d6c39c
rol eax, 0xa0
popf
jmp 0x18005e80f
mov rax, qword [rcx]
mov edi, 0x474a6744
pushf
not edi
add edi, 0xb81e6c15
xor edi, 0xf3ad8dc3
rol edi, 0x4b
popf
pushf
not edi
add edi, 0xbf52fd1e
xor edi, 0xf24edace
rol edi, 0x16
popf
pushf
not edi
add edi, 0xbe5cdd44
xor edi, 0x836198e2
rol edi, 0x63
popf
pushf
not edi
add edi, 0xdb8672dd
xor edi, 0x999a34da
rol edi, 0xfd
popf
mov edx, edi
jmp 0x18005ea5c
call qword [rax + 0x18]
cmp di, ax
je 0x18005ec2a
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
jmp 0x18005ea85
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18005ead5
push rax
pushf
mov eax, 0x3bb0ed5d
pushf
not eax
add eax, 0xe303bbec
xor eax, 0xeda76770
rol eax, 0x8c
popf
pushf
not eax
add eax, 0xb9d49d7a
xor eax, 0x94522fb4
rol eax, 0x31
popf
pushf
not eax
add eax, 0xc812bca0
xor eax, 0x995525d2
rol eax, 0x2c
popf
jmp 0x18005e80f
push rax
pushf
mov eax, 0x8607017a
pushf
not eax
add eax, 0xd4e00b2d
xor eax, 0x9b43dbbe
rol eax, 0xa2
popf
pushf
not eax
add eax, 0x86c54389
xor eax, 0xc970782b
rol eax, 0x57
popf
pushf
not eax
add eax, 0xd861f32d
xor eax, 0xfa341186
rol eax, 0x18
popf
pushf
not eax
add eax, 0xbcda1114
xor eax, 0xce873fc4
rol eax, 0xcc
popf
jmp 0x18005e80f
sub eax, 1
je 0x18005eb66
push rax
pushf
mov eax, 0x6cd71160
pushf
not eax
add eax, 0xc05df68a
xor eax, 0xd5795589
rol eax, 0xe8
popf
pushf
not eax
add eax, 0xcc19577a
xor eax, 0xc668b6f3
rol eax, 0xc7
popf
jmp 0x18005e80f
push rax
pushf
mov eax, 0x2f28bdda
pushf
not eax
add eax, 0xe1df921e
xor eax, 0xe31f00d9
rol eax, 0xb5
popf
pushf
not eax
add eax, 0x86927207
xor eax, 0xf3482ccc
rol eax, 0xd7
popf
jmp 0x18005e80f
sub eax, 2
je 0x18005ebd1
push rax
pushf
mov eax, 0x84c418b2
pushf
not eax
add eax, 0x8a8ae394
xor eax, 0xd09c3beb
rol eax, 0x7f
popf
pushf
not eax
add eax, 0xf107e60b
xor eax, 0x86426d85
rol eax, 0xe
popf
jmp 0x18005e80f
push rax
pushf
mov eax, 0xd5cda19
pushf
not eax
add eax, 0xba7d4b14
xor eax, 0xa2c880e9
rol eax, 0xe6
popf
pushf
not eax
add eax, 0xf2b35469
xor eax, 0xea258a57
rol eax, 0xee
popf
pushf
not eax
add eax, 0xce4e1ab8
xor eax, 0xb00c9096
rol eax, 0x3a
popf
pushf
not eax
add eax, 0xd536bc7e
xor eax, 0xfe835e63
rol eax, 0x37
popf
jmp 0x18005e80f
xor al, al
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov byte [rbx + 0x72], 0
push rax
pushf
mov eax, 0xa5b00100
pushf
not eax
add eax, 0xe8e25370
xor eax, 0xcae6dbda
rol eax, 0xd8
popf
pushf
not eax
add eax, 0x8e404e3e
xor eax, 0xc8b679b4
rol eax, 0x87
popf
jmp 0x18005e80f
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x18005ed09
push rax
pushf
mov eax, 0xa55b2091
pushf
not eax
add eax, 0x87b8021d
xor eax, 0xd10874c4
rol eax, 0xc3
popf
pushf
not eax
add eax, 0x86f2782a
xor eax, 0x9ad3ab46
rol eax, 0x42
popf
pushf
not eax
add eax, 0x9313b606
xor eax, 0xb89a1eac
rol eax, 0xd9
popf
jmp 0x18005e80f
push rax
pushf
mov eax, 0x5a3d5105
pushf
not eax
add eax, 0xf88f1fea
xor eax, 0xc73ac250
rol eax, 0xf4
popf
pushf
not eax
add eax, 0xc650b15f
xor eax, 0xf4a6cc56
rol eax, 0x59
popf
pushf
not eax
add eax, 0xc5c36611
xor eax, 0xd7240a63
rol eax, 0x8a
popf
jmp 0x18005e80f
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 0xbb9fc95f
pushf
not edx
add edx, 0xe39ddc27
xor edx, 0xef6d99cc
rol edx, 0xf9
popf
pushf
not edx
add edx, 0xbfd9a408
xor edx, 0xe1c29aef
rol edx, 0xac
popf
pushf
not edx
add edx, 0x9aaebe8e
xor edx, 0xecccd9f5
rol edx, 0xe9
popf
jmp 0x18005eda3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18005edf4
push rax
pushf
mov eax, 0x701b8194
pushf
not eax
add eax, 0xbf4a57c8
xor eax, 0x8df49f7a
rol eax, 0xa0
popf
pushf
not eax
add eax, 0xbb42dcb7
xor eax, 0x865e9b3f
rol eax, 0xb2
popf
pushf
not eax
add eax, 0xba134920
xor eax, 0x98c94447
rol eax, 0x97
popf
jmp 0x18005e80f
push rax
pushf
mov eax, 0xf87dffd8
pushf
not eax
add eax, 0xcdf11bdb
xor eax, 0x8cd0e68f
rol eax, 0x3e
popf
pushf
not eax
add eax, 0xea8b94b2
xor eax, 0x9422a60e
rol eax, 0xd5
popf
jmp 0x18005e80f
cmp byte [rbx + 0x72], 0
sete al
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x68]
mov al, 0x9a
pushf
not al
add al, 0xe0
xor al, 0xda
rol al, 0xbe
popf
pushf
not al
add al, 0x24
xor al, 0x3f
rol al, 0x51
popf
pushf
not al
add al, 0x55
xor al, 0x4c
rol al, 0xf7
popf
add rsp, 0x50
pop rdi
ret