Function at 0x1001a600
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5a8
mov cl, byte [esp + 3]
mov al, byte [esp + 3]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov byte [esp + 0x28], cl
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5b8], esi
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x10047578
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10047578
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.10021fb0
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x5c0]
lea edx, [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ebx, dword [ebp + 8]
push esi
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
mov edi, eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp edi, dword [eax]
je 0x1001a704
cmp esi, ebx
jae 0x1001a74a
mov ecx, edi
lea edx, [esp + 0x3c]
sub ecx, esi
push ecx
push esi
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
lea eax, [esp + 0x3c]
push 0x10046828
push eax
call fcn.1000b470
mov edx, dword [esp + 0x24]
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.10016690
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
lea esi, [edi + eax]
push esi
push ecx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
push 1
lea ecx, [esp + 0x40]
mov edi, eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp edi, dword [edx]
jne 0x1001a697
cmp esi, ebx
jae 0x1001a74a
sub ebx, esi
lea eax, [esp + 0x3c]
push ebx
push esi
push eax
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0x3c]
push 0x10046828
push ecx
call fcn.1000b470
mov eax, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x14]
push edx
push eax
call fcn.10016690
push 1
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [ebp + 4]
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test eax, eax
je 0x1001a765
mov ecx, eax
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x1001a771
xor eax, eax
jmp 0x1001a77a
mov eax, dword [esp + 0x1c]
sub eax, edx
sar eax, 4
push ecx
mov ecx, dword [0x1004b3e0]
push eax
push str.login__enter:_param__u__s
push ecx
call fcn.1002a620
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je 0x1001a7a6
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 4
cmp edx, 7
jae 0x1001a7f2
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x1001a7b3
mov ebp, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov eax, dword [esp + 0x5bc]
push ebp
push eax
lea ecx, [esp + 0x44]
push 0x10047598
push ecx
call fcn.100022b0
mov ecx, dword [0x1004b468]
add esp, 0x10
push eax
push 0xcf
call fcn.10008010
push 1
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor ebx, ebx
jmp 0x1001aee3
mov esi, eax
push 0
lea ecx, [esp + 0x40]
mov dl, byte [esi]
mov byte [esp + 0x40], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push 0
push esi
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea edx, [esp + 0x24]
test edx, edx
je 0x1001a878
mov eax, dword [esp + 0x18]
push 1
add eax, 0x10
push 1
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_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___int_]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
test byte [esp + eax + 0x70], 6
je 0x1001a85e
mov dword [esp + 0x24], 0
lea ecx, [esp + 0xc0]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc0]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
stosw word es:[edi], ax
mov ebx, dword [ecx + 0x24]
test ebx, ebx
stosb byte es:[edi], al
jne 0x1001a89e
mov ebx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x4c]
push 0x41
rep stosd dword es:[edi], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov ecx, 0x10
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push 0x40
push ebx
push esi
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x10
mov byte [esi + 0x40], 0
xor ecx, ecx
mov al, byte [ecx + esi]
cmp al, 0x41
jl 0x1001a8e3
cmp al, 0x5a
jg 0x1001a8e3
add al, 0x20
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x40
jl 0x1001a8d3
xor edi, edi
mov ebp, esi
mov dl, byte [ebp + 1]
push edx
call fcn.10021ad0
mov ebx, eax
mov al, byte [ebp]
push eax
call fcn.10021ad0
shl al, 4
add bl, al
add esp, 8
mov byte [esp + edi + 0x4c], bl
inc edi
add ebp, 2
cmp edi, 0x20
jl 0x1001a8ed
push esi
call fcn.1003ed30
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebx, dword [ecx + 0x34]
test ebx, ebx
jne 0x1001a930
mov ebx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
xor edx, edx
push 0x29
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov ecx, 0xa
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push 0x28
push ebx
push esi
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x10
mov byte [esi + 0x28], 0
xor ecx, ecx
mov al, byte [ecx + esi]
cmp al, 0x41
jl 0x1001a97e
cmp al, 0x5a
jg 0x1001a97e
add al, 0x20
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x28
jl 0x1001a96e
xor edi, edi
mov ebp, esi
mov al, byte [ebp + 1]
push eax
call fcn.10021ad0
mov cl, byte [ebp]
mov ebx, eax
push ecx
call fcn.10021ad0
shl al, 4
add bl, al
add esp, 8
mov byte [esp + edi + 0x28], bl
inc edi
add ebp, 2
cmp edi, 0x14
jl 0x1001a988
push esi
call fcn.1003ed30
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x1c]
add esp, 4
add ecx, 0x40
mov eax, dword [edx]
mov edx, dword [0x1004b470]
push eax
push 0
push ecx
lea ecx, [edx + 0x68]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [esp + 0x18]
add edx, 0x20
mov ecx, dword [eax]
mov eax, dword [0x1004b470]
push ecx
push 0
push edx
lea ecx, [eax + 0x34]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [0x1004b470]
lea esi, [esp + 0x4c]
lea edi, [ecx + 0x14]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x18]
add ecx, 0x30
mov eax, dword [edx]
mov edx, dword [0x1004b470]
push eax
push 0
push ecx
lea ecx, [edx + 0x58]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [0x1004b470]
mov ecx, 5
lea esi, [esp + 0x28]
lea edi, [eax + 0x44]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x12f
lea edi, [esp + 0xf5]
mov byte [esp + 0xf4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x1001aa6d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x100475c0
lea ecx, [esp + 0xfc]
push 0x80
push ecx
call fcn.10028430
mov edx, dword [esp + 0x34]
mov eax, dword [0x1004b3e0]
mov ecx, 8
lea esi, [esp + 0x5c]
lea edi, [esp + 0x188]
mov dword [esp + 0x184], edx
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, 5
lea esi, [esp + 0x28]
lea edi, [esp + 0x198]
push str.g_center__login_begin
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1002a620
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x1001aaec
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 4
cmp ecx, 7
jbe 0x1001aaec
mov bl, byte [esp + 0x5b4]
lea ecx, [eax + 0x70]
jmp 0x1001ab0d
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x18]
mov ebx, 1
lea ecx, [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
lea ecx, [eax + 0x60]
add eax, 0x50
push ecx
mov ecx, dword [0x1004b468]
push eax
lea eax, [esp + 0x48]
push edx
push eax
call fcn.10006c50
test al, al
sete byte [esp + 0x13]
test bl, 1
je 0x1001ab43
push 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0x13]
test al, al
je 0x1001ab90
mov ecx, dword [0x1004b3e0]
push str.g_center__login_failed
push ecx
call fcn.1002a620
add esp, 8
lea ecx, [esp + 0x3c]
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x1001af40
push 0
mov ecx, esi
call fcn.10021f50
add esi, 0x10
cmp esi, edi
jne 0x1001ab7b
jmp 0x1001af3c
mov edx, dword [0x1004b3e0]
push str.login__load_config_from_session.
push edx
call fcn.1002a620
mov ecx, dword [0x1004b468]
add esp, 8
call fcn.10007dd0
mov eax, dword [0x1004b3e0]
push str.login__send_enviromnment.
push eax
call fcn.1002a620
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x1001ac7c
mov cl, byte [ebp]
xor esi, esi
test cl, cl
je 0x1001abf4
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call edi
lea esi, [esi + eax + 1]
mov cl, byte [esi + ebp]
lea eax, [esi + ebp]
test cl, cl
jne 0x1001abe3
mov ecx, dword [0x1004b3e0]
push esi
push str.login__get_enviromnment_success__env_size_d.
push ecx
call fcn.1002a620
add esp, 0xc
lea edx, [esi + 8]
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], ebx
push ebx
push ebx
push edx
call fcn.10005020
mov ecx, dword [0x1004b470]
mov eax, dword [esp + 0x30]
push 2
mov edx, dword [ecx + 0xb0]
mov ecx, esi
mov dword [eax], edx
mov dword [eax + 4], esi
lea edi, [eax + 8]
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [0x1004b468]
push edx
push 0x10105
call fcn.100085c0
push ebp
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1001acca
push eax
call fcn.1003ed30
add esp, 4
jmp 0x1001acca
push ebx
call fcn.1002ba20
add esp, 4
push eax
mov eax, dword [0x1004b3e0]
push str.login__get_environment_failed:__s
push eax
call fcn.1002a6a0
mov ecx, dword [0x1004b470]
add esp, 0xc
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ebx
push 2
mov dword [esp + 0x30], ebx
mov edx, dword [ecx + 0xb0]
mov ecx, dword [0x1004b468]
push eax
push 8
push 0x10105
mov dword [esp + 0x38], edx
call fcn.100085c0
mov eax, dword [0x1004b470]
mov ecx, dword [eax + 0xb4]
mov dword [esp + 0x418], ecx
mov edx, dword [eax + 0xe4]
mov dword [esp + 0x41c], edx
mov ecx, dword [eax + 0xe8]
mov dword [esp + 0x420], ecx
mov edx, dword [eax + 0xec]
mov ecx, dword [0x1004b468]
mov dword [esp + 0x424], edx
xor eax, eax
mov dl, byte [ecx + 0x7f4]
test dl, dl
setne al
mov dword [esp + 0x428], eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1001ae21
mov ecx, dword [esp + 0x1c]
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edx, 8
jbe 0x1001ad6b
mov eax, dword [eax + 0x84]
cmp eax, ebx
jne 0x1001ad48
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x10047688
lea eax, [esp + 0x438]
push 0x80
push eax
call fcn.10028430
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
cmp eax, ebx
je 0x1001ae21
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edx, 9
jbe 0x1001adb1
mov eax, dword [eax + 0x94]
cmp eax, ebx
jne 0x1001ad8e
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x1004768c
lea eax, [esp + 0x4b8]
push 0x80
push eax
call fcn.10028430
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
cmp eax, ebx
je 0x1001ae21
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edx, 0xa
jbe 0x1001adf3
mov eax, dword [eax + 0xa4]
cmp eax, ebx
jne 0x1001add0
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x10047690
lea eax, [esp + 0x538]
push 0x80
push eax
call fcn.10028430
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
cmp eax, ebx
je 0x1001ae21
sub ecx, eax
sar ecx, 4
cmp ecx, 0xb
jbe 0x1001ae21
mov eax, dword [eax + 0xb4]
cmp eax, ebx
jne 0x1001ae10
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esp + 0x5b0], eax
mov ecx, dword [esp + 0x5b0]
mov edx, dword [esp + 0x428]
mov eax, dword [esp + 0x424]
push ecx
mov ecx, dword [esp + 0x424]
push edx
mov edx, dword [esp + 0x424]
push eax
mov eax, dword [esp + 0x424]
push ecx
mov ecx, dword [0x1004b3e0]
push edx
push eax
push str.login__regist_to_session_usrinfo_compress_d__reconn_d__reconn_cnt_d__reconn_intv_d__hostcheck_d__relogin_d_
push ecx
call fcn.1002a620
mov ecx, dword [0x1004b468]
add esp, 0x20
lea edx, [esp + 0xf4]
push 2
push edx
push 0x4c0
push 0x10102
call fcn.100085c0
mov eax, dword [0x1004b3e0]
push str.login__query_vnic_state.
push eax
call fcn.1002a620
mov ecx, dword [0x1004b470]
add esp, 8
mov dword [ecx + 0x78], ebx
mov edx, dword [0x1004b470]
mov ecx, dword [0x1004b468]
add edx, 0x78
push 8
push edx
push 4
push 0x10204
call fcn.100085c0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x1001aee3
mov cl, byte [eax - 1]
test cl, cl
je 0x1001aed9
cmp cl, 0xff
je 0x1001aed9
dec cl
mov byte [eax - 1], cl
jmp 0x1001aee3
dec eax
push eax
call fcn.1003ed30
add esp, 4
mov eax, dword [0x1004b3e0]
push str.login__leave
push eax
call fcn.1002a620
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 8
cmp esi, eax
mov edi, eax
je 0x1001af40
add esi, 4
mov eax, dword [esi]
cmp eax, ebx
je 0x1001af2a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1001af21
cmp al, 0xff
je 0x1001af21
dec al
mov byte [ecx], al
jmp 0x1001af2a
push ecx
call fcn.1003ed30
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
add esi, 0x10
lea ecx, [esi - 4]
cmp ecx, edi
jne 0x1001af07
mov esi, dword [esp + 0x18]
push esi
call fcn.1003ed30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a8
ret