Function at 0x1001a150
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
sub rsp, 0xa18
mov rax, qword [0x10058650]
mov qword [rsp + 0x9e0], rax
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 - 8], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x20], r13
mov rbx, rdx
mov qword [r11 - 0x28], r14
xor r14d, r14d
mov edi, ecx
mov dword [rsp + 0x44], r14d
xor eax, eax
lea r8, [rsp + 0x40]
lea rdx, [0x1004764c]
lea rcx, [r11 - 0x258]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x40], al
mov r13d, r14d
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
lea r8, [rsp + 0x7c0]
lea rcx, [rsp + 0x48]
mov r9b, 1
mov rdx, rbx
call fcn.10018750
lea rcx, [rsp + 0x7c0]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov r9, qword [rbx + 8]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
test r9, r9
cmove r9, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test rsi, rsi
jne 0x1001a208
mov r8, r14
jmp 0x1001a212
mov r8, rbp
sub r8, rsi
sar r8, 5
mov rcx, qword [0x10058a98]
lea rdx, str.login__enter:_param__u__s
mov qword [rsp + 0xa00], r12
call fcn.10024f70
test rsi, rsi
je 0x1001a242
mov r12, rbp
sub r12, rsi
sar r12, 5
cmp r12, 7
jae 0x1001a289
mov r9, qword [rbx + 8]
lea rdx, [0x10047670]
lea rcx, [rsp + 0x48]
test r9, r9
mov r8d, edi
cmove r9, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call fcn.10002170
mov rcx, qword [0x10058b30]
mov edx, 0xcf
mov r8, rax
call fcn.100068d0
lea rcx, [rsp + 0x48]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
jmp 0x1001a99b
lea rcx, [rsp + 0x48]
mov rdx, rsi
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rdx, [0x10047698]
lea rcx, [rsp + 0x48]
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.msvcp60.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__const___ptr64]
mov rcx, qword [sym.imp.msvcp60.dll_unsigned_long_long_unsigned___int64__const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp qword [rcx], rax
je 0x1001a2fc
mov r9, qword [rsp + 0x58]
lea rdx, [rsp + 0x7c0]
lea rcx, [rsp + 0x48]
add r9, 0xfffffffffffffffe
mov r8d, 1
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64]
lea rcx, [rsp + 0x48]
mov rdx, rax
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rcx, [rsp + 0x7c0]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
lea rax, [rsp + 0x44]
test rax, rax
je 0x1001a34f
mov r9d, 1
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x70]
mov r8d, r9d
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int____ptr64]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov r11, qword [rsp + 0x70]
movsxd rax, dword [r11 + 4]
test byte [rsp + rax + 0x78], 6
je 0x1001a344
xor eax, eax
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void____ptr64]
xor eax, eax
lea rcx, [rsp + 0x7e1]
xor edx, edx
mov r8d, 0x1ff
mov byte [rsp + 0x7c0], r13b
mov qword [rsp + 0x7c1], rax
mov qword [rsp + 0x7c9], rax
mov qword [rsp + 0x7d1], rax
mov dword [rsp + 0x7d9], eax
mov word [rsp + 0x7dd], ax
mov byte [rsp + 0x7df], al
mov byte [rsp + 0x7e0], al
call sub.msvcrt.dll_memset
mov r8, qword [rsi + 0x48]
lea rbx, [rsi + 0x40]
test r8, r8
lea rcx, [rsp + 0x7c0]
mov edx, 0x20
cmove r8, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call fcn.1001e570
mov rdx, qword [rsi + 0x68]
lea rcx, [rsp + 0x7e0]
test rdx, rdx
mov r8d, 0x200
cmove rdx, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call qword [sym.imp.msvcrt.dll_strncpy]
mov rcx, qword [0x10058b40]
lea rdx, [rsi + 0x80]
add rcx, 0x288
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov rcx, qword [0x10058b40]
mov rdx, rbx
add rcx, 0x48
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov r11, qword [0x10058b40]
lea rcx, [rsp + 0x7c0]
mov rax, qword [rcx]
lea rdx, [rsi + 0x60]
mov qword [r11 + 0x28], rax
mov rax, qword [rcx + 8]
mov qword [r11 + 0x30], rax
mov rax, qword [rcx + 0x10]
mov qword [r11 + 0x38], rax
mov rax, qword [rcx + 0x18]
mov qword [r11 + 0x40], rax
mov rcx, qword [0x10058b40]
add rcx, 0x268
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov rcx, qword [0x10058b40]
lea rdx, [rsp + 0x7e0]
add rcx, 0x68
mov r8d, 0x200
call sub.msvcrt.dll_memcpy
xor edx, edx
lea rcx, [rsp + 0x171]
lea r8d, [rdx + 0x7f]
mov byte [rsp + 0x170], r13b
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x1f0]
xor edx, edx
mov r8d, 0x5cc
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x50]
lea r8, [0x1004769c]
test r9, r9
lea rcx, [rsp + 0x170]
mov edx, 0x80
cmove r9, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call fcn.1001fe60
mov r11d, dword [rsp + 0x44]
lea rcx, [rsp + 0x7c0]
mov eax, dword [rcx]
lea rdx, [rsp + 0x1f4]
mov dword [rsp + 0x1f0], r11d
mov dword [rdx], eax
mov eax, dword [rcx + 4]
mov dword [rdx + 4], eax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
mov eax, dword [rcx + 0xc]
mov dword [rdx + 0xc], eax
mov eax, dword [rcx + 0x10]
mov r8d, 0x200
mov dword [rdx + 0x10], eax
mov eax, dword [rcx + 0x14]
mov dword [rdx + 0x14], eax
mov eax, dword [rcx + 0x18]
mov dword [rdx + 0x18], eax
mov eax, dword [rcx + 0x1c]
lea rcx, [rsp + 0x214]
mov dword [rdx + 0x1c], eax
lea rdx, [rsp + 0x7e0]
call sub.msvcrt.dll_memcpy
mov rcx, qword [0x10058a98]
lea rdx, str.g_center__login_begin
call fcn.10024f70
cmp r12, 7
jbe 0x1001a55f
lea rax, [rsi + 0xe0]
jmp 0x1001a57c
xor eax, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x7c0]
lea r13d, [rax + 1]
mov byte [rsp + 0x40], al
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const____ptr64____ptr64]
mov r8d, dword [rsp + 0x44]
lea rcx, [rsi + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [0x10058b30]
lea r9, [rsi + 0xa0]
lea rdx, [rsp + 0x48]
call fcn.100079b0
test al, al
sete bl
test r13b, 1
je 0x1001a5c3
lea rcx, [rsp + 0x7c0]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
test bl, bl
je 0x1001a608
mov rcx, qword [0x10058a98]
lea rdx, str.g_center__login_failed
call fcn.10024f70
lea rcx, [rsp + 0x48]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
cmp rsi, rbp
mov rbx, rsi
je 0x1001a9c8
mov rcx, rbx
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
add rbx, 0x20
cmp rbx, rbp
jne 0x1001a5f1
jmp 0x1001a9c8
mov rcx, qword [0x10058a98]
lea rdx, str.login__load_config_from_session.
call fcn.10024f70
mov rcx, qword [0x10058b30]
call fcn.10006f00
mov rcx, qword [0x10058a98]
lea rdx, str.login__send_enviromnment.
call fcn.10024f70
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov r13, rax
je 0x1001a705
mov rdi, r14
mov rcx, rax
cmp byte [rax], dil
je 0x1001a66f
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rcx, eax
lea rdi, [rdi + rcx + 1]
cmp byte [rdi + r13], r14b
lea rcx, [rdi + r13]
jne 0x1001a657
mov rcx, qword [0x10058a98]
lea rdx, str.login__get_enviromnment_success__env_size_d.
mov r8d, edi
call fcn.10024f70
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x7c0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x7d0], r14
call fcn.10001fc0
mov r11, qword [0x10058b40]
mov rbx, qword [rsp + 0x7d0]
mov eax, dword [r11 + 0x314]
lea rcx, [rbx + 8]
mov r8, rdi
mov rdx, r13
mov dword [rbx + 4], edi
mov dword [rbx], eax
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0x7c8]
mov rcx, qword [0x10058b30]
mov r9, rbx
mov edx, 0x10105
mov dword [rsp + 0x20], 2
call fcn.10006cd0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rcx, rbx
call fcn.10041bb0
jmp 0x1001a76e
xor ecx, ecx
call fcn.100205e0
mov rcx, qword [0x10058a98]
lea rdx, str.login__get_environment_failed:__s
mov r8, rax
call fcn.10025150
xor eax, eax
mov dword [rsp + 0x160], r14d
mov dword [rsp + 0x164], eax
mov rax, qword [0x10058b40]
lea r9, [rsp + 0x160]
mov ecx, dword [rax + 0x314]
mov edx, 0x10105
mov r8d, 8
mov dword [rsp + 0x160], ecx
mov rcx, qword [0x10058b30]
mov dword [rsp + 0x20], 2
call fcn.10006cd0
mov rcx, qword [0x10058b40]
mov eax, dword [rcx + 0x318]
mov dword [rsp + 0x614], eax
mov eax, dword [rcx + 0x370]
mov dword [rsp + 0x618], eax
mov eax, dword [rcx + 0x374]
mov dword [rsp + 0x61c], eax
mov eax, dword [rcx + 0x378]
mov ecx, r14d
mov dword [rsp + 0x620], eax
mov rax, qword [0x10058b30]
cmp byte [rax + 0x9dc], cl
setne cl
cmp r12, 8
mov dword [rsp + 0x624], ecx
jbe 0x1001a7f4
mov r9, qword [rsi + 0x108]
lea r8, [0x1004776c]
lea rcx, [rsp + 0x62c]
test r9, r9
mov edx, 0x80
cmove r9, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call fcn.1001fe60
cmp r12, 9
jbe 0x1001a825
mov r9, qword [rsi + 0x128]
lea r8, [0x10047770]
lea rcx, [rsp + 0x6ac]
test r9, r9
mov edx, 0x80
cmove r9, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call fcn.1001fe60
cmp r12, 0xa
jbe 0x1001a856
mov r9, qword [rsi + 0x148]
lea r8, [0x10047774]
lea rcx, [rsp + 0x72c]
test r9, r9
mov edx, 0x80
cmove r9, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call fcn.1001fe60
cmp r12, 0xb
jbe 0x1001a87b
mov rcx, qword [rsi + 0x168]
test rcx, rcx
cmove rcx, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call qword [sym.imp.msvcrt.dll_atoi]
mov dword [rsp + 0x7ac], eax
cmp r12, 0xc
jbe 0x1001a8a0
mov rcx, qword [rsi + 0x188]
test rcx, rcx
cmove rcx, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call qword [sym.imp.msvcrt.dll_atoi]
mov dword [rsp + 0x7b8], eax
cmp r12, 0xd
jbe 0x1001a8cc
mov rcx, qword [rsi + 0x1a8]
test rcx, rcx
cmove rcx, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call qword [sym.imp.msvcrt.dll_atoi]
test eax, eax
jle 0x1001a8cc
mov rcx, qword [0x10058b40]
mov dword [rcx + 0x24], eax
mov eax, dword [rsp + 0x7ac]
mov r9d, dword [rsp + 0x618]
mov r8d, dword [rsp + 0x614]
mov rcx, qword [0x10058a98]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x624]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x620]
lea rdx, str.login__regist_to_session_usrinfo_compress_d__reconn_d__reconn_cnt_d__reconn_intv_d__hostcheck_d__relogin_d_
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x61c]
mov dword [rsp + 0x20], eax
call fcn.10024f70
mov rcx, qword [0x10058b30]
lea r9, [rsp + 0x170]
mov edx, 0x10102
mov r8d, 0x64c
mov dword [rsp + 0x20], 2
call fcn.10006cd0
mov rcx, qword [0x10058a98]
lea rdx, str.login__query_vnic_state.
call fcn.10024f70
mov r11, qword [0x10058b40]
mov edx, 0x10204
mov dword [r11 + 0x2a8], r14d
mov r9, qword [0x10058b40]
mov rcx, qword [0x10058b30]
add r9, 0x2a8
mov r8d, 4
mov dword [rsp + 0x20], 8
call fcn.10006cd0
lea rcx, [rsp + 0x48]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov rcx, qword [0x10058a98]
lea rdx, str.login__leave
call fcn.10024f70
cmp rsi, rbp
mov rbx, rsi
je 0x1001a9c8
mov rcx, rbx
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
add rbx, 0x20
cmp rbx, rbp
jne 0x1001a9b6
mov rcx, rsi
call fcn.10041bb0
mov r14, qword [rsp + 0x9f0]
mov r13, qword [rsp + 0x9f8]
mov r12, qword [rsp + 0xa00]
mov rdi, qword [rsp + 0xa08]
mov rsi, qword [rsp + 0xa10]
mov rbp, qword [rsp + 0xa38]
mov rbx, qword [rsp + 0xa30]
mov rcx, qword [rsp + 0x9e0]
call fcn.10042170
add rsp, 0xa18
ret