Function at 0x100050b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10006f58
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 fcn.1000589a
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0
call fcn.1000589a
lea eax, [esp + 4]
mov ecx, esi
push eax
push 0x4de
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a154
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 0x1000a154
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 0x1000a154
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 0x1000a154
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 0x1000a154
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 0x1000a154
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 0x1000a154
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 0x4ef
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a154
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 0x4f7
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a154
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 0x4f8
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a154
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 0x4f9
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a154
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 0x4fa
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a154
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 0x1000a158
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
pop esi
je 0x1000534a
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
push 0x1000a21c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.10005a1a
lea ecx, [esp + 4]
mov byte [esp + 0x24], 0
call fcn.10005864
lea ecx, [esp]
mov dword [esp + 0x24], 0xffffffff
call fcn.10005864
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret