Function at 0x40b9b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a334a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb94
mov eax, dword [0x4cbba0]
mov ecx, dword [esp + 0xba8]
xor eax, esp
push ebx
push ebp
mov dword [esp + 0xb98], eax
mov eax, dword [esp + 0xbac]
push esi
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
xor ebp, ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0xbac], ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0xbc]
mov byte [esp + 0xbac], 1
call fcn.004258f0
lea ecx, [esp + 0x88]
mov byte [esp + 0xbac], 2
call fcn.00428600
push 0x19000
mov byte [esp + 0xbb0], 3
call sub.MFC71.DLL_operator_new
push str.config_clienttype.ini
lea edx, [esp + 0x24]
push 0x4cbdc0
push edx
mov esi, eax
mov dword [esp + 0x30], 0x19000
mov dword [esp + 0x38], ebp
call fcn.004010a0
add esp, 0x10
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push ebp
push str.count
push str.weblogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
mov ecx, 0x6400
mov edi, esi
push str.config_clienttype.ini
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push 0x4cbdc0
push eax
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x40
lea ecx, [esp + 0x168]
push ecx
push str.dywebloginid
push str.idname
push str.weblogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str.config_clienttype.ini
lea edx, [esp + 0x20]
push 0x4cbdc0
push edx
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x40
lea eax, [esp + 0x128]
push eax
push str.dyweblogininfo
push str.infoname
push str.weblogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp ebx, ebp
jle 0x40c0e9
mov ebx, dword [sym.imp.MSVCR71.dll_sprintf]
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x9a4]
push str.url_d
push edx
call ebx
push str.config_clienttype.ini
lea eax, [esp + 0x2c]
push 0x4cbdc0
push eax
call fcn.004010a0
add esp, 0x18
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x200
lea ecx, [esp + 0x1a8]
push ecx
push 0x4acbb2
lea edx, [esp + 0x9b0]
push edx
push str.weblogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test ebp, ebp
mov dword [esp + 0x20], 0x19000
jne 0x40be71
lea ecx, [esp + 0xbc]
call fcn.004248a0
test al, al
je 0x40bcc6
lea eax, [esp + 0x7a0]
push eax
lea ecx, [esp + 0x3a4]
push ecx
lea edx, [esp + 0x168]
push edx
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0xcc]
call fcn.00424d10
test al, al
je 0x40bcb9
lea ecx, [esp + 0x3a0]
push ecx
lea edx, [esp + 0x164]
push edx
push 0x4ad73c
push esi
call ebx
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x168]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [0x4ab700]
push esi
call fcn.00407fa0
add esp, 0xc
test eax, eax
je 0x40bcb9
lea eax, [esp + 0x7a0]
push eax
lea ecx, [esp + 0x3a4]
push ecx
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0xcc]
call fcn.00424d10
test al, al
je 0x40bcb9
lea ecx, [esp + 0x3a0]
push ecx
lea edx, [esp + 0x124]
push edx
push 0x4ad73c
push esi
call ebx
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x128]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [0x4ab700]
push esi
call fcn.00407fa0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x40be90
xor eax, eax
mov ecx, 0x6400
mov edi, esi
rep stosd dword es:[edi], eax
xor ebp, ebp
lea ecx, [esp + 0x88]
call fcn.004248a0
test al, al
je 0x40bdd5
lea eax, [esp + 0x7a0]
push eax
lea ecx, [esp + 0x3a4]
push ecx
lea edx, [esp + 0x168]
push edx
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0x98]
call fcn.004284d0
test al, al
je 0x40bdc8
lea ecx, [esp + 0x3a0]
push ecx
lea edx, [esp + 0x164]
push edx
push 0x4ad73c
push esi
call ebx
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x168]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [0x4ab700]
push esi
call fcn.00407fa0
add esp, 0xc
test eax, eax
je 0x40bdc8
lea eax, [esp + 0x7a0]
push eax
lea ecx, [esp + 0x3a4]
push ecx
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0x98]
call fcn.004284d0
test al, al
je 0x40bdc8
lea ecx, [esp + 0x3a0]
push ecx
lea edx, [esp + 0x124]
push edx
push 0x4ad73c
push esi
call ebx
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x128]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [0x4ab700]
push esi
call fcn.00407fa0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x40bf5c
xor eax, eax
mov ecx, 0x6400
mov edi, esi
rep stosd dword es:[edi], eax
xor ebp, ebp
mov edi, dword [sym.imp.WININET.dll_InternetGetCookieA]
lea eax, [esp + 0x20]
push eax
push esi
lea ecx, [esp + 0x168]
push ecx
lea edx, [esp + 0x1ac]
push edx
call edi
test eax, eax
je 0x40be71
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x168]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [0x4ab700]
push esi
call fcn.00407fa0
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x40be71
lea eax, [esp + 0x20]
push eax
push esi
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x1ac]
push edx
mov dword [esp + 0x30], 0x19000
call edi
test eax, eax
je 0x40be71
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x128]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [0x4ab700]
push esi
call fcn.00407fa0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x40c017
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
inc edi
dec eax
test eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
jg 0x40bb44
jmp 0x40c0e9
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0xbac], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov bl, 5
lea ecx, [esp + 0x14]
mov byte [esp + 0xbac], bl
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
add esp, 4
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
sub esp, 0x1c
lea edx, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_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__]
lea eax, [esp + 0x50]
push eax
call fcn.0049d5e0
add esp, 0x20
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xbb0], 6
call dword [0x4ab944]
lea ecx, [esp + 0x34]
mov byte [esp + 0xbac], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ecx, dword [esp + 0x2c]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0x50]
mov byte [esp + 0xbac], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x6c]
jmp 0x40c0db
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbac], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov bl, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0xbac], bl
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
add esp, 4
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
sub esp, 0x1c
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_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__]
lea eax, [esp + 0x50]
push eax
call fcn.0049d5e0
add esp, 0x20
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xbb0], 9
call dword [0x4ab944]
lea ecx, [esp + 0x34]
mov byte [esp + 0xbac], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ecx, dword [esp + 0x2c]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
mov byte [esp + 0xbac], 7
jmp 0x40c0cd
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbac], 0xa
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov bl, 0xb
lea ecx, [esp + 0x14]
mov byte [esp + 0xbac], bl
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
add esp, 4
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
sub esp, 0x1c
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_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__]
lea eax, [esp + 0x50]
push eax
call fcn.0049d5e0
add esp, 0x20
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xbb0], 0xc
call dword [0x4ab944]
lea ecx, [esp + 0x34]
mov byte [esp + 0xbac], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ecx, dword [esp + 0x2c]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
mov byte [esp + 0xbac], 0xa
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0xbac], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
lea ecx, [esp + 0x88]
mov byte [esp + 0xbac], 2
call fcn.00428150
lea ecx, [esp + 0xbc]
mov byte [esp + 0xbac], 1
call fcn.00425390
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xba4]
pop edi
pop esi
mov eax, ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xb98]
pop ebp
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0xba0
ret 8