Function at 0x1400a8a80
Capabilities:
Execute command
Generate random numbers using a mersenne twister
Resolve function by parsing pe exports
Set console window title

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x17e0
call fcn.1400e7ea0
sub rsp, rax
mov rax, qword [0x140128010]
xor rax, rsp
mov qword [rsp + 0x17d0], rax
mov dword [rsp + 0x20], 0
xor eax, eax
cmp eax, 1
je 0x1400a96d2
lea rax, [rsp + 0x400]
movzx edx, byte [rsp + 0x38]
mov rcx, rax
call fcn.1400e1b50
nop
lea rax, [0x14011f5d1]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x50]
cmp byte [rax + rcx], 0
jne 0x1400a8ae6
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x130]
lea rdx, [0x14011f5d1]
lea rcx, [rsp + 0x400]
call fcn.1400e1e60
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0x17c4], 0xffffffff
mov r8d, 0x6c078965
mov edx, dword [rsp + 0xa0]
lea rcx, [rsp + 0x440]
call fcn.1400e02b0
lea rax, [0x1401ac7a8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 5
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov dword [rax], 0
mov rax, qword [rsp + 0x138]
dec rax
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 4], eax
mov dword [rsp + 0x34], 0
jmp 0x1400a8be7
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xc
jge 0x1400a8e7f
mov r9d, dword [rsp + 0x3fc]
mov r8d, dword [rsp + 0x3f8]
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x3f8]
call fcn.1400e41d0
mov dword [rsp + 0xa8], eax
lea rax, [0x1401ac7a8]
mov qword [rsp + 0x140], rax
movsxd rax, dword [rsp + 0xa8]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x140]
add rax, qword [rcx]
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x278]
call fcn.1400df490
mov qword [rsp + 0x268], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x278]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x18], 0x10
jb 0x1400a8cbd
mov dword [rsp + 0x44], 1
jmp 0x1400a8cc5
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1400a8cfa
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400df090
mov qword [rsp + 0x160], rax
jmp 0x1400a8d3b
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x160]
cmp qword [rsp + 0x58], rax
je 0x1400a8dc0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x1400a8dbb
mov rax, qword [rsp + 0x60]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_islower]
test eax, eax
je 0x1400a8d83
mov byte [rsp + 0x24], 0x61
jmp 0x1400a8d88
mov byte [rsp + 0x24], 0x41
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0x60]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x25]
sub eax, ecx
add eax, 0xd
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
movsx ecx, byte [rsp + 0x25]
add eax, ecx
mov rcx, qword [rsp + 0x60]
mov byte [rcx], al
jmp 0x1400a8d2e
lea rax, [rsp + 0x278]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov rcx, rax
call fcn.1400e01e0
mov rcx, qword [rsp + 0xe8]
mov r8, qword [rcx + 0x10]
mov rdx, rax
lea rcx, [rsp + 0x400]
call fcn.1400dfd40
nop
lea rcx, [rsp + 0x278]
call fcn.1400dfb60
cmp dword [rsp + 0x34], 0xb
jge 0x1400a8e7a
lea rax, [0x14011f5e4]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x1400a8e29
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov r8, qword [rsp + 0x178]
lea rdx, [0x14011f5e4]
lea rcx, [rsp + 0x400]
call fcn.1400dfd40
jmp 0x1400a8bdd
lea rax, [rsp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x400]
mov rcx, rax
call fcn.1400e01e0
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x29]
call fcn.1400a96f0
mov rcx, rax
call fcn.1400dcf40
mov rdx, qword [rsp + 0x180]
mov rcx, rax
call fcn.14001def0
xorps xmm0, xmm0
movss dword [rsp + 0xac], xmm0
movss xmm0, dword [rsp + 0xac]
ucomiss xmm0, dword [0x14011f66c]
jp 0x1400a8f41
jne 0x1400a8f41
mov dx, 4
mov rax, qword [rsp + 0x17f0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2a]
call fcn.1400a9800
mov rcx, rax
call fcn.1400dceb0
mov rcx, rax
call fcn.14001def0
mov dx, 7
mov rax, qword [rsp + 0x17f0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x1400e0bf0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rax, [rsp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x17f0]
movss xmm1, dword [rax + 0x18]
lea rcx, [rsp + 0x3d8]
call fcn.14001e3d0
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x258], rax
lea rcx, [rsp + 0x2b]
call fcn.1400a9d30
mov rcx, rax
call fcn.1400dcc70
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x318]
movzx edx, byte [rsp + 0x39]
mov rcx, rax
call fcn.1400e1b50
nop
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x1400a9014
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov r8, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x318]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x318]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x17f0]
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x3b8]
call fcn.14001e3b0
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x238], rax
lea rcx, [rsp + 0x2c]
call fcn.1400a9c00
mov rcx, rax
call fcn.1400dcd00
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x2f8]
movzx edx, byte [rsp + 0x3a]
mov rcx, rax
call fcn.1400e1b50
nop
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x78]
cmp byte [rax + rcx], 0
jne 0x1400a90f1
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov r8, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x2f8]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x228], rax
lea rcx, [rsp + 0x2d]
call fcn.1400a9b00
mov rcx, rax
call fcn.1400dcd90
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x2d8]
movzx edx, byte [rsp + 0x3b]
mov rcx, rax
call fcn.1400e1b50
nop
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x80], 0xffffffffffffffff
inc qword [rsp + 0x80]
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x80]
cmp byte [rax + rcx], 0
jne 0x1400a91a0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov r8, qword [rsp + 0x1d8]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x2d8]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x218], rax
lea rcx, [rsp + 0x2e]
call fcn.1400a9910
mov rcx, rax
call fcn.1400dce20
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x2b8]
movzx edx, byte [rsp + 0x3c]
mov rcx, rax
call fcn.1400e1b50
nop
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x88], 0xffffffffffffffff
inc qword [rsp + 0x88]
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x88]
cmp byte [rax + rcx], 0
jne 0x1400a9258
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x1f0], rax
mov r8, qword [rsp + 0x1f0]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x2b8]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x1f8], rax
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x298]
call fcn.1400df490
mov qword [rsp + 0x270], rax
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x298]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0xb8]
cmp qword [rax + 0x18], 0x10
jb 0x1400a9335
mov dword [rsp + 0x48], 1
jmp 0x1400a933d
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x2f], al
movzx eax, byte [rsp + 0x2f]
test eax, eax
je 0x1400a9372
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400df090
mov qword [rsp + 0x210], rax
jmp 0x1400a93bc
mov rax, qword [rsp + 0x90]
inc rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x210]
cmp qword [rsp + 0x90], rax
je 0x1400a945a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x1400a9455
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_islower]
test eax, eax
je 0x1400a9417
mov byte [rsp + 0x26], 0x61
jmp 0x1400a941c
mov byte [rsp + 0x26], 0x41
movzx eax, byte [rsp + 0x26]
mov byte [rsp + 0x27], al
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x27]
sub eax, ecx
add eax, 0xd
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
movsx ecx, byte [rsp + 0x27]
add eax, ecx
mov rcx, qword [rsp + 0x98]
mov byte [rcx], al
jmp 0x1400a93a9
lea rax, [rsp + 0x298]
mov qword [rsp + 0x220], rax
mov r9, qword [rsp + 0x218]
mov r8, qword [rsp + 0x220]
movzx edx, byte [rsp + 0x3d]
lea rcx, [rsp + 0x398]
call fcn.1400e2f60
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x398]
mov qword [rsp + 0x230], rax
mov r9, qword [rsp + 0x228]
mov r8, qword [rsp + 0x230]
movzx edx, byte [rsp + 0x3e]
lea rcx, [rsp + 0x378]
call fcn.1400e2f60
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x378]
mov qword [rsp + 0x240], rax
mov r9, qword [rsp + 0x238]
mov r8, qword [rsp + 0x240]
movzx edx, byte [rsp + 0x3f]
lea rcx, [rsp + 0x358]
call fcn.1400e2f60
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x358]
mov qword [rsp + 0x250], rax
mov r9, qword [rsp + 0x248]
mov r8, qword [rsp + 0x250]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x338]
call fcn.1400e2f60
mov eax, dword [rsp + 0x20]
bts eax, 7
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x338]
mov qword [rsp + 0x260], rax
mov r9, qword [rsp + 0x258]
mov r8, qword [rsp + 0x260]
movzx edx, byte [rsp + 0x41]
lea rcx, [rsp + 0x420]
call fcn.1400e2f60
mov eax, dword [rsp + 0x20]
bts eax, 8
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x338]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x358]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x378]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x398]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x298]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x2b8]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x2d8]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x2f8]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x3b8]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x318]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x3d8]
call fcn.1400dfb60
lea rax, [rsp + 0x420]
mov rcx, rax
call fcn.1400e01e0
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rax, qword [rsp + 0x17f0]
mov rax, qword [rax + 0x10]
inc rax
mov rcx, qword [rsp + 0x17f0]
mov qword [rcx + 0x10], rax
xor edx, edx
mov rax, qword [rsp + 0x17f0]
mov rax, qword [rax + 0x10]
mov ecx, 0xe4e1c0
div rcx
mov rax, rdx
test rax, rax
jne 0x1400a96b2
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.1400a9e80
mov rcx, rax
call fcn.1400dcbe0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rcx, [rsp + 0x420]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x400]
call fcn.1400dfb60
jmp 0x1400a8aad
mov rcx, qword [rsp + 0x17d0]
xor rcx, rsp
call fcn.1400e6d70
add rsp, 0x17e0
pop rdi
ret