Function at 0x1404e10a8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
bt rax, 0xa1
sal eax, 0x20
shld ax, r15w, 0xf7
push rbp
btr ebp, r11d
lahf
push rsi
cbw
push rdi
dec ah
or sil, r9b
movsx esi, cx
push r12
rol al, cl
push r13
sal bpl, 0xec
bswap r12w
ror bp, cl
push r14
push r15
ror ebp, 0x8b
lea rbp, [rsp - 0x27]
shl r12b, 0x46
dec r14b
sub rsp, 0x100
rol r15w, cl
cmp r14d, esp
stc
mov rax, qword [0x1400b7288]
xor rax, rsp
sbb r14d, ecx
not r13b
cmc
mov qword [rbp + 0x17], rax
or r14, r11
bts ax, di
movsxd rsi, edx
neg r14d
bt rax, r15
mov r15, r8
mov rax, rsi
sal r12b, cl
btc r13w, r14w
inc r12b
mov qword [rbp - 9], rcx
clc
neg rcx
mov qword [rbp - 0x11], rax
movzx r12, r9w
lea rcx, [0x140000000]
rol r13w, 0x6f
xchg r12w, r12w
shr r14b, cl
and eax, 0x3f
rcr r14b, cl
inc r13d
mov r13d, r9d
rcl r14b, 0x26
add r14w, 0x50de
lea r13, [r13 + r8]
cmp r14b, dil
mov qword [rbp - 0x21], r8
movsx r12, cx
mov r14, 0x5ba23479
rol r14b, cl
mov r12, rsi
bsr r14w, cx
or r14w, dx
mov qword [rbp - 0x51], r13
sar r12, 6
movsxd r14, ebp
setge r14b
lea r14, [rax + rax*8]
seto al
jmp 0x1404e11b5
mov rax, qword [rcx + r12*8 + 0xba940]
jmp 0x1404e11c2
mov rax, qword [rax + r14*8 + 0x28]
jmp 0x1404e11cc
mov qword [rbp - 0x49], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
xor edx, edx
movzx cx, r11b
mov cl, dil
mov ch, 0xb9
lea rcx, [rsp + 0x50]
jmp 0x1404e11ed
mov dword [rbp - 0x59], eax
jmp 0x1404e11f5
call fcn.1404a9e72
mov rcx, qword [rsp + 0x58]
xor r11d, r11d
movsx edi, r12w
cmc
mov dword [rbp - 0x69], r11d
rcl rdi, 0xc2
setge bh
cmp r10b, dl
mov ebx, r11d
bswap edx
bts di, dx
mov dword [rbp - 0x65], ebx
mov rdi, r15
rcl dl, 0x87
xor rdx, 0x442a3d1a
bswap rdx
mov edx, dword [rcx + 0xc]
stc
mov ecx, r11d
clc
test cx, 0x39a2
mov dword [rsp + 0x40], ecx
test dl, r11b
mov dword [rbp - 0x55], edx
jmp 0x1404e1253
cmp r15, r13
jae 0x1404e1a1c
mov rax, rsi
add sil, al
adc cl, 0x39
mov rsi, r15
ror cl, cl
or r15b, 0x97
sar rax, 6
test dil, al
xor r15w, di
mov qword [rbp - 0x19], rax
mov cl, byte [rdi]
mov r15b, 0x5f
bts r15, r11
mov r15d, 1
mov byte [rsp + 0x44], cl
cmc
cmp bx, di
test r10d, ebx
mov dword [rsp + 0x48], r11d
jmp 0x1404e12a6
cmp edx, 0xfde9
jmp 0x1404e12b1
jne 0x1404e15ab
lea r15, [0x140000000]
mov edx, r11d
rcl sil, cl
mov r9b, al
rcl r9b, 0x29
mov r9, qword [r15 + rax*8 + 0xba940]
btr rax, 0xfb
test cl, sil
rol ax, cl
mov rsi, r11
lea rax, [r9 + r14*8]
cmp byte [rax + rsi + 0x3e], r11b
jmp 0x1404e12ef
je 0x1404e1314
inc edx
jmp 0x1404e12fc
inc rsi
test r9, r8
cmp bpl, dl
cmp rsi, 5
jmp 0x1404e130e
jl 0x1404e12e5
test rsi, rsi
jmp 0x1404e131c
jle 0x1404e14fb
mov rax, qword [r15 + r12*8 + 0xba940]
add cx, 0x20e2
xor cl, r11b
mov r8, qword [rbp - 0x51]
shr r10d, 0xfc
sub r8, rdi
xchg r13w, cx
mov r13, 0x65e303a7
movzx r10d, r14w
movzx ecx, byte [rax + r14*8 + 0x3e]
jmp 0x1404e1357
movsx r15d, byte [rcx + r15 + 0xb7d00]
inc r15d
mov r13d, r15d
sub r13d, edx
sbb r10b, 0xd0
setns r10b
not r10w
movsxd r10, r13d
stc
cmc
cmp r10, r8
jmp 0x1404e1382
jg 0x1404e186b
lea rax, [rbp - 1]
sar dh, 0xff
mov rdx, r11
test bpl, sil
cmp r8w, r15w
sub r9, rax
rcr r8w, 0x9f
sar ecx, 0xa9
lea r8, [r9 + r14*8]
rol al, cl
inc cx
lea rcx, [rbp - 1]
sbb al, dil
add rcx, rdx
sete al
inc al
inc rdx
mov al, byte [rcx + r8 + 0x3e]
mov byte [rcx], al
stc
test dx, 0x4850
cmp rdx, rsi
jmp 0x1404e13d4
jl 0x1404e13ad
test r13d, r13d
jmp 0x1404e13e2
jle 0x1404e141a
lea rcx, [rbp - 1]
sub r8w, 0x440f
mov r8, r10
ror rdx, cl
add rcx, rsi
movzx edx, dx
bswap dx
mov rdx, rdi
jmp 0x1404e1409
call fcn.1404a8f08
xor r11d, r11d
cwd
movsx r8, r15w
sal cx, cl
mov rdx, r11
movzx ecx, r15w
adc r8w, 0x6555
lea r8, [0x140000000]
test bpl, r12b
setns cl
mov rcx, qword [r8 + r12*8 + 0xba940]
cmp sil, 0xac
add rcx, rdx
inc rdx
mov byte [rcx + r14*8 + 0x3e], r11b
test cx, 0x5579
jmp 0x1404e1455
cmp rdx, rsi
jmp 0x1404e145d
jl 0x1404e1434
lea rax, [rbp - 1]
sal dl, cl
neg r8b
sbb ch, al
mov qword [rbp - 0x41], r11
add r8d, 0x659238b4
sub r8b, 0xce
mov qword [rbp - 0x39], rax
and cx, 0x3f13
lea r9, [rbp - 0x41]
rol r8, cl
mov eax, r11d
shr edx, 0x54
lea rdx, [rbp - 0x39]
cmp r15d, 4
lea rcx, [rsp + 0x48]
xchg al, r8b
movsx r8w, r8b
sete al
movzx r15w, r8b
inc eax
movsx r15, r15w
movzx r8, ax
cmovns r8w, r10w
mov r8d, eax
mov r15d, eax
jmp 0x1404e14ca
call fcn.1404e6ca3
cmp rax, 0xffffffffffffffff
je 0x1404e1675
lea eax, [r13 - 1]
shr r13b, cl
mov r13, qword [rbp - 0x51]
movsxd rsi, eax
cmp r8b, 0x6d
test r14b, bpl
add rsi, rdi
jmp 0x1404e14f6
jmp 0x1404e16b1
movzx eax, byte [rdi]
shl dh, 0x7f
sal esi, cl
rcl esi, 0xfb
mov rdx, r13
bt rcx, rbp
sub si, cx
rcl ch, cl
sub rdx, rdi
movzx cx, r12b
movsx rsi, byte [rax + r15 + 0xb7d00]
cwde
lea ecx, [rsi + 1]
rcr eax, cl
sal ah, cl
cbw
movsxd rax, ecx
cmp rax, rdx
jmp 0x1404e1538
jg 0x1404e18e2
cmp ecx, 4
cwd
mov qword [rbp - 0x31], r11
cwd
movsxd rdx, r11d
setbe bl
mov eax, r11d
mov qword [rbp - 0x29], rdi
sete al
cwd
cqo
movzx r9d, r11w
lea r9, [rbp - 0x31]
inc eax
lea rdx, [rbp - 0x29]
movzx r8, r15w
mov r8d, eax
movsx ecx, bp
lea rcx, [rsp + 0x48]
mov ebx, eax
jmp 0x1404e1581
call fcn.1404e6ca3
cmp rax, 0xffffffffffffffff
jmp 0x1404e158f
je 0x1404e1675
add rsi, rdi
movsx r15d, r8w
mov r15b, 0xc1
movsx r15, r10w
mov r15d, ebx
jmp 0x1404e16b1
lea rax, [0x140000000]
not cl
mov rdx, qword [rax + r12*8 + 0xba940]
mov cl, byte [rdx + r14*8 + 0x3d]
test cl, 4
jmp 0x1404e15c9
je 0x1404e1612
mov al, byte [rdx + r14*8 + 0x3e]
test r12b, 0xee
cmp bpl, 0xc4
and cl, 0xfb
jmp 0x1404e15e4
mov byte [rbp + 7], al
mov al, byte [rdi]
jmp 0x1404e15ee
mov byte [rdx + r14*8 + 0x3d], cl
mov dl, ch
movsx dx, r11b
xchg dl, dh
lea rdx, [rbp + 7]
jmp 0x1404e1605
mov byte [rbp + 8], al
jmp 0x1404e160d
jmp 0x1404e1652
call fcn.1404b04fa
movzx ecx, byte [rdi]
cmp bl, 6
test bh, 0xd8
cmp r12w, r15w
sub edx, edx
test r9b, 6
cmp word [rax + rcx*2], dx
jmp 0x1404e1633
jge 0x1404e1683
inc rsi
jmp 0x1404e1641
cmp rsi, r13
jmp 0x1404e1649
jae 0x1404e1999
mov rdx, rdi
mov r8d, 2
lea rcx, [rsp + 0x48]
jmp 0x1404e1662
call fcn.140298523
cmp eax, 0xffffffff
jmp 0x1404e166f
jne 0x1404e16b1
cmp byte [rbp - 0x71], 0
jmp 0x1404e167e
jmp 0x1404e198b
mov r8, r15
xchg rcx, rcx
cmovns edx, r12d
movzx edx, r12w
lea rcx, [rsp + 0x48]
jmp 0x1404e169b
mov rdx, rdi
jmp 0x1404e16a3
call fcn.140298523
cmp eax, 0xffffffff
je 0x1404e19fa
mov ecx, dword [rbp - 0x59]
test r12, rbp
lea rax, [rbp + 0xf]
xor ebx, ebx
inc r8w
rol r8d, cl
lea r8, [rsp + 0x48]
cmovge r9w, r13w
mov qword [rsp + 0x38], rbx
movzx r9d, di
rcl r9, cl
lea rdi, [rsi + 1]
mov r9b, dl
rol r9b, 0xf6
mov qword [rsp + 0x30], rbx
mov r9d, r15d
cmp ah, 8
stc
mov dword [rsp + 0x28], 5
jmp 0x1404e16ff
sub edx, edx
jmp 0x1404e1706
mov qword [rsp + 0x20], rax
call fcn.1404cedf0
mov esi, eax
test r13, 0xc7853bf
cmc
test eax, eax
jmp 0x1404e1721
je 0x1404e1ae6
mov rcx, qword [rbp - 0x49]
lea r9, [rsp + 0x4c]
cqo
cmovge edx, ebx
movsx rdx, di
mov r8d, eax
setb dl
movsxd rdx, esi
movzx rdx, r11w
mov qword [rsp + 0x20], rbx
setge dl
lea rdx, [rbp + 0xf]
jmp 0x1404e1757
call qword [sym.imp.KERNEL32.dll_WriteFile]
sub r11d, r11d
test r15b, 0x97
test eax, eax
je 0x1404e1ad1
mov r15d, dword [rsp + 0x40]
mov ebx, edi
stc
cmp r8b, r12b
clc
sub ebx, dword [rbp - 0x21]
test bpl, cl
add ebx, r15d
mov dword [rbp - 0x65], ebx
test r10d, 0x7ab10383
cmp esi, 0x43974161
cmp dword [rsp + 0x4c], esi
jmp 0x1404e179a
jb 0x1404e1982
cmp byte [rsp + 0x44], 0xa
jmp 0x1404e17aa
jne 0x1404e1843
mov rcx, qword [rbp - 0x49]
movzx dx, bpl
cbw
lea eax, [r11 + 0xd]
lea r9, [rsp + 0x4c]
cqo
cwd
movsx r8, r15w
mov word [rsp + 0x44], ax
cqo
xchg r8b, r8b
lea r8d, [r11 + 1]
cqo
mov qword [rsp + 0x20], r11
movsx rdx, r8w
lea rdx, [rsp + 0x44]
jmp 0x1404e17ef
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor r11d, r11d
test eax, eax
jmp 0x1404e17ff
je 0x1404e19ee
cmp dword [rsp + 0x4c], 1
jmp 0x1404e180f
jb 0x1404e1982
inc r15d
inc sil
inc ebx
sal si, cl
clc
sal esi, 0xec
mov dword [rsp + 0x40], r15d
sub rsi, 0x2bb97509
movsx rsi, di
mov dword [rbp - 0x65], ebx
jmp 0x1404e1843
mov rsi, rdi
cmp dil, cl
cmp rdi, r13
jmp 0x1404e1851
jae 0x1404e1a0c
mov rax, qword [rbp - 0x19]
mov dh, 0x58
mov edx, dword [rbp - 0x55]
jmp 0x1404e1866
jmp 0x1404e127d
mov edx, r11d
stc
cmp r9b, r15b
test r8, r8
jle 0x1404e18d5
sub rdi, rsi
movsx ecx, bp
lea rbx, [0x140000000]
movsx cx, dl
mov al, byte [rdi + rsi]
inc cl
movsx rcx, r10w
inc edx
clc
bsf cx, r11w
test r8b, 0xb7
mov rcx, qword [rbx + r12*8 + 0xba940]
add rcx, rsi
jmp 0x1404e18b1
inc rsi
cmp r10b, r14b
test r9d, 0x379e3cd4
mov byte [rcx + r14*8 + 0x3e], al
rcl ah, cl
movsxd rax, edx
cmc
cmp rax, r8
jl 0x1404e188c
mov ebx, dword [rbp - 0x65]
add ebx, r8d
jmp 0x1404e18dd
jmp 0x1404e197c
mov r9d, r11d
test rdx, rdx
jmp 0x1404e18ed
jle 0x1404e1977
mov r13, qword [rbp - 0x11]
mov r8, r11
rcr r10b, cl
mov r10, r13
add ch, 0x6b
shr r11w, cl
bt r11, rcx
and r13d, 0x3f
sub r11b, bl
sar r10, 6
lea r11, [r13*8]
shr al, cl
add r11, r13
mov al, byte [r8 + rdi]
movsx ecx, ax
movzx cx, r12b
inc r9d
movsx rcx, r9w
xadd cx, cx
setnp ch
mov rcx, qword [r15 + r10*8 + 0xba940]
cmp rax, 0x1af03048
add rcx, r8
inc r8
cmp ax, 0x103c
cmp r10b, dil
mov byte [rcx + r11*8 + 0x3e], al
movsxd rax, r9d
stc
cmc
cmp rax, rdx
jl 0x1404e1923
xor r11d, r11d
shl cx, cl
btc cx, r10w
add ebx, edx
or cl, r15b
mov dword [rbp - 0x65], ebx
mov cl, r10b
cmp byte [rbp - 0x71], r11b
mov cx, cx
xchg ch, cl
mov ecx, dword [rsp + 0x40]
jmp 0x1404e1994
jmp 0x1404e1a25
mov al, byte [rdi]
inc r8w
lea r8, [0x140000000]
movzx ecx, ax
xchg ecx, ecx
mov rcx, qword [r8 + r12*8 + 0xba940]
inc ebx
test r9, 0x78211c4
mov dword [rbp - 0x65], ebx
clc
mov byte [rcx + r14*8 + 0x3e], al
btc ax, 0x98
shld eax, esp, 0x40
mov rax, qword [r8 + r12*8 + 0xba940]
test sp, sp
cmp spl, bpl
or byte [rax + r14*8 + 0x3d], 4
test r9b, spl
clc
cmp byte [rbp - 0x71], dl
jmp 0x1404e198b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x69], eax
rcl cx, cl
mov ecx, dword [rsp + 0x40]
cmp byte [rbp - 0x71], 0
jmp 0x1404e1a07
jmp 0x1404e1a25
mov ecx, dword [rsp + 0x40]
jmp 0x1404e1a1c
cmp byte [rbp - 0x71], r11b
jmp 0x1404e1a25
je 0x1404e1a44
mov rax, qword [rsp + 0x50]
cmp r11w, 0x1372
test spl, 0xd4
and dword [rax + 0x3a8], 0xfffffffd
btr eax, ebx
mov rax, qword [rbp - 9]
cmc
cmp dil, r14b
jmp 0x1404e1a51
movsd xmm0, qword [rbp - 0x69]
movsd qword [rax], xmm0
test rcx, 0x2b240790
mov dword [rax + 8], ecx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
jmp 0x1404e1a70
call fcn.1404a5381
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
jmp 0x1404e1a90
pop r15
movsx ebp, r12w
xchg r13b, dil
sets bpl
pop r14
setae sil
movzx si, r13b
pop r13
not bp
cmova ebp, esp
pop r12
not bpl
movzx rsi, r14w
pop rdi
movsxd rbp, r11d
movsx rbp, si
pop rsi
movzx rbp, cx
movzx bp, sil
movsx ebp, r15w
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x69], eax
bt cx, 0x4f
seta cl
adc cx, r12w
mov ecx, dword [rsp + 0x40]
test r11b, 1
cmp byte [rbp - 0x71], bl
jmp 0x1404e1a25