Function at 0x1800043c0
Capabilities:
Write file on windows

Disassembly:
jmp 0x1800a5384
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r15d, r8d
mov rdi, rdx
movsxd r12, ecx
test r8d, r8d
jne 0x1800a53b0
xor eax, eax
jmp 0x1800a56ae
test rdi, rdi
jne 0x1800a53d5
call fcn.180008c70
and dword [rax], 0
call fcn.180005780
mov dword [rax], 0x16
call fcn.180008170
or eax, 0xffffffff
jmp 0x1800a56ae
mov rcx, r12
lea rdx, [0x180134770]
and ecx, 0x3f
mov rax, r12
sar rax, 6
mov rsi, r12
shl rcx, 6
mov rdx, qword [rdx + rax*8]
mov r14b, byte [rdx + rcx + 0x39]
lea eax, [r14 - 1]
cmp al, 1
ja 0x1800a540a
mov eax, r15d
not eax
test al, 1
je 0x1800a53b5
test byte [rdx + rcx + 0x38], 0x20
je 0x1800a541f
xor edx, edx
mov ecx, r12d
lea r8d, [rdx + 2]
call fcn.18000a140
xor ebx, ebx
mov ecx, r12d
mov qword [rbp - 0x20], rbx
call fcn.180003790
test eax, eax
je 0x1800a559d
mov r13, rsi
lea rcx, [0x180134770]
and r13d, 0x3f
mov rax, rsi
sar rax, 6
mov qword [rbp - 0x30], rax
shl r13, 6
mov rax, qword [rcx + rax*8]
cmp byte [rax + r13 + 0x38], bl
jge 0x1800a559d
call fcn.180004500
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rax + 0x90]
cmp qword [rdx + 0x138], rbx
jne 0x1800a5490
lea rax, [0x180134770]
mov rax, qword [rax + rcx*8]
cmp byte [rax + r13 + 0x39], bl
je 0x1800a559d
lea rax, [0x180134770]
mov rcx, qword [rax + rcx*8]
lea rdx, [rbp - 0x10]
mov rcx, qword [rcx + r13 + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x1800a559d
test r14b, r14b
je 0x1800a557d
dec r14b
cmp r14b, 1
ja 0x1800a5537
xor r14d, r14d
lea r12, [rdi + r15]
mov qword [rbp - 0x30], r14
mov r15, rdi
cmp rdi, r12
jae 0x1800a552a
mov ebx, dword [rbp - 0x2c]
movzx r13d, word [r15]
movzx ecx, r13w
call fcn.1800070e0
cmp ax, r13w
jne 0x1800a5521
add ebx, 2
mov dword [rbp - 0x2c], ebx
cmp r13w, 0xa
jne 0x1800a5516
mov r13d, 0xd
mov ecx, r13d
call fcn.1800070e0
cmp ax, r13w
jne 0x1800a5521
inc ebx
mov dword [rbp - 0x2c], ebx
inc r14d
add r15, 2
cmp r15, r12
jae 0x1800a552a
jmp 0x1800a54da
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
movsd xmm0, qword [rbp - 0x30]
mov ebx, r14d
movsd qword [rbp - 0x20], xmm0
lea r13, [0x180134770]
mov rax, qword [rbp - 0x20]
shr rax, 0x20
test eax, eax
jne 0x1800a56a9
mov ecx, dword [rbp - 0x20]
test ecx, ecx
je 0x1800a566e
cmp ecx, 5
jne 0x1800a5664
call fcn.180005780
mov dword [rax], 9
call fcn.180008c70
mov dword [rax], 5
jmp 0x1800a53cd
mov r9d, r15d
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
call fcn.1800a49d4
movsd xmm0, qword [rax]
mov ebx, dword [rax + 8]
movsd qword [rbp - 0x20], xmm0
jmp 0x1800a5537
mov rcx, rsi
lea r13, [0x180134770]
and ecx, 0x3f
mov rax, rsi
sar rax, 6
shl rcx, 6
mov rdx, qword [r13 + rax*8]
cmp byte [rdx + rcx + 0x38], bl
jge 0x1800a5622
movsx ecx, r14b
test r14b, r14b
je 0x1800a55ff
sub ecx, 1
je 0x1800a55eb
cmp ecx, 1
jne 0x1800a553e
mov r9d, r15d
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
call fcn.1800a4f30
jmp 0x1800a5611
mov r9d, r15d
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
call fcn.1800a5090
jmp 0x1800a5611
mov r9d, r15d
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
call fcn.1800a4dec
movsd xmm0, qword [rax]
mov ebx, dword [rax + 8]
movsd qword [rbp - 0x20], xmm0
jmp 0x1800a553e
mov rcx, qword [rdx + rcx + 0x28]
lea r9, [rbp - 0x2c]
xor eax, eax
mov rdx, rdi
and qword [rsp + 0x20], rax
mov r8d, r15d
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1800a5652
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
movsd xmm0, qword [rbp - 0x30]
mov ebx, dword [rbp - 0x28]
movsd qword [rbp - 0x20], xmm0
jmp 0x1800a553e
call fcn.1800072a0
jmp 0x1800a53cd
mov rax, rsi
and esi, 0x3f
sar rax, 6
shl rsi, 6
mov rax, qword [r13 + rax*8]
test byte [rax + rsi + 0x38], 0x40
je 0x1800a5691
cmp byte [rdi], 0x1a
je 0x1800a53a9
call fcn.180005780
mov dword [rax], 0x1c
call fcn.180008c70
and dword [rax], 0
jmp 0x1800a53cd
mov eax, dword [rbp - 0x1c]
sub eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret