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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov byte [rsp + 0x20], r9b
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
xor ebp, ebp
mov byte [rcx + 0x290], 1
cmp qword [0x140134fc8], rbp
mov rbx, r8
mov rsi, rdx
mov word [rcx + 0xbe0], 0
mov rdi, rcx
jne 0x14003a824
call fcn.1400d2e00
mov qword [0x140134fc8], rax
test rax, rax
je 0x14003aee0
mov rdx, qword [0x140134fc0]
cmp qword [rdx + 0x10], 0x28
jae 0x14003a84b
call fcn.1400d2e00
mov rdx, qword [0x140134fc0]
mov qword [rdx + 0x18], rax
test rax, rax
je 0x14003aee0
mov rcx, qword [rdx + 8]
add qword [rdx + 0x10], 0xffffffffffffffd8
mov qword [0x140134fb8], rcx
lea rax, [rcx + 0x28]
mov qword [rdx + 8], rax
test rcx, rcx
je 0x14003aee0
mov qword [rcx + 0x10], rbp
lea rax, vtable.Label.0
mov qword [rcx], rax
lea r12, [0x1400f97e4]
mov qword [rcx + 8], r12
mov r8, rbx
mov qword [rcx + 0x18], rbp
mov rdx, rsi
mov qword [rcx + 0x20], rbp
mov qword [rdi + 0x6d8], rcx
mov rcx, rdi
call fcn.14003bd60
cmp eax, 1
jne 0x14003aee7
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.140045fb0
test eax, eax
je 0x14003aee7
mov rdx, qword [rdi + 0x660]
mov rcx, rdi
call fcn.140053030
test eax, eax
je 0x14003aee7
mov rcx, qword [rdi + 0x660]
test rcx, rcx
je 0x14003a96a
nop
movzx eax, byte [rcx]
mov rdx, qword [rcx + 0x20]
mov r8, qword [rcx + 0x18]
cmp al, 8
je 0x14003a912
cmp al, 0xe5
jne 0x14003a908
mov byte [rcx], reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x14003a943
mov rcx, rdx
test rdx, rdx
jne 0x14003a8f0
jmp 0x14003a96a
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 0x14003a935
mov qword [rax + 0x20], rcx
jmp 0x14003a93c
mov qword [rdi + 0x670], rcx
mov qword [rdi + 0x678], rcx
test r8, r8
je 0x14003a94e
mov qword [r8 + 0x20], rdx
jmp 0x14003a955
mov qword [rdi + 0x660], rdx
test rdx, rdx
je 0x14003a963
mov qword [rdx + 0x18], r8
mov rcx, rdx
jmp 0x14003a8f0
mov qword [rdi + 0x668], r8
cmp qword [rdi + 0x670], rbp
je 0x14003a9a5
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, ebp
cmp dword [rdi + 0x698], ebp
jle 0x14003aa3b
mov r14, rbp
nop word [rax + rax]
mov rax, qword [rdi + 0x690]
mov rbx, qword [r14 + rax]
cmp byte [rbx + 0x79], bpl
jne 0x14003aa2d
test byte [rbx + 0x78], 4
jne 0x14003aa2d
cmp byte [rbx + 0x7b], bpl
jne 0x14003aa2d
mov r8, qword [rbx + 0x38]
lea r9, [rbx + 0x5c]
mov rdx, rbx
mov byte [rbx + 0x7b], 1
mov rcx, rdi
call fcn.140065760
mov r8, qword [rbx + 0x48]
lea r9, [rbx + 0x68]
mov rdx, rbx
mov rcx, rdi
call fcn.140065760
mov r8, qword [rbx + 0x40]
lea r9, [rbx + 0x64]
mov rdx, rbx
mov rcx, rdi
call fcn.140065760
mov r8, qword [rbx + 0x50]
lea r9, [rbx + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.140065760
inc esi
add r14, 8
cmp esi, dword [rdi + 0x698]
jl 0x14003a9c0
cmp qword [rdi + 0x270], rbp
je 0x14003aa68
mov rcx, rdi
call fcn.14004e950
test eax, eax
je 0x14003aee7
mov rcx, qword [rdi + 0x270]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov qword [rdi + 0x270], rbp
cmp dword [0x14013392c], ebp
je 0x14003aa78
mov rcx, rdi
call fcn.140065900
mov rcx, qword [rdi + 0xbe8]
test rcx, rcx
je 0x14003aa95
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
xor eax, eax
jmp 0x14003aeec
mov rcx, qword [0x140132b08]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [rdi + 0x28c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov dl, 0x68
mov rcx, rdi
call fcn.140045fb0
test eax, eax
je 0x14003aee7
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dl, 0x68
mov rcx, rdi
call fcn.140045fb0
test eax, eax
je 0x14003aee7
mov rcx, qword [rdi + 0x6d8]
mov rax, qword [rdi + 0x668]
mov qword [rcx + 0x10], rax
mov rbx, qword [rdi + 0x660]
test rbx, rbx
je 0x14003acd3
lea r15, [0x140000000]
nop dword [rax + rax]
movzx ecx, byte [rbx]
mov qword [rbx + 0x30], rbp
lea eax, [rcx - 9]
cmp al, 0x17
jbe 0x14003ac2b
lea eax, [rcx - 0x69]
cmp al, 2
jbe 0x14003ac2b
cmp cl, 0x71
je 0x14003ac2b
cmp cl, 0x75
jne 0x14003abd4
movzx eax, byte [rbx + 1]
mov r14, rbx
mov rsi, qword [rbx + 0x20]
mov qword [rbx + 0x10], rax
mov byte [rbx + 1], bpl
cmp byte [rsi], 0x77
jne 0x14003ad50
mov qword [rsi + 0x30], rbx
mov rbx, qword [rsi + 0x20]
movzx eax, byte [rbx]
cmp al, 0x76
jne 0x14003abbc
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], bpl
mov qword [rbx + 0x30], rsi
mov qword [rsp + 0x20], rbp
call fcn.140053160
test rax, rax
je 0x14003aee7
mov qword [rbx + 0x28], rax
mov rbx, rax
cmp byte [rax], 0x76
je 0x14003ab70
mov rbx, qword [rax + 0x20]
mov qword [r14 + 0x28], rbx
jmp 0x14003acca
cmp al, 0x78
jne 0x14003ad36
mov rax, rbx
mov rbx, qword [rbx + 0x20]
mov qword [r14 + 0x28], rbx
jmp 0x14003acca
lea eax, [rcx - 0x21]
cmp eax, 0x57
ja case.0x14003abf2.41
cdqe
movzx eax, byte [r15 + rax + 0x3af28]
mov ecx, dword [r15 + rax*4 + 0x3af04]
add rcx, r15
jmp rcx
mov rdx, qword [rbx + 0x20]
mov r9, rbx
mov r8d, 2
mov qword [rsp + 0x20], rbp
mov rcx, rdi
call fcn.140053160
test rax, rax
je 0x14003aee7
mov rcx, qword [rax + 0x20]
mov qword [rbx + 0x28], rcx
mov rbx, rax
mov rbx, qword [rbx + 0x20]
jmp 0x14003acca
cmp cl, 0x6a
jne 0x14003ac33
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.140053160
mov r10, rax
test rax, rax
je 0x14003aee7
mov qword [rbx + 0x28], rax
movzx r8d, byte [rax]
mov edx, r8d
sub edx, 0x21
je 0x14003aca2
sub edx, 0x51
je 0x14003ac80
cmp edx, 1
jne 0x14003ac85
movzx eax, byte [rbx]
sub al, 0x71
cmp al, dl
jmp 0x14003aca9
cmp byte [rbx], 0x71
je 0x14003acab
cmp r8b, 0x6c
jne 0x14003acc7
movzx eax, byte [rbx]
sub al, 0x69
cmp al, 1
ja 0x14003acc7
mov rax, qword [rbx + 0x30]
mov rbx, qword [r10 + 0x20]
mov qword [r10 + 0x30], rax
jmp 0x14003acca
movzx eax, byte [rbx]
sub al, 9
cmp al, 0x17
ja 0x14003ac85
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], rbp
jmp 0x14003ac43
mov rbx, r10
test rbx, rbx
jne 0x14003ab10
cmp qword [rdi + 0x668], rbp
je 0x14003aee7
mov rdx, qword [rdi + 0x660]
mov rcx, rdi
call fcn.140053560
test rax, rax
je 0x14003aee7
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rdx, str.ErrorLevel
mov dword [rsp + 0x20], 3
mov rcx, rdi
call fcn.140052120
test rax, rax
je 0x14003ae20
mov qword [0x140132a80], rax
jmp 0x14003ae56
mov r9, r12
lea rdx, str.Expected_Case_Default
xor r8d, r8d
mov rcx, rbx
call fcn.140064610
jmp 0x14003aee7
mov r9, r12
lea rdx, [0x1401137f8]
xor r8d, r8d
mov rcx, r14
call fcn.140064610
jmp 0x14003aee7
mov r9, r12
lea rdx, [0x140116c28]
xor r8d, r8d
mov rcx, rbx
call fcn.140064610
jmp 0x14003aee7
mov r9, r12
lea rdx, str.Break_Continue_must_be_enclosed_by_a_Loop.
xor r8d, r8d
mov rcx, rbx
call fcn.140064610
jmp 0x14003aee7
mov r9, r12
lea rdx, str.Case_Default_must_be_enclosed_by_a_Switch.
xor r8d, r8d
mov rcx, rbx
call fcn.140064610
jmp 0x14003aee7
mov r9, r12
lea rdx, str.ELSE_with_no_matching_IF
xor r8d, r8d
mov rcx, rbx
call fcn.140064610
jmp 0x14003aee7
mov r9, r12
lea rdx, str.UNTIL_with_no_matching_LOOP
xor r8d, r8d
mov rcx, rbx
call fcn.140064610
jmp 0x14003aee7
mov r9, r12
lea rdx, str.CATCH_with_no_matching_TRY
xor r8d, r8d
mov rcx, rbx
call fcn.140064610
jmp 0x14003aee7
mov r9, r12
lea rdx, str.FINALLY_with_no_matching_TRY_or_CATCH
xor r8d, r8d
mov rcx, rbx
call fcn.140064610
jmp 0x14003aee7
cmp byte [rsp + 0x78], bpl
lea rdx, str.ErrorLevel
mov r9d, dword [rsp + 0x60]
mov rcx, rdi
setne bpl
xor r8d, r8d
inc ebp
mov dword [rsp + 0x20], ebp
call fcn.1400526b0
mov qword [0x140132a80], rax
test rax, rax
je 0x14003aee7
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, 0xffffffffffffffff
lea rdx, [0x1400f98c8]
mov rcx, rax
call fcn.1400dc860
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x60]
lea r8, [0x140136fe4]
mov dword [0x140136fe0], eax
mov edx, 1
nop word [rax + rax]
mov ecx, dword [r8 - 4]
lea r8, [r8 + 4]
shr ecx, 0x1e
xor ecx, dword [r8 - 8]
imul eax, ecx, 0x6c078965
add eax, edx
inc edx
mov dword [r8 - 4], eax
cmp edx, 0x270
jl 0x14003aea0
mov dword [0x140131a68], 1
mov eax, 1
mov dword [0x140136fdc], 1
jmp 0x14003aeec
mov qword [rdi + 0x6d8], rbp
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret