Function at 0x10005770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10007588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 4]
mov ecx, esi
push eax
push 0x4de
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 4]
mov ecx, esi
push edx
push 0x4e0
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 4]
push ecx
push 0x4e8
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 4]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 4]
mov ecx, esi
push eax
push 0x4ed
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 4]
mov ecx, esi
push edx
push 0x4df
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 4]
push ecx
push 0x4e2
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 4]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 4]
mov ecx, esi
push eax
push 0x4e9
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 4]
mov ecx, esi
push edx
push 0x4ee
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 4]
push ecx
push 0x4f1
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 4]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 4]
mov ecx, esi
push eax
push 0x4f2
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 4]
mov ecx, esi
push edx
push 0x4f3
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 4]
push ecx
push 0x4f4
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000c054
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 4]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CStdioFile::CStdioFile
push 0
push 0x1002
mov byte [esp + 0x30], 2
push 0x1000c058
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
pop esi
je 0x10005a0a
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x1000c1c0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.10005f2c
lea ecx, [esp + 4]
mov byte [esp + 0x24], 0
call fcn.10005d94
lea ecx, [esp]
mov dword [esp + 0x24], 0xffffffff
call fcn.10005d94
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret