Function at 0x403808
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b9f4
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.0043d026
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7e0]
call fcn.004044f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7ec]
call fcn.004044f0
mov byte [ebp - 4], 2
mov dword [ebp - 0x7fc], 0
mov dword [ebp - 0x7f8], 0
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3cf0
call fcn.00404540
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3d04
call fcn.00404540
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3d18
call fcn.00404540
lea ecx, [ebp - 0x81c]
call fcn.0043d065
mov eax, dword [ebp - 0x83c]
add eax, 0x1780
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.004044f0
mov byte [ebp - 4], 3
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7f0], 0
jmp 0x40390d
mov edx, dword [ebp - 0x7f0]
add edx, 1
mov dword [ebp - 0x7f0], edx
mov eax, dword [ebp - 0x7f0]
cmp eax, dword [ebp - 0x7e4]
jge 0x403a71
mov ecx, dword [ebp - 0x7f0]
movsx edx, byte [ebp + ecx - 0x7dc]
test edx, edx
je 0x40398e
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.0043c092
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.0043d8dc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x824]
call fcn.0043d7a3
jmp 0x403a6c
push 0x467a00
lea eax, [ebp - 0x7f4]
push eax
call fcn.00404690
and eax, 0xff
test eax, eax
je 0x403a5c
push 0
push 0x3d
lea ecx, [ebp - 0x7f4]
call fcn.0043dc78
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.0043c294
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.0043d8dc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x828]
call fcn.0043d7a3
lea ecx, [ebp - 0x7f4]
call fcn.0043c826
lea ecx, [ebp - 0x7f4]
call fcn.0043c7da
mov edx, dword [ebp - 0x7f4]
push edx
push 0x45cc84
call fcn.00401000
add esp, 8
lea eax, [ebp - 0x7f4]
push eax
lea ecx, [ebp - 0x81c]
call fcn.004045c0
push eax
lea ecx, [ebp - 0x81c]
call fcn.0043d162
push 0x467a04
lea ecx, [ebp - 0x7f4]
call fcn.0043d92c
jmp 0x4038fe
lea ecx, [ebp - 0x81c]
call fcn.004062c0
mov dword [ebp - 0x800], eax
cmp dword [ebp - 0x800], 0
je 0x403dca
lea ecx, [ebp - 0x800]
push ecx
lea ecx, [ebp - 0x81c]
call fcn.0041d910
push eax
lea ecx, [ebp - 0x7e0]
call fcn.0043d8dc
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.0043dc78
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.0043c2b7
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.0043d8dc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x82c]
call fcn.0043d7a3
lea ecx, [ebp - 0x7ec]
call fcn.0043c826
lea ecx, [ebp - 0x7ec]
call fcn.0043c7da
lea eax, [ebp - 0x7ec]
push eax
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3cf0
call fcn.00404660
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.0043dc78
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.0043c2b7
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.0043d8dc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x830]
call fcn.0043d7a3
lea ecx, [ebp - 0x7ec]
call fcn.0043c826
lea ecx, [ebp - 0x7ec]
call fcn.0043c7da
lea eax, [ebp - 0x7ec]
push eax
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3d04
call fcn.00404660
mov ecx, dword [ebp - 0x7ec]
push ecx
push 0x45ccb8
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.0043dc78
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.0043c2b7
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.0043d8dc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x834]
call fcn.0043d7a3
lea ecx, [ebp - 0x7ec]
call fcn.0043c826
lea ecx, [ebp - 0x7ec]
call fcn.0043c7da
lea eax, [ebp - 0x7ec]
push eax
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3d18
call fcn.00404660
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.00404570
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.0043c2b7
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.0043d8dc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x838]
call fcn.0043d7a3
lea ecx, [ebp - 0x7ec]
call fcn.0043c826
lea ecx, [ebp - 0x7ec]
call fcn.0043c7da
lea edx, [ebp - 0x7ec]
push edx
mov ecx, dword [ebp - 0x83c]
add ecx, 0x3d2c
call fcn.00404660
mov eax, dword [ebp - 0x7ec]
push eax
push str.Add_network_host_value_:__s
call fcn.00401000
add esp, 8
jmp 0x403a82
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7f4]
call fcn.0043d7a3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7ec]
call fcn.0043d7a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7e0]
call fcn.0043d7a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x81c]
call fcn.0043d09a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret