Function at 0x40180c
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x415430
push 0xffffffffffffffff
push 0x466750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CStdioFile::CStdioFile
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CString::CString
mov bl, 1
push str.0000
mov ecx, 0x488490
mov byte [esp + 0x34], bl
mov byte [0x501df8], 0
mov byte [0x501ef8], 0
call sub.MFC42.DLL_CString::operator
mov eax, dword [0x488480]
push esi
push esi
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStdioFile::Open
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
je 0x41563d
lea ecx, [esp + 0xc]
push edi
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, 0x501ef8
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, 0x501df8
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::ReadString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edx, dword [esp + 0x10]
push edx
call ebp
add esp, 4
mov dword [0x50200c], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
mov ecx, dword [esp + 0x10]
push ecx
call ebp
add esp, 4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
mov dword [0x50204c], eax
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [0x4884a8]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [0x4848c8]
add esp, 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
mov ecx, dword [esp + 0x10]
push ecx
call ebp
add esp, 4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
mov dword [0x502030], eax
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [0x4884a0]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::ReadString
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [0x488498]
add esp, 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
mov ecx, dword [esp + 0x10]
push ecx
call ebp
add esp, 4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
mov dword [0x502034], eax
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
mov eax, dword [esp + 0x10]
push eax
call ebp
add esp, 4
lea ecx, [esp + 0x18]
mov dword [0x502060], eax
call sub.MFC42.DLL_CStdioFile::Close
xor esi, esi
pop edi
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push str.147258369
push str.SysPass
lea ecx, [esp + 0x18]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.0046150a
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00461456
lea edx, [esp + 0xc]
mov ecx, 0x48846c
push edx
call fcn.0046150a
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push str.0000
push str.Pass1
lea ecx, [esp + 0x18]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.0046150a
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00461456
lea edx, [esp + 0xc]
mov ecx, 0x488490
push edx
call fcn.0046150a
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push str.0000
push str.Pass2
lea ecx, [esp + 0x18]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call fcn.0046150a
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00461456
lea edx, [esp + 0xc]
mov ecx, 0x48848c
push edx
call fcn.0046150a
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x48466c
push 0x4847b0
lea ecx, [esp + 0x18]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 5
call fcn.0046150a
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00461456
mov edx, dword [esp + 0xc]
push edx
call ebp
add esp, 4
cmp eax, esi
mov dword [0x502038], eax
jne 0x415785
mov dword [0x502060], esi
mov dword [0x50204c], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00461456
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00461534
mov ecx, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret