Function at 0x14002cba0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Set current directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [rcx + 0xbb0]
mov rdi, rcx
mov byte [rcx + 0x290], 1
mov word [rcx + 0xbe0], 0
test rax, rax
je 0x14002d53a
cmp word [rax], 0
je 0x14002d53a
xor r12d, r12d
cmp qword [0x14014c850], r12
jne 0x14002cc02
call fcn.1400be7e0
mov qword [0x14014c850], rax
test rax, rax
je 0x14002d533
mov rdx, qword [0x14014c848]
cmp qword [rdx + 0x10], 0x28
jae 0x14002cc29
call fcn.1400be7e0
mov rdx, qword [0x14014c848]
mov qword [rdx + 0x18], rax
test rax, rax
je 0x14002d533
mov rcx, qword [rdx + 8]
add qword [rdx + 0x10], 0xffffffffffffffd8
mov qword [0x14014c840], rcx
lea rax, [rcx + 0x28]
mov qword [rdx + 8], rax
test rcx, rcx
je 0x14002d533
cmp byte [0x14014a4ef], r12b
lea rax, vtable.Label.0
mov qword [rcx], rax
lea rdx, [0x140126708]
lea rax, [0x14010d28c]
mov qword [rcx + 0x10], r12
mov qword [rcx + 8], rax
mov qword [rcx + 0x18], r12
mov qword [rcx + 0x20], r12
mov qword [rdi + 0x6d8], rcx
jne 0x14002cc89
mov rdx, qword [rdi + 0xbb0]
mov rcx, rdi
call fcn.14002d8b0
cmp eax, 1
jne 0x14002d53a
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.140037240
test eax, eax
je 0x14002d53a
mov rax, qword [rdi + 0x668]
mov qword [rax + 0x10], 1
mov rsi, qword [rdi + 0x660]
test rsi, rsi
je 0x14002cd7a
mov r15d, r12d
cmp byte [rsi + 1], r12b
jbe 0x14002cd4e
mov r14, r12
mov rbp, qword [rsi + 8]
add rbp, r14
cmp byte [rbp + 1], r12b
je 0x14002cd3e
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x14002cd2b
cmp qword [rbx], r12
je 0x14002cd2b
nop dword [rax]
cmp byte [rbx + 0x10], r12b
je 0x14002cd22
movzx r8d, word [rbx + 0x12]
xor r9d, r9d
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.14003bb90
mov qword [rbx + 8], rax
test rax, rax
je 0x14002cd5d
add rbx, 0x18
cmp qword [rbx], r12
jne 0x14002cd00
mov rdx, rbp
mov rcx, rsi
call fcn.140040040
test eax, eax
je 0x14002d53a
movzx eax, byte [rsi + 1]
inc r15d
add r14, 0x20
cmp r15d, eax
jl 0x14002cce2
mov rsi, qword [rsi + 0x20]
test rsi, rsi
jne 0x14002ccd6
jmp 0x14002cd7a
mov r9, qword [rbx]
lea rdx, str.Call_to_nonexistent_function.
xor r8d, r8d
mov rcx, rsi
call fcn.140050440
test eax, eax
je 0x14002d53a
mov rcx, qword [rdi + 0x660]
test rcx, rcx
je 0x14002ce05
nop word [rax + rax]
movzx eax, byte [rcx]
mov rdx, qword [rcx + 0x20]
mov r8, qword [rcx + 0x18]
cmp al, 8
je 0x14002cda8
cmp al, 0xe5
jne 0x14002cdf4
mov byte [rcx], reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x14002cdd9
movzx eax, byte [rcx + 0x10]
mov byte [rcx], al
mov rax, qword [rdi + 0x678]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x678]
test rax, rax
je 0x14002cdcb
mov qword [rax + 0x20], rcx
jmp 0x14002cdd2
mov qword [rdi + 0x670], rcx
mov qword [rdi + 0x678], rcx
test r8, r8
je 0x14002cde4
mov qword [r8 + 0x20], rdx
jmp 0x14002cdeb
mov qword [rdi + 0x660], rdx
test rdx, rdx
je 0x14002cdfe
mov qword [rdx + 0x18], r8
mov rcx, rdx
test rdx, rdx
jne 0x14002cd90
jmp 0x14002ce05
mov qword [rdi + 0x668], r8
cmp qword [rdi + 0x670], r12
je 0x14002ce40
mov rax, qword [rdi + 0x660]
mov rcx, qword [rdi + 0x678]
mov qword [rcx + 0x20], rax
mov rcx, qword [rdi + 0x660]
mov rax, qword [rdi + 0x678]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x670]
mov qword [rdi + 0x660], rax
mov esi, r12d
cmp dword [rdi + 0x698], r12d
jle 0x14002cec1
mov r14, r12
nop
mov rax, qword [rdi + 0x690]
mov rbx, qword [r14 + rax]
cmp byte [rbx + 0x79], r12b
jne 0x14002ceb3
test byte [rbx + 0x78], 4
jne 0x14002ceb3
mov r8, qword [rbx + 0x38]
lea r9, [rbx + 0x5c]
mov rdx, rbx
mov rcx, rdi
call fcn.140051620
mov r8, qword [rbx + 0x48]
lea r9, [rbx + 0x68]
mov rdx, rbx
mov rcx, rdi
call fcn.140051620
mov r8, qword [rbx + 0x40]
lea r9, [rbx + 0x64]
mov rdx, rbx
mov rcx, rdi
call fcn.140051620
mov r8, qword [rbx + 0x50]
lea r9, [rbx + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.140051620
inc esi
add r14, 8
cmp esi, dword [rdi + 0x698]
jl 0x14002ce50
mov rax, qword [rdi + 0x270]
test rax, rax
je 0x14002cf60
cmp qword [rax + 0x20], r12
je 0x14002cf4c
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov rbx, qword [rax + 0x10]
test rcx, rcx
je 0x14002cf4c
lea rax, str.__Class
mov dword [rsp + 0x40], 5
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x38], r12
call fcn.140029870
test al, al
je 0x14002cf2b
mov rcx, qword [rsp + 0x50]
mov rax, rcx
mov dword [rdi + 0x28c], ecx
sar rax, 0x20
mov dword [rdi + 0x288], eax
mov r8, rbx
mov qword [rdi + 0x6d0], r12
lea rdx, str.Unknown_class.
mov rcx, rdi
call fcn.1400508c0
test eax, eax
je 0x14002d53a
mov rcx, qword [rdi + 0x270]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rdi + 0x270], r12
cmp dword [0x14014b224], r12d
je 0x14002d097
mov qword [rsp + 0x28], r12
lea rdx, str.A_Args
xor r9d, r9d
mov dword [rsp + 0x20], 3
xor r8d, r8d
mov rcx, rdi
call fcn.14003df30
mov rsi, qword [rdi + 0x660]
mov rbp, rax
test rsi, rsi
je 0x14002d097
mov r15d, r12d
cmp byte [rsi + 1], r12b
jbe 0x14002d08a
mov r14, r12
mov rbx, qword [rsi + 8]
add rbx, r14
cmp byte [rbx], 2
jne 0x14002d012
mov rax, qword [rbx + 8]
cmp word [rax], r12w
jne 0x14002d076
mov r9, qword [rbx + 0x10]
cmp byte [r9 + 0x23], r12b
jne 0x14002cfdc
mov rax, qword [r9 + 0x10]
jmp 0x14002cfdf
mov rax, r9
test byte [rax + 0x21], 2
je 0x14002d076
cmp r9, rbp
je 0x14002d076
mov r9, qword [r9 + 0x28]
lea r8, str.Class_may_be_overwritten.
mov edx, dword [0x14014b224]
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.1400513c0
jmp 0x14002d076
cmp byte [rbx + 1], r12b
je 0x14002d076
mov rbx, qword [rbx + 0x18]
mov eax, dword [rbx + 0x10]
cmp eax, 0x41
je 0x14002d076
cmp eax, 4
jne 0x14002d06a
cmp dword [rbx + 8], r12d
je 0x14002d06a
mov r9, qword [rbx]
cmp byte [r9 + 0x23], r12b
jne 0x14002d03e
mov rax, qword [r9 + 0x10]
jmp 0x14002d041
mov rax, r9
test byte [rax + 0x21], 2
je 0x14002d06a
cmp r9, rbp
je 0x14002d06a
mov r9, qword [r9 + 0x28]
lea r8, str.Class_may_be_overwritten.
mov edx, dword [0x14014b224]
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.1400513c0
mov eax, dword [rbx + 0x30]
add rbx, 0x20
cmp eax, 0x41
jne 0x14002d024
movzx eax, byte [rsi + 1]
inc r15d
add r14, 0x20
cmp r15d, eax
jl 0x14002cfb2
mov rsi, qword [rsi + 0x20]
test rsi, rsi
jne 0x14002cfa2
mov rcx, qword [0x14014a428]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [rdi + 0x28c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov dl, 0x68
mov rcx, rdi
call fcn.140037240
test eax, eax
je 0x14002d53a
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.140037240
test eax, eax
je 0x14002d53a
mov rax, qword [rdi + 0x668]
mov rcx, qword [rax + 0x18]
mov qword [rcx + 0x10], 1
mov rax, qword [rdi + 0x668]
mov qword [rax + 0x10], 1
mov rcx, qword [rdi + 0x6d8]
mov rax, qword [rdi + 0x668]
mov qword [rcx + 0x10], rax
mov rbx, qword [rdi + 0x660]
test rbx, rbx
je 0x14002d2f3
lea r14, [0x140000000]
nop
movzx ecx, byte [rbx]
mov qword [rbx + 0x30], r12
lea eax, [rcx - 9]
cmp al, 0x17
jbe 0x14002d24b
lea eax, [rcx - 0x69]
cmp al, 2
jbe 0x14002d24b
cmp cl, 0x71
je 0x14002d24b
cmp cl, 0x75
jne 0x14002d1f4
movzx eax, byte [rbx + 1]
mov rbp, rbx
mov rsi, qword [rbx + 0x20]
mov qword [rbx + 0x10], rax
mov byte [rbx + 1], r12b
cmp byte [rsi], 0x77
jne 0x14002d37a
mov qword [rsi + 0x30], rbx
mov rbx, qword [rsi + 0x20]
movzx eax, byte [rbx]
cmp al, 0x76
jne 0x14002d1dc
nop word [rax + rax]
movzx eax, byte [rbx + 1]
mov r9, rsi
mov rdx, qword [rbx + 0x20]
mov r8d, 2
mov rcx, rdi
mov qword [rbx + 0x10], rax
mov byte [rbx + 1], r12b
mov qword [rbx + 0x30], rsi
mov qword [rsp + 0x20], r12
call fcn.14003ed50
test rax, rax
je 0x14002d53a
mov qword [rbx + 0x28], rax
mov rbx, rax
cmp byte [rax], 0x76
je 0x14002d190
mov rbx, qword [rax + 0x20]
mov qword [rbp + 0x28], rbx
jmp 0x14002d2ea
cmp al, 0x78
jne 0x14002d35c
mov rax, rbx
mov rbx, qword [rbx + 0x20]
mov qword [rbp + 0x28], rbx
jmp 0x14002d2ea
lea eax, [rcx - 0x21]
cmp eax, 0x57
ja case.0x14002d212.41
cdqe
movzx eax, byte [r14 + rax + 0x2d57c]
mov ecx, dword [r14 + rax*4 + 0x2d558]
add rcx, r14
jmp rcx
mov rdx, qword [rbx + 0x20]
mov r9, rbx
mov r8d, 2
mov qword [rsp + 0x20], r12
mov rcx, rdi
call fcn.14003ed50
test rax, rax
je 0x14002d53a
mov rcx, qword [rax + 0x20]
mov qword [rbx + 0x28], rcx
mov rbx, rax
mov rbx, qword [rbx + 0x20]
jmp 0x14002d2ea
cmp cl, 0x6a
jne 0x14002d253
dec byte [rbx + 1]
mov rax, qword [rbx + 0x10]
mov r9, rbx
mov rdx, qword [rbx + 0x20]
mov qword [rsp + 0x20], rax
mov r8d, 3
mov rcx, rdi
call fcn.14003ed50
mov r10, rax
test rax, rax
je 0x14002d53a
mov qword [rbx + 0x28], rax
movzx r8d, byte [rax]
mov edx, r8d
sub edx, 0x21
je 0x14002d2c2
sub edx, 0x51
je 0x14002d2a0
cmp edx, 1
jne 0x14002d2a5
movzx eax, byte [rbx]
sub al, 0x71
cmp al, dl
jmp 0x14002d2c9
cmp byte [rbx], 0x71
je 0x14002d2cb
cmp r8b, 0x6c
jne 0x14002d2e7
movzx eax, byte [rbx]
sub al, 0x69
cmp al, 1
ja 0x14002d2e7
mov rax, qword [rbx + 0x30]
mov rbx, qword [r10 + 0x20]
mov qword [r10 + 0x30], rax
jmp 0x14002d2ea
movzx eax, byte [rbx]
sub al, 9
cmp al, 0x17
ja 0x14002d2a5
mov rax, qword [rbx + 0x30]
mov r9, r10
mov rdx, qword [r10 + 0x20]
mov rbx, r10
mov qword [r10 + 0x30], rax
mov qword [rsp + 0x20], r12
jmp 0x14002d263
mov rbx, r10
test rbx, rbx
jne 0x14002d130
cmp qword [rdi + 0x668], r12
je 0x14002d53a
mov rdx, qword [rdi + 0x660]
mov rcx, rdi
call fcn.14003f150
test rax, rax
je 0x14002d53a
lea rax, [rsp + 0xb0]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0xb8]
lea rdx, str.ErrorLevel
mov dword [rsp + 0x20], 3
mov rcx, rdi
call fcn.14003df30
test rax, rax
je 0x14002d46a
mov qword [0x14014a3b0], rax
jmp 0x14002d4a8
lea r9, [0x14010d28c]
xor r8d, r8d
lea rdx, str.Expected_Case_Default
mov rcx, rbx
call fcn.140050440
jmp 0x14002d53a
lea r9, [0x14010d28c]
xor r8d, r8d
lea rdx, [0x140126938]
mov rcx, rbp
call fcn.140050440
jmp 0x14002d53a
lea r9, [0x14010d28c]
xor r8d, r8d
lea rdx, [0x140129128]
mov rcx, rbx
call fcn.140050440
jmp 0x14002d53a
lea r9, [0x14010d28c]
xor r8d, r8d
lea rdx, str.Break_Continue_must_be_enclosed_by_a_Loop.
mov rcx, rbx
call fcn.140050440
jmp 0x14002d53a
lea r9, [0x14010d28c]
xor r8d, r8d
lea rdx, str.Case_Default_must_be_enclosed_by_a_Switch.
mov rcx, rbx
call fcn.140050440
jmp 0x14002d53a
lea r9, [0x14010d28c]
xor r8d, r8d
lea rdx, str.ELSE_with_no_matching_IF
mov rcx, rbx
call fcn.140050440
jmp 0x14002d53a
lea r9, [0x14010d28c]
xor r8d, r8d
lea rdx, str.UNTIL_with_no_matching_LOOP
mov rcx, rbx
call fcn.140050440
jmp 0x14002d53a
lea r9, [0x14010d28c]
xor r8d, r8d
lea rdx, str.CATCH_with_no_matching_TRY
mov rcx, rbx
call fcn.140050440
jmp 0x14002d53a
lea r9, [0x14010d28c]
xor r8d, r8d
lea rdx, str.FINALLY_with_no_matching_TRY_or_CATCH
mov rcx, rbx
call fcn.140050440
jmp 0x14002d53a
cmp byte [rsp + 0xb0], r12b
lea rdx, str.ErrorLevel
mov r9d, dword [rsp + 0xb8]
mov rcx, rdi
setne r12b
xor r8d, r8d
inc r12d
mov dword [rsp + 0x20], r12d
call fcn.14003e460
mov qword [0x14014a3b0], rax
test rax, rax
je 0x14002d53a
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [0x14010d31c]
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400c6a70
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0xb0]
lea r9, [0x14014e864]
mov dword [0x14014e860], eax
mov r8d, 1
nop dword [rax + rax]
mov edx, dword [r9 - 4]
lea r9, [r9 + 4]
shr edx, 0x1e
xor edx, dword [r9 - 8]
imul ecx, edx, 0x6c078965
add ecx, r8d
inc r8d
mov dword [r9 - 4], ecx
cmp r8d, 0x270
jl 0x14002d4f0
mov dword [0x1401481d0], 1
mov eax, 1
mov dword [0x14014e858], 1
jmp 0x14002d53f
mov qword [rdi + 0x6d8], r12
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret