Function at 0x14002c740
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 0x14002d0da
cmp word [rax], 0
je 0x14002d0da
xor r12d, r12d
cmp qword [0x140117b60], r12
jne 0x14002c7a2
call fcn.1400bbc30
mov qword [0x140117b60], rax
test rax, rax
je 0x14002d0d3
mov rdx, qword [0x140117b58]
cmp qword [rdx + 0x10], 0x28
jae 0x14002c7c9
call fcn.1400bbc30
mov rdx, qword [0x140117b58]
mov qword [rdx + 0x18], rax
test rax, rax
je 0x14002d0d3
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 0x14002d0d3
cmp byte [0x1401157ff], r12b
lea rax, vtable.Label.0
mov qword [rcx], rax
lea rdx, [0x1400f8468]
lea rax, [0x1400e0684]
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 0x14002c829
mov rdx, qword [rdi + 0xbb0]
mov rcx, rdi
call fcn.14002d450
cmp eax, 1
jne 0x14002d0da
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.140036a40
test eax, eax
je 0x14002d0da
mov rax, qword [rdi + 0x668]
mov qword [rax + 0x10], 1
mov rsi, qword [rdi + 0x660]
test rsi, rsi
je 0x14002c91a
mov r15d, r12d
cmp byte [rsi + 1], r12b
jbe 0x14002c8ee
mov r14, r12
mov rbp, qword [rsi + 8]
add rbp, r14
cmp byte [rbp + 1], r12b
je 0x14002c8de
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x14002c8cb
cmp qword [rbx], r12
je 0x14002c8cb
nop dword [rax]
cmp byte [rbx + 0x10], r12b
je 0x14002c8c2
movzx r8d, word [rbx + 0x12]
xor r9d, r9d
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.14003aec0
mov qword [rbx + 8], rax
test rax, rax
je 0x14002c8fd
add rbx, 0x18
cmp qword [rbx], r12
jne 0x14002c8a0
mov rdx, rbp
mov rcx, rsi
call fcn.14003f410
test eax, eax
je 0x14002d0da
movzx eax, byte [rsi + 1]
inc r15d
add r14, 0x20
cmp r15d, eax
jl 0x14002c882
mov rsi, qword [rsi + 0x20]
test rsi, rsi
jne 0x14002c876
jmp 0x14002c91a
mov r9, qword [rbx]
lea rdx, str.Call_to_nonexistent_function.
xor r8d, r8d
mov rcx, rsi
call fcn.14004d8d0
test eax, eax
je 0x14002d0da
mov rcx, qword [rdi + 0x660]
test rcx, rcx
je 0x14002c9a5
nop word [rax + rax]
movzx eax, byte [rcx]
mov rdx, qword [rcx + 0x20]
mov r8, qword [rcx + 0x18]
cmp al, 8
je 0x14002c948
cmp al, 0xe5
jne 0x14002c994
mov byte [rcx], reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x14002c979
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 0x14002c96b
mov qword [rax + 0x20], rcx
jmp 0x14002c972
mov qword [rdi + 0x670], rcx
mov qword [rdi + 0x678], rcx
test r8, r8
je 0x14002c984
mov qword [r8 + 0x20], rdx
jmp 0x14002c98b
mov qword [rdi + 0x660], rdx
test rdx, rdx
je 0x14002c99e
mov qword [rdx + 0x18], r8
mov rcx, rdx
test rdx, rdx
jne 0x14002c930
jmp 0x14002c9a5
mov qword [rdi + 0x668], r8
cmp qword [rdi + 0x670], r12
je 0x14002c9e0
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 0x14002ca61
mov r14, r12
nop
mov rax, qword [rdi + 0x690]
mov rbx, qword [r14 + rax]
cmp byte [rbx + 0x79], r12b
jne 0x14002ca53
test byte [rbx + 0x78], 4
jne 0x14002ca53
mov r8, qword [rbx + 0x38]
lea r9, [rbx + 0x5c]
mov rdx, rbx
mov rcx, rdi
call fcn.14004e9d0
mov r8, qword [rbx + 0x48]
lea r9, [rbx + 0x68]
mov rdx, rbx
mov rcx, rdi
call fcn.14004e9d0
mov r8, qword [rbx + 0x40]
lea r9, [rbx + 0x64]
mov rdx, rbx
mov rcx, rdi
call fcn.14004e9d0
mov r8, qword [rbx + 0x50]
lea r9, [rbx + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.14004e9d0
inc esi
add r14, 8
cmp esi, dword [rdi + 0x698]
jl 0x14002c9f0
mov rax, qword [rdi + 0x270]
test rax, rax
je 0x14002cb00
cmp qword [rax + 0x20], r12
je 0x14002caec
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov rbx, qword [rax + 0x10]
test rcx, rcx
je 0x14002caec
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.1400294c0
test al, al
je 0x14002cacb
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.14004dd50
test eax, eax
je 0x14002d0da
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 0x14002cc37
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.14003d2b0
mov rsi, qword [rdi + 0x660]
mov rbp, rax
test rsi, rsi
je 0x14002cc37
mov r15d, r12d
cmp byte [rsi + 1], r12b
jbe 0x14002cc2a
mov r14, r12
mov rbx, qword [rsi + 8]
add rbx, r14
cmp byte [rbx], 2
jne 0x14002cbb2
mov rax, qword [rbx + 8]
cmp word [rax], r12w
jne 0x14002cc16
mov r9, qword [rbx + 0x10]
cmp byte [r9 + 0x23], r12b
jne 0x14002cb7c
mov rax, qword [r9 + 0x10]
jmp 0x14002cb7f
mov rax, r9
test byte [rax + 0x21], 2
je 0x14002cc16
cmp r9, rbp
je 0x14002cc16
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.14004e770
jmp 0x14002cc16
cmp byte [rbx + 1], r12b
je 0x14002cc16
mov rbx, qword [rbx + 0x18]
mov eax, dword [rbx + 0x10]
cmp eax, 0x41
je 0x14002cc16
cmp eax, 4
jne 0x14002cc0a
cmp dword [rbx + 8], r12d
je 0x14002cc0a
mov r9, qword [rbx]
cmp byte [r9 + 0x23], r12b
jne 0x14002cbde
mov rax, qword [r9 + 0x10]
jmp 0x14002cbe1
mov rax, r9
test byte [rax + 0x21], 2
je 0x14002cc0a
cmp r9, rbp
je 0x14002cc0a
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.14004e770
mov eax, dword [rbx + 0x30]
add rbx, 0x20
cmp eax, 0x41
jne 0x14002cbc4
movzx eax, byte [rsi + 1]
inc r15d
add r14, 0x20
cmp r15d, eax
jl 0x14002cb52
mov rsi, qword [rsi + 0x20]
test rsi, rsi
jne 0x14002cb42
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.140036a40
test eax, eax
je 0x14002d0da
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.140036a40
test eax, eax
je 0x14002d0da
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 0x14002ce93
lea r14, [0x140000000]
nop
movzx ecx, byte [rbx]
mov qword [rbx + 0x30], r12
lea eax, [rcx - 9]
cmp al, 0x17
jbe 0x14002cdeb
lea eax, [rcx - 0x69]
cmp al, 2
jbe 0x14002cdeb
cmp cl, 0x71
je 0x14002cdeb
cmp cl, 0x75
jne 0x14002cd94
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 0x14002cf1a
mov qword [rsi + 0x30], rbx
mov rbx, qword [rsi + 0x20]
movzx eax, byte [rbx]
cmp al, 0x76
jne 0x14002cd7c
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.14003e100
test rax, rax
je 0x14002d0da
mov qword [rbx + 0x28], rax
mov rbx, rax
cmp byte [rax], 0x76
je 0x14002cd30
mov rbx, qword [rax + 0x20]
mov qword [rbp + 0x28], rbx
jmp 0x14002ce8a
cmp al, 0x78
jne 0x14002cefc
mov rax, rbx
mov rbx, qword [rbx + 0x20]
mov qword [rbp + 0x28], rbx
jmp 0x14002ce8a
lea eax, [rcx - 0x21]
cmp eax, 0x57
ja case.0x14002cdb2.41
cdqe
movzx eax, byte [r14 + rax + 0x2d11c]
mov ecx, dword [r14 + rax*4 + 0x2d0f8]
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.14003e100
test rax, rax
je 0x14002d0da
mov rcx, qword [rax + 0x20]
mov qword [rbx + 0x28], rcx
mov rbx, rax
mov rbx, qword [rbx + 0x20]
jmp 0x14002ce8a
cmp cl, 0x6a
jne 0x14002cdf3
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.14003e100
mov r10, rax
test rax, rax
je 0x14002d0da
mov qword [rbx + 0x28], rax
movzx r8d, byte [rax]
mov edx, r8d
sub edx, 0x21
je 0x14002ce62
sub edx, 0x51
je 0x14002ce40
cmp edx, 1
jne 0x14002ce45
movzx eax, byte [rbx]
sub al, 0x71
cmp al, dl
jmp 0x14002ce69
cmp byte [rbx], 0x71
je 0x14002ce6b
cmp r8b, 0x6c
jne 0x14002ce87
movzx eax, byte [rbx]
sub al, 0x69
cmp al, 1
ja 0x14002ce87
mov rax, qword [rbx + 0x30]
mov rbx, qword [r10 + 0x20]
mov qword [r10 + 0x30], rax
jmp 0x14002ce8a
movzx eax, byte [rbx]
sub al, 9
cmp al, 0x17
ja 0x14002ce45
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 0x14002ce03
mov rbx, r10
test rbx, rbx
jne 0x14002ccd0
cmp qword [rdi + 0x668], r12
je 0x14002d0da
mov rdx, qword [rdi + 0x660]
mov rcx, rdi
call fcn.14003e500
test rax, rax
je 0x14002d0da
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.14003d2b0
test rax, rax
je 0x14002d00a
mov qword [0x1401156c0], rax
jmp 0x14002d048
lea r9, [0x1400e0684]
xor r8d, r8d
lea rdx, str.Expected_Case_Default
mov rcx, rbx
call fcn.14004d8d0
jmp 0x14002d0da
lea r9, [0x1400e0684]
xor r8d, r8d
lea rdx, [0x1400f8698]
mov rcx, rbp
call fcn.14004d8d0
jmp 0x14002d0da
lea r9, [0x1400e0684]
xor r8d, r8d
lea rdx, [0x1400fae88]
mov rcx, rbx
call fcn.14004d8d0
jmp 0x14002d0da
lea r9, [0x1400e0684]
xor r8d, r8d
lea rdx, str.Break_Continue_must_be_enclosed_by_a_Loop.
mov rcx, rbx
call fcn.14004d8d0
jmp 0x14002d0da
lea r9, [0x1400e0684]
xor r8d, r8d
lea rdx, str.Case_Default_must_be_enclosed_by_a_Switch.
mov rcx, rbx
call fcn.14004d8d0
jmp 0x14002d0da
lea r9, [0x1400e0684]
xor r8d, r8d
lea rdx, str.ELSE_with_no_matching_IF
mov rcx, rbx
call fcn.14004d8d0
jmp 0x14002d0da
lea r9, [0x1400e0684]
xor r8d, r8d
lea rdx, str.UNTIL_with_no_matching_LOOP
mov rcx, rbx
call fcn.14004d8d0
jmp 0x14002d0da
lea r9, [0x1400e0684]
xor r8d, r8d
lea rdx, str.CATCH_with_no_matching_TRY
mov rcx, rbx
call fcn.14004d8d0
jmp 0x14002d0da
lea r9, [0x1400e0684]
xor r8d, r8d
lea rdx, str.FINALLY_with_no_matching_TRY_or_CATCH
mov rcx, rbx
call fcn.14004d8d0
jmp 0x14002d0da
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.14003d7f0
mov qword [0x1401156c0], rax
test rax, rax
je 0x14002d0da
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [0x1400e0714]
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400c3f40
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 0x14002d090
mov dword [0x1401147b0], 1
mov eax, 1
mov dword [0x140119b68], 1
jmp 0x14002d0df
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