Function at 0x43fc90
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4930e6
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
push edi
mov edi, dword [esp + 0xb8]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x4402ab
cmp dword [edi + 0x20], ebx
je 0x4402ab
mov eax, dword [esi]
push ebp
call dword [eax + 0x60]
lea ecx, [esi + 0xa0]
call sub.MFC42.DLL_CImageList::DeleteImageList
lea ecx, [esi + 0xa8]
call sub.MFC42.DLL_CImageList::DeleteImageList
lea ecx, [esi + 0xb0]
call sub.MFC42.DLL_CImageList::DeleteImageList
call fcn.00434130
push 0xbb8
push 0x50002800
push edi
mov ecx, esi
call sub.MFC42.DLL_CToolBar::Create
mov ecx, dword [esp + 0xc0]
xor eax, eax
xor ebp, ebp
xor edi, edi
cmp ecx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0xa8], eax
jl 0x43fee3
cmp ecx, 2
jle 0x43fe05
cmp ecx, 3
jne 0x43fee3
lea ecx, [esp + 0x58]
push 0x13
push ecx
mov ecx, esi
mov dword [esp + 0x60], 0x7d0
mov dword [esp + 0x64], 0x7d1
mov dword [esp + 0x68], 0x7d2
mov dword [esp + 0x6c], 0x7d3
mov dword [esp + 0x70], 0x7d4
mov dword [esp + 0x74], 0x7d5
mov dword [esp + 0x78], 0x7d6
mov dword [esp + 0x7c], 0x7d8
mov dword [esp + 0x80], 0x7d7
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x7d9
mov dword [esp + 0xa0], 0x7da
mov dword [esp + 0xa4], 0x7dd
mov dword [esp + 0xa8], 0x7db
call sub.MFC42.DLL_CToolBar::SetButtons
mov ebp, 0x99
mov ebx, 0x9a
mov dword [esp + 0x18], 0x9f
mov edi, 0x3c
jmp 0x43fee1
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x43fe17
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x43fe19
xor eax, eax
cmp dword [eax + 0x8f4], 1
jne 0x43fe7c
lea eax, [esp + 0x1c]
push 7
push eax
mov ecx, esi
mov dword [esp + 0x24], 0x898
mov dword [esp + 0x28], 0x899
mov dword [esp + 0x2c], 0x89a
mov dword [esp + 0x30], 0x89c
mov dword [esp + 0x34], 0x89b
mov dword [esp + 0x38], 0x7da
mov dword [esp + 0x3c], 0x7db
call sub.MFC42.DLL_CToolBar::SetButtons
mov ebp, 0xa4
mov ebx, 0xa2
mov dword [esp + 0x18], 0xa3
jmp 0x43fedc
lea ecx, [esp + 0x38]
push 8
push ecx
mov ecx, esi
mov dword [esp + 0x40], 0x7d0
mov dword [esp + 0x44], 0x8fc
mov dword [esp + 0x48], 0x8fd
mov dword [esp + 0x4c], 0x8088
mov dword [esp + 0x50], 0x89a
mov dword [esp + 0x54], 0x7dc
mov dword [esp + 0x58], 0x7da
mov dword [esp + 0x5c], 0x7db
call sub.MFC42.DLL_CToolBar::SetButtons
mov ebp, 0xa8
mov ebx, 0xa9
mov dword [esp + 0x18], 0xa7
mov edi, 0x48
xor eax, eax
mov edx, 0x3f
mov dword [esp + 0xa8], eax
mov ecx, 0x46
push edx
lea eax, [edi + 8]
push edi
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CToolBar::SetSizes
push 0
push 0x14
push 0x18
push 0x3f
push edi
lea ecx, [esi + 0xa0]
call sub.MFC42.DLL_CImageList::Create_1
push 0
push 0x14
push 0x18
push 0x3f
push edi
lea ecx, [esi + 0xa8]
call sub.MFC42.DLL_CImageList::Create_1
push 0
push 0x14
push 0x18
push 0x3f
push edi
lea ecx, [esi + 0xb0]
call sub.MFC42.DLL_CImageList::Create_1
xor eax, eax
mov dword [esp + 0x10], 0x497f70
mov dword [esp + 0x14], eax
mov edi, dword [sym.imp.USER32.dll_LoadBitmapA]
cmp ebp, eax
mov dword [esp + 0xb4], eax
jbe 0x43ff9b
and ebp, 0xffff
push ebp
push 2
push ebp
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebp, dword [esp + 0x14]
mov edx, dword [esi + 0xa4]
lea eax, [esp + 0x10]
push 0
neg eax
sbb eax, eax
and eax, ebp
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push eax
push edx
call ebp
jmp 0x43ffa1
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
test ebx, ebx
jbe 0x43ffe4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
and ebx, 0xffff
push ebx
push 2
push ebx
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push 0
and eax, ecx
push eax
mov eax, dword [esi + 0xac]
push eax
call ebp
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x44002c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, ebx
and eax, 0xffff
push eax
push 2
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0xb4]
lea eax, [esp + 0x10]
push 0
neg eax
sbb eax, eax
and eax, edi
push eax
push ecx
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea eax, [esi + 0xa0]
pop ebp
test eax, eax
je 0x440043
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x430
push edx
call edi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
lea eax, [esi + 0xa8]
test eax, eax
je 0x44006a
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 0x20]
push 0
push 0x434
push eax
call edi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
lea eax, [esi + 0xb0]
test eax, eax
je 0x44008b
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x436
push ecx
call edi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov edx, dword [esi + 0x20]
push 1
push 0
push 0x454
push edx
call edi
call fcn.00430b00
mov ecx, eax
call fcn.00431e40
test esi, esi
mov dword [esi + 0xb8], eax
jne 0x4400c8
xor eax, eax
jmp 0x4400cb
mov eax, dword [esi + 0x20]
push 0
push eax
mov eax, dword [esi + 0x20]
push 0x425
push eax
call edi
mov eax, dword [esp + 0xbc]
cmp eax, 1
jne 0x44010b
mov ecx, dword [esi + 0x20]
push eax
push 0x899
push 0x404
push ecx
call edi
mov edx, dword [esi + 0x20]
push 1
push 0x89a
push 0x404
push edx
jmp 0x4401fc
cmp eax, 2
jne 0x440137
mov eax, dword [esi + 0x20]
push 1
push 0x899
push 0x404
push eax
call edi
mov ecx, dword [esi + 0x20]
push 1
push 0x89a
push 0x404
push ecx
jmp 0x4401fc
cmp eax, 3
jne 0x4401fe
cmp dword [0x4f1a84], 3
jne 0x44015b
mov edx, dword [esi + 0x20]
push 1
push 0x7da
push 0x404
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.C:Secure1000Inspector.ini
push 0
push str.SIMULATOR
push str.SOFTWARE
call ebx
test eax, eax
jne 0x4401d5
mov eax, dword [0x4f1a84]
test eax, eax
jne 0x44019f
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x440193
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x440195
xor eax, eax
mov cl, byte [eax + 0x8f1]
test cl, cl
jne 0x4401d5
mov eax, dword [esi + 0x20]
push 1
push 0x7d4
push 0x404
push eax
call edi
mov ecx, dword [esi + 0x20]
push 1
push 0x7d6
push 0x404
push ecx
call edi
mov edx, dword [esi + 0x20]
push 1
push 0x7d5
push 0x404
push edx
call edi
push str.C:Secure1000Inspector.ini
push 0
push str.REPLAY_NEXT_ONLY
push str.SOFTWARE
call ebx
test eax, eax
je 0x4401fe
mov eax, dword [esi + 0x20]
push 1
push 0x7d5
push 0x404
push eax
call edi
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x440210
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x440212
xor eax, eax
mov ecx, dword [eax + 0x8f4]
mov ebx, 2
cmp ecx, ebx
jne 0x440233
mov eax, dword [esi + 0x20]
push 1
push 0x7da
push 0x404
push eax
call edi
mov ecx, dword [esi + 0x20]
push 1
push 0x7dd
push 0x404
push ecx
call edi
mov ecx, esi
call fcn.004402d0
mov ecx, esi
call fcn.00440340
mov ecx, esi
call fcn.004403c0
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x44026c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x44026e
xor eax, eax
cmp dword [eax + 0x8f4], ebx
je 0x440288
mov eax, dword [esi + 0x20]
push 1
push 0x7d0
push 0x404
push eax
call edi
mov byte [esi + 0xbc], 0
mov dword [esp + 0xc], 0x497f98
lea ecx, [esp + 0xc]
mov dword [esp + 0xb0], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 8