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

Disassembly:
push 0xffffffffffffffff
push 0x5a0ef0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
xor ebp, ebp
xor edx, edx
mov eax, 0xa
push esi
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x68], 0x5b1c34
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], edx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], eax
xor esi, esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x4c], 0x5c4d74
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x1a8]
mov byte [esp + 0x8c], 1
cmp eax, ebp
je 0x496113
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x496113
jmp 0x495e10
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov ebx, dword [eax + 8]
mov ecx, dword [eax]
cmp ebx, ebp
mov dword [esp + 0x20], ecx
je 0x496109
mov edi, dword [ebx + 8]
xor eax, eax
cmp edi, 0x1015
sete al
cmp eax, ebp
je 0x496109
cmp edx, ebp
mov dword [esp + 0x10], edx
je 0x495e68
mov edx, dword [esp + 0x10]
xor edi, edi
lea esi, [edx + 8]
push ebp
mov ecx, esi
call fcn.00454ee0
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x495e48
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x495e3f
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebp
call sub.MFC42.DLL_CPlex::FreeDataChain
lea edx, [esp + 0x68]
push 1
push edx
mov ecx, ebx
mov dword [esp + 0x84], ebp
call fcn.0047c410
mov edi, dword [esp + 0x6c]
cmp edi, ebp
je 0x495fc5
mov esi, edi
mov edi, dword [edi]
push 1
push 0x2e
lea ebp, [esi + 0xc]
lea eax, [esp + 0x2c]
push ebp
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x90], 2
push ecx
mov edx, esp
mov dword [esp + 0x18], esp
push ecx
push eax
push edx
call sub.MFC42.DLL_operator_4
lea eax, [esp + 0x1c]
push eax
call fcn.00496400
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 4
call sub.MFC42.DLL_CString::CString
push 9
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x64a680
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x9c], 5
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x24]
push 0
mov byte [esp + 0x9c], 4
call fcn.004961c0
mov esi, dword [esi + 8]
test esi, esi
jl 0x495f46
cmp esi, 0x1d
jge 0x495f46
shl esi, 4
add esi, 0x63af88
jmp 0x495f4b
mov esi, 0x63a198
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_3
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 6
mov dword [esp + 0x38], esi
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0xcc
mov byte [esp + 0x90], 7
call fcn.00496ec0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [eax + 4]
mov dword [eax], edx
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 1
call sub.MFC42.DLL_CString::CString
test edi, edi
jne 0x495ea2
xor ebp, ebp
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x495fd3
mov eax, dword [eax]
cmp eax, ebp
jne 0x495fcd
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebp
call sub.MFC42.DLL_CPlex::FreeDataChain
lea edx, [esp + 0x4c]
mov ecx, ebx
push edx
mov dword [esp + 0x64], ebp
call fcn.0047bed0
mov esi, dword [esp + 0x50]
cmp esi, ebp
je 0x496109
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x1c]
mov edi, dword [eax + 8]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 8
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x44]
push edx
mov byte [esp + 0x90], 9
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_CString::operator_3
push 1
lea eax, [esp + 0x20]
push 0x2e
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x9c], 0xa
call sub.MFC42.DLL_operator_1
push ecx
mov ecx, dword [edi]
mov edx, esp
mov dword [esp + 0x38], esp
push ecx
push eax
push edx
mov byte [esp + 0xa0], 0xb
call sub.MFC42.DLL_operator_3
lea edx, [esp + 0x30]
push edx
call fcn.00496400
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x8c], 0xc
call fcn.004019ce
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0xcc]
call fcn.00496ec0
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x44]
mov dword [eax], ecx
push edx
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x28]
mov byte [esp + 0x8c], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 1
call sub.MFC42.DLL_CString::CString
cmp esi, ebp
jne 0x496008
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x20], ebp
jne 0x495e08
mov dword [esp + 0x4c], 0x5c4d74
cmp esi, ebp
mov byte [esp + 0x8c], 0xd
mov eax, esi
je 0x49612f
mov eax, dword [eax]
cmp eax, ebp
jne 0x496129
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebp
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [esp + 0x60], ebp
mov dword [esp + 0x4c], 0x5ad400
mov dword [esp + 0x68], 0x5b1c34
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x8c], 0xe
cmp ebx, ebp
je 0x49618c
lea esi, [ebx + 8]
xor edi, edi
push ebp
mov ecx, esi
call fcn.00454ee0
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x496174
mov ebx, dword [ebx]
cmp ebx, ebp
jne 0x49616f
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebp
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x80
ret