Function at 0x41bf30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441eed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x74]
call fcn.0043fcd8
mov dword [ebp - 4], 0
push 0x456188
push 0
push str.PROFILER
push 0x4561a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x41bf8b
push str.c:_fidia_ws_ComProfiler.log
call fcn.0040f3b5
add esp, 4
mov dword [ebp - 0x78], eax
jmp 0x41bf92
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x58
call fcn.0041e210
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x74]
add ecx, 0x60
call fcn.0043fa26
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
add ecx, 0x64
call fcn.0043fa26
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x74]
mov dword [ecx], vtable.CSerialC1.0
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x40], 1
mov dword [0x45bae4], 2
mov dword [0x45bc30], 0
mov dword [0x45b6cc], 1
push str.38400
mov ecx, dword [ebp - 0x74]
add ecx, 0x60
call sub.MFC42.DLL_CString::operator_1
push 0x4561d0
mov ecx, dword [ebp - 0x74]
add ecx, 0x64
call sub.MFC42.DLL_CString::operator_1
mov dword [0x45b6e0], 0x1e
mov dword [0x45bc24], 0
mov eax, dword [ebp - 0x74]
mov word [eax + 0x54], 0
mov ecx, dword [ebp - 0x74]
mov word [ecx + 0x56], 0
push 0x4561d8
push 0x64
lea edx, [ebp - 0x70]
push edx
push str.19200
push 0x4561ec
push 0x4561f4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x60
call sub.MFC42.DLL_CString::operator_1
push 0x456200
push 0x64
lea ecx, [ebp - 0x70]
push ecx
push str.COM1
push str.COMPORT
push 0x45621c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0x64
call sub.MFC42.DLL_CString::operator_1
push 0x456228
push 0x64
lea eax, [ebp - 0x70]
push eax
push 0x456234
push str.LIVELLO
push 0x456240
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [0x45bae4], eax
push 0x45624c
push 0x64
lea edx, [ebp - 0x70]
push edx
push 0x456258
push str.THREADPRIO
push 0x456268
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x40], eax
push 0x456274
push 0x64
lea edx, [ebp - 0x70]
push edx
push 0x456280
push str.USAF2DRIVER
push 0x456290
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [0x45bc28], eax
push 0x45629c
push 0x64
lea ecx, [ebp - 0x70]
push ecx
push 0x4562a8
push str.USACHECKSUM
push 0x4562b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [0x45b6cc], eax
push 0x4562c4
push 0x64
lea eax, [ebp - 0x70]
push eax
push 0x4562d0
push str.VERBOSE
push 0x4562dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [0x45bc30], eax
push 0x4562e8
push 0x64
lea edx, [ebp - 0x70]
push edx
push 0x4562f4
push str.TESTMODE
push 0x456304
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [0x45bc24], eax
push 0x456310
push 0x64
lea ecx, [ebp - 0x70]
push ecx
push 0x45631c
push str.TESTSIZE
push 0x45632c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [0x45b6e0], eax
push str.Instanced_SerialC1
call fcn.0040f434
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret