Function at 0x14018092a
Capabilities:
Write file on windows

Disassembly:
push rax
pushf
mov eax, 0x4fbed159
pushf
not eax
add eax, 0xbf68e48c
xor eax, 0x90fa2ce9
rol eax, 0xa4
popf
pushf
not eax
add eax, 0xc785a662
xor eax, 0xd281a8a2
rol eax, 0x56
popf
cmp eax, 4
jne 0x140180967
popf
pop rax
jmp 0x140180ccb
cmp eax, 0
jne 0x140180976
popf
pop rax
jmp 0x140180a1b
cmp eax, 3
jne 0x140180985
popf
pop rax
jmp 0x140180c1f
cmp eax, 1
jne 0x140180994
popf
pop rax
jmp 0x140180b56
cmp eax, 0xa
jne 0x1401809a3
popf
pop rax
jmp 0x140181057
cmp eax, 7
jne 0x1401809b2
popf
pop rax
jmp 0x140180ed2
cmp eax, 6
jne 0x1401809c1
popf
pop rax
jmp 0x140180dd3
cmp eax, 0xb
jne 0x1401809d0
popf
pop rax
jmp 0x1401810c1
cmp eax, 0xc
jne 0x1401809df
popf
pop rax
jmp 0x1401810fc
cmp eax, 8
jne 0x1401809ee
popf
pop rax
jmp 0x140180f64
cmp eax, 5
jne 0x1401809fd
popf
pop rax
jmp 0x140180d46
cmp eax, 2
jne 0x140180a0c
popf
pop rax
jmp 0x140180b8e
cmp eax, 9
jne 0x140180a1b
popf
pop rax
jmp 0x14018104b
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0xcaaf3755
pushf
not eax
add eax, 0x8d5fc9cd
xor eax, 0xea736cc9
rol eax, 0x31
popf
pushf
not eax
add eax, 0xd7b73c57
xor eax, 0xadce8aab
rol eax, 0xb7
popf
pushf
not eax
add eax, 0xb233f77d
xor eax, 0x8915f09f
rol eax, 0xd1
popf
pushf
not eax
add eax, 0xca4375aa
xor eax, 0xae9b86a2
rol eax, 4
popf
call fcn.140181e18
sub rsp, rax
mov rax, qword [0x140030040]
xor rax, rsp
mov qword [rsp + 0x1460], rax
movsxd r10, edx
mov rbx, rcx
mov rax, r10
mov r14d, r9d
sar rax, 6
lea rcx, [0x19c9211b6]
pushf
sub rcx, 0x5c8ef656
popf
and r10d, 0x3f
push r8
not r8
sub r14, r8
pop r8
sub r14, 1
mov r15, r8
mov rdi, r8
mov rax, qword [rcx + rax*8]
lea rdx, [r10 + r10*8]
mov r12, qword [rax + rdx*8 + 0x28]
xor eax, eax
mov qword [rbx], rax
cmp r8, r14
mov dword [rbx + 8], eax
jae 0x140180b23
push rax
pushf
mov eax, 0xa0a74aaf
pushf
not eax
add eax, 0xe695d29a
xor eax, 0x879e0d4e
rol eax, 0xca
popf
pushf
not eax
add eax, 0x8a2bd8ae
xor eax, 0xca0145a4
rol eax, 7
popf
jmp 0x140180958
push rax
pushf
mov eax, 0x656ade1f
pushf
not eax
add eax, 0xf0574b3b
xor eax, 0xa1d77ac3
rol eax, 0xe3
popf
pushf
not eax
add eax, 0xd87d35f3
xor eax, 0xbea47731
rol eax, 0xe4
popf
jmp 0x140180958
lea rax, [rsp + 0x50]
push rax
pushf
mov eax, 0x7ad0f930
pushf
not eax
add eax, 0xf91ec6b7
xor eax, 0xd35ae4ae
rol eax, 0xbe
popf
pushf
not eax
add eax, 0xb38d6288
xor eax, 0x8867983d
rol eax, 0xcc
popf
jmp 0x140180958
cmp rdi, r14
jae 0x140180bec
push rax
pushf
mov eax, 0xa0449101
pushf
not eax
add eax, 0xd657b1d7
xor eax, 0xf352f8d9
rol eax, 0x9e
popf
pushf
not eax
add eax, 0xd7cc85b3
xor eax, 0xff754ad0
rol eax, 0xae
popf
pushf
not eax
add eax, 0xbbed5964
xor eax, 0xa9820ddb
rol eax, 0xbb
popf
pushf
not eax
add eax, 0xc45064a7
xor eax, 0xee37e81f
rol eax, 0x5c
popf
jmp 0x140180958
push rax
pushf
mov eax, 0xa8f6eee0
pushf
not eax
add eax, 0xac60dcd5
xor eax, 0xf562fce1
rol eax, 0xc2
popf
pushf
not eax
add eax, 0xae4952a5
xor eax, 0xd61d0e41
rol eax, 0xbf
popf
jmp 0x140180958
movzx ecx, word [rdi]
add rdi, 2
cmp cx, 0xa
jne 0x140180c85
push rax
pushf
mov eax, 0x5139674b
pushf
not eax
add eax, 0xd91f6efc
xor eax, 0xc39a8acc
rol eax, 0xd1
popf
pushf
not eax
add eax, 0xf7c31dee
xor eax, 0xda2abb28
rol eax, 0x2b
popf
pushf
not eax
add eax, 0xe34f14af
xor eax, 0x912eedfc
rol eax, 0x62
popf
pushf
not eax
add eax, 0xa7be68bd
xor eax, 0xe3c30287
rol eax, 0x3f
popf
jmp 0x140180958
push rax
pushf
mov eax, 0xab10a430
pushf
not eax
add eax, 0xe5e1d728
xor eax, 0xfe4cd23b
rol eax, 0xa3
popf
pushf
not eax
add eax, 0xa0555501
xor eax, 0xe801741a
rol eax, 0x15
popf
pushf
not eax
add eax, 0xd65816d6
xor eax, 0x864729ee
rol eax, 0x91
popf
jmp 0x140180958
mov edx, 0xd3328331
pushf
not edx
add edx, 0xb0c83b6b
xor edx, 0xc0a16b4f
rol edx, 1
popf
pushf
not edx
add edx, 0xc6fcd3f7
xor edx, 0x8cfb2d0a
rol edx, 0x6d
popf
mov word [rax], dx
add rax, 2
push rax
pushf
mov eax, 0x83b4549c
pushf
not eax
add eax, 0xb2d12867
xor eax, 0xd9a53918
rol eax, 0x11
popf
pushf
not eax
add eax, 0x9bc4efbd
xor eax, 0xda90c90a
rol eax, 0x14
popf
pushf
not eax
add eax, 0x8326c7bf
xor eax, 0xcef4fc42
rol eax, 0x99
popf
jmp 0x140180958
mov word [rax], cx
add rax, 2
lea rcx, [rsp + 0x6f8]
cmp rax, rcx
jb 0x140180da0
push rax
pushf
mov eax, 0x9f04e0f1
pushf
not eax
add eax, 0xdae5e13a
xor eax, 0xed55da9f
rol eax, 0x30
popf
pushf
not eax
add eax, 0xf9e7cb11
xor eax, 0xd9772336
rol eax, 0xec
popf
pushf
not eax
add eax, 0xcba6ed5e
xor eax, 0xfe3040f6
rol eax, 0xc3
popf
jmp 0x140180958
push rax
pushf
mov eax, 0xe956e1e5
pushf
not eax
add eax, 0xfcb8c6ce
xor eax, 0x93abb8b8
rol eax, 0x2f
popf
pushf
not eax
add eax, 0xc630d635
xor eax, 0x980895c7
rol eax, 0x5e
popf
jmp 0x140180958
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x50]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
sub rax, rcx
mov dword [rsp + 0x28], 0xd55
lea rcx, [rsp + 0x700]
sar rax, 1
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov ecx, 0x7d699fa7
pushf
not ecx
add ecx, 0x984e160a
xor ecx, 0xc2d92495
rol ecx, 1
popf
pushf
not ecx
add ecx, 0xdf7ad776
xor ecx, 0xc5684e44
rol ecx, 0x49
popf
pushf
not ecx
add ecx, 0xb25aff09
xor ecx, 0xf491a04c
rol ecx, 0xf1
popf
pushf
not ecx
add ecx, 0xefdbc734
xor ecx, 0xeeeb9a65
rol ecx, 0xc7
popf
xor edx, edx
call fcn.1401b3d65
mov ebp, eax
test eax, eax
je 0x140180e9f
push rax
pushf
mov eax, 0x4e663e7
pushf
not eax
add eax, 0xd634d424
xor eax, 0x9832f8c1
rol eax, 0x8f
popf
pushf
not eax
add eax, 0xab47bed3
xor eax, 0x86c91a14
rol eax, 3
popf
jmp 0x140180958
push rax
pushf
mov eax, 0xaff5d922
pushf
not eax
add eax, 0xa5269e9c
xor eax, 0xf50c8475
rol eax, 0x21
popf
pushf
not eax
add eax, 0xc421a2ae
xor eax, 0xc3a84095
rol eax, 0xd3
popf
jmp 0x140180958
xor esi, esi
test eax, eax
je 0x140180f0b
push rax
pushf
mov eax, 0x9f21c7b3
pushf
not eax
add eax, 0xa66f4410
xor eax, 0xea9f8a9e
rol eax, 0x27
popf
pushf
not eax
add eax, 0xcf03d39a
xor eax, 0xe5087223
rol eax, 0x2c
popf
jmp 0x140180958
push rax
pushf
mov eax, 0xfa70b70e
pushf
not eax
add eax, 0xdee8451d
xor eax, 0x9b015c04
rol eax, 0xff
popf
pushf
not eax
add eax, 0xb176de25
xor eax, 0xc1519391
rol eax, 0x15
popf
pushf
not eax
add eax, 0xc4b1d3c7
xor eax, 0xa796ec8b
rol eax, 0xed
popf
pushf
not eax
add eax, 0xab4adcee
xor eax, 0xfd6eb244
rol eax, 0x4a
popf
jmp 0x140180958
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x700]
mov ecx, esi
lea r9, [rsp + 0x40]
mov r8d, ebp
push rcx
not rcx
sub rdx, rcx
pop rcx
sub rdx, 1
mov rcx, r12
sub r8d, esi
jmp 0x140180f8f
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140180ff2
push rax
pushf
mov eax, 0xcb557e7f
pushf
not eax
add eax, 0xa912fc46
xor eax, 0x8a9cd5fc
rol eax, 0x5c
popf
pushf
not eax
add eax, 0x8528ee63
xor eax, 0x85b2be6a
rol eax, 0xd1
popf
pushf
not eax
add eax, 0xd62a018c
xor eax, 0x83cbe49d
rol eax, 0x53
popf
pushf
not eax
add eax, 0xd8ee5603
xor eax, 0x8ff8ca5d
rol eax, 0xb2
popf
jmp 0x140180958
push rax
pushf
mov eax, 0x1a2ea4d4
pushf
not eax
add eax, 0xdc5d4d6a
xor eax, 0xec6bfb68
rol eax, 0xe2
popf
pushf
not eax
add eax, 0xff5037a3
xor eax, 0xd1dd64d9
rol eax, 0x37
popf
pushf
not eax
add eax, 0xbb765cf0
xor eax, 0xa4c99554
rol eax, 0x16
popf
pushf
not eax
add eax, 0xa197e31d
xor eax, 0x95010a1d
rol eax, 0xa7
popf
jmp 0x140180958
add esi, dword [rsp + 0x40]
cmp esi, ebp
jb 0x140180f64
mov eax, edi
sub eax, r15d
mov dword [rbx + 4], eax
cmp rdi, r14
jmp 0x140180aea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
push rax
pushf
mov eax, 0x97a3667b
pushf
not eax
add eax, 0xb1ee3a10
xor eax, 0x9d762fd3
rol eax, 0xca
popf
pushf
not eax
add eax, 0xf1a8f286
xor eax, 0xfdb65469
rol eax, 0xf3
popf
jmp 0x140180958
mov rax, rbx
mov rcx, qword [rsp + 0x1460]
xor rcx, rsp
call fcn.140178dd1
lea r11, [rsp + 0x1470]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret