Function at 0x14002c600
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 0x14002cf9a
cmp word [rax], 0
je 0x14002cf9a
xor r12d, r12d
cmp qword [0x140117b60], r12
jne 0x14002c662
call fcn.1400bbe90
mov qword [0x140117b60], rax
test rax, rax
je 0x14002cf93
mov rdx, qword [0x140117b58]
cmp qword [rdx + 0x10], 0x28
jae 0x14002c689
call fcn.1400bbe90
mov rdx, qword [0x140117b58]
mov qword [rdx + 0x18], rax
test rax, rax
je 0x14002cf93
mov rcx, qword [rdx + 8]
add qword [rdx + 0x10], 0xffffffffffffffd8
mov qword [0x140117b50], rcx
lea rax, [rcx + 0x28]
mov qword [rdx + 8], rax
test rcx, rcx
je 0x14002cf93
cmp byte [0x1401157ff], r12b
lea rax, vtable.Label.0
mov qword [rcx], rax
lea rdx, [0x1400f8458]
lea rax, [0x1400e0674]
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 0x14002c6e9
mov rdx, qword [rdi + 0xbb0]
mov rcx, rdi
call fcn.14002d310
cmp eax, 1
jne 0x14002cf9a
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.140036910
test eax, eax
je 0x14002cf9a
mov rax, qword [rdi + 0x668]
mov qword [rax + 0x10], 1
mov rsi, qword [rdi + 0x660]
test rsi, rsi
je 0x14002c7da
mov r15d, r12d
cmp byte [rsi + 1], r12b
jbe 0x14002c7ae
mov r14, r12
mov rbp, qword [rsi + 8]
add rbp, r14
cmp byte [rbp + 1], r12b
je 0x14002c79e
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x14002c78b
cmp qword [rbx], r12
je 0x14002c78b
nop dword [rax]
cmp byte [rbx + 0x10], r12b
je 0x14002c782
movzx r8d, word [rbx + 0x12]
xor r9d, r9d
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.14003ad90
mov qword [rbx + 8], rax
test rax, rax
je 0x14002c7bd
add rbx, 0x18
cmp qword [rbx], r12
jne 0x14002c760
mov rdx, rbp
mov rcx, rsi
call fcn.14003f2e0
test eax, eax
je 0x14002cf9a
movzx eax, byte [rsi + 1]
inc r15d
add r14, 0x20
cmp r15d, eax
jl 0x14002c742
mov rsi, qword [rsi + 0x20]
test rsi, rsi
jne 0x14002c736
jmp 0x14002c7da
mov r9, qword [rbx]
lea rdx, str.Call_to_nonexistent_function.
xor r8d, r8d
mov rcx, rsi
call fcn.14004d7f0
test eax, eax
je 0x14002cf9a
mov rcx, qword [rdi + 0x660]
test rcx, rcx
je 0x14002c865
nop word [rax + rax]
movzx eax, byte [rcx]
mov rdx, qword [rcx + 0x20]
mov r8, qword [rcx + 0x18]
cmp al, 8
je 0x14002c808
cmp al, 0xe5
jne 0x14002c854
mov byte [rcx], reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x14002c839
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 0x14002c82b
mov qword [rax + 0x20], rcx
jmp 0x14002c832
mov qword [rdi + 0x670], rcx
mov qword [rdi + 0x678], rcx
test r8, r8
je 0x14002c844
mov qword [r8 + 0x20], rdx
jmp 0x14002c84b
mov qword [rdi + 0x660], rdx
test rdx, rdx
je 0x14002c85e
mov qword [rdx + 0x18], r8
mov rcx, rdx
test rdx, rdx
jne 0x14002c7f0
jmp 0x14002c865
mov qword [rdi + 0x668], r8
cmp qword [rdi + 0x670], r12
je 0x14002c8a0
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 0x14002c921
mov r14, r12
nop
mov rax, qword [rdi + 0x690]
mov rbx, qword [r14 + rax]
cmp byte [rbx + 0x79], r12b
jne 0x14002c913
test byte [rbx + 0x78], 4
jne 0x14002c913
mov r8, qword [rbx + 0x38]
lea r9, [rbx + 0x5c]
mov rdx, rbx
mov rcx, rdi
call fcn.14004e8f0
mov r8, qword [rbx + 0x48]
lea r9, [rbx + 0x68]
mov rdx, rbx
mov rcx, rdi
call fcn.14004e8f0
mov r8, qword [rbx + 0x40]
lea r9, [rbx + 0x64]
mov rdx, rbx
mov rcx, rdi
call fcn.14004e8f0
mov r8, qword [rbx + 0x50]
lea r9, [rbx + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.14004e8f0
inc esi
add r14, 8
cmp esi, dword [rdi + 0x698]
jl 0x14002c8b0
mov rax, qword [rdi + 0x270]
test rax, rax
je 0x14002c9c0
cmp qword [rax + 0x20], r12
je 0x14002c9ac
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov rbx, qword [rax + 0x10]
test rcx, rcx
je 0x14002c9ac
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.1400293b0
test al, al
je 0x14002c98b
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.14004dc70
test eax, eax
je 0x14002cf9a
mov rcx, qword [rdi + 0x270]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rdi + 0x270], r12
cmp dword [0x140116534], r12d
je 0x14002caf7
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.14003d180
mov rsi, qword [rdi + 0x660]
mov rbp, rax
test rsi, rsi
je 0x14002caf7
mov r15d, r12d
cmp byte [rsi + 1], r12b
jbe 0x14002caea
mov r14, r12
mov rbx, qword [rsi + 8]
add rbx, r14
cmp byte [rbx], 2
jne 0x14002ca72
mov rax, qword [rbx + 8]
cmp word [rax], r12w
jne 0x14002cad6
mov r9, qword [rbx + 0x10]
cmp byte [r9 + 0x23], r12b
jne 0x14002ca3c
mov rax, qword [r9 + 0x10]
jmp 0x14002ca3f
mov rax, r9
test byte [rax + 0x21], 2
je 0x14002cad6
cmp r9, rbp
je 0x14002cad6
mov r9, qword [r9 + 0x28]
lea r8, str.Class_may_be_overwritten.
mov edx, dword [0x140116534]
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.14004e690
jmp 0x14002cad6
cmp byte [rbx + 1], r12b
je 0x14002cad6
mov rbx, qword [rbx + 0x18]
mov eax, dword [rbx + 0x10]
cmp eax, 0x41
je 0x14002cad6
cmp eax, 4
jne 0x14002caca
cmp dword [rbx + 8], r12d
je 0x14002caca
mov r9, qword [rbx]
cmp byte [r9 + 0x23], r12b
jne 0x14002ca9e
mov rax, qword [r9 + 0x10]
jmp 0x14002caa1
mov rax, r9
test byte [rax + 0x21], 2
je 0x14002caca
cmp r9, rbp
je 0x14002caca
mov r9, qword [r9 + 0x28]
lea r8, str.Class_may_be_overwritten.
mov edx, dword [0x140116534]
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.14004e690
mov eax, dword [rbx + 0x30]
add rbx, 0x20
cmp eax, 0x41
jne 0x14002ca84
movzx eax, byte [rsi + 1]
inc r15d
add r14, 0x20
cmp r15d, eax
jl 0x14002ca12
mov rsi, qword [rsi + 0x20]
test rsi, rsi
jne 0x14002ca02
mov rcx, qword [0x140115738]
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.140036910
test eax, eax
je 0x14002cf9a
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.140036910
test eax, eax
je 0x14002cf9a
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 0x14002cd53
lea r14, [0x140000000]
nop
movzx ecx, byte [rbx]
mov qword [rbx + 0x30], r12
lea eax, [rcx - 9]
cmp al, 0x17
jbe 0x14002ccab
lea eax, [rcx - 0x69]
cmp al, 2
jbe 0x14002ccab
cmp cl, 0x71
je 0x14002ccab
cmp cl, 0x75
jne 0x14002cc54
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 0x14002cdda
mov qword [rsi + 0x30], rbx
mov rbx, qword [rsi + 0x20]
movzx eax, byte [rbx]
cmp al, 0x76
jne 0x14002cc3c
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.14003dfd0
test rax, rax
je 0x14002cf9a
mov qword [rbx + 0x28], rax
mov rbx, rax
cmp byte [rax], 0x76
je 0x14002cbf0
mov rbx, qword [rax + 0x20]
mov qword [rbp + 0x28], rbx
jmp 0x14002cd4a
cmp al, 0x78
jne 0x14002cdbc
mov rax, rbx
mov rbx, qword [rbx + 0x20]
mov qword [rbp + 0x28], rbx
jmp 0x14002cd4a
lea eax, [rcx - 0x21]
cmp eax, 0x57
ja case.0x14002cc72.41
cdqe
movzx eax, byte [r14 + rax + 0x2cfdc]
mov ecx, dword [r14 + rax*4 + 0x2cfb8]
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.14003dfd0
test rax, rax
je 0x14002cf9a
mov rcx, qword [rax + 0x20]
mov qword [rbx + 0x28], rcx
mov rbx, rax
mov rbx, qword [rbx + 0x20]
jmp 0x14002cd4a
cmp cl, 0x6a
jne 0x14002ccb3
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.14003dfd0
mov r10, rax
test rax, rax
je 0x14002cf9a
mov qword [rbx + 0x28], rax
movzx r8d, byte [rax]
mov edx, r8d
sub edx, 0x21
je 0x14002cd22
sub edx, 0x51
je 0x14002cd00
cmp edx, 1
jne 0x14002cd05
movzx eax, byte [rbx]
sub al, 0x71
cmp al, dl
jmp 0x14002cd29
cmp byte [rbx], 0x71
je 0x14002cd2b
cmp r8b, 0x6c
jne 0x14002cd47
movzx eax, byte [rbx]
sub al, 0x69
cmp al, 1
ja 0x14002cd47
mov rax, qword [rbx + 0x30]
mov rbx, qword [r10 + 0x20]
mov qword [r10 + 0x30], rax
jmp 0x14002cd4a
movzx eax, byte [rbx]
sub al, 9
cmp al, 0x17
ja 0x14002cd05
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 0x14002ccc3
mov rbx, r10
test rbx, rbx
jne 0x14002cb90
cmp qword [rdi + 0x668], r12
je 0x14002cf9a
mov rdx, qword [rdi + 0x660]
mov rcx, rdi
call fcn.14003e3d0
test rax, rax
je 0x14002cf9a
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.14003d180
test rax, rax
je 0x14002ceca
mov qword [0x1401156c0], rax
jmp 0x14002cf08
lea r9, [0x1400e0674]
xor r8d, r8d
lea rdx, str.Expected_Case_Default
mov rcx, rbx
call fcn.14004d7f0
jmp 0x14002cf9a
lea r9, [0x1400e0674]
xor r8d, r8d
lea rdx, [0x1400f8688]
mov rcx, rbp
call fcn.14004d7f0
jmp 0x14002cf9a
lea r9, [0x1400e0674]
xor r8d, r8d
lea rdx, [0x1400fae78]
mov rcx, rbx
call fcn.14004d7f0
jmp 0x14002cf9a
lea r9, [0x1400e0674]
xor r8d, r8d
lea rdx, str.Break_Continue_must_be_enclosed_by_a_Loop.
mov rcx, rbx
call fcn.14004d7f0
jmp 0x14002cf9a
lea r9, [0x1400e0674]
xor r8d, r8d
lea rdx, str.Case_Default_must_be_enclosed_by_a_Switch.
mov rcx, rbx
call fcn.14004d7f0
jmp 0x14002cf9a
lea r9, [0x1400e0674]
xor r8d, r8d
lea rdx, str.ELSE_with_no_matching_IF
mov rcx, rbx
call fcn.14004d7f0
jmp 0x14002cf9a
lea r9, [0x1400e0674]
xor r8d, r8d
lea rdx, str.UNTIL_with_no_matching_LOOP
mov rcx, rbx
call fcn.14004d7f0
jmp 0x14002cf9a
lea r9, [0x1400e0674]
xor r8d, r8d
lea rdx, str.CATCH_with_no_matching_TRY
mov rcx, rbx
call fcn.14004d7f0
jmp 0x14002cf9a
lea r9, [0x1400e0674]
xor r8d, r8d
lea rdx, str.FINALLY_with_no_matching_TRY_or_CATCH
mov rcx, rbx
call fcn.14004d7f0
jmp 0x14002cf9a
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.14003d6c0
mov qword [0x1401156c0], rax
test rax, rax
je 0x14002cf9a
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [0x1400e0704]
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400c4200
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0xb0]
lea r9, [0x140119b74]
mov dword [0x140119b70], 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 0x14002cf50
mov dword [0x1401147b0], 1
mov eax, 1
mov dword [0x140119b68], 1
jmp 0x14002cf9f
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