Function at 0x10004e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10006a38
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 0x1000a3c8
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 0x1000a3c8
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 0x1000a3c8
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 0x4ee
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a3c8
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 0x4f2
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a3c8
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 0x4f5
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a3c8
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 0x503
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a3c8
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 0x504
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a3c8
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 0x505
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a3c8
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 0x506
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a3c8
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 0x507
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a3c8
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 0x508
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a3c8
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 0x1000a3cc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
pop esi
je 0x1000511a
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x1000a510
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.100054ac
lea ecx, [esp + 4]
mov byte [esp + 0x24], 0
call fcn.10005314
lea ecx, [esp]
mov dword [esp + 0x24], 0xffffffff
call fcn.10005314
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret