Function at 0x406130
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a2b6f
mov eax, dword fs:[0]
push eax
mov eax, 0x9f0c
mov dword fs:[0], esp
call fcn.004a17e0
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x9f18], eax
mov eax, dword [0x4ccb50]
mov edx, dword [eax + 0x85c]
mov edi, ecx
lea ecx, [eax + 0x860]
push ecx
push edx
lea ecx, [esp + 0x104]
mov dword [esp + 0x34], edi
call fcn.004400f0
xor ebx, ebx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x9f24], ebx
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 + 0x70]
mov byte [esp + 0x9f24], 1
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 + 0x8c]
mov byte [esp + 0x9f24], 2
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 + 0xc4]
mov byte [esp + 0x9f24], 3
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 + 0x54]
mov byte [esp + 0x9f24], 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_]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x9f24], 5
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 ecx, 0x4cc97c
mov byte [esp + 0x9f24], 6
mov dword [0x4cc978], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
mov ecx, 0x4cc998
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
mov ecx, 0x4cc9b4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
mov ecx, dword [0x4cc10c]
lea eax, [esp + 0x9e68]
push eax
push ebx
push ebx
push ecx
mov ecx, 0x4cca18
call fcn.0043ae50
mov ebp, dword [esp + 0x9f2c]
cmp ebp, ebx
je 0x406276
xor eax, eax
mov cl, byte [eax + 0x4cbf9c]
mov byte [esp + eax + 0x9e34], cl
inc eax
cmp cl, bl
jne 0x406262
jmp 0x4062c4
mov edx, dword [str.query.pipisite.com]
mov eax, dword [0x4ad244]
mov ecx, dword [0x4ad248]
mov dword [esp + 0x9e34], edx
mov edx, dword [0x4ad24c]
mov dword [esp + 0x9e38], eax
mov ax, word [0x4ad250]
mov dword [esp + 0x9e3c], ecx
mov cl, byte [0x4ad252]
mov dword [esp + 0x9e40], edx
mov word [esp + 0x9e44], ax
mov byte [esp + 0x9e46], cl
mov esi, dword [0x4ccb50]
mov edx, dword [esi + 0x548]
add esi, 0x544
shr edx, 0xb
and dl, 1
mov byte [esp + 0x13], dl
je 0x406355
movzx eax, byte [esi + 0x200]
lea eax, [eax + eax*2]
shl eax, 5
lea edi, [eax + esi]
movzx eax, byte [esi + 0x200]
lea ecx, [eax + eax*2]
shl ecx, 5
lea ecx, [ecx + esi + 0x244]
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]
push eax
movzx eax, byte [esi + 0x200]
lea edx, [eax + eax*2]
shl edx, 5
lea ecx, [edx + esi + 0x228]
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]
push eax
movzx eax, word [edi + 0x224]
push eax
lea ecx, [edi + 0x208]
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]
movzx ecx, byte [esi + 0x200]
push eax
push ecx
lea ecx, [esp + 0x110]
call fcn.0043fea0
mov edi, dword [esp + 0x2c]
push 0x4cc9b4
push 0x4cc998
push 0x4cc97c
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push 0x4cc978
push 0x4cc975
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x7c]
push eax
mov eax, dword [0x4cc970]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [0x4cc96c]
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [0x4cc8f4]
push ecx
lea edx, [esp + 0x9ec4]
push edx
push eax
push 0x749
push ebx
lea ecx, [esp + 0x9ea0]
push ecx
lea ecx, [esp + 0x16c]
call fcn.00441e70
cmp eax, ebx
je 0x406a7e
cmp dword [esp + 0x1cb0], ebx
je 0x40648b
mov ecx, dword [esp + 0x15e4]
mov eax, dword [0x4ccb50]
xor edx, edx
cmp ecx, ebx
setne dl
add edx, 4
mov dword [eax + 0x4f4], edx
or dword [esi + 4], 0x800
mov cl, byte [esp + 0x15e4]
mov byte [esi + 0x200], cl
movzx eax, byte [esp + 0x15e4]
lea eax, [eax + eax*2]
lea edx, [esp + 0x15e8]
shl eax, 5
push edx
lea ecx, [eax + esi + 0x208]
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__]
movzx eax, byte [esi + 0x200]
mov dx, word [esp + 0x1620]
lea ecx, [eax + eax*2]
shl ecx, 5
mov word [ecx + esi + 0x224], dx
jmp 0x406492
and dword [esi + 4], 0xfffff7ff
mov eax, dword [0x4cc8f4]
cmp eax, dword [esp + 0x44]
jae 0x40656e
lea ecx, [esp + 0x8c]
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 + 0x1c]
push eax
push ecx
lea ecx, [esp + 0xb0]
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]
push eax
lea ecx, [esp + 0x7c]
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]
push eax
push 3
mov ecx, edi
call fcn.00403c00
lea ecx, [esp + 0xe0]
mov byte [esp + 0x9f24], 5
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 + 0x54]
mov byte [esp + 0x9f24], 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 + 0xc4]
mov byte [esp + 0x9f24], 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_]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x9f24], 2
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 + 0x70]
mov byte [esp + 0x9f24], 1
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 + 0xa8]
mov byte [esp + 0x9f24], 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 + 0xfc]
mov dword [esp + 0x9f24], 0xffffffff
call fcn.0043eda0
mov eax, 2
jmp 0x406b1c
cmp dword [0x4cc978], 3
jne 0x4066cb
push str.config_config.ini
lea edx, [esp + 0x24]
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 ebx
push str.UseExNetInEDU
push 0x4ac6b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
dec eax
neg eax
sbb al, al
inc al
lea ecx, [esp + 0x20]
mov byte [esp + 0x13], al
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp byte [esp + 0x13], bl
je 0x4066cb
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push eax
call esi
mov edi, dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call edi
lea edx, [esp + 0x9eb0]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp cl, bl
jne 0x4065e8
mov ecx, dword [esp + 0x30]
push ecx
call esi
push eax
call edi
lea edx, [esp + 0x9e7c]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp cl, bl
jne 0x406603
push 0x4cc9b4
push 0x4cc998
push 0x4cc97c
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push 0x4cc978
push 0x4cc975
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x7c]
push eax
mov eax, dword [0x4cc970]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [0x4cc96c]
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [0x4cc8f4]
push ecx
lea edx, [esp + 0x9ec4]
push edx
push eax
push 0x749
lea ecx, [esp + 0x9ee4]
push ecx
lea edx, [esp + 0x9f1c]
push edx
lea ecx, [esp + 0x16c]
call fcn.00441e70
mov edi, dword [esp + 0x2c]
mov eax, dword [0x4ccb50]
cmp dword [eax + 0x364], ebx
jbe 0x4069e9
cmp ebp, ebx
je 0x4069e9
mov dword [eax + 0x840], 4
mov eax, dword [0x4ccb50]
mov dword [eax + 0x4e0], 3
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, 0x4cca18
call fcn.00462820
mov ecx, 0x4cca18
call fcn.00462210
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xe4]
push eax
mov ecx, 0x4cbda8
call fcn.004247a0
cmp byte [0x4cc975], bl
je 0x40675c
mov eax, dword [0x4ccb50]
cmp byte [eax + 0x70c], bl
je 0x40675c
mov eax, dword [eax + 0x4f4]
cmp eax, 1
je 0x406752
cmp eax, 3
jne 0x40675c
mov ecx, 0x4cca18
call fcn.00462910
push ebx
push 1
mov ecx, 0x4cbda8
call fcn.004243a0
push ebx
mov ecx, 0x4cca18
call fcn.0043b280
mov eax, dword [0x4ccb50]
cmp byte [eax + 0x70d], bl
je 0x4067c6
mov eax, dword [eax + 0x4f4]
cmp eax, 1
je 0x4067c6
cmp eax, 3
je 0x4067c6
mov ecx, dword [0x4cc10c]
push ecx
push str.PIPI
lea edx, [esp + 0x9eec]
push str._s__u
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
mov ecx, dword [0x4ccb50]
add esp, 0x10
lea eax, [esp + 0x9ee4]
push eax
call fcn.00466560
cmp dword [0x4cbc10], ebx
jne 0x40682f
push 0x50
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x9f24], 7
je 0x4067f1
mov ecx, eax
call fcn.00401990
jmp 0x4067f3
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword [0x4cbc10], eax
mov dword [eax + 0x44], ecx
mov edx, dword [0x4cbc10]
mov eax, dword [esp + 0x14]
mov dword [edx + 0x48], eax
mov ecx, dword [0x4cbc10]
mov edx, dword [esp + 0x18]
push ebx
push ebx
mov dword [ecx + 0x4c], edx
mov ecx, dword [0x4cbc10]
push ebx
mov byte [esp + 0x9f30], 6
call sub.MFC71.DLL_CWinThread::CreateThread
mov eax, dword [0x4cc8f4]
cmp eax, dword [esp + 0x34]
jae 0x4069e9
mov ecx, dword [str.00000000000000000000000000000000]
push ecx
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
test al, al
je 0x4069e9
mov ecx, 0x4cc840
call fcn.0042cca0
cmp eax, dword [esp + 0x1c]
jae 0x4068af
push ebx
push ebx
lea ecx, [esp + 0x94]
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]
push eax
lea ecx, [esp + 0x1d08]
call fcn.0044cae0
lea ecx, [esp + 0x1cfc]
mov byte [esp + 0x9f24], 8
call sub.MFC71.DLL_CDialog::DoModal
lea ecx, [esp + 0x1cfc]
mov byte [esp + 0x9f24], 6
call fcn.00403820
cmp dword [edi + 0xd0], ebx
je 0x406951
lea ecx, [esp + 0xa8]
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]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call dword [0x4ab700]
lea ecx, [esp + 0x74]
mov byte [esp + 0x9f28], 9
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]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x4ab700]
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x9f30], 0xa
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]
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call dword [0x4ab700]
lea ecx, [esp + 0x64]
mov byte [esp + 0x9f34], 0xb
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]
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
call dword [0x4ab700]
mov byte [esp + 0x9f38], 6
mov ecx, dword [edi + 0xd0]
call fcn.0041dac0
lea ecx, [esp + 0xe0]
mov byte [esp + 0x9f24], 5
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 + 0x54]
mov byte [esp + 0x9f24], 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 + 0xc4]
mov byte [esp + 0x9f24], 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_]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x9f24], 2
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 + 0x70]
mov byte [esp + 0x9f24], 1
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 + 0xa8]
mov byte [esp + 0x9f24], 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 + 0xfc]
mov dword [esp + 0x9f24], 0xffffffff
call fcn.0043eda0
mov eax, 1
jmp 0x406b1c
lea ecx, [esp + 0xe0]
mov byte [esp + 0x9f24], 5
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 + 0x54]
mov byte [esp + 0x9f24], 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 + 0xc4]
mov byte [esp + 0x9f24], 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_]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x9f24], 2
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 + 0x70]
mov byte [esp + 0x9f24], 1
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 + 0xa8]
mov byte [esp + 0x9f24], 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 + 0xfc]
mov dword [esp + 0x9f24], 0xffffffff
call fcn.0043eda0
xor eax, eax
jmp 0x406b1c
push str.get_upgrade_info_error
call fcn.0049aab0
add esp, 4
lea ecx, [esp + 0xe0]
mov byte [esp + 0x9f24], 5
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 + 0x54]
mov byte [esp + 0x9f24], 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 + 0xc4]
mov byte [esp + 0x9f24], 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_]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x9f24], 2
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 + 0x70]
mov byte [esp + 0x9f24], 1
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 + 0xa8]
mov byte [esp + 0x9f24], 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 + 0xfc]
mov dword [esp + 0x9f24], 0xffffffff
call fcn.0043eda0
or eax, 0xffffffff
mov ecx, dword [esp + 0x9f1c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x9f10]
pop ebp
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x9f18
ret 4