Function at 0x4029e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x444ce5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebp
push esi
push edi
push 0x4668f8
push 0x50
push 0x44d36c
push 0x44d374
mov esi, ecx
call ebx
push 0x4668f8
push 0x1f40
push 0x44d380
push 0x44d388
mov dword [esp + 0x20], eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x467980
push 0xff
push 0x466a30
push str.WinSock_Interface
push 0x44d3b0
push str.SETUPWSOCKIF
mov dword [esp + 0x2c], eax
call ebp
mov eax, dword [0x467978]
push 0x467980
push 0xff
lea ecx, [esp + 0xe8]
push ecx
push str.WinSock_Interface_Security
push 0x44d3ec
xor edi, edi
push str.SETUPWSOCKIFSEC
mov dword [esp + 0x68], 0x30
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x6f
mov dword [esp + 0x80], 0x40f6c0
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x7c], 0x466a30
mov dword [esp + 0x78], 0x44d3c8
call ebp
mov edx, dword [0x467978]
push 0x467980
push 0xff
lea ecx, [esp + 0x11c]
push ecx
push 0x44d40c
push 0x44d41c
lea eax, [esp + 0xf4]
push str.SETUPHTTPIF
mov dword [esp + 0x98], 0x30
mov dword [esp + 0x9c], 0xc
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], 0x75
mov dword [esp + 0xb0], 0x40f800
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], str.SETUP
call ebp
mov eax, dword [0x467978]
mov ecx, 0xc
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x32c]
lea edx, [esp + 0x114]
mov dword [esp + 0xb0], 0x30
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x6e
mov dword [esp + 0xc8], 0x40f760
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc0], 0x71
mov dword [esp + 0x1c], 0x34
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
lea edx, [esp + 0x50]
push eax
mov dword [esp + 0x30], 0x44d430
mov dword [esp + 0x34], str.WinSock__HTTP_Interface_Setup
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edi
call dword [sym.imp.COMCTL32.dll_PropertySheetA]
cmp eax, 1
jne 0x402ddc
push str.Changes_will_Take_Effect_Immediately
push str.NORESTART
push 0x44d48c
call fcn.0040d190
mov eax, dword [esi + 0x32c]
add esp, 0xc
push 0x40
push str.Communications
push 0x466a30
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x4668f8
push 0x1f40
push 0x44d4a4
push 0x44d4ac
call ebx
push 0x4668f8
push 0x50
push 0x44d4c0
push str.HTTPSERVER
mov ebp, eax
call ebx
push 0x4668f8
push edi
push 0x44d4d4
push 0x44d4dc
mov dword [esp + 0x28], eax
call ebx
test eax, eax
mov ecx, dword [esi + 0x24]
je 0x402cf9
cmp ecx, edi
je 0x402caa
cmp dword [esp + 0x14], ebp
je 0x402caa
call fcn.00412ad0
push 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x402ca7
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x24], edi
cmp dword [esi + 0x24], edi
jne 0x402d1f
push 0x48
call fcn.004394a2
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, edi
mov dword [esp + 0x150], edi
je 0x402ce7
mov ecx, dword [esi + 0x32c]
push ecx
push esi
mov ecx, eax
call fcn.004306d0
mov dword [esp + 0x150], 0xffffffff
mov dword [esi + 0x24], eax
jmp 0x402d1f
xor eax, eax
mov dword [esp + 0x150], 0xffffffff
mov dword [esi + 0x24], eax
jmp 0x402d1f
cmp ecx, edi
je 0x402d1f
call fcn.00412ad0
push 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x402d1c
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x24], edi
push 0x4668f8
push edi
push 0x44d4f0
push 0x44d4f8
call ebx
test eax, eax
mov ecx, dword [esi + 0x1ad2]
je 0x402db0
cmp ecx, edi
je 0x402d71
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x10], eax
je 0x402d71
call fcn.00412ad0
push 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov ecx, dword [esi + 0x1ad2]
cmp ecx, edi
je 0x402d6b
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x1ad2], edi
cmp dword [esi + 0x1ad2], edi
jne 0x402ddc
push 0x40
call fcn.004394a2
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x150], 1
je 0x402da6
push esi
mov ecx, eax
call fcn.0040cc30
mov dword [esi + 0x1ad2], eax
jmp 0x402ddc
xor eax, eax
mov dword [esi + 0x1ad2], eax
jmp 0x402ddc
cmp ecx, edi
je 0x402ddc
call fcn.00412ad0
push 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov ecx, dword [esi + 0x1ad2]
cmp ecx, edi
je 0x402dd6
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x1ad2], edi
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret