Function at 0x10003840
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
mov esi, dword [esp + 0x114]
push edi
push 0x10011194
push 0x100
push esi
push str.EDIC
mov edi, 1
push str.Interface
push str.Configuration
mov dword [esp + 0x28], edi
call ebp
push 0x100
lea eax, [esp + 0x18]
push esi
push eax
call fcn.10005340
lea ecx, [esp + 0x20]
push 0x3a
push ecx
mov byte [esp + 0x127], 0
call fcn.10005710
xor ebx, ebx
add esp, 0x14
cmp eax, ebx
je 0x100038ab
mov byte [eax], bl
lea edx, [esp + 0x14]
push str.REMO2
push edx
call fcn.1000b100
add esp, 8
test eax, eax
je 0x100038ed
lea eax, [esp + 0x14]
push str.RMOT2
push eax
call fcn.1000b100
add esp, 8
test eax, eax
je 0x100038ed
lea ecx, [esp + 0x14]
push str.REMOTE
push ecx
call fcn.1000b100
add esp, 8
test eax, eax
jne 0x10003930
push 0x10011194
lea edx, [esp + 0x18]
push 0x100
push edx
push 0x1000d82c
push str.ForwardPort
push 0x1000d81c
call ebp
cmp byte [esp + 0x14], 0x2d
jne 0x10003930
push 0x10011194
push 0x100
push esi
push str.EDIC
push str.Interface2
push str.Configuration
call ebp
push esi
push str.EDIC
call fcn.1000b100
add esp, 8
test eax, eax
je 0x1000395a
push esi
push str.EDICC
call fcn.1000b100
add esp, 8
mov dword [0x100112bc], edi
test eax, eax
jne 0x10003960
mov dword [0x100112bc], ebx
lea edi, [esi + 0x100]
push 0x10011194
push 0x100
push edi
push 0x1000d81c
push str.NetworkProtocol
push str.Configuration
call ebp
push 0x1000d81c
push edi
call fcn.1000b100
add esp, 8
test eax, eax
je 0x10003998
mov dword [esp + 0x10], ebx
push 0x10011194
lea eax, [esi + 0x200]
push 0x100
push eax
push str.6801
push str.Port
push edi
call ebp
lea edi, [esi + 0x300]
push 0x10011194
push 0x100
push edi
push 0x1000d7e4
push str.TracePath
push str.Configuration
call ebp
push 0x10011194
lea ecx, [esi + 0x400]
push 0x100
push ecx
push 0x1000d7e4
push str.SimulationPath
push str.Configuration
call ebp
lea ebx, [esi + 0x500]
push 0xff
push edi
push ebx
mov byte [esi + 0x5ff], 0
call fcn.10005340
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + esi + 0x4ff], 0x5c
je 0x10003a4e
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, 0xff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, ecx
push edx
push 0x1000d714
push ebx
call fcn.10005210
add esp, 0xc
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0xff
sub eax, ecx
push eax
push str.nmsifh.net
push ebx
call fcn.10005210
lea eax, [esi + 0x300]
lea ebx, [esi + 0x600]
push 0xff
push eax
push ebx
mov byte [esi + 0x6ff], 0
call fcn.10005340
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + esi + 0x5ff], 0x5c
je 0x10003ac7
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, 0xff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, ecx
push edx
push 0x1000d714
push ebx
call fcn.10005210
add esp, 0xc
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0xff
sub eax, ecx
push eax
push str.nmsifho.net
push ebx
call fcn.10005210
add esp, 0xc
lea ecx, [esp + 0x14]
push 0x10011194
push 0x100
push ecx
push 0x1000d7ac
push str.SystemTraceNet
push str.Configuration
call ebp
lea edx, [esp + 0x14]
push edx
call fcn.100056ec
add esp, 4
cmp eax, 7
ja case.0x10003b20.7
mov ecx, 0x31
jmp dword [eax*4 + 0x10003cf0]
mov dword [esi + 0x700], 0
jmp 0x10003b79
mov dword [esi + 0x700], 0x10
jmp 0x10003b79
mov dword [esi + 0x700], 0x20
jmp 0x10003b79
mov dword [esi + 0x700], 0x30
jmp 0x10003b79
mov dword [esi + 0x700], 1
jmp 0x10003b79
mov dword [esi + 0x700], ecx
mov dword [esi + 0x700], ecx
mov dword [esi + 0x700], 0xffff
push 0x10011194
lea eax, [esp + 0x18]
push 0x100
push eax
push 0x1000d7ac
push str.IfhTrace
push str.Configuration
call ebp
lea ecx, [esp + 0x14]
push ecx
call fcn.100056ec
add esp, 4
lea edx, [esp + 0x14]
mov dword [esi + 0x704], eax
push 0x10011194
push 0x100
push edx
push 0x1000d7ac
push str.SystemTraceIfh
push str.Configuration
call ebp
lea eax, [esp + 0x14]
push eax
call fcn.100056ec
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x708], eax
push 0x10011194
push 0x100
push ecx
push 0x1000d7ac
push str.Simulation
push str.Configuration
call ebp
lea edx, [esp + 0x14]
push edx
call fcn.100056ec
add esp, 4
mov dword [esi + 0x70c], eax
lea eax, [esp + 0x14]
push 0x10011194
push 0x100
push eax
push 0x1000d7ac
push str.UBattHandling
push str.Configuration
call ebp
lea ecx, [esp + 0x14]
push ecx
call fcn.100056ec
add esp, 4
lea edx, [esp + 0x14]
mov dword [esi + 0x710], eax
push 0x10011194
push 0x100
push edx
push 0x1000d7ac
push str.IgnitionHandling
push str.Configuration
call ebp
lea eax, [esp + 0x14]
push eax
call fcn.100056ec
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x714], eax
push 0x10011194
push 0x100
push ecx
push 0x1000d7ac
push str.Autostart
push str.Configuration
call ebp
lea edx, [esp + 0x14]
push edx
call fcn.100056ec
add esp, 4
mov dword [esi + 0x718], eax
lea eax, [esp + 0x14]
push 0x10011194
push 0x100
push eax
push 0x1000d7ac
push str.IgnoreNotification
push str.Configuration
call ebp
lea ecx, [esp + 0x14]
push ecx
call fcn.100056ec
add esp, 4
mov dword [esi + 0x71c], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret