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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x240
mov rax, qword [0x140072010]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov dword [rsp + 0x3c], 0
lea rdx, [0x140058fe0]
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.140059f40
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 0x140018209
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.14005a250
nop
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x198]
call fcn.140057880
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 0x1400182cc
mov dword [rsp + 0x48], 1
jmp 0x1400182d4
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140018309
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.140057480
mov qword [rsp + 0xe8], rax
jmp 0x14001834a
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe8]
cmp qword [rsp + 0x58], rax
je 0x1400183cf
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 0x1400183ca
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 0x140018392
mov byte [rsp + 0x20], 0x61
jmp 0x140018397
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 0x14001833d
lea rax, [rsp + 0x198]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, rax
call fcn.1400585d0
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400010c0
lea rcx, [rsp + 0x198]
call fcn.140057f50
nop
lea rcx, [rsp + 0x1b8]
call fcn.140057f50
lea rax, [rsp + 0x218]
movzx edx, byte [rsp + 0x41]
mov rcx, rax
call fcn.140059f40
nop
lea rax, [0x14006d601]
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 0x14001844d
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, [0x14006d601]
lea rcx, [rsp + 0x218]
call fcn.14005a250
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.1400590e0
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0x18
jb 0x140018612
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x27]
call fcn.140018cd0
mov rcx, rax
call fcn.140052dc0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.1400571c0
cmp rax, 0xffffffffffffffff
jne 0x1400188e8
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x28]
call fcn.140018dc0
mov rcx, rax
call fcn.140052dc0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.1400571c0
cmp rax, 0xffffffffffffffff
jne 0x1400188e8
lea rax, [rsp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x29]
call fcn.140018eb0
mov rcx, rax
call fcn.140052d30
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.1400571c0
cmp rax, 0xffffffffffffffff
jne 0x1400188e8
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2a]
call fcn.140018fa0
mov rcx, rax
call fcn.140052d30
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.1400571c0
cmp rax, 0xffffffffffffffff
jne 0x1400188e8
lea rax, [rsp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2b]
call fcn.140019090
mov rcx, rax
call fcn.140052ca0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.1400571c0
cmp rax, 0xffffffffffffffff
jne 0x1400188e8
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2c]
call fcn.140019180
mov rcx, rax
call fcn.140052c10
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x1f8]
movzx edx, byte [rsp + 0x42]
mov rcx, rax
call fcn.140059f40
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 0x14001866c
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.14005a250
nop
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x1d8]
call fcn.140057880
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 0x140018740
mov dword [rsp + 0x4c], 1
jmp 0x140018748
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x2d], al
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x14001877d
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.140057480
mov qword [rsp + 0x150], rax
jmp 0x1400187be
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x150]
cmp qword [rsp + 0x78], rax
je 0x140018856
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 0x140018851
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 0x140018813
mov byte [rsp + 0x22], 0x61
jmp 0x140018818
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 0x1400187b1
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov rcx, rax
call fcn.1400585d0
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
call fcn.1400010c0
lea rcx, [rsp + 0x1d8]
call fcn.140057f50
nop
lea rcx, [rsp + 0x1f8]
call fcn.140057f50
lea rdx, [0x140058fe0]
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, [0x140058fe0]
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.140057f50
jmp 0x140018cb7
lea rax, [rsp + 0x2e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2e]
call fcn.140019370
mov rcx, rax
call fcn.140052b80
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
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.140019460
mov rcx, rax
call fcn.140052af0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
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.140019710
mov rcx, rax
call fcn.1400529d0
mov qword [rsp + 0x168], rax
lea rcx, [rsp + 0x31]
call fcn.1400195d0
mov rcx, rax
call fcn.140052a60
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
lea rdx, [rsp + 0x218]
mov rcx, rax
call fcn.140059030
mov rcx, qword [rsp + 0x168]
mov rdx, rcx
mov rcx, rax
call fcn.140059470
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.140019810
mov rcx, rax
call fcn.140052940
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
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.140019990
mov rcx, rax
call fcn.1400528b0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
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.140019c70
mov rcx, rax
call fcn.140052790
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x35]
call fcn.140019b60
mov rcx, rax
call fcn.140052820
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
lea rdx, [rsp + 0x218]
mov rcx, rax
call fcn.140059030
mov rcx, qword [rsp + 0x170]
mov rdx, rcx
mov rcx, rax
call fcn.140059470
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 0x140018b0e
mov byte [rsp + 0x24], 0
jmp 0x140018b13
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 0x140018b43
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 0x140018b5a
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, [0x140058fe0]
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, [0x140058fe0]
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.140019d80
mov rcx, rax
call fcn.140052700
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.140059030
mov rcx, qword [rsp + 0x178]
mov rdx, rcx
mov rcx, rax
call fcn.140059470
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140018bf1
mov dx, 2
mov rax, qword [rsp + 0x250]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
jmp 0x140018c07
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.140019e90
mov rcx, rax
call fcn.140054a70
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.140059470
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.140019f80
mov rcx, rax
call fcn.140052670
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x218]
call fcn.140057f50
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14005f160
add rsp, 0x240
pop rdi
ret