Function at 0x402e81
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a0b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x85c
mov dword [ebp - 0x838], ecx
push 0xa
lea ecx, [ebp - 0x81c]
call fcn.0042bb52
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7e0]
call fcn.00403990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7ec]
call fcn.00403990
mov byte [ebp - 4], 2
mov dword [ebp - 0x7fc], 0
mov dword [ebp - 0x7f8], 0
mov ecx, dword [ebp - 0x838]
add ecx, 0x3bb8
call fcn.00403970
mov ecx, dword [ebp - 0x838]
add ecx, 0x3bcc
call fcn.00403970
mov ecx, dword [ebp - 0x838]
add ecx, 0x3be0
call fcn.00403970
lea ecx, [ebp - 0x81c]
call fcn.0042bb91
mov eax, dword [ebp - 0x838]
add eax, 0x1668
push eax
push 0x7d0
lea ecx, [ebp - 0x7dc]
push ecx
push str.NetworkPort
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [ebp - 0x7e4], eax
lea ecx, [ebp - 0x7f4]
call fcn.00403990
mov byte [ebp - 4], 3
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7f0], 0
jmp 0x402f86
mov edx, dword [ebp - 0x7f0]
add edx, 1
mov dword [ebp - 0x7f0], edx
mov eax, dword [ebp - 0x7f0]
cmp eax, dword [ebp - 0x7e4]
jge 0x4030ea
mov ecx, dword [ebp - 0x7f0]
movsx edx, byte [ebp + ecx - 0x7dc]
test edx, edx
je 0x403007
mov eax, dword [ebp - 0x7f0]
mov cl, byte [ebp + eax - 0x7dc]
push ecx
lea edx, [ebp - 0x7f4]
push edx
lea eax, [ebp - 0x820]
push eax
call fcn.0042ad52
mov dword [ebp - 0x83c], eax
mov ecx, dword [ebp - 0x83c]
mov dword [ebp - 0x840], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x840]
push edx
lea ecx, [ebp - 0x7f4]
call fcn.0042c456
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x820]
call fcn.0042c31d
jmp 0x4030e5
push 0x45038c
lea eax, [ebp - 0x7f4]
push eax
call fcn.00403ad0
and eax, 0xff
test eax, eax
je 0x4030d5
push 0
push 0x3d
lea ecx, [ebp - 0x7f4]
call fcn.0042c6cb
mov dword [ebp - 0x7e8], eax
mov ecx, dword [ebp - 0x7e8]
add ecx, 1
push ecx
lea edx, [ebp - 0x824]
push edx
lea ecx, [ebp - 0x7f4]
call fcn.0042ae5d
mov dword [ebp - 0x844], eax
mov eax, dword [ebp - 0x844]
mov dword [ebp - 0x848], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x848]
push ecx
lea ecx, [ebp - 0x7f4]
call fcn.0042c456
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x824]
call fcn.0042c31d
lea ecx, [ebp - 0x7f4]
call fcn.0042b373
lea ecx, [ebp - 0x7f4]
call fcn.0042b327
mov edx, dword [ebp - 0x7f4]
push edx
push 0x447a18
call fcn.00401000
add esp, 8
lea eax, [ebp - 0x7f4]
push eax
lea ecx, [ebp - 0x81c]
call fcn.004039c0
push eax
lea ecx, [ebp - 0x81c]
call fcn.0042bc8e
push 0x450390
lea ecx, [ebp - 0x7f4]
call fcn.0042c4a6
jmp 0x402f77
lea ecx, [ebp - 0x81c]
call fcn.00411090
mov dword [ebp - 0x800], eax
cmp dword [ebp - 0x800], 0
je 0x403437
lea ecx, [ebp - 0x800]
push ecx
lea ecx, [ebp - 0x81c]
call fcn.004110b0
push eax
lea ecx, [ebp - 0x7e0]
call fcn.0042c456
mov dword [ebp - 0x7f8], 0
mov edx, dword [ebp - 0x7f8]
mov dword [ebp - 0x7fc], edx
mov eax, dword [ebp - 0x7f8]
push eax
push 0x2c
lea ecx, [ebp - 0x7e0]
call fcn.0042c6cb
mov dword [ebp - 0x7fc], eax
mov ecx, dword [ebp - 0x7fc]
sub ecx, dword [ebp - 0x7f8]
push ecx
mov edx, dword [ebp - 0x7f8]
push edx
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x7e0]
call fcn.0042ae80
mov dword [ebp - 0x84c], eax
mov ecx, dword [ebp - 0x84c]
mov dword [ebp - 0x850], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x850]
push edx
lea ecx, [ebp - 0x7ec]
call fcn.0042c456
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x828]
call fcn.0042c31d
lea ecx, [ebp - 0x7ec]
call fcn.0042b373
lea ecx, [ebp - 0x7ec]
call fcn.0042b327
lea eax, [ebp - 0x7ec]
push eax
mov ecx, dword [ebp - 0x838]
add ecx, 0x3bb8
call fcn.00403a60
mov ecx, dword [ebp - 0x7ec]
push ecx
push str.Add_network_port_name:__s
call fcn.00401000
add esp, 8
mov edx, dword [ebp - 0x7fc]
add edx, 1
mov dword [ebp - 0x7f8], edx
mov eax, dword [ebp - 0x7f8]
push eax
push 0x2c
lea ecx, [ebp - 0x7e0]
call fcn.0042c6cb
mov dword [ebp - 0x7fc], eax
mov ecx, dword [ebp - 0x7fc]
sub ecx, dword [ebp - 0x7f8]
push ecx
mov edx, dword [ebp - 0x7f8]
push edx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x7e0]
call fcn.0042ae80
mov dword [ebp - 0x854], eax
mov ecx, dword [ebp - 0x854]
mov dword [ebp - 0x858], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x858]
push edx
lea ecx, [ebp - 0x7ec]
call fcn.0042c456
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x82c]
call fcn.0042c31d
lea ecx, [ebp - 0x7ec]
call fcn.0042b373
lea ecx, [ebp - 0x7ec]
call fcn.0042b327
lea eax, [ebp - 0x7ec]
push eax
mov ecx, dword [ebp - 0x838]
add ecx, 0x3bcc
call fcn.00403a60
mov ecx, dword [ebp - 0x7ec]
push ecx
push 0x447a4c
call fcn.00401000
add esp, 8
mov edx, dword [ebp - 0x7fc]
add edx, 1
mov dword [ebp - 0x7f8], edx
mov eax, dword [ebp - 0x7f8]
push eax
push 0x2c
lea ecx, [ebp - 0x7e0]
call fcn.0042c6cb
mov dword [ebp - 0x7fc], eax
mov ecx, dword [ebp - 0x7fc]
sub ecx, dword [ebp - 0x7f8]
push ecx
mov edx, dword [ebp - 0x7f8]
push edx
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x7e0]
call fcn.0042ae80
mov dword [ebp - 0x85c], eax
mov ecx, dword [ebp - 0x85c]
mov dword [ebp - 0x860], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x860]
push edx
lea ecx, [ebp - 0x7ec]
call fcn.0042c456
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x830]
call fcn.0042c31d
lea ecx, [ebp - 0x7ec]
call fcn.0042b373
lea ecx, [ebp - 0x7ec]
call fcn.0042b327
lea eax, [ebp - 0x7ec]
push eax
mov ecx, dword [ebp - 0x838]
add ecx, 0x3be0
call fcn.00403a60
mov ecx, dword [ebp - 0x7ec]
push ecx
push str.Add_network_port_registry_path_:__s
call fcn.00401000
add esp, 8
mov edx, dword [ebp - 0x7fc]
add edx, 1
mov dword [ebp - 0x7f8], edx
lea ecx, [ebp - 0x7e0]
call fcn.00403a90
push eax
mov eax, dword [ebp - 0x7f8]
push eax
lea ecx, [ebp - 0x834]
push ecx
lea ecx, [ebp - 0x7e0]
call fcn.0042ae80
mov dword [ebp - 0x864], eax
mov edx, dword [ebp - 0x864]
mov dword [ebp - 0x868], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x868]
push eax
lea ecx, [ebp - 0x7ec]
call fcn.0042c456
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x834]
call fcn.0042c31d
lea ecx, [ebp - 0x7ec]
call fcn.0042b373
lea ecx, [ebp - 0x7ec]
call fcn.0042b327
lea ecx, [ebp - 0x7ec]
push ecx
mov ecx, dword [ebp - 0x838]
add ecx, 0x3bf4
call fcn.00403a60
mov edx, dword [ebp - 0x7ec]
push edx
push str.Add_network_host_value_:__s
call fcn.00401000
add esp, 8
jmp 0x4030fb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7f4]
call fcn.0042c31d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7ec]
call fcn.0042c31d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7e0]
call fcn.0042c31d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x81c]
call fcn.0042bbc6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret