Function at 0x40e360
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4657d1
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0x6c], 0
mov dword [ebp - 0x11c], eax
je 0x40e5d8
push 0x46a9d8
lea ecx, [ebp - 0x1c0]
call fcn.00402de0
push edi
push 0x104
lea edx, [ebp - 0x118]
push edx
push 0x472d70
push str.CustomizeProxyIPBak
lea ecx, [ebp - 0x1c0]
push 0x46c84c
mov dword [ebp - 4], 0
mov dword [esi + 0x6c], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
push str.customizeProxyIPBak
mov ecx, esi
call fcn.00406dc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0xffffffffffffffff
push str.CustomizeProxyPortBak
push 0x46c84c
call ebx
cmp eax, 0xffffffff
je 0x40e422
push eax
push str.customizeProxyPortBak
mov ecx, esi
call fcn.00407040
push edi
push 0xffffffffffffffff
push str.MakeSetup
push 0x46c84c
call ebx
cmp eax, 0xffffffff
je 0x40e443
push eax
push str.makeSetup
mov ecx, esi
call fcn.00407040
push edi
push 0xffffffffffffffff
push str.MakeUpdate
push 0x46c84c
call ebx
cmp eax, 0xffffffff
je 0x40e464
push eax
push str.makeUpdate
mov ecx, esi
call fcn.00407040
push edi
push 0xffffffffffffffff
push str.TRMUninstall
push 0x46c84c
call ebx
cmp eax, 0xffffffff
je 0x40e485
push eax
push str.trmUninstall
mov ecx, esi
call fcn.00407040
push edi
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push 0x472d70
push str.TRMUninstallPass
push 0x46c84c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x118]
push edx
push str.trmUninstallPass
mov ecx, esi
call fcn.00406dc0
mov eax, dword [esi + 0x6c]
push str.svrInfo
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x120], eax
call fcn.00402de0
push str.svrInfoItem
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 1
call fcn.00402de0
push edi
push 0x104
lea edx, [ebp - 0x118]
push edx
push 0x472d70
push str.CustomizeProxyIP
lea ecx, [ebp - 0x210]
push 0x46c84c
mov byte [ebp - 4], 2
mov dword [esi + 0x6c], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
push str.customizeProxyIP
mov ecx, esi
call fcn.00406dc0
push edi
push 0xffffffffffffffff
push str.CustomizeProxyPort
push 0x46c84c
call ebx
cmp eax, 0xffffffff
je 0x40e54a
push eax
push str.customizeProxyPort
mov ecx, esi
call fcn.00407040
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x170]
call fcn.00402720
mov ecx, dword [esi + 0x6c]
call fcn.00402620
mov edi, dword [ebp - 0x120]
lea edx, [ebp - 0x170]
mov eax, edx
push eax
mov ecx, edi
mov dword [esi + 0x6c], edx
call fcn.00402720
mov ecx, dword [esi + 0x6c]
call fcn.00402620
push 0
push str.defaultAddress
mov ecx, esi
mov dword [esi + 0x6c], edi
call fcn.00407040
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, dword [ebp - 0x11c]
call fcn.00402720
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 1
call fcn.00402fa0
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0
call fcn.00402fa0
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, esi
call fcn.00407280
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fe0a
mov esp, ebp
pop ebp
ret 8