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

Disassembly:
push 0xffffffffffffffff
push 0x5ba0f0
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], 0x5cac34
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], 0x5ddd74
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 0x4af363
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x4af363
jmp 0x4af060
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 0x4af359
mov edi, dword [ebx + 8]
xor eax, eax
cmp edi, 0x1015
sete al
cmp eax, ebp
je 0x4af359
cmp edx, ebp
mov dword [esp + 0x10], edx
je 0x4af0b8
mov edx, dword [esp + 0x10]
xor edi, edi
lea esi, [edx + 8]
push ebp
mov ecx, esi
call fcn.0046e130
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x4af098
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x4af08f
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.00495660
mov edi, dword [esp + 0x6c]
cmp edi, ebp
je 0x4af215
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.004af650
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 0x662668
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.004af410
mov esi, dword [esi + 8]
test esi, esi
jl 0x4af196
cmp esi, 0x1d
jge 0x4af196
shl esi, 4
add esi, 0x652f88
jmp 0x4af19b
mov esi, 0x652198
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.004b0110
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 0x4af0f2
xor ebp, ebp
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x4af223
mov eax, dword [eax]
cmp eax, ebp
jne 0x4af21d
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.00495120
mov esi, dword [esp + 0x50]
cmp esi, ebp
je 0x4af359
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.004af650
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.004b0110
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 0x4af258
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x20], ebp
jne 0x4af058
mov dword [esp + 0x4c], 0x5ddd74
cmp esi, ebp
mov byte [esp + 0x8c], 0xd
mov eax, esi
je 0x4af37f
mov eax, dword [eax]
cmp eax, ebp
jne 0x4af379
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], 0x5c6400
mov dword [esp + 0x68], 0x5cac34
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x8c], 0xe
cmp ebx, ebp
je 0x4af3dc
lea esi, [ebx + 8]
xor edi, edi
push ebp
mov ecx, esi
call fcn.0046e130
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x4af3c4
mov ebx, dword [ebx]
cmp ebx, ebp
jne 0x4af3bf
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