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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x562e3c
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x63d20c]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x3c], ebx
mov ecx, dword [ebx + 8]
fldz
mov edx, dword [ecx + 0x74]
fld st(0)
xor esi, esi
cmp edx, esi
jle 0x4da8f4
mov eax, dword [ecx + 0x70]
fadd qword [eax]
add eax, 8
sub edx, 1
jne 0x4da83f
fst qword [esp + 0x74]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4da8f6
fld qword [ecx + 0x78]
fst qword [esp + 0x64]
fdivrp st(1)
fstp qword [esp + 0x7c]
fld qword [esp + 0x7c]
fnstcw word [esp + 0x20]
mov ax, word [esp + 0x20]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x1c], ax
fldcw word [esp + 0x1c]
fistp dword [esp + 0x34]
fldcw word [esp + 0x20]
fild dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x28], 1
mov dword [esp + 0x38], edi
fmul qword [esp + 0x74]
fsubr qword [esp + 0x64]
fst qword [esp + 0x64]
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4da94a
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x70]
fcom qword [edx]
fnstsw ax
test ah, 1
jne 0x4da94a
mov ecx, edx
fsub qword [ecx]
xor eax, eax
cmp dword [esp + 0x28], esi
sete al
inc edi
fcom qword [edx + edi*8]
lea ecx, [edx + edi*8]
mov dword [esp + 0x28], eax
fnstsw ax
test ah, 1
je 0x4da8cd
fstp qword [esp + 0x64]
mov dword [esp + 0x38], edi
jmp 0x4da94c
fstp st(0)
push 0x20
fstp st(0)
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0xc0], esi
cmp eax, esi
je 0x4da930
mov ecx, eax
call fcn.004ea7a0
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fstp st(0)
push 0x20
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0xc0], 1
cmp eax, esi
je 0x4da976
mov ecx, eax
call fcn.004ea7a0
mov dword [esp + 0x24], eax
jmp 0x4da97a
mov dword [esp + 0x24], esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
xor edx, edx
cmp eax, esi
mov dword [esp + 0xc0], 0xffffffff
jle 0x4dac79
jmp 0x4da99b
mov edi, dword [esp + 0x38]
dec eax
cmp edx, eax
mov ecx, edx
mov dword [esp + 0x30], ecx
jge 0x4da9bf
mov ebx, dword [ebx + 4]
lea esp, [esp]
test byte [ebx + ecx], 2
jne 0x4da9bb
inc ecx
cmp ecx, eax
jl 0x4da9b0
mov dword [esp + 0x30], ecx
cmp edx, ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x70]
fld qword [eax + edi*8]
mov ebx, dword [esp + 0x28]
fsub qword [esp + 0x64]
mov esi, 1
fstp qword [esp + 0x4c]
jge 0x4dac68
mov eax, edx
shl eax, 4
sub ecx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
jmp 0x4da9fa
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
fld qword [eax + edx]
add eax, edx
fst qword [esp + 0x54]
fld qword [eax + 8]
fst qword [esp + 0x5c]
fld qword [eax + 0x10]
fst qword [esp + 0x6c]
fld qword [eax + 0x18]
fst qword [esp + 0x74]
fxch st(1)
fsubrp st(3)
fsubrp st(1)
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fst qword [esp + 0x44]
fldz
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4dac50
fld qword [esp + 0x4c]
fld qword [esp + 0x54]
fld qword [esp + 0x5c]
jmp 0x4daa55
fxch st(4)
fxch st(2)
fld st(3)
fucomp st(3)
fnstsw ax
test ah, 0x44
jp 0x4daaeb
test ebx, ebx
je 0x4dab6c
fstp st(2)
fstp st(2)
test esi, esi
je 0x4daa9d
mov ecx, dword [esp + 0x24]
fstp st(2)
sub esp, 0x10
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004ea8c0
fld qword [esp + 0x54]
xor esi, esi
fld qword [esp + 0x5c]
fld qword [esp + 0x44]
fxch st(2)
fxch st(1)
fld qword [0x5c4c98]
mov ecx, dword [esp + 0x24]
fdivrp st(3)
sub esp, 0x10
fld qword [esp + 0x84]
fsub st(1)
fmul st(3)
faddp st(1)
fstp qword [esp + 8]
fld qword [esp + 0x7c]
fsub st(1)
fmulp st(2)
faddp st(1)
fstp qword [esp]
call fcn.004ea920
fld qword [esp + 0x4c]
fld qword [esp + 0x54]
fld qword [esp + 0x5c]
fld qword [esp + 0x44]
fldz
fxch st(1)
fxch st(4)
fxch st(1)
fxch st(3)
jmp 0x4dab68
fxch st(2)
fcom st(4)
fnstsw ax
test ah, 1
jne 0x4dab82
test ebx, ebx
je 0x4dab58
fstp st(4)
fstp st(3)
fstp st(1)
test esi, esi
je 0x4dab1f
mov ecx, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004ea8c0
xor esi, esi
jmp 0x4dab23
fstp st(1)
fstp st(0)
fld qword [esp + 0x74]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x7c]
fstp qword [esp]
call fcn.004ea920
fld qword [esp + 0x4c]
fld qword [esp + 0x54]
fld qword [esp + 0x5c]
fldz
fld qword [esp + 0x44]
fxch st(4)
fxch st(1)
fxch st(3)
fxch st(1)
fsubrp st(4)
fxch st(3)
fst qword [esp + 0x4c]
fld st(2)
fst qword [esp + 0x44]
fxch st(4)
fxch st(1)
fxch st(2)
fxch st(2)
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x4dac3b
fstp st(0)
jmp 0x4dac14
fld st(0)
fdiv st(5)
fld qword [esp + 0x6c]
fsub st(3)
fmul st(1)
fadd st(3)
fstp qword [esp + 0x5c]
fld qword [esp + 0x74]
fsub st(4)
fmulp st(1)
fadd st(3)
fstp qword [esp + 0x7c]
test ebx, ebx
je 0x4dac95
fstp st(4)
fstp st(3)
fstp st(1)
test esi, esi
je 0x4dabc9
mov ecx, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004ea8c0
jmp 0x4dabcd
fstp st(1)
fstp st(0)
fld qword [esp + 0x7c]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x6c]
fstp qword [esp]
call fcn.004ea920
fld qword [esp + 0x4c]
fld qword [esp + 0x44]
fldz
fxch st(1)
fxch st(2)
fld qword [esp + 0x5c]
fst qword [esp + 0x54]
fld qword [esp + 0x7c]
fst qword [esp + 0x5c]
fxch st(4)
fsubrp st(2)
fxch st(1)
fst qword [esp + 0x44]
fxch st(3)
fxch st(1)
mov ecx, dword [esp + 0x3c]
xor eax, eax
test ebx, ebx
sete al
inc edi
mov ebx, eax
mov eax, dword [ecx + 8]
cmp edi, dword [eax + 0x74]
jne 0x4dac2c
xor edi, edi
mov edx, dword [eax + 0x70]
fld qword [edx + edi*8]
mov esi, 1
fst qword [esp + 0x4c]
fxch st(4)
fcom st(3)
fnstsw ax
test ah, 0x41
je 0x4daa51
fstp st(1)
fstp st(1)
fstp st(0)
add dword [esp + 0x2c], 0x10
fstp st(1)
sub dword [esp + 0x40], 1
fstp st(0)
jne 0x4da9f6
mov ecx, dword [esp + 0x30]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
lea edx, [ecx + 1]
cmp edx, eax
jl 0x4da997
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fstp st(1)
fstp st(1)
jmp 0x4dabf6