Function at 0x406d8b
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41247d
call fcn.00411a30
sub esp, 0x3a8
mov eax, dword [0x41e654]
push esi
push dword [ebp + 0xc]
mov esi, str.Proxy
push 0
push str.ProxyCount
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and dword [ebp - 0x394], 0
test eax, eax
mov dword [ebp - 0x3a8], eax
jle 0x4071fc
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, 0x415adc
lea ecx, [ebp - 0x37c]
call fcn.004059cf
and dword [ebp - 4], 0
lea ecx, [ebp - 0x380]
call fcn.00402de1
push dword [ebp - 0x394]
lea eax, [ebp - 0x380]
push str.Proxy_d
push eax
mov byte [ebp - 4], 1
call fcn.00405f28
add esp, 0xc
lea ecx, [ebp - 0x398]
call fcn.00402de1
push str.ProxyName
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x3a0]
push eax
mov byte [ebp - 4], 2
call fcn.00405f3b
add esp, 0xc
push dword [ebp + 0xc]
mov eax, dword [eax]
push 0x33
push 0x33
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 3
mov dword [ebp - 0x384], eax
call fcn.00402e22
push eax
push ebx
push dword [ebp - 0x384]
push esi
call edi
mov ecx, dword [ebp - 0x3a0]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00402577
push 0xffffffffffffffff
lea ecx, [ebp - 0x398]
call fcn.004052c8
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x37c]
call fcn.00405b0c
lea ecx, [ebp - 0x390]
call fcn.00402de1
push str.Password
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x39c]
push eax
mov byte [ebp - 4], 4
call fcn.00405f3b
add esp, 0xc
push dword [ebp + 0xc]
mov eax, dword [eax]
push 0x33
push 0x33
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 5
mov dword [ebp - 0x384], eax
call fcn.00402e22
push eax
push ebx
push dword [ebp - 0x384]
push esi
call edi
mov ecx, dword [ebp - 0x39c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00402577
push 0xffffffffffffffff
lea ecx, [ebp - 0x390]
call fcn.004052c8
mov eax, dword [ebp - 0x390]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x168], eax
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, dword [ebp - 0x390]
mov eax, dword [ecx - 0xc]
lea edx, [ebp - 0x2c]
push edx
push eax
push ecx
mov byte [ebp - 4], 6
call fcn.0040a718
add esp, 0xc
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
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 eax, [ebp - 0x164]
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x38c]
call fcn.00402de1
push str.UserName
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x3a4]
push eax
mov byte [ebp - 4], 7
call fcn.00405f3b
add esp, 0xc
push dword [ebp + 0xc]
mov eax, dword [eax]
push 0x33
push 0x33
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 8
mov dword [ebp - 0x384], eax
call fcn.00402e22
push eax
push ebx
push dword [ebp - 0x384]
push esi
call edi
mov ecx, dword [ebp - 0x3a4]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.00402577
push 0xffffffffffffffff
lea ecx, [ebp - 0x38c]
call fcn.004052c8
mov eax, dword [ebp - 0x38c]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x26c], eax
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, dword [ebp - 0x38c]
mov eax, dword [ecx - 0xc]
lea edx, [ebp - 0x48]
push edx
push eax
push ecx
mov byte [ebp - 4], 9
call fcn.0040a718
add esp, 0xc
push dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
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 eax, [ebp - 0x268]
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x388]
call fcn.00402de1
push str.ProxyAddress
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x3ac]
push eax
mov byte [ebp - 4], 0xa
call fcn.00405f3b
add esp, 0xc
push dword [ebp + 0xc]
mov eax, dword [eax]
push 0x33
push 0x33
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x384], eax
call fcn.00402e22
push eax
push ebx
push dword [ebp - 0x384]
push esi
call edi
mov ecx, dword [ebp - 0x3ac]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xa
call fcn.00402577
push 0xffffffffffffffff
lea ecx, [ebp - 0x388]
call fcn.004052c8
mov eax, dword [ebp - 0x388]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x374], eax
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, dword [ebp - 0x388]
mov eax, dword [ecx - 0xc]
lea edx, [ebp - 0x64]
push edx
push eax
push ecx
mov byte [ebp - 4], 0xc
call fcn.0040a718
add esp, 0xc
push dword [ebp - 0x50]
lea ecx, [ebp - 0x64]
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 eax, [ebp - 0x370]
push eax
call sub.MSVCR71.dll_memcpy
push str.ProxyPort
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x3b4]
push eax
call fcn.00405f3b
mov eax, dword [eax]
add esp, 0x18
push dword [ebp + 0xc]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x3b4]
add ecx, 0xfffffff0
mov dword [ebp - 0x270], eax
call fcn.00402577
push 0x415cdc
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x3b0]
push eax
call fcn.00405f3b
mov eax, dword [eax]
add esp, 0xc
push dword [ebp + 0xc]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x3b0]
add ecx, 0xfffffff0
mov dword [ebp - 0x378], eax
call fcn.00402577
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x37c]
push eax
call fcn.00406d4b
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0x388]
add ecx, 0xfffffff0
call fcn.00402577
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0x38c]
add ecx, 0xfffffff0
call fcn.00402577
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 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_]
mov ecx, dword [ebp - 0x390]
add ecx, 0xfffffff0
call fcn.00402577
mov ecx, dword [ebp - 0x398]
add ecx, 0xfffffff0
call fcn.00402577
mov ecx, dword [ebp - 0x380]
add ecx, 0xfffffff0
call fcn.00402577
mov ecx, dword [ebp - 0x37c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402577
inc dword [ebp - 0x394]
mov eax, dword [ebp - 0x394]
cmp eax, dword [ebp - 0x3a8]
jl 0x406ddc
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.004118d5
leave
ret 8