Function at 0x4035a6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444e5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x860
mov dword [ebp - 0x83c], ecx
push 0xa
lea ecx, [ebp - 0x81c]
call fcn.00436703
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7e0]
call fcn.00404460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7ec]
call fcn.00404460
mov byte [ebp - 4], 2
mov dword [ebp - 0x7fc], 0
mov dword [ebp - 0x7f8], 0
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3bdc
call fcn.004044b0
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3bf0
call fcn.004044b0
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3c04
call fcn.004044b0
lea ecx, [ebp - 0x81c]
call fcn.00436742
mov eax, dword [ebp - 0x83c]
add eax, 0x1690
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.00404460
mov byte [ebp - 4], 3
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7f0], 0
jmp 0x4036ab
mov edx, dword [ebp - 0x7f0]
add edx, 1
mov dword [ebp - 0x7f0], edx
mov eax, dword [ebp - 0x7f0]
cmp eax, dword [ebp - 0x7e4]
jge 0x40380f
mov ecx, dword [ebp - 0x7f0]
movsx edx, byte [ebp + ecx - 0x7dc]
test edx, edx
je 0x40372c
mov eax, dword [ebp - 0x7f0]
mov cl, byte [ebp + eax - 0x7dc]
push ecx
lea edx, [ebp - 0x7f4]
push edx
lea eax, [ebp - 0x824]
push eax
call fcn.00435891
mov dword [ebp - 0x840], eax
mov ecx, dword [ebp - 0x840]
mov dword [ebp - 0x844], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x844]
push edx
lea ecx, [ebp - 0x7f4]
call fcn.00437159
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x824]
call fcn.00437020
jmp 0x40380a
push 0x45e87c
lea eax, [ebp - 0x7f4]
push eax
call fcn.00404640
and eax, 0xff
test eax, eax
je 0x4037fa
push 0
push 0x3d
lea ecx, [ebp - 0x7f4]
call fcn.004373ce
mov dword [ebp - 0x7e8], eax
mov ecx, dword [ebp - 0x7e8]
add ecx, 1
push ecx
lea edx, [ebp - 0x828]
push edx
lea ecx, [ebp - 0x7f4]
call fcn.004359d9
mov dword [ebp - 0x848], eax
mov eax, dword [ebp - 0x848]
mov dword [ebp - 0x84c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84c]
push ecx
lea ecx, [ebp - 0x7f4]
call fcn.00437159
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x828]
call fcn.00437020
lea ecx, [ebp - 0x7f4]
call fcn.00435f42
lea ecx, [ebp - 0x7f4]
call fcn.00435ef6
mov edx, dword [ebp - 0x7f4]
push edx
push 0x454c2c
call fcn.00401000
add esp, 8
lea eax, [ebp - 0x7f4]
push eax
lea ecx, [ebp - 0x81c]
call fcn.004045b0
push eax
lea ecx, [ebp - 0x81c]
call fcn.0043683f
push 0x45e880
lea ecx, [ebp - 0x7f4]
call fcn.004371a9
jmp 0x40369c
lea ecx, [ebp - 0x81c]
call fcn.00404590
mov dword [ebp - 0x800], eax
cmp dword [ebp - 0x800], 0
je 0x403b68
lea ecx, [ebp - 0x800]
push ecx
lea ecx, [ebp - 0x81c]
call fcn.004045d0
push eax
lea ecx, [ebp - 0x7e0]
call fcn.00437159
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.004373ce
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.004359fc
mov dword [ebp - 0x850], eax
mov ecx, dword [ebp - 0x850]
mov dword [ebp - 0x854], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x854]
push edx
lea ecx, [ebp - 0x7ec]
call fcn.00437159
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x82c]
call fcn.00437020
lea ecx, [ebp - 0x7ec]
call fcn.00435f42
lea ecx, [ebp - 0x7ec]
call fcn.00435ef6
lea eax, [ebp - 0x7ec]
push eax
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3bdc
call fcn.00404560
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.004373ce
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.004359fc
mov dword [ebp - 0x858], eax
mov ecx, dword [ebp - 0x858]
mov dword [ebp - 0x85c], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x85c]
push edx
lea ecx, [ebp - 0x7ec]
call fcn.00437159
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x830]
call fcn.00437020
lea ecx, [ebp - 0x7ec]
call fcn.00435f42
lea ecx, [ebp - 0x7ec]
call fcn.00435ef6
lea eax, [ebp - 0x7ec]
push eax
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3bf0
call fcn.00404560
mov ecx, dword [ebp - 0x7ec]
push ecx
push 0x454c60
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.004373ce
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 - 0x834]
push eax
lea ecx, [ebp - 0x7e0]
call fcn.004359fc
mov dword [ebp - 0x860], eax
mov ecx, dword [ebp - 0x860]
mov dword [ebp - 0x864], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x864]
push edx
lea ecx, [ebp - 0x7ec]
call fcn.00437159
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x834]
call fcn.00437020
lea ecx, [ebp - 0x7ec]
call fcn.00435f42
lea ecx, [ebp - 0x7ec]
call fcn.00435ef6
lea eax, [ebp - 0x7ec]
push eax
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3c04
call fcn.00404560
mov ecx, dword [ebp - 0x7ec]
push ecx
push str.Add_network_port_registry_path_:__s
call fcn.00401000
add esp, 8
lea ecx, [ebp - 0x7e0]
call fcn.00404600
mov dword [ebp - 0x820], eax
mov edx, dword [ebp - 0x7fc]
add edx, 1
mov dword [ebp - 0x7f8], edx
mov eax, dword [ebp - 0x820]
push eax
mov ecx, dword [ebp - 0x7f8]
push ecx
lea edx, [ebp - 0x838]
push edx
lea ecx, [ebp - 0x7e0]
call fcn.004359fc
mov dword [ebp - 0x868], eax
mov eax, dword [ebp - 0x868]
mov dword [ebp - 0x86c], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x86c]
push ecx
lea ecx, [ebp - 0x7ec]
call fcn.00437159
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x838]
call fcn.00437020
lea ecx, [ebp - 0x7ec]
call fcn.00435f42
lea ecx, [ebp - 0x7ec]
call fcn.00435ef6
lea edx, [ebp - 0x7ec]
push edx
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3c18
call fcn.00404560
mov eax, dword [ebp - 0x7ec]
push eax
push str.Add_network_host_value_:__s
call fcn.00401000
add esp, 8
jmp 0x403820
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7f4]
call fcn.00437020
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7ec]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7e0]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x81c]
call fcn.00436777
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret