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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [0x1400ff388]
xor rax, rbp
mov qword [rbp + 0x410], rax
lea r15, [rcx + 8]
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 4]
test byte [rsi + rcx + 0x28], 5
je 0x14002b1d6
movaps xmm0, xmmword [0x1400d48f0]
movaps xmmword [rbp], xmm0
mov r12, 0xffffffffffffffff
jmp 0x14002b1fc
mov rcx, qword [r15 + rcx + 0x28]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0x10
mov rdx, rbp
xor r8d, r8d
mov r9d, 1
call qword [rax + 0x18]
mov r12, qword [rbp + 8]
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
add rcx, r15
mov rdi, rbp
mov rdx, rdi
call fcn.140009846
lea rdx, [0x140101d10]
mov rcx, rdi
call fcn.14000ce38
mov rbx, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [rbx + 0x38]
mov ebx, eax
mov rcx, rdi
call fcn.14000cd88
mov rcx, r15
mov edx, ebx
call fcn.14000a92e
mov rcx, r15
call fcn.140009e66
lea r14, [rsi + 0x10]
lea rbx, [rbp - 0x18]
mov rcx, r14
mov rdx, rbx
call fcn.14002bd50
mov rax, qword [0x140102a90]
test rax, rax
je 0x14002b294
mov r9, qword [rsi + 0x110]
mov r8d, dword [rsi + 0x120]
mov rdx, qword [rsi + 0x118]
mov ecx, dword [rsi]
mov qword [rsp + 0x20], rbx
call rax
test al, al
je 0x14002b294
cmp byte [rbp - 1], 0
jns 0x14002b546
jmp 0x14002b53d
test byte [0x1400ff338], 2
jne 0x14002b2c8
cmp dword [rsi], 2
jl 0x14002b318
mov ecx, 2
call fcn.1400acdb8
movzx edx, byte [rbp - 1]
test dl, dl
cmovs rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x18]
cmovs rcx, qword [rbp - 0x18]
mov r8d, 1
jmp 0x14002b2fe
cmp byte [rbp - 1], 0
mov rcx, rbx
jns 0x14002b2d5
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 2
call fcn.1400acdb8
movzx edx, byte [rbp - 1]
test dl, dl
jns 0x14002b2f5
mov rdx, qword [rbp - 0x10]
mov rbx, qword [rbp - 0x18]
mov r8d, 1
mov rcx, rbx
mov r9, rax
call fcn.1400bd5a8
mov ecx, 2
call fcn.1400acdb8
mov rcx, rax
call fcn.1400bcefc
test byte [0x1400ff338], 1
je 0x14002b359
call fcn.14002a9e0
test al, al
je 0x14002b359
movzx r8d, byte [rbp - 1]
test r8b, r8b
cmovs r8d, dword [rbp - 0x10]
lea rdx, [rbp - 0x18]
cmovs rdx, qword [rbp - 0x18]
mov rcx, qword [0x140102ad0]
mov qword [rsp + 0x20], 0
mov r9, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi], 3
jne 0x14002b3b0
mov rcx, qword [0x140102d60]
lea r13, [rbp - 0x18]
test rcx, rcx
je 0x14002b392
movzx eax, byte [rbp - 1]
test al, al
mov rdx, qword [rbp - 0x18]
cmovns rdx, r13
mov qword [rbp - 0x28], rdx
cmovs rax, qword [rbp - 0x10]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
call 0x140039cb0
mov dword [rbp], 0xbedead01
mov dword [rbp + 0x404], 0x5050dead
cmp byte [r13 + 0x17], 0
jns 0x14002b3b9
mov rdx, qword [rbp - 0x18]
jmp 0x14002b3bd
lea r13, [rbp - 0x18]
jmp 0x14002b536
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 4]
mov r8d, 0x400
call fcn.140034090
mov rcx, rbp
call fcn.140003e20
mov rax, qword [0x140102aa8]
test rax, rax
je 0x14002b5c0
mov rbx, qword [0x140102aa8]
cmp rbx, 1
ja 0x14002b437
lea rcx, [0x140102aa8]
call fcn.140038140
test al, al
je 0x14002b430
xorps xmm0, xmm0
movups xmmword [0x140102ac0], xmm0
movups xmmword [0x140102ab0], xmm0
lea rbx, [0x140102ab0]
lea rcx, [0x140102aa8]
mov rdx, rbx
xor r8d, r8d
mov r9, rcx
call fcn.1400381f0
jmp 0x14002b437
mov rbx, qword [0x140102aa8]
mov rax, qword [rbx + 0x10]
cmp rax, qword [rbx + 0x18]
je 0x14002b5c0
mov rbx, qword [0x140102aa8]
cmp rbx, 1
ja 0x14002b498
lea rcx, [0x140102aa8]
call fcn.140038140
test al, al
je 0x14002b491
xorps xmm0, xmm0
movups xmmword [0x140102ac0], xmm0
movups xmmword [0x140102ab0], xmm0
lea rbx, [0x140102ab0]
lea rcx, [0x140102aa8]
mov rdx, rbx
xor r8d, r8d
mov r9, rcx
call fcn.1400381f0
jmp 0x14002b498
mov rbx, qword [0x140102aa8]
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
cmove rdx, rax
add rdx, 0xffffffffffffffff
cmp rax, rdx
jb 0x14002b5c7
shl rdx, 3
add rdx, qword [rbx]
lea rcx, [rbp - 0x30]
call fcn.140024ef0
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x14002b52d
cmp byte [r13 + 0x17], 0
jns 0x14002b4da
mov rdi, qword [rbp - 0x18]
jmp 0x14002b4de
lea rdi, [rbp - 0x18]
mov rcx, rdi
add rcx, r12
mov qword [rbp - 0x40], rcx
je 0x14002b4f1
call fcn.1400beb80
jmp 0x14002b4f3
xor eax, eax
mov qword [rbp - 0x38], rax
mov rax, qword [rsi + 0x110]
sub r12, rax
add rdi, rax
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], r12
mov r8d, dword [rsi + 0x120]
mov rdx, qword [rsi + 0x118]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
mov rcx, rbx
call qword [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140024ed0
cmp byte [r13 + 0x17], 0
jns 0x14002b546
mov rcx, qword [rbp - 0x18]
call fcn.1400a8dcc
lea rcx, [rsi + 0x124]
call fcn.140038250
mov rax, qword [rsi + 8]
movsxd rax, dword [rax + 4]
lea rcx, [0x1400d7aa0]
mov qword [rsi + rax + 8], rcx
lea rax, [0x1400d7ab0]
mov qword [rsi + 0x10], rax
cmp byte [rsi + 0x67], 0
lea rsi, [rsi + 0x78]
jns 0x14002b584
mov rcx, qword [r15 + 0x48]
call fcn.1400a8dcc
mov rcx, r14
call fcn.140009dbe
mov rcx, r14
call fcn.140003e20
mov rcx, rsi
call fcn.140009db8
mov rcx, qword [rbp + 0x410]
xor rcx, rbp
call fcn.1400a91f0
nop
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
int3