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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [ecx + 0x1ec]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
jbe 0x4f84e2
cmp dword [ecx + 0x4d0], ebx
jne 0x4f840a
cmp eax, 1
jne 0x4f8350
mov eax, dword [ecx + 0x4cc]
xor esi, esi
cmp eax, ebx
jbe 0x4f851d
lea eax, [ecx + 0x2b0]
lea edx, [ecx + 0x1cc]
mov edi, dword [edx]
inc esi
add edx, 4
add eax, 8
fld qword [edi]
fst qword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
fstp qword [eax - 0x48]
mov dword [eax - 8], edi
mov dword [eax - 4], ebx
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], ebx
cmp esi, dword [ecx + 0x4cc]
jb 0x4f831a
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x4cc]
mov dword [esp + 0x14], ebx
cmp eax, ebx
jbe 0x4f851d
lea esi, [ecx + 0x1cc]
lea edx, [ecx + 0x2b0]
mov eax, dword [ecx + 0x1ec]
mov edi, dword [esi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
lea ebp, [eax - 1]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebp
fild qword [esp + 0x18]
fmul qword [edx + 0x40]
fadd qword [edi + eax*8 - 8]
fild qword [esp + 0x20]
fdivp st(1)
fstp qword [edx + 0x40]
mov eax, dword [ecx + 0x1ec]
mov edi, dword [esi]
fld qword [edx]
fcomp qword [edi + eax*8 - 8]
lea edi, [edi + eax*8 - 8]
fnstsw ax
test ah, 0x41
jne 0x4f83c0
mov eax, dword [edi]
mov dword [edx], eax
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0x1ec]
mov edi, dword [esi]
fld qword [edx - 0x40]
fcomp qword [edi + eax*8 - 8]
lea edi, [edi + eax*8 - 8]
fnstsw ax
test ah, 1
je 0x4f83e5
mov eax, dword [edi]
mov dword [edx - 0x40], eax
mov eax, dword [edi + 4]
mov dword [edx - 0x3c], eax
mov eax, dword [esp + 0x14]
mov edi, dword [ecx + 0x4cc]
inc eax
add esi, 4
add edx, 8
cmp eax, edi
mov dword [esp + 0x14], eax
jb 0x4f836e
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x4cc]
mov dword [esp + 0x14], ebx
cmp eax, ebx
jbe 0x4f851d
lea edx, [ecx + 0x270]
lea ebp, [ecx + 0x1cc]
mov eax, dword [ebp]
lea edi, [edx + 0x40]
fld qword [eax]
fst qword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
fstp qword [edx]
fld qword [0x5fd8b0]
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], esi
cmp dword [ecx + 0x1ec], ebx
jbe 0x4f84a6
mov eax, dword [ebp]
fadd qword [eax + ebx*8]
lea esi, [eax + ebx*8]
mov eax, edi
fld qword [eax]
fcomp qword [esi]
fnstsw ax
test ah, 0x41
jne 0x4f847d
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [ebp]
fld qword [edx]
fcomp qword [eax + ebx*8]
lea esi, [eax + ebx*8]
fnstsw ax
test ah, 1
je 0x4f8499
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0x1ec]
inc ebx
cmp ebx, eax
jb 0x4f845d
xor ebx, ebx
mov eax, dword [ecx + 0x1ec]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
fild qword [esp + 0x20]
inc eax
add ebp, 4
add edx, 8
mov dword [esp + 0x14], eax
fdivr st(1)
fstp qword [edx + 0x78]
cmp eax, dword [ecx + 0x4cc]
fstp st(0)
jb 0x4f8428
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x4cc]
xor edx, edx
cmp eax, ebx
jbe 0x4f851d
lea eax, [ecx + 0x2b0]
mov edi, 0x3fe00000
mov esi, 0x3ff00000
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], edi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax - 0x40], ebx
mov dword [eax - 0x3c], esi
mov ebp, dword [ecx + 0x4cc]
inc edx
add eax, 8
cmp edx, ebp
jb 0x4f84fe
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret