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

Disassembly:
mov ecx, dword [0x6a30a0]
mov eax, dword [esp + 4]
sub esp, 0xb8
mov edx, dword [ecx + eax]
push ebx
push ebp
push esi
push edi
test edx, edx
je 0x4ed838
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x28], ecx
fld dword [ecx + 0xc]
fsub dword [ecx]
fstp dword [esp + 0x2c]
fld dword [ecx + 0x10]
fsub dword [ecx + 4]
fstp dword [esp + 0x30]
fld dword [ecx + 0x14]
fsub dword [ecx + 8]
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fcomp dword [0x58b524]
fnstsw ax
test ah, 0x44
jnp 0x4ed773
fld dword [0x58b454]
fdiv dword [esp + 0x2c]
jmp 0x4ed779
fld dword [0x58b524]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x84]
fmul dword [esp + 0x34]
fstp dword [esp + 0x88]
fld dword [esp + 0x30]
fcomp dword [0x58b524]
fnstsw ax
test ah, 0x44
jnp 0x4ed7ae
fld dword [0x58b454]
fdiv dword [esp + 0x30]
jmp 0x4ed7b4
fld dword [0x58b524]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x8c]
fmul dword [esp + 0x34]
fstp dword [esp + 0x90]
fld dword [esp + 0x34]
fcomp dword [0x58b524]
fnstsw ax
test ah, 0x44
jnp 0x4ed7e9
fld dword [0x58b454]
fdiv dword [esp + 0x34]
jmp 0x4ed7ef
fld dword [0x58b524]
fld dword [esp + 0x2c]
fmul st(1)
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x88]
push 0x4edc70
push eax
fstp dword [esp + 0xa0]
push ecx
mov ecx, dword [edx + 4]
fmul dword [esp + 0x40]
push ecx
fstp dword [esp + 0xac]
call fcn.004ee9d0
mov eax, dword [esp + 0xe0]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
mov edx, dword [eax + 0x5c]
mov esi, dword [eax + 0x10]
mov ebp, dword [eax + 0x2c]
mov dword [esp + 0x50], 0
mov ecx, dword [edx + 0x14]
mov edx, dword [esp + 0xd0]
test esi, esi
fld dword [edx + 0xc]
fsub dword [edx]
mov dword [esp + 0xc4], ecx
fstp dword [esp + 0x54]
fld dword [edx + 0x10]
fsub dword [edx + 4]
fstp dword [esp + 0x58]
fld dword [edx + 0x14]
fsub dword [edx + 8]
fstp dword [esp + 0x5c]
jle 0x4edc59
xor eax, eax
mov ax, word [ebp]
lea eax, [eax + eax*2]
lea esi, [ecx + eax*4]
xor eax, eax
mov ax, word [ebp + 2]
lea eax, [eax + eax*2]
fld dword [ecx + eax*4]
fsub dword [esi]
lea edi, [ecx + eax*4]
xor eax, eax
mov ax, word [ebp + 4]
fstp dword [esp + 0x7c]
fld dword [edi + 4]
fsub dword [esi + 4]
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*4]
mov eax, dword [esp + 0x7c]
fstp dword [esp + 0x74]
fld dword [edi + 8]
fsub dword [esi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
fstp dword [esp + 0x78]
fld dword [ebx]
fsub dword [esi]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x80]
fld dword [ebx + 4]
fsub dword [esi + 4]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], eax
fstp dword [esp + 0x70]
fld dword [ebx + 8]
mov eax, dword [esp + 0x70]
fsub dword [esi + 8]
mov dword [esp + 0x68], eax
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
fld dword [esp + 0x6c]
fmul dword [esp + 0x58]
fld dword [esp + 0x68]
fmul dword [esp + 0x5c]
fsubp st(1)
fld dword [esp + 0x64]
fmul dword [esp + 0x5c]
fld dword [esp + 0x6c]
fmul dword [esp + 0x54]
fsubp st(1)
fld dword [esp + 0x68]
fmul dword [esp + 0x54]
fld dword [esp + 0x64]
fmul dword [esp + 0x58]
fsubp st(1)
fld st(1)
fmul dword [esp + 0x48]
fld st(3)
fmul dword [esp + 0x44]
faddp st(1)
fld st(1)
fmul dword [esp + 0x4c]
faddp st(1)
fst dword [esp + 0x14]
fcomp dword [0x5c291c]
fnstsw ax
and eax, 0x4100
jne 0x4edc26
fld dword [esp + 0x14]
fmul dword [0x5c2918]
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x60]
fld dword [edx]
fsub dword [esi]
fstp dword [esp + 0x38]
fld dword [edx + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x3c]
fld dword [edx + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x40]
fld dword [esp + 0x3c]
fmul st(2)
fld dword [esp + 0x38]
fmul st(4)
faddp st(1)
fld dword [esp + 0x40]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x10]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [esp + 0x1c]
fnstsw ax
and eax, 0x100
jne 0x4edc2c
fld dword [esp + 0x10]
fcomp dword [esp + 0x60]
fnstsw ax
test ah, 0x41
jp 0x4edc2c
fld dword [esp + 0x3c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x40]
fmul dword [esp + 0x48]
fsubp st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x40]
fmul dword [esp + 0x44]
fld dword [esp + 0x38]
fmul dword [esp + 0x4c]
fsubp st(1)
fstp dword [esp + 0x88]
fld dword [esp + 0x38]
fmul dword [esp + 0x48]
fld dword [esp + 0x3c]
fmul dword [esp + 0x44]
fsubp st(1)
fstp dword [esp + 0x8c]
fld dword [esp + 0x88]
fmul dword [esp + 0x58]
fld dword [esp + 0x84]
fmul dword [esp + 0x54]
faddp st(1)
fld dword [esp + 0x8c]
fmul dword [esp + 0x5c]
faddp st(1)
fcom dword [esp + 0x1c]
fnstsw ax
and eax, 0x100
jne 0x4edc2a
fld dword [esp + 0x10]
fadd st(1)
fcomp dword [esp + 0x60]
fnstsw ax
test ah, 0x41
fstp st(0)
jp 0x4edc2c
fld dword [esp + 0x88]
fmul dword [esp + 0x68]
fld dword [esp + 0x84]
fmul dword [esp + 0x64]
faddp st(1)
fld dword [esp + 0x8c]
fmul dword [esp + 0x6c]
faddp st(1)
fst dword [esp + 0x10]
fcomp dword [esp + 0x1c]
fnstsw ax
and eax, 0x100
jne 0x4edc2c
fld dword [esp + 0x10]
fcomp dword [esp + 0x60]
fnstsw ax
test ah, 0x41
jp 0x4edc2c
fld dword [esp + 0x10]
fdiv dword [esp + 0x14]
mov ecx, esi
mov edx, dword [ecx]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x50]
mov eax, dword [ecx + 4]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x10]
fld dword [esp + 0x7c]
fld dword [esp + 0x74]
fld dword [esp + 0x78]
fld dword [esp + 0x18]
fld st(0)
fmul st(3)
fld dword [esp + 0x24]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x9c]
fld dword [esp + 0x20]
fmul st(2)
fxch st(1)
fmul st(4)
fsubp st(1)
fstp dword [esp + 0xa0]
fstp st(0)
fld dword [esp + 0x24]
fmul st(2)
fld dword [esp + 0x20]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0xa4]
fstp st(0)
fstp st(0)
fld dword [esp + 0xa0]
fmul dword [esp + 0xa0]
fld dword [esp + 0x9c]
fmul dword [esp + 0x9c]
faddp st(1)
fld dword [esp + 0xa4]
fmul dword [esp + 0xa4]
faddp st(1)
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
push edx
call fcn.004b8de0
fld dword [esp + 0xa0]
fmul st(1)
fstp dword [esp + 0xa0]
fld dword [esp + 0xa4]
mov eax, dword [esp + 0xd8]
mov edx, dword [esp + 0x14]
fmul st(1)
mov ecx, dword [eax + 8]
mov dword [esp + 0xbc], esi
push ecx
push edx
mov edx, dword [eax]
lea ecx, [esp + 0xa8]
fstp dword [esp + 0xac]
push ecx
push edx
fmul dword [esp + 0xb8]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], ebx
fstp dword [esp + 0xb8]
call dword [eax + 4]
add esp, 0x14
test eax, eax
je 0x4edc57
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc4]
jmp 0x4edc2c
fstp st(0)
fstp st(0)
fstp st(0)
mov esi, dword [esp + 0xcc]
mov eax, dword [esp + 0x50]
inc eax
add ebp, 8
mov edi, dword [esi + 0x10]
mov dword [esp + 0x50], eax
cmp eax, edi
jl 0x4ed87f
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret