Function at 0x14001eba0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x538
movaps xmmword [rsp + 0x520], xmm6
mov rsi, rcx
mov rax, qword [0x1400f6398]
xor rax, rsp
mov qword [rsp + 0x518], rax
lea rax, [0x1400bfcf8]
mov qword [rcx], rax
lea rdi, [rcx + 0x10]
mov rax, qword [rcx + 0x10]
movsxd rcx, dword [rax + 4]
test byte [rsi + rcx + 0x30], 5
jne 0x14001ee06
mov rcx, qword [rdi + rcx + 0x28]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0x10
lea rbx, [rsp + 0x110]
mov rdx, rbx
xor r8d, r8d
mov r9d, 1
call qword [rax + 0x18]
mov r12, qword [rbx + 8]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
lea rbp, [rsp + 0x110]
mov rdx, rbp
call fcn.14001a060
lea rdx, [0x1400f8cc0]
mov rcx, rbp
call fcn.14001f340
mov rbx, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [rbx + 0x38]
mov ebx, eax
mov rcx, rbp
call fcn.14001a040
mov rcx, rdi
mov edx, ebx
call fcn.14001f5f0
mov rcx, rdi
call fcn.14001f4d0
lea r15, [rsi + 0x18]
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x80]
mov qword [rbx + 0x10], r13
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rbx], xmm6
mov rcx, r15
mov rdx, rbx
call fcn.14001a340
test byte [0x1400f6860], 0x19
jne 0x14001ee12
mov rax, qword [0x1400f9a38]
test rax, rax
je 0x14001ece3
mov r9, qword [rsi + 0x118]
mov r8d, dword [rsi + 0x128]
mov rdx, qword [rsi + 0x120]
mov ecx, dword [rsi + 8]
lea rbp, [rsp + 0x80]
mov qword [rsp + 0x20], rbp
call rax
test al, al
jne 0x14001ef64
mov eax, dword [0x1400f6338]
test al, 2
jne 0x14001eef9
test al, 4
jne 0x14001edba
cmp eax, 1
ja 0x14001ed08
cmp dword [rsi + 8], 2
jge 0x14001edba
test al, 1
jne 0x14001ef14
cmp dword [rsi + 8], 3
je 0x14001ee92
lea rbp, [rsp + 0x80]
cmp byte [rbp + 0x17], 0
jns 0x14001ed35
mov rcx, qword [rsp + 0x80]
call fcn.1400897cc
lea rcx, [rsi + 0x138]
call fcn.14000b800
lea rbx, [rsi + 0x80]
mov rax, qword [rsi + 0x10]
movsxd rax, dword [rax + 4]
lea rcx, [0x1400bc198]
mov qword [rsi + rax + 0x10], rcx
lea rax, [0x1400bc1a0]
mov qword [rsi + 0x18], rax
cmp byte [rsi + 0x6f], 0
jns 0x14001ed76
mov rcx, qword [rdi + 0x48]
call fcn.1400897cc
mov rcx, r15
call fcn.14001a020
mov rcx, r15
call fcn.140006270
mov rcx, rbx
call fcn.14001a010
mov rcx, qword [rsp + 0x518]
xor rcx, rsp
call fcn.14008b870
movaps xmm6, xmmword [rsp + 0x520]
add rsp, 0x538
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 2
call fcn.14008a088
lea rcx, [rsp + 0x80]
movzx edx, byte [rcx + 0x17]
test dl, dl
cmovs rdx, qword [rcx + 8]
cmovs rcx, qword [rcx]
mov r8d, 1
mov r9, rax
call fcn.14008a104
mov ecx, 2
call fcn.14008a088
mov rcx, rax
call fcn.14008a09c
mov eax, dword [0x1400f6338]
jmp 0x14001ed08
mov r12, 0xffffffffffffffff
jmp 0x14001ec1f
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
lea rbp, [rsp + 0xd0]
mov qword [rbp + 0x10], r13
movaps xmmword [rbp], xmm6
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 8
lea r8, [0x1400f6860]
lea r9, str.LogMessage
mov rcx, rbp
mov dl, 0x49
call fcn.1400025a0
mov r14, qword [rbp]
test r14, r14
jne 0x14001f135
xor ebp, ebp
lea rcx, [rsp + 0xd0]
call fcn.140002240
test r14, r14
je 0x14001eca8
test bpl, bpl
je 0x14001eca8
lea rcx, [rsp + 0xa0]
call fcn.140033050
jmp 0x14001eca8
mov rcx, qword [0x1400f9b80]
lea rbp, [rsp + 0x80]
test rcx, rcx
je 0x14001eeca
movzx eax, byte [rbp + 0x17]
test al, al
mov rbx, qword [rbp]
cmovns rbx, rbp
lea rdx, [rsp + 0x70]
mov qword [rdx], rbx
cmovs rax, qword [rbp + 8]
mov qword [rdx + 8], rax
call fcn.1400330d0
lea rbx, [rsp + 0x110]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.14008ea40
cmp byte [rbp + 0x17], 0
jns 0x14001ef77
mov rdx, qword [rsp + 0x80]
jmp 0x14001ef7f
cmp byte [rsp + 0x97], 0
jns 0x14001f0af
mov rcx, qword [rsp + 0x80]
jmp 0x14001f0b7
call fcn.140032d10
test al, al
je 0x14001ed10
lea r9, [rsp + 0x110]
mov dword [r9], 0xaaaaaaaa
lea rdx, [rsp + 0x80]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
cmovs r8d, dword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, qword [0x1400f9a50]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14001ed10
cmp byte [rsp + 0x97], 0
jns 0x14001ed35
jmp 0x14001ed28
lea rdx, [rsp + 0x80]
mov r8d, 0x400
mov rcx, rbx
call fcn.140006290
mov rcx, rbx
call fcn.140006270
mov eax, dword [0x1400f9a78]
mov ecx, dword [0x1400f9b20]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14001efe8
lea rcx, [0x1400f9a78]
call fcn.1400897dc
cmp dword [0x1400f9a78], 0xffffffff
jne 0x14001efe8
xorps xmm0, xmm0
movups xmmword [0x1400f9a68], xmm0
movups xmmword [0x1400f9a58], xmm0
lea rcx, [0x1400f9a78]
call fcn.140089cd8
mov rax, qword [0x1400f9a68]
cmp rax, qword [0x1400f9a70]
je 0x14001f336
mov qword [rsp + 0xe8], r13
mov eax, dword [0x1400f9a78]
mov ecx, dword [0x1400f9b20]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14001f057
lea rcx, [0x1400f9a78]
call fcn.1400897dc
cmp dword [0x1400f9a78], 0xffffffff
jne 0x14001f057
xorps xmm0, xmm0
movups xmmword [0x1400f9a68], xmm0
movups xmmword [0x1400f9a58], xmm0
lea rcx, [0x1400f9a78]
call fcn.140089cd8
mov rdx, qword [0x1400f9a70]
test rdx, rdx
mov rax, qword [0x1400f9a60]
cmove rdx, rax
dec rdx
cmp rax, rdx
jb 0x14001f339
shl rdx, 3
add rdx, qword [0x1400f9a58]
lea rbx, [rsp + 0xe8]
mov rcx, rbx
call fcn.140009d90
mov r14, qword [rbx]
test r14, r14
je 0x14001f11f
cmp byte [rbp + 0x17], 0
jns 0x14001f0c8
mov rbx, qword [rsp + 0x80]
jmp 0x14001f0d0
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1400f6338]
jmp 0x14001ecf1
lea rbx, [rsp + 0x80]
lea rcx, [rbx + r12]
mov qword [rsp + 0x60], rcx
test rbx, rbx
je 0x14001f131
call fcn.1400a7010
lea rcx, [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rsi + 0x118]
sub r12, rax
add rbx, rax
lea r9, [rsp + 0x50]
mov qword [r9], rbx
mov qword [r9 + 8], r12
mov r8d, dword [rsi + 0x128]
mov rdx, qword [rsi + 0x120]
mov qword [rsp + 0x20], rcx
mov rcx, r14
call qword [r14 + 8]
lea rcx, [rsp + 0xe8]
call fcn.140001980
jmp 0x14001ed22
xor eax, eax
jmp 0x14001f0e3
mov r8, qword [rsp + 0xa0]
test r8, r8
jne 0x14001f14b
xor ebp, ebp
mov qword [rsp + 0x48], r14
jmp 0x14001f17c
mov rcx, r14
mov edx, 0xb
call fcn.140002380
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xa0]
call fcn.1400187c0
mov ebp, eax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xb8]
xor edx, edx
call fcn.140002230
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0xb8]
mov qword [rax + 8], rcx
mov rdx, qword [rsp + 0x40]
mov qword [rax + 0x10], rdx
mov edx, 0x15
call fcn.140002480
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsi + 0x128]
mov rcx, qword [rsi + 0x120]
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0xb8]
mov rcx, qword [rax + 0x10]
call fcn.140003880
mov rdx, qword [rax + 0x20]
lea rcx, [rax + 8]
inc rdx
mov rax, qword [rsp + 0xf8]
lea r8, [rsp + 0x110]
mov qword [r8 + 0x10], rax
movups xmm0, xmmword [rsp + 0xe8]
movaps xmmword [r8], xmm0
mov qword [rsp + 0x40], rdx
mov qword [r8 + 0x18], rdx
lea rdx, [rsp + 0x100]
mov r9, r8
call fcn.140003120
lea rax, [rsp + 0x100]
cmp byte [rax + 8], 0
jne 0x14001f313
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
mov edx, 1
mov r8, qword [rsp + 0x40]
call fcn.140002380
movzx ecx, byte [rsp + 0x97]
mov rax, rcx
test cl, cl
jns 0x14001f28e
mov rax, qword [rsp + 0x88]
mov rdx, qword [rsi + 0x118]
sub rax, rdx
jb 0x14001f33c
test cl, cl
jns 0x14001f2aa
mov rbx, qword [rsp + 0x80]
add rbx, rdx
lea rcx, [rsp + 0xe8]
mov qword [rcx], rbx
mov qword [rcx + 8], rax
lea rbx, [rsp + 0x110]
mov rdx, rbx
call fcn.1400063f0
lea rcx, [rsp + 0xb8]
mov rdx, rbx
call fcn.140032fd0
mov rcx, qword [rsp + 0x48]
mov edx, 2
mov r8, rax
call fcn.140002380
cmp byte [rbx + 0x17], 0
jns 0x14001f301
mov rcx, qword [rsp + 0x110]
call fcn.1400897cc
lea rcx, [rsp + 0xb8]
call fcn.140002260
jmp 0x14001ee61
mov rcx, qword [rsp + 0xc8]
sub rcx, 0xffffffffffffff80
lea r8, [rsp + 0xe8]
mov rdx, qword [rsp + 0x40]
call fcn.140004100
jmp 0x14001f263
int3
int3
int3