Function at 0x140005840
Capabilities:
Get common file path
Get hostname
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f8]
sub rsp, 0x5d0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140059100]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov rdi, rdx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
lea r8d, [rsi + 0xe]
lea rdx, str.C:Success.txt
lea rcx, [rbp]
call fcn.140004ca0
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x80]
call fcn.14003a830
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdx, qword [rbp]
lea r8d, [rsi + 1]
lea rcx, [rbp + 0x80]
call fcn.140007ec0
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x7c], edx
lea rdx, [rbp + 0x3a0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
lea rax, [rbp + 0x3a0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005940
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp + 0x40]
call fcn.140004ca0
nop
mov dword [rbp - 0x68], 0xff
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x2a0]
call fcn.14003a830
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
lea rax, [rbp + 0x2a0]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400059a0
mov r8, rbx
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x20]
call fcn.140004ca0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm6, xmmword [0x140051880]
movdqu xmmword [rbp + 0x70], xmm6
mov byte [rbp + 0x60], 0
lea rcx, str.RegisterUser
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
lea rdx, str.Register________________:_2_n
lea rcx, [0x14005d160]
call fcn.14000b2f0
mov rcx, rax
call fcn.14000b5a0
lea rdx, str.Register_Your_ID_:
lea rcx, [0x14005d160]
call fcn.14000b2f0
lea rdx, [rbp - 0x40]
call fcn.14000b630
lea rdx, str.Register_Your_PW_:
lea rcx, [0x14005d160]
call fcn.14000b2f0
lea rdx, [rbp - 0x60]
call fcn.14000b630
cmp qword [rbp + 0x110], 0
je 0x140005aa4
lea rcx, [0x140048b8c]
call fcn.14001fddc
lea rdx, str.Your_ID_Already_Exists
lea rcx, [0x14005d160]
call fcn.14000b2f0
mov rcx, rax
call fcn.14000b5a0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rdi
call fcn.140004da0
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r14, qword [rbp - 0x30]
sub rax, r14
cmp rax, 0x1a
jb 0x140005fc6
lea r13, [rbp - 0x40]
mov rsi, qword [rbp - 0x40]
mov r15, qword [rbp - 0x28]
cmp r15, 0xf
cmova r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r12, [r14 + 0x1a]
mov ebx, 0xf
lea rdi, [rsp + 0x30]
cmp r12, rbx
jbe 0x140005b74
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140005b36
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140015518
test rax, rax
je 0x140005fcc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140005b6f
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140005b5e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005fc0
jmp 0x140005b17
test rcx, rcx
je 0x140005b6d
call fcn.140015518
mov rdi, rax
jmp 0x140005b6f
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [str._api.php_moderegisterid]
movups xmmword [rdi], xmm0
movsd xmm0, qword [0x140048bb8]
movsd qword [rdi + 0x10], xmm0
movzx eax, word [0x140048bc0]
mov word [rdi + 0x18], ax
lea rcx, [rdi + 0x1a]
mov r8, r14
mov rdx, r13
call fcn.14003a190
mov byte [rdi + r12], 0
mov r8d, 4
lea rdx, str.pw
lea rcx, [rsp + 0x30]
call fcn.14000a1d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14000a1d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.140004540
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140005c96
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005fd2
call fcn.1400153f0
movdqa xmm0, xmmword [0x140051880]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005ce6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ce1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005fd8
call fcn.1400153f0
movdqa xmm0, xmmword [0x140051880]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rbp - 0x20]
mov rbx, qword [rbp - 0x20]
mov rdi, qword [rbp - 8]
cmp rdi, 0xf
cmova rcx, rbx
mov r14, qword [rbp - 0x10]
cmp r14, 7
jne 0x140005d2e
mov r8, r14
lea rdx, str.Success
call fcn.14003abe0
test eax, eax
je 0x140005fde
lea rcx, [rbp - 0x20]
cmp rdi, 0xf
cmova rcx, rbx
cmp r14, 0x15
jne 0x140005d57
mov r8, r14
lea rdx, str.already_registered_id
call fcn.14003abe0
test eax, eax
je 0x14000604b
cmp rdi, 0xf
jbe 0x140005d8e
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140005d86
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006071
mov rcx, rbx
call fcn.1400153f0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140005dda
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005dd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006077
call fcn.1400153f0
nop
cmp r15, 0xf
jbe 0x140005e12
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140005e09
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000607d
mov rcx, rsi
call fcn.1400153f0
nop
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 0xf
jbe 0x140005e54
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006083
call fcn.1400153f0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140005e90
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006089
call fcn.1400153f0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140005ecc
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ec6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000608f
call fcn.1400153f0
nop
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x90]
call fcn.140007e10
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x7c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x130]
call fcn.140014920
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140005f85
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005fba
call fcn.1400153f0
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1400153d0
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140021344
nop
call fcn.140001620
nop
call fcn.1400016c0
int3
call fcn.140021344
nop
call fcn.140021344
nop
call fcn.140021344
int3
lea rcx, [rbp + 0x190]
call fcn.140005830
lea rdx, [rbp]
lea rcx, [rbp + 0x190]
call fcn.140007040
nop
lea rcx, [0x140048b8c]
call fcn.14001fddc
lea rdx, str.Success_n
lea rcx, [0x14005d160]
call fcn.14000b2f0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str._nPls_turn_on_the_program_again
lea rcx, [0x14005d160]
call fcn.14000b2f0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.14001c0e8
nop
lea rdx, str.already_registered_id
lea rcx, [0x14005d160]
call fcn.14000b2f0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.14001c0e8
nop
call fcn.140021344
nop
call fcn.140021344
nop
call fcn.140021344
nop
call fcn.140021344
nop
call fcn.140021344
nop
call fcn.140021344
int3