Function at 0x1001a370
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
sub rsp, 0xa18
mov rax, qword [0x1005d650]
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, [0x1004a85c]
lea rcx, [rsp + 0x48]
mov qword [r11 - 0x250], r14
mov qword [r11 - 0x248], r14
mov qword [r11 - 0x240], 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 + 0x48]
lea rcx, [rsp + 0x7c0]
mov r9b, 1
mov rdx, rbx
call fcn.10018970
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 r9, qword [rbx + 8]
mov rsi, qword [rsp + 0x7c8]
mov rbp, qword [rsp + 0x7d0]
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 0x1001a42f
mov r8, r14
jmp 0x1001a439
mov r8, rbp
sub r8, rsi
sar r8, 5
mov rcx, qword [0x1005da98]
lea rdx, str.login__enter:_param__u__s
mov qword [rsp + 0xa00], r12
call fcn.10021a00
test rsi, rsi
je 0x1001a469
mov r12, rbp
sub r12, rsi
sar r12, 5
cmp r12, 7
jae 0x1001a4b0
mov r9, qword [rbx + 8]
lea rdx, [0x1004a880]
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.100021a0
mov rcx, qword [0x1005db30]
mov edx, 0xcf
mov r8, rax
call fcn.100066e0
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 0x1001ab15
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 r11, [rsp + 0x44]
test r11, r11
je 0x1001a511
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 0x1001a506
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.1001e6e0
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 [0x1005db40]
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 [0x1005db40]
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 [0x1005db40]
lea rcx, [rsp + 0x7c0]
mov rax, qword [rcx]
lea rdx, [rsi + 0x60]
mov qword [r11 + 0x24], rax
mov rax, qword [rcx + 8]
mov qword [r11 + 0x2c], rax
mov rax, qword [rcx + 0x10]
mov qword [r11 + 0x34], rax
mov rax, qword [rcx + 0x18]
mov qword [r11 + 0x3c], rax
mov rcx, qword [0x1005db40]
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 [0x1005db40]
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, 0x5c8
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x50]
lea r8, [0x1004a8a8]
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.1001ff70
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 [0x1005da98]
lea rdx, str.g_center__login_begin
call fcn.10021a00
cmp r12, 7
jbe 0x1001a721
lea rax, [rsi + 0xe0]
jmp 0x1001a73e
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 [0x1005db30]
lea r9, [rsi + 0xa0]
lea rdx, [rsp + 0x48]
call fcn.100077c0
test al, al
sete bl
test r13b, 1
je 0x1001a785
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 0x1001a7ca
mov rcx, qword [0x1005da98]
lea rdx, str.g_center__login_failed
call fcn.10021a00
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 0x1001ab42
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 0x1001a7b3
jmp 0x1001ab42
mov rcx, qword [0x1005da98]
lea rdx, str.login__load_config_from_session.
call fcn.10021a00
mov rcx, qword [0x1005db30]
call fcn.10006d10
mov rcx, qword [0x1005da98]
lea rdx, str.login__send_enviromnment.
call fcn.10021a00
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov r13, rax
je 0x1001a8ce
mov rdi, r14
mov rcx, rax
cmp byte [rax], dil
je 0x1001a838
nop
nop
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 0x1001a820
mov rcx, qword [0x1005da98]
lea rdx, str.login__get_enviromnment_success__env_size_d.
mov r8d, edi
call fcn.10021a00
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x7c0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x7d0], r14
call fcn.10001ff0
mov r11, qword [0x1005db40]
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 [0x1005db30]
mov r9, rbx
mov edx, 0x10105
mov dword [rsp + 0x20], 2
call fcn.10006ae0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rcx, rbx
call fcn.100449c0
jmp 0x1001a937
xor ecx, ecx
call fcn.10021fa0
mov rcx, qword [0x1005da98]
lea rdx, str.login__get_environment_failed:__s
mov r8, rax
call fcn.10021be0
xor eax, eax
mov dword [rsp + 0x160], r14d
mov dword [rsp + 0x164], eax
mov rax, qword [0x1005db40]
lea r9, [rsp + 0x160]
mov ecx, dword [rax + 0x314]
mov edx, 0x10105
mov r8d, 8
mov dword [rsp + 0x160], ecx
mov rcx, qword [0x1005db30]
mov dword [rsp + 0x20], 2
call fcn.10006ae0
mov rcx, qword [0x1005db40]
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 [0x1005db30]
cmp byte [rax + 0x9dc], cl
setne cl
cmp r12, 8
mov dword [rsp + 0x624], ecx
jbe 0x1001a9bd
mov r9, qword [rsi + 0x108]
lea r8, [0x1004a97c]
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.1001ff70
cmp r12, 9
jbe 0x1001a9ee
mov r9, qword [rsi + 0x128]
lea r8, [0x1004a980]
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.1001ff70
cmp r12, 0xa
jbe 0x1001aa1f
mov r9, qword [rsi + 0x148]
lea r8, [0x1004a984]
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.1001ff70
cmp r12, 0xb
jbe 0x1001aa46
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
jmp 0x1001aa4d
mov eax, dword [rsp + 0x7ac]
mov r9d, dword [rsp + 0x618]
mov r8d, dword [rsp + 0x614]
mov rcx, qword [0x1005da98]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x624]
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 + 0x30], eax
mov eax, dword [rsp + 0x620]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x61c]
mov dword [rsp + 0x20], eax
call fcn.10021a00
mov rcx, qword [0x1005db30]
lea r9, [rsp + 0x170]
mov edx, 0x10102
mov r8d, 0x648
mov dword [rsp + 0x20], 2
call fcn.10006ae0
mov rcx, qword [0x1005da98]
lea rdx, str.login__query_vnic_state.
call fcn.10021a00
mov r11, qword [0x1005db40]
mov edx, 0x10204
mov dword [r11 + 0x2a8], r14d
mov r9, qword [0x1005db40]
mov rcx, qword [0x1005db30]
add r9, 0x2a8
mov r8d, 4
mov dword [rsp + 0x20], 8
call fcn.10006ae0
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 [0x1005da98]
lea rdx, str.login__leave
call fcn.10021a00
cmp rsi, rbp
mov rbx, rsi
je 0x1001ab42
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 0x1001ab30
mov rcx, rsi
call fcn.100449c0
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.10044fa0
add rsp, 0xa18
ret