Function at 0x140004da0
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 - 0x4e8]
sub rsp, 0x5c0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140059100]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r12, rdx
xor r13d, r13d
lea rdx, [rbp + 0x390]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea rax, [rbp + 0x390]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r13b
jne 0x140004e13
lea rdx, [rbp + 0x390]
lea rcx, [rbp + 0x30]
call fcn.140004ca0
nop
mov dword [rbp - 0x58], 0xff
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x290]
call fcn.14003a830
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rax, [rbp + 0x290]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140004e70
mov r8, rbx
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x10]
call fcn.140004ca0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movdqa xmm6, xmmword [0x140051880]
movdqu xmmword [rbp + 0x60], xmm6
mov byte [rbp + 0x50], 0
lea rcx, str.Login
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
lea rdx, str.Login___________________:_1_n
lea rcx, [0x14005d160]
call fcn.14000b2f0
mov rcx, rax
call fcn.14000b5a0
lea rdx, str.Enter_Your_ID_:
lea rcx, [0x14005d160]
call fcn.14000b2f0
lea rdx, [rbp - 0x30]
call fcn.14000b630
lea rdx, str.Enter_Your_PW_:
lea rcx, [0x14005d160]
call fcn.14000b2f0
lea rdx, [rbp - 0x50]
call fcn.14000b630
mov r15, qword [rbp - 0x20]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x17
jb 0x14000561a
lea r14, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r14, qword [rbp - 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rsi, [r15 + 0x17]
mov ebx, 0xf
lea rdi, [rsp + 0x30]
cmp rsi, rbx
jbe 0x140004ffb
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x140004fbc
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140015518
test rax, rax
je 0x140005620
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140004ff6
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140004fe4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005614
jmp 0x140004f9d
test rcx, rcx
je 0x140004ff3
call fcn.140015518
mov rdi, rax
jmp 0x140004ff6
mov rdi, r13
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [str._api.php_modeloginid]
movups xmmword [rdi], xmm0
mov eax, dword [0x140048a40]
mov dword [rdi + 0x10], eax
movzx eax, word [0x140048a44]
mov word [rdi + 0x14], ax
movzx eax, byte [0x140048a46]
mov byte [rdi + 0x16], al
lea rcx, [rdi + 0x17]
mov r8, r15
mov rdx, r14
call fcn.14003a190
mov byte [rdi + rsi], 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
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.14000a1d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.140004540
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000511f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000511a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005626
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 0x14000516f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000516a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000562c
call fcn.1400153f0
movdqa xmm0, xmmword [0x140051880]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rbp - 0x10]
mov rdi, qword [rbp - 0x10]
mov rsi, qword [rbp + 8]
cmp rsi, 0xf
cmova rcx, rdi
mov rbx, qword [rbp]
cmp rbx, 0x13
jne 0x1400051b7
mov r8, rbx
lea rdx, str.not_charged_account
call fcn.14003abe0
test eax, eax
je 0x140005632
lea rcx, [rbp - 0x10]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 0x11
jne 0x1400051e0
mov r8, rbx
lea rdx, str.not_registered_id
call fcn.14003abe0
test eax, eax
je 0x140005658
lea rcx, [rbp - 0x10]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 0xe
jne 0x140005209
mov r8, rbx
lea rdx, str.wrong_password
call fcn.14003abe0
test eax, eax
je 0x14000567e
lea rcx, [rbp - 0x10]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 0xc
jne 0x140005232
mov r8, rbx
lea rdx, str.date_expired
call fcn.14003abe0
test eax, eax
je 0x1400056a4
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x180]
call fcn.14003a830
mov edi, 2
mov r8d, edi
lea rdx, str.C:id.txt
lea rcx, [rbp + 0x180]
call fcn.140007090
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x70]
call fcn.14003a830
mov r8d, edi
lea rdx, str.C:pw.txt
lea rcx, [rbp + 0x70]
call fcn.140007090
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x180]
call fcn.14000d8f0
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [rbp + 0x70]
call fcn.14000d8f0
lea rcx, [rbp + 0x188]
call fcn.140009d90
lea ebx, [rdi + 4]
test rax, rax
jne 0x14000530d
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
mov eax, ebx
cmp qword [rbp + rcx + 0x1c8], 0
cmovne eax, edi
or eax, dword [rbp + rcx + 0x190]
and eax, 0x17
mov dword [rbp + rcx + 0x190], eax
mov edx, dword [rbp + rcx + 0x194]
and edx, eax
jne 0x1400056ca
lea rcx, [rbp + 0x78]
call fcn.140009d90
test rax, rax
jne 0x14000534f
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx + 0xb8], 0
cmovne ebx, edi
or ebx, dword [rbp + rcx + 0x80]
and ebx, 0x17
mov dword [rbp + rcx + 0x80], ebx
mov eax, dword [rbp + rcx + 0x84]
and eax, ebx
jne 0x14000571d
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, r12
call fcn.1400049b0
nop
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x70], rsi
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x78]
call fcn.140007e10
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x70], rdi
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x6c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp + 0x118], rbx
lea rcx, [rbp + 0x118]
call fcn.140014920
nop
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x180], rsi
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x17c], edx
lea rcx, [rbp + 0x188]
call fcn.140007e10
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x180], rdi
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x17c], edx
mov qword [rbp + 0x228], rbx
lea rcx, [rbp + 0x228]
call fcn.140014920
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000547e
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005479
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000576e
call fcn.1400153f0
mov qword [rbp], r13
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400054c9
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005774
call fcn.1400153f0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140005514
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000550f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000577a
call fcn.1400153f0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 0xf
jbe 0x140005566
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005560
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005780
call fcn.1400153f0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400055a2
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000559c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005786
call fcn.1400153f0
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x1400055d9
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000560e
call fcn.1400153f0
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1400153d0
lea r11, [rsp + 0x5c0]
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 rdx, str.Your_Not_Charged_Account
lea rcx, [0x14005d160]
call fcn.14000b2f0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.14001c0e8
int3
lea rdx, str.Your_Not_Registered_id
lea rcx, [0x14005d160]
call fcn.14000b2f0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.14001c0e8
int3
lea rdx, str.Your_Wrong_password
lea rcx, [0x14005d160]
call fcn.14000b2f0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.14001c0e8
int3
lea rdx, str.Your_id_Date_expired
lea rcx, [0x14005d160]
call fcn.14000b2f0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.14001c0e8
nop
test dl, 4
je 0x1400056d8
lea rbx, str.ios_base::badbit_set
jmp 0x1400056ed
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp - 0x68]
call fcn.140001790
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140001fb0
lea rdx, [0x140057688]
lea rcx, [rsp + 0x70]
call fcn.14001728c
int3
test al, 4
je 0x14000572a
lea rbx, str.ios_base::badbit_set
jmp 0x14000573e
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp - 0x68]
call fcn.140001790
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140001fb0
lea rdx, [0x140057688]
lea rcx, [rsp + 0x70]
call fcn.14001728c
nop
call fcn.140021344
nop
call fcn.140021344
nop
call fcn.140021344
nop
call fcn.140021344
nop
call fcn.140021344
int3