Function at 0x40af80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4331a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x10]
push edi
push eax
mov ecx, 0x442af0
call fcn.004022f0
push str.ancamcorder.ini
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.LEFT
push str.AUTOPOS_HISTORY
call edi
lea ecx, [esp + 0x10]
mov ebx, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
mov ecx, 0x442af0
push edx
call fcn.004022f0
push str.ancamcorder.ini
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], 1
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
push 0
push 0x4410b8
push str.AUTOPOS_HISTORY
call edi
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x442af0
call fcn.004022f0
push str.ancamcorder.ini
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x38], 2
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
push 0x3b4
push str.WIDTH
push str.AUTOPOS_HISTORY
call edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x20]
mov ecx, 0x442af0
push eax
call fcn.004022f0
mov dword [esp + 0x2c], 3
push str.ancamcorder.ini
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
push 0x2ac
push str.HEIGHT
push str.AUTOPOS_HISTORY
call edi
lea ecx, [esp + 0x1c]
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x225c]
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
je 0x40b124
mov edx, dword [esp + 0x10]
push 1
dec edx
push edi
push edx
jmp 0x40b200
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x2260]
mov edx, dword [esi + 0x20]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
je 0x40b14c
mov eax, dword [esp + 0x10]
push 1
inc eax
push edi
push eax
jmp 0x40b200
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x2264]
mov eax, dword [esi + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
je 0x40b174
mov ecx, dword [esp + 0x10]
dec edi
push 1
push edi
push ecx
jmp 0x40b200
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x2268]
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
je 0x40b199
mov edx, dword [esp + 0x10]
inc edi
push 1
push edi
push edx
jmp 0x40b200
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
cmp eax, 0x100
jne 0x40b209
cmp dword [ecx + 8], 0x25
jne 0x40b1b9
mov eax, dword [esp + 0x10]
push 1
push edi
push eax
push ebp
dec ebx
jmp 0x40b201
cmp eax, 0x100
jne 0x40b209
cmp dword [ecx + 8], 0x27
jne 0x40b1d2
mov ecx, dword [esp + 0x10]
push 1
push edi
push ecx
push ebp
inc ebx
jmp 0x40b201
cmp eax, 0x100
jne 0x40b209
cmp dword [ecx + 8], 0x26
jne 0x40b1ea
mov edx, dword [esp + 0x10]
push 1
push edi
push edx
dec ebp
jmp 0x40b200
cmp eax, 0x100
jne 0x40b209
cmp dword [ecx + 8], 0x28
jne 0x40b209
mov eax, dword [esp + 0x10]
push 1
push edi
push eax
inc ebp
push ebp
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4