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

Disassembly:
push 0xffffffffffffffff
push 0x442332
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
mov esi, dword [esp + 0x68]
mov ebx, ecx
push edi
lea ecx, [esp + 0x10]
inc esi
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [esp + 0x14]
xor edi, edi
push 0x4500d4
push eax
mov dword [esp + 0x70], edi
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebx + 0x25c]
add esp, 0xc
add ecx, 0xc4
lea edx, [esp + 0x38]
push str.ProjectRun_
push ecx
push edx
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 3
call fcn.00440654
cmp esi, 0x64
jle 0x40a17b
add esi, 0xffffff9c
push esi
lea eax, [esp + 0x14]
push str.Sysdb__d.d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0044064e
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CFile::CFile
mov edx, dword [esp + 0x14]
push edi
push edi
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x40a1ff
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 3
call fcn.0044087c
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 0
call fcn.00440654
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.00440654
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 4
lea eax, [esp + 0x3c]
push 4
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFile::Read
push 0x1c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x6c], eax
cmp eax, edi
mov byte [esp + 0x64], 5
je 0x40a231
mov ecx, eax
call fcn.00435af0
mov esi, eax
jmp 0x40a233
xor esi, esi
mov cx, word [esp + 0x3c]
push ebp
lea edx, [esi + 0x12]
mov word [esi + 4], cx
push 2
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x14]
push 2
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x16]
push 2
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x18]
push 2
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x10]
push 2
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
push esi
mov ecx, ebx
call fcn.00406010
lea ecx, [esp + 0x20]
push 4
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x4c], edi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esp + 0x20]
mov ebp, 1
cmp eax, ebp
mov dword [esp + 0x38], ebp
jl 0x40a8a6
jmp 0x40a2cd
mov ebp, 1
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edi
mov byte [esp + 0x68], 6
je 0x40a2ef
mov ecx, eax
call fcn.004361f0
mov esi, eax
jmp 0x40a2f1
xor esi, esi
lea edx, [esi + 4]
push 2
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0xc]
push 2
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0xe]
push 2
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x10]
push 2
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x12]
push 2
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esp + 0x10]
push 4
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
push esi
mov ecx, ebx
call fcn.00406170
lea edx, [esp + 0x34]
push 4
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], edi
mov dword [esp + 0x78], edi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], ebp
cmp eax, ebp
jl 0x40a891
jmp 0x40a385
xor edi, edi
push 0x18
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, edi
mov byte [esp + 0x68], 7
je 0x40a3a7
mov ecx, eax
call fcn.004365a0
mov esi, eax
jmp 0x40a3a9
xor esi, esi
lea eax, [esp + 0x1c]
push 2
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esp + 0x1c]
mov ecx, 0x64
and eax, 0xffff
lea edi, [esi + 0xc]
cdq
idiv ecx
mov eax, 0x51eb851f
push 2
push edi
mov word [esi + 4], dx
mov ecx, dword [esp + 0x24]
and ecx, 0xffff
imul ecx
sar edx, 5
mov eax, edx
lea ecx, [esp + 0x58]
shr eax, 0x1f
add edx, eax
mov word [esi + 0x10], dx
call sub.MFC42.DLL_CFile::Read
cmp word [edi], 4
push 2
jne 0x40a454
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov ebp, 1
cmp word [esp + 0x10], bp
jb 0x40a48d
lea edx, [esp + 0x24]
push 2
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esp + 0x44]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [esp + 0x10]
inc ebp
and ecx, 0xffff
cmp ebp, ecx
jle 0x40a423
jmp 0x40a48d
lea edx, [esp + 0x14]
lea ecx, [esp + 0x54]
push edx
call sub.MFC42.DLL_CFile::Read
mov ebp, 1
cmp word [esp + 0x10], bp
jb 0x40a48d
lea eax, [esp + 0x24]
push 2
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [esp + 0x10]
inc ebp
and ecx, 0xffff
cmp ebp, ecx
jle 0x40a46e
lea edx, [esi + 0xe]
push 2
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x12]
push 2
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x14]
push 2
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
push esi
mov ecx, ebx
call fcn.004062a0
mov di, word [edi]
mov esi, 1
cmp di, si
je 0x40a66d
cmp di, 2
je 0x40a66d
cmp di, 3
je 0x40a66d
cmp di, 4
je 0x40a66d
cmp di, 5
je 0x40a66d
cmp di, 6
je 0x40a50b
cmp di, 7
jne 0x40a87a
lea edx, [esp + 0x28]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esp + 0x28]
mov edi, esi
cmp eax, esi
jl 0x40a87a
push 0x58
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x68], 9
je 0x40a54b
mov ecx, eax
call fcn.00437760
mov esi, eax
jmp 0x40a54d
xor esi, esi
lea eax, [esi + 4]
push 4
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x10]
push 2
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x12]
push 2
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esp + 0x70]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x48]
mov dword [esi + 0x14], ecx
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov al, byte [esp + 0x48]
lea ecx, [esi + 0x1c]
push 4
push ecx
lea ecx, [esp + 0x58]
mov byte [esi + 0x1a], al
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x20]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x2c]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x30]
push 4
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esp + 0x70]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esp + 0x70]
lea ecx, [esi + 0x48]
push 2
push ecx
lea ecx, [esp + 0x58]
mov dword [esi + 0x38], eax
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x4a]
push 2
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x4c]
push 2
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esp + 0x70]
push 4
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov edx, dword [esp + 0x70]
push 2
mov dword [esi + 0x50], edx
lea eax, [esi + 0x54]
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
push esi
mov ecx, ebx
call fcn.00405e80
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jle 0x40a529
jmp 0x40a87a
lea ecx, [esp + 0x2c]
push 4
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esp + 0x2c]
mov edi, esi
cmp eax, esi
jl 0x40a87a
push 0x94
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x68], 8
je 0x40a6b0
mov ecx, eax
call fcn.004369c0
mov esi, eax
jmp 0x40a6b2
xor esi, esi
lea edx, [esi + 4]
push 4
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x14]
push 2
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x16]
push 2
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esp + 0x70]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esp + 0x70]
lea ecx, [esi + 0x20]
push 4
push ecx
lea ecx, [esp + 0x58]
mov dword [esi + 0x18], eax
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x2c]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x30]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x34]
push 4
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x38]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x3c]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x40]
push 4
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x44]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x48]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x4c]
push 4
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x50]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x54]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x58]
push 4
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x5c]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x60]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x64]
push 4
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x6c]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x74]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esi + 0x78]
push 4
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea edx, [esi + 0x7c]
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esp + 0x70]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [esp + 0x70]
lea edx, [esi + 0x88]
mov dword [esi + 0x84], ecx
push 4
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
lea eax, [esi + 0x8c]
push 4
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFile::Read
push esi
mov ecx, ebx
call fcn.00405d20
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jle 0x40a68b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jle 0x40a383
xor edi, edi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jle 0x40a2c8
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 3
call fcn.0044087c
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call fcn.00440654
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0xffffffff
call fcn.00440654
mov ecx, dword [esp + 0x60]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 4