Function at 0x42e3e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x49208b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xaac
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0x32
call fcn.00430b00
mov ecx, dword [esi + 0xd8]
lea edx, [esp + 0x1c]
push edx
mov ebp, eax
mov eax, dword [ecx]
lea edx, [esp + 0x228]
push edx
call dword [eax + 0x30]
test eax, eax
je 0x42e4d8
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
jle 0x42e4d8
lea eax, [ebp + 0x108]
lea ebx, [esp + 0x224]
mov dword [esp + 0x20], eax
mov cl, byte [ebx + 0x2b]
lea eax, [ebx + 4]
test cl, cl
je 0x42e476
lea edi, [ebp + 0xdc]
mov ecx, 0xb
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x42e4c0
push str.BKGROUND
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42e49a
lea edi, [ebp + 0x1e4]
mov ecx, 0xb
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x42e4c0
cmp dword [esp + 0x18], 5
jge 0x42e4c0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov edi, eax
inc edx
mov ecx, 0xb
mov esi, ebx
add eax, 0x2c
mov dword [esp + 0x18], edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
add ebx, 0x2c
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x42e45b
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0xd8]
lea eax, [ebp + 0x10]
push eax
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esi + 0xd8]
lea eax, [ebp + 0x210]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.C:Secure1000Inspector.ini
push 0
push str.SIMULATOR
push str.SOFTWARE
call esi
test eax, eax
je 0x42e5f4
push str.C:Secure1000Inspector.ini
push 0
push str.SIMULATOR_CONFIG
push str.SOFTWARE
call esi
test eax, eax
jne 0x42e5f4
push 0x4f11f4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0x3424]
lea edx, [esp + 0x24]
push ecx
push str.INSERT_INTO_T_SystemInfo_VALUES__s__SFO__TERM_1_1000_3.02.01_
push edx
mov dword [esp + 0xad0], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x24]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call ebx
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x42e59f
push esi
push edi
lea ecx, [esp + 0x2c]
push 0xffffffffffffffff
push ecx
push 0
push 0
call ebx
mov esi, dword [esp + 0x10]
push edi
mov eax, dword [esi + 0xd4]
push eax
mov edx, dword [eax]
call dword [edx + 0xe0]
test eax, eax
jne 0x42e5c6
mov eax, dword [esi + 0xd4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
push str.C:Secure1000Inspector.ini
push 0x4ad350
push str.SIMULATOR_CONFIG
push str.SOFTWARE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x14]
mov dword [esp + 0xac4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x10]
lea eax, [ebp + 0x3424]
push 0
push eax
mov ecx, dword [esi + 0xd8]
mov edx, dword [ecx]
call dword [edx + 0x38]
test eax, eax
setne al
test al, al
mov byte [esi + 0xdc], al
je 0x42e673
mov ecx, esi
lea edi, [ebp + 0x343d]
xor eax, eax
lea edx, [ecx + 0xe4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea edi, [ebp + 0x3444]
lea edx, [ecx + 0xec]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xabc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xab8
ret