Function at 0x140018100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x240
mov rax, qword [0x14006b010]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov dword [rsp + 0x3c], 0
lea rdx, [0x140053310]
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 + 0x1b8]
movzx edx, byte [rsp + 0x40]
mov rcx, rax
call fcn.140054270
nop
lea rax, str.ragre_gnetrg_jnyyrg_nqqerff_be_genafnpgvba_unfu:
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
cmp byte [rax + rcx], 0
jne 0x140018169
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0xd0]
lea rdx, str.ragre_gnetrg_jnyyrg_nqqerff_be_genafnpgvba_unfu:
lea rcx, [rsp + 0x1b8]
call fcn.140054580
nop
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x198]
call fcn.140051bb0
mov qword [rsp + 0x188], rax
mov eax, dword [rsp + 0x3c]
or eax, 1
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x198]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 0x10
jb 0x14001822c
mov dword [rsp + 0x48], 1
jmp 0x140018234
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140018269
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xa0]
call fcn.1400517e0
mov qword [rsp + 0xe8], rax
jmp 0x1400182aa
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe8]
cmp qword [rsp + 0x58], rax
je 0x14001832f
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 0x14001832a
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 0x1400182f2
mov byte [rsp + 0x20], 0x61
jmp 0x1400182f7
mov byte [rsp + 0x20], 0x41
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x60]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x21]
sub eax, ecx
add eax, 0xd
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
movsx ecx, byte [rsp + 0x21]
add eax, ecx
mov rcx, qword [rsp + 0x60]
mov byte [rcx], al
jmp 0x14001829d
lea rax, [rsp + 0x198]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, rax
call fcn.140052900
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400010c0
lea rcx, [rsp + 0x198]
call fcn.140052280
nop
lea rcx, [rsp + 0x1b8]
call fcn.140052280
lea rax, [rsp + 0x218]
movzx edx, byte [rsp + 0x41]
mov rcx, rax
call fcn.140054270
nop
lea rax, [0x140066601]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x1400183ad
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov r8, qword [rsp + 0x110]
lea rdx, [0x140066601]
lea rcx, [rsp + 0x218]
call fcn.140054580
nop
lea rdx, [rsp + 0x218]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140053410
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0x18
jb 0x140018572
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x27]
call fcn.140018c30
mov rcx, rax
call fcn.14004c9e0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.140051530
cmp rax, 0xffffffffffffffff
jne 0x140018848
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x28]
call fcn.140018d20
mov rcx, rax
call fcn.14004c9e0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.140051530
cmp rax, 0xffffffffffffffff
jne 0x140018848
lea rax, [rsp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x29]
call fcn.140018e10
mov rcx, rax
call fcn.14004c950
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.140051530
cmp rax, 0xffffffffffffffff
jne 0x140018848
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2a]
call fcn.140018f00
mov rcx, rax
call fcn.14004c950
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.140051530
cmp rax, 0xffffffffffffffff
jne 0x140018848
lea rax, [rsp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2b]
call fcn.140018ff0
mov rcx, rax
call fcn.14004c8c0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.140051530
cmp rax, 0xffffffffffffffff
jne 0x140018848
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2c]
call fcn.1400190e0
mov rcx, rax
call fcn.14004c830
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x1f8]
movzx edx, byte [rsp + 0x42]
mov rcx, rax
call fcn.140054270
nop
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x1400185cc
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x1f8]
call fcn.140054580
nop
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x1d8]
call fcn.140051bb0
mov qword [rsp + 0x190], rax
mov eax, dword [rsp + 0x3c]
or eax, 2
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 0x10
jb 0x1400186a0
mov dword [rsp + 0x4c], 1
jmp 0x1400186a8
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x2d], al
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x1400186dd
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xb8]
call fcn.1400517e0
mov qword [rsp + 0x150], rax
jmp 0x14001871e
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x150]
cmp qword [rsp + 0x78], rax
je 0x1400187b6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
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 0x1400187b1
mov rax, qword [rsp + 0x80]
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 0x140018773
mov byte [rsp + 0x22], 0x61
jmp 0x140018778
mov byte [rsp + 0x22], 0x41
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x23], al
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x23]
sub eax, ecx
add eax, 0xd
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
movsx ecx, byte [rsp + 0x23]
add eax, ecx
mov rcx, qword [rsp + 0x80]
mov byte [rcx], al
jmp 0x140018711
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov rcx, rax
call fcn.140052900
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
call fcn.1400010c0
lea rcx, [rsp + 0x1d8]
call fcn.140052280
nop
lea rcx, [rsp + 0x1f8]
call fcn.140052280
lea rdx, [0x140053310]
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 rdx, [0x140053310]
mov rcx, rax
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]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x218]
call fcn.140052280
jmp 0x140018c17
lea rax, [rsp + 0x2e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2e]
call fcn.1400192d0
mov rcx, rax
call fcn.14004c7a0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400537a0
mov ecx, 0x8fc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x2f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2f]
call fcn.1400193c0
mov rcx, rax
call fcn.14004c710
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400537a0
mov ecx, 0x1964
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.140019670
mov rcx, rax
call fcn.14004c5f0
mov qword [rsp + 0x168], rax
lea rcx, [rsp + 0x31]
call fcn.140019530
mov rcx, rax
call fcn.14004c680
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400537a0
lea rdx, [rsp + 0x218]
mov rcx, rax
call fcn.140053360
mov rcx, qword [rsp + 0x168]
mov rdx, rcx
mov rcx, rax
call fcn.1400537a0
mov ecx, 0x1fa4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x32]
call fcn.140019770
mov rcx, rax
call fcn.14004c560
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400537a0
mov ecx, 0x2cec
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x33]
call fcn.1400198f0
mov rcx, rax
call fcn.14004c4d0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400537a0
mov ecx, 0x3cf0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x34]
call fcn.140019bd0
mov rcx, rax
call fcn.14004c3b0
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x35]
call fcn.140019ac0
mov rcx, rax
call fcn.14004c440
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400537a0
lea rdx, [rsp + 0x218]
mov rcx, rax
call fcn.140053360
mov rcx, qword [rsp + 0x170]
mov rdx, rcx
mov rcx, rax
call fcn.1400537a0
mov ecx, 0x1f40
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0xa
idiv ecx
mov eax, edx
cmp eax, 6
jne 0x140018a6e
mov byte [rsp + 0x24], 0
jmp 0x140018a73
mov byte [rsp + 0x24], 1
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x25], al
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140018aa3
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x23
idiv ecx
mov eax, edx
mov dword [rsp + 0x44], eax
jmp 0x140018aba
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x32
idiv ecx
mov eax, edx
add eax, 0x23
mov dword [rsp + 0x44], eax
lea rdx, [0x140053310]
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 rdx, [0x140053310]
mov rcx, rax
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 + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x36]
call fcn.140019ce0
mov rcx, rax
call fcn.14004c320
mov qword [rsp + 0x178], rax
lea rdx, [rsp + 0x218]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140053360
mov rcx, qword [rsp + 0x178]
mov rdx, rcx
mov rcx, rax
call fcn.1400537a0
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140018b51
mov dx, 2
mov rax, qword [rsp + 0x250]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
jmp 0x140018b67
mov dx, 4
mov rax, qword [rsp + 0x250]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x37]
call fcn.140019df0
mov rcx, rax
call fcn.14004c290
mov qword [rsp + 0x180], rax
mov edx, dword [rsp + 0x44]
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___int____ptr64]
mov rcx, qword [rsp + 0x180]
mov rdx, rcx
mov rcx, rax
call fcn.1400537a0
mov dx, 7
mov rax, qword [rsp + 0x250]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x38]
call fcn.140019ee0
mov rcx, rax
call fcn.14004c200
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400537a0
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x218]
call fcn.140052280
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140059490
add rsp, 0x240
pop rdi
ret