Function at 0x140003a00
Capabilities:
Encode data using xor
Enumerate gui resources
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1520]
mov eax, 0x1620
call fcn.14000c4a0
sub rsp, rax
mov rax, qword [0x140012028]
xor rax, rsp
mov qword [rbp + 0x1510], rax
mov r12, qword [rbp + 0x1588]
mov r13, r9
mov rsi, rdx
mov edi, ecx
test ecx, ecx
je 0x14000436d
test rdx, rdx
je 0x14000436d
mov dword [0x140012b28], ecx
lea rdx, [rbp + 0x78]
xor ebx, ebx
lea rcx, [0x140003990]
mov qword [rbp + 0x78], rbx
call qword [sym.imp.USER32.dll_EnumWindows]
mov r15, qword [rbp + 0x78]
test r15, r15
je 0x14000436d
lea r8, str.TranslateMessage
mov ecx, edi
lea rdx, str.user32.dll
call fcn.140003860
mov r14, rax
test rax, rax
je 0x14000436d
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1404], 0xffffffff
lea edx, [rbx + 1]
mov dword [rbp + 0x84], eax
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x84], eax
inc rdx
cmp rdx, 0x270
jb 0x140003ad0
lea rax, [rbp + 0x80]
mov dword [rbp + 0x80], 0x270
mov edx, 0x2c
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.14000aa40
add rax, 0x10
mov dword [rsp + 0x68], edi
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x28]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x28], rax
movabs r9, 0x476f832a47
mov rax, qword [0x140012b10]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x60], 0x3000
mov dword [rsp + 0x64], 4
mov qword [rsp + 0x30], 7
call rax
test eax, eax
js 0x14000436d
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14000436d
lea rax, [rsp + 0x20]
mov qword [rsp + 0x20], 0
mov qword [rbp - 0x10], rax
lea r8, [rsp + 0x70]
lea rax, [rbp - 0x18]
mov dword [rbp], edi
mov qword [rsp + 0x70], rax
movabs r9, 0x476f832a47
mov rax, qword [0x140012b10]
xor edx, edx
xor ecx, ecx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 8], 8
mov qword [rsp + 0x78], 2
call rax
test eax, eax
js 0x14000432e
lea rax, [rbx + 8]
mov qword [rbp - 0x28], 0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x28]
lea rax, [rbp - 0x28]
mov dword [rsp + 0x68], edi
mov qword [rsp + 0x58], rax
movabs r9, 0x476f832a47
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], 8
mov qword [rsp + 0x28], rax
xor edx, edx
mov rax, qword [0x140012b10]
xor ecx, ecx
mov qword [rsp + 0x30], 2
call rax
test eax, eax
js 0x14000432e
mov eax, dword [0x14000d710]
lea r8, [rsp + 0x70]
movaps xmm0, xmmword [0x14000d6a0]
movabs r9, 0x476f832a47
movaps xmm1, xmmword [0x14000d6b0]
xor edx, edx
movaps xmmword [rbp + 0x1410], xmm0
xor ecx, ecx
movaps xmm0, xmmword [0x14000d6c0]
mov dword [rbp + 0x1480], eax
movzx eax, word [0x14000d714]
movaps xmmword [rbp + 0x1430], xmm0
movaps xmm0, xmmword [0x14000d6e0]
movaps xmmword [rbp + 0x1420], xmm1
movaps xmm1, xmmword [0x14000d6d0]
mov word [rbp + 0x1484], ax
lea rax, [rbp - 0x68]
movaps xmmword [rbp + 0x1450], xmm0
movaps xmm0, xmmword [0x14000d700]
movaps xmmword [rbp + 0x1440], xmm1
movaps xmm1, xmmword [0x14000d6f0]
mov qword [rsp + 0x70], rax
mov rax, qword [0x140012b10]
movaps xmmword [rbp + 0x1470], xmm0
movaps xmmword [rbp + 0x1460], xmm1
mov dword [rbp - 0x60], edi
mov qword [rbp - 0x68], 0
mov qword [rsp + 0x78], 9
call rax
mov rcx, qword [rbp - 0x68]
lea r8, [rsp + 0x28]
test eax, eax
mov qword [rbp + 0x143d], r13
xorps xmm0, xmm0
mov qword [rbp + 0x142b], rbx
mov eax, 0
mov dword [rsp + 0x68], edi
cmovs rcx, rax
mov qword [rsp + 0x50], r14
mov rax, qword [rbp + 0x1570]
movabs r13, 0x476f832a47
mov qword [rbp + 0x1447], rax
mov r9, r13
mov rax, qword [rbp + 0x1578]
xor edx, edx
mov qword [rbp + 0x1451], rax
mov rax, qword [rbp + 0x1580]
mov qword [rbp + 0x145b], rax
lea rax, [rsi - 1]
mov qword [rbp + 0x1465], rax
xor eax, eax
mov dword [rbp + 0x1500], eax
mov byte [rbp + 0x1504], al
lea rax, [rbp + 0x1490]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140012b10]
mov qword [rbp + 0x141c], rcx
xor ecx, ecx
movups xmmword [rbp + 0x1490], xmm0
mov qword [rsp + 0x60], 0x75
movups xmmword [rbp + 0x14a0], xmm0
mov qword [rsp + 0x30], 1
movups xmmword [rbp + 0x14b0], xmm0
movups xmmword [rbp + 0x14c0], xmm0
movups xmmword [rbp + 0x14d0], xmm0
movups xmmword [rbp + 0x14e0], xmm0
movups xmmword [rbp + 0x14f0], xmm0
call rax
xor edx, edx
xor ecx, ecx
mov r9, r13
test eax, eax
jns 0x140003e13
xor eax, eax
mov dword [rsp + 0x4c], edi
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x70]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x48], 0x8000
mov qword [rsp + 0x78], 8
jmp 0x140004367
lea rax, [rbp + 0x1410]
mov dword [rbp + 0x68], edi
mov qword [rbp + 0x58], rax
lea r8, [rbp + 0x40]
lea rax, [rbp + 0x50]
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x40], rax
mov rax, qword [0x140012b10]
mov qword [rbp + 0x60], 0x75
mov qword [rbp + 0x48], 4
call rax
test eax, eax
setns sil
cmp sil, 1
jne 0x1400040d6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_PostMessageW]
lea rax, [rbp + 0x70]
mov byte [rbp + 0x70], 0
mov qword [rbp - 0x10], rax
lea r8, [rbp - 0x28]
lea rax, [rbp - 0x18]
mov dword [rbp], edi
mov r9, r13
mov qword [rbp - 0x28], rax
xor edx, edx
mov qword [rbp - 0x18], rbx
xor ecx, ecx
mov qword [rbp - 8], 1
mov esi, 0xfffffff6
mov qword [rbp - 0x20], 1
call qword [0x140012b10]
xor r15d, r15d
cmp byte [rbp + 0x70], r15b
jne 0x140003fa3
nop dword [rax]
add esi, 0xa
cmp esi, 0xbb8
ja 0x14000425a
lea rax, [rsp + 0x70]
mov dword [rsp + 0x78], edi
mov qword [rbp + 0x28], rax
lea r8, [rbp + 0x28]
mov rax, qword [0x140012b10]
mov r9, r13
xor edx, edx
mov qword [rsp + 0x70], r15
xor ecx, ecx
mov qword [rbp + 0x30], 9
call rax
mov rcx, qword [rsp + 0x70]
lea r8, [rbp - 0x38]
test eax, eax
mov qword [rbp + 0x78], r15
mov r9, r13
mov dword [rbp + 0x20], edi
cmovs rcx, r15
mov qword [rbp + 0x18], 8
xor edx, edx
mov qword [rbp - 0x30], 1
lea rax, [rcx + 0x10]
xor ecx, ecx
mov qword [rbp + 8], rax
lea rax, [rbp + 0x78]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 8]
mov qword [rbp - 0x38], rax
call qword [0x140012b10]
cmp qword [rbp + 0x78], r15
je 0x14000425a
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0x70]
mov byte [rbp + 0x70], r15b
mov qword [rbp - 0x10], rax
lea r8, [rbp - 0x28]
lea rax, [rbp - 0x18]
mov dword [rbp], edi
mov r9, r13
mov qword [rbp - 0x28], rax
xor edx, edx
mov qword [rbp - 0x18], rbx
xor ecx, ecx
mov qword [rbp - 8], 1
mov qword [rbp - 0x20], 1
call qword [0x140012b10]
cmp byte [rbp + 0x70], r15b
je 0x140003ec0
lea rax, [rbp + 0x71]
mov byte [rbp + 0x71], 0
mov qword [rsp + 0x58], rax
lea r8, [rbp - 0x68]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x68], edi
mov r9, r13
mov qword [rbp - 0x68], rax
xor edx, edx
mov qword [rsp + 0x50], rbx
xor ecx, ecx
mov qword [rsp + 0x60], 1
mov qword [rbp - 0x60], 1
call qword [0x140012b10]
cmp byte [rbp + 0x71], 2
mov sil, 1
je 0x1400040d6
lea rax, [rsp + 0x28]
mov dword [rsp + 0x30], edi
mov qword [rbp - 0x80], rax
lea r8, [rbp - 0x80]
mov rax, qword [0x140012b10]
mov r9, r13
xor edx, edx
mov qword [rsp + 0x28], r15
xor ecx, ecx
mov qword [rbp - 0x78], 9
call rax
mov rcx, qword [rsp + 0x28]
lea r8, [rsp + 0x38]
test eax, eax
mov qword [rsp + 0x20], r15
mov r9, r13
mov dword [rbp - 0x40], edi
cmovs rcx, r15
mov qword [rbp - 0x48], 8
xor edx, edx
mov qword [rsp + 0x40], 1
lea rax, [rcx + 0x10]
xor ecx, ecx
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x20]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
call qword [0x140012b10]
mov rax, qword [rsp + 0x20]
test rax, rax
setne sil
test rax, rax
je 0x1400040d6
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0x71]
mov byte [rbp + 0x71], 0
mov qword [rsp + 0x58], rax
lea r8, [rbp - 0x68]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x68], edi
mov r9, r13
mov qword [rbp - 0x68], rax
xor edx, edx
mov qword [rsp + 0x50], rbx
xor ecx, ecx
mov qword [rsp + 0x60], 1
mov qword [rbp - 0x60], 1
call qword [0x140012b10]
cmp byte [rbp + 0x71], 2
jne 0x140003ff1
lea rax, [rsp + 0x28]
mov dword [rsp + 0x30], edi
mov qword [rbp - 0x80], rax
lea r8, [rbp - 0x80]
mov rax, qword [0x140012b10]
xor r15d, r15d
mov r9, r13
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rbp - 0x78], 9
xor ecx, ecx
call rax
mov rcx, qword [rsp + 0x28]
lea r8, [rsp + 0x38]
test eax, eax
mov qword [rsp + 0x20], r15
mov r9, r13
mov dword [rbp - 0x40], edi
cmovs rcx, r15
mov qword [rbp - 0x48], 8
xor edx, edx
mov qword [rsp + 0x40], 1
lea rax, [rcx + 0x10]
xor ecx, ecx
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x20]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
call qword [0x140012b10]
cmp qword [rsp + 0x20], r15
jne 0x140004262
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test eax, eax
je 0x1400041ad
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x38]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x38], rax
mov r9, r13
mov rax, qword [0x140012b10]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x40], 9
call rax
test eax, eax
js 0x1400041aa
cmp qword [rsp + 0x28], r15
jne 0x1400041ad
mov ebx, r15d
lea rax, [rsp + 0x20]
mov qword [rsp + 0x20], r15
mov qword [rbp - 0x50], rax
lea r8, [rbp - 0x80]
lea rax, [rbp - 0x58]
mov dword [rbp - 0x40], ebx
mov r9, r13
mov qword [rbp - 0x80], rax
xor edx, edx
mov qword [rbp - 0x58], r14
xor ecx, ecx
mov qword [rbp - 0x48], 8
mov qword [rbp - 0x78], 1
call qword [0x140012b10]
mov rax, qword [rbp + 0x1410]
cmp qword [rsp + 0x20], rax
jne 0x140004237
lea rax, [rbp + 0x1490]
mov dword [rbp + 0x20], ebx
mov qword [rbp + 0x10], rax
lea r8, [rsp + 0x38]
lea rax, [rbp + 8]
mov qword [rbp + 8], r14
mov r9, r13
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rbp + 0x18], 0x75
xor ecx, ecx
mov qword [rsp + 0x40], 4
call qword [0x140012b10]
lea rax, [rbp - 0x38]
mov dword [rbp - 0x30], edi
mov qword [rbp + 0x28], rax
lea r8, [rbp + 0x28]
mov qword [rbp - 0x38], r15
mov r9, r13
mov qword [rbp + 0x30], 9
jmp 0x140004363
xor sil, sil
jmp 0x1400040d6
lea rax, [rbp + 0x1490]
mov dword [rbp + 0x20], edi
mov qword [rbp + 0x10], rax
lea r8, [rbp - 0x38]
lea rax, [rbp + 8]
mov qword [rbp + 8], r14
mov r9, r13
mov qword [rbp - 0x38], rax
xor edx, edx
mov qword [rbp + 0x18], 0x75
xor ecx, ecx
mov qword [rbp - 0x30], 4
call qword [0x140012b10]
test sil, sil
je 0x1400042f5
test r12, r12
je 0x1400042f5
lea rax, [rbx + 1]
mov qword [rsp + 0x20], r15
mov qword [rbp - 0x58], rax
lea r8, [rsp + 0x38]
lea rax, [rsp + 0x20]
mov dword [rbp - 0x40], edi
mov qword [rbp - 0x50], rax
mov r9, r13
lea rax, [rbp - 0x58]
mov qword [rbp - 0x48], 8
xor edx, edx
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov qword [rsp + 0x40], 1
call qword [0x140012b10]
mov rax, qword [rsp + 0x20]
mov qword [r12], rax
lea rax, [rbp + 0x28]
mov dword [rbp + 0x3c], edi
mov r9, r13
mov qword [rbp - 0x80], rax
lea r8, [rbp - 0x80]
mov qword [rbp + 0x28], rbx
xor edx, edx
mov qword [rbp + 0x30], r15
xor ecx, ecx
mov dword [rbp + 0x38], 0x8000
mov qword [rbp - 0x78], 8
call qword [0x140012b10]
movzx eax, sil
jmp 0x14000436f
xor eax, eax
mov dword [rbp - 0x6c], edi
mov qword [rbp - 0x78], rax
lea r8, [rsp + 0x38]
lea rax, [rbp - 0x80]
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x38], rax
movabs r9, 0x476f832a47
mov dword [rbp - 0x70], 0x8000
mov qword [rsp + 0x40], 8
xor edx, edx
xor ecx, ecx
call qword [0x140012b10]
xor al, al
mov rcx, qword [rbp + 0x1510]
xor rcx, rsp
call fcn.14000b560
lea r11, [rsp + 0x1620]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret