Function at 0x40edd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42119b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x890
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x8a8], edi
mov dword [esp + 0x24], 0x4236c4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8a8], 1
mov word [esp + 0x28], di
mov word [esp + 0x2a], di
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x30]
mov byte [esp + 0x8a8], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x34]
mov byte [esp + 0x8a8], 3
call sub.MFC42.DLL_CString::CString_3
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_3
push 4
lea eax, [esp + 0x50]
push 4
push eax
mov byte [esp + 0x8bc], 4
call fcn.0041ff4b
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_3
push 4
lea ecx, [esp + 0x60]
push 4
push ecx
mov byte [esp + 0x8bc], 5
call fcn.0041ff4b
lea ecx, [esp + 0x98]
mov byte [esp + 0x8a8], 6
call sub.MFC42.DLL_CString::CString_3
xor edx, edx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x24], 0x425364
mov dword [esp + 0x70], edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x8b4]
lea eax, [esp + 0x14]
mov bl, 7
push eax
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x8ac], bl
mov byte [esp + 0x1e], 1
mov byte [esp + 0x1f], 1
call dword [edx + 0x14]
push 0x3d
mov ecx, eax
mov byte [esp + 0x8ac], 8
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
lea ecx, [esp + 0x14]
setne byte [esp + 0x13]
mov byte [esp + 0x8a8], bl
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x40efec
lea ecx, [esp + 0x98]
mov byte [esp + 0x8a8], 0xe
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 4
lea ecx, [esp + 0x5c]
push 4
push ecx
mov byte [esp + 0x8b8], 0xd
call fcn.0041ffcd
push sub.MFC42.DLL_CString::CString
push 4
lea edx, [esp + 0x4c]
push 4
push edx
mov byte [esp + 0x8b8], 0xc
call fcn.0041ffcd
lea ecx, [esp + 0x34]
mov byte [esp + 0x8a8], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x8a8], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8a8], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x4236c4
mov dword [esp + 0x8a8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40f4f0
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [eax]
push 0x43d468
push eax
call dword [sym.imp.MSVCRT.dll__mbsicoll]
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x40f0c5
lea ecx, [esp + 0x98]
mov byte [esp + 0x8a8], 0x14
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 4
lea edx, [esp + 0x5c]
push 4
push edx
mov byte [esp + 0x8b8], 0x13
call fcn.0041ffcd
push sub.MFC42.DLL_CString::CString
push 4
lea eax, [esp + 0x4c]
push 4
push eax
mov byte [esp + 0x8b8], 0x12
call fcn.0041ffcd
lea ecx, [esp + 0x34]
mov byte [esp + 0x8a8], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x8a8], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8a8], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x4236c4
mov dword [esp + 0x8a8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40f4f0
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [eax]
mov edx, dword [esp + 0x8b0]
lea ecx, [esp + 0xa0]
push 0x800
push ecx
push eax
push edx
push edi
mov byte [esp + 0x8bc], 0x15
call fcn.00401fe0
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x8a8], bl
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0xa0]
test al, al
mov eax, dword [esi]
je 0x40f213
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [eax]
lea edx, [esp + 0xa0]
push edx
push eax
mov eax, dword [esp + 0x8b8]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x8b4], 0x16
call fcn.00404b90
test al, al
lea ecx, [esp + 0x14]
mov byte [esp + 0x8a8], bl
sete byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x40f20c
lea ecx, [esp + 0x98]
mov byte [esp + 0x8a8], 0x1c
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 4
lea ecx, [esp + 0x5c]
push 4
push ecx
mov byte [esp + 0x8b8], 0x1b
call fcn.0041ffcd
push sub.MFC42.DLL_CString::CString
push 4
lea edx, [esp + 0x4c]
push 4
push edx
mov byte [esp + 0x8b8], 0x1a
call fcn.0041ffcd
lea ecx, [esp + 0x34]
mov byte [esp + 0x8a8], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x8a8], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8a8], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x4236c4
mov dword [esp + 0x8a8], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40f4f0
xor bl, bl
jmp 0x40f431
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov edi, dword [eax]
mov byte [esp + 0x8a8], 0x1d
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push edi
push str.LASTREP
push 0x43d45c
mov ecx, eax
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
lea ecx, [esp + 0x14]
mov byte [esp + 0x8a8], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [eax]
lea edi, [ebp + 0x184]
push 1
push 0
push eax
mov ecx, edi
mov byte [esp + 0x8b4], 0x1e
call fcn.00404130
test eax, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x8a8], bl
sete byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x40f3d0
lea ecx, [ebp + 0x1b0]
call fcn.004097f0
lea ecx, [ebp + 0x1b0]
mov word [esp + 0x28], ax
call fcn.00409810
mov word [esp + 0x2a], ax
mov eax, dword [ebp + 0x18c]
cmp eax, 4
mov dword [esp + 0x40], 4
jg 0x40f2d3
mov dword [esp + 0x40], eax
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x8ac], 0x1f
call fcn.0041f8b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x8a8], bl
call sub.MFC42.DLL_CString::CString
mov ecx, edi
call fcn.004046e0
push eax
lea ecx, [esp + 0x34]
call fcn.0041f8a4
mov eax, dword [esp + 0x40]
xor ebx, ebx
test eax, eax
jle 0x40f370
mov ecx, dword [ebp + 0x188]
mov edi, dword [ecx + ebx*4]
mov al, byte [edi + 0xbc]
test al, al
jne 0x40f335
dec dword [esp + 0x40]
jmp 0x40f367
lea edx, [edi + 4]
lea ecx, [esp + ebx*4 + 0x44]
push edx
call fcn.0041f8a4
push 0
mov ecx, edi
call fcn.00404820
mov ecx, edi
mov dword [esp + ebx*4 + 0x64], eax
call fcn.00403b90
mov dword [esp + ebx*4 + 0x74], eax
mov edi, dword [edi + 0x8c]
mov dword [esp + ebx*4 + 0x84], edi
mov eax, dword [esp + 0x40]
inc ebx
cmp ebx, eax
jl 0x40f31c
mov eax, dword [ebp + 0x314]
xor edx, edx
div dword [0x424810]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov dword [esp + 0x98], eax
mov eax, dword [esi]
call dword [eax + 0x38]
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x40f39f
inc dword [ebp + 0x340]
push 0xffffffffffffffff
push 0
push 0
push 0
push 1
push 1
push 0x7b3
lea ecx, [esp + 0x30]
mov dword [esp + 0xb8], 0
call sub.MFC42.DLL_CTime::CTime
mov edx, dword [eax]
mov bl, byte [esp + 0x1b]
mov dword [esp + 0x38], edx
jmp 0x40f409
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [ebp + 0x368]
lea ecx, [ebp + 0x360]
push eax
push edx
mov byte [esp + 0x8b0], 0x20
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x14]
mov byte [esp + 0x8a8], bl
call sub.MFC42.DLL_CString::CString
xor bl, bl
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x43ee00
push str.LASTREP
push 0x43d45c
mov ecx, eax
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
test bl, bl
je 0x40f453
mov bl, byte [esp + 0x1a]
xor edi, edi
cmp dword [esp + 0x40], edi
jle 0x40f453
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
call fcn.0040e5d0
test bl, bl
mov dword [esp + 0x20], eax
je 0x40f453
push edi
mov ecx, eax
call fcn.004048d0
lea ecx, [esp + 0x98]
mov byte [esp + 0x8a8], 0x26
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 4
lea eax, [esp + 0x5c]
push 4
push eax
mov byte [esp + 0x8b8], 0x25
call fcn.0041ffcd
push sub.MFC42.DLL_CString::CString
push 4
lea ecx, [esp + 0x4c]
push 4
push ecx
mov byte [esp + 0x8b8], 0x24
call fcn.0041ffcd
lea ecx, [esp + 0x34]
mov byte [esp + 0x8a8], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x8a8], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8a8], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x4236c4
mov dword [esp + 0x8a8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x8a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x89c
ret 8