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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x67d781
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.004a64b0
test eax, eax
je 0x4a682c
mov ecx, edi
call fcn.004a6240
test eax, eax
je 0x4a682c
mov ecx, edi
call fcn.004a6250
test eax, eax
je 0x4a682c
lea ebx, [edi + 0x88]
lea esi, [edi + 0x94]
push ebx
mov ecx, esi
call fcn.00608cb4
test eax, eax
jne 0x4a682c
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xbc]
push eax
call fcn.00420da0
fld qword [esi]
fsub qword [ebx]
push 0x44
call sub.MSVCRT.dll__ftol
push eax
lea ecx, [esp + 0xc4]
call fcn.00421050
mov eax, dword [edi + 0x128]
xor ecx, ecx
sub eax, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], ecx
je 0x4a67af
dec eax
je 0x4a6799
dec eax
jne 0x4a682c
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
jmp 0x4a67c5
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
jmp 0x4a67c5
push 1
call fcn.004221f0
push ecx
lea ecx, [esp + 0x30]
fstp qword [esp]
call fcn.00608cd8
xor ecx, ecx
mov ebx, vtable.CArray_double__double__.0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x198], ecx
lea ecx, [esp + 0x38]
lea edx, [esp + 0xbc]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [edi + 0x114]
call fcn.0062a400
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
jne 0x4a6845
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x198], 1
test eax, eax
je 0x4a682c
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x140]
call fcn.0043c880
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 4]
test edx, edx
jne 0x4a6885
lea ecx, [esi*8]
sub ecx, esi
shl ecx, 2
push ecx
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebx + 4], eax
push esi
push eax
call fcn.004a9920
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x4a6969
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
jg 0x4a68b2
mov eax, dword [ebx + 8]
cmp esi, eax
jle 0x4a68aa
mov ecx, esi
sub ecx, eax
push ecx
lea ecx, [eax*8]
sub ecx, eax
lea edx, [edx + ecx*4]
push edx
call fcn.004a9920
mov dword [ebx + 8], esi
jmp 0x4a6969
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4a68dd
mov eax, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4a68d1
mov eax, 4
jmp 0x4a68dd
cmp eax, 0x400
jle 0x4a68dd
mov eax, 0x400
add eax, ecx
cmp esi, eax
jge 0x4a68e9
mov dword [esp + 0xc], eax
jmp 0x4a68ef
mov dword [esp + 0xc], esi
mov eax, esi
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
push ecx
call sub.MFC42u.DLL_operatornew
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [edx*8]
mov dword [esp + 0x20], eax
sub ecx, edx
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov ecx, dword [ebx + 8]
mov edx, esi
sub edx, ecx
push edx
lea edx, [ecx*8]
sub edx, ecx
lea eax, [eax + edx*4]
push eax
call fcn.004a9920
mov eax, dword [ebx + 4]
push eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 4], ecx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edx
xor eax, eax
cmp esi, eax
mov dword [esp + 0x20], eax
jle 0x4a6c8f
mov dword [esp + 0xc], eax
jmp 0x4a6981
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push 4
fld qword [eax + ecx*8]
sub esp, 8
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fsub qword [esp + 0x34]
fstp qword [esp]
call fcn.0041a670
add esp, 0xc
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x10]
mov esi, eax
push 1
add edi, 0x94
push 0x4d
lea eax, [edx + 0x88]
push edi
push eax
lea ecx, [esp + 0x100]
call fcn.0043c880
mov ecx, eax
call fcn.00421410
mov eax, dword [esp + 0x10]
fld st(0)
cmp dword [eax + 0x128], 2
je 0x4a6b42
call sub.MSVCRT.dll__ftol
mov ecx, eax
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x40
je 0x4a6aa4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
neg ecx
push 1
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], edx
push ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
call fcn.00424150
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x68]
lea eax, [edx + 0x88]
push eax
lea eax, [esp + 0xdc]
push eax
call sub.MFC42u.DLL_COleDateTime::operator_
mov ecx, dword [eax]
push 4
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov eax, edx
mov dword [esp + 0x54], edx
push eax
push ecx
call fcn.0041a670
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0
call fcn.00423aa0
add esp, 0x10
test eax, eax
jne 0x4a6aa4
inc esi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x128]
test eax, eax
jne 0x4a6acf
fld qword [esp + 0x28]
fsub qword [edi]
push 4
sub esp, 8
fstp qword [esp]
call fcn.0041a670
add esp, 0xc
call sub.MSVCRT.dll__ftol
add esi, eax
mov eax, dword [esp + 0x10]
add eax, 0x88
test esi, esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
je 0x4a6b0d
push 0
push 0x44
lea ecx, [esp + 0x7c]
push esi
push ecx
lea ecx, [esp + 0x128]
call fcn.0043c880
mov ecx, eax
call fcn.00421210
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], edx
lea ecx, [esp + 0x8c]
push 1
lea edx, [esp + 0x78]
push ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
push edx
jmp 0x4a6c5f
call sub.MSVCRT.dll__ftol
mov ecx, eax
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x40
je 0x4a6bfe
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
push 1
lea eax, [esp + 0x84]
push ecx
push eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
call fcn.00424150
add esp, 0xc
lea ecx, [esp + 0xe4]
push edi
push ecx
lea ecx, [esp + 0x88]
call sub.MFC42u.DLL_COleDateTime::operator_
mov edx, dword [eax]
push 4
mov dword [esp + 0x58], edx
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [esp + 0x5c], eax
push ecx
push edx
call fcn.0041a670
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xbc]
push edx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], 0
call fcn.00423aa0
add esp, 0x10
test eax, eax
jne 0x4a6bfe
dec esi
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x5c], eax
push 0
push 0x44
lea eax, [esp + 0x64]
mov dword [esp + 0x68], ecx
push esi
push eax
lea ecx, [esp + 0x178]
mov dword [esp + 0x74], edx
call fcn.0043c880
mov ecx, eax
call fcn.00421210
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x98], ecx
lea eax, [esp + 0x5c]
push 1
lea ecx, [esp + 0x9c]
push eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], 0
push ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 4]
add ecx, eax
call fcn.00420e30
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
inc eax
add edx, 0x1c
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], edx
jl 0x4a697d
mov esi, ecx
mov dword [esp + 0x38], vtable.CArray_double__double__.0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x198], 2
test eax, eax
je 0x4a6cb3
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x190]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8