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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
fld dword [ebp + 0x20]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebx], ecx
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fstp dword [ebx + 0x24]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x3c]
push eax
call fcn.4ec7911f
fld dword [ebx + 0x48]
fstp dword [ebp + 8]
fld dword [ebx + 0x54]
fstp dword [ebp + 0xc]
fldz
fcom dword [ebp + 8]
fnstsw ax
test ah, 1
je 0x4ec85b93
fcom dword [ebx + 0x4c]
fnstsw ax
test ah, 0x44
jp 0x4ec85b93
fcom dword [ebx + 0x50]
fnstsw ax
test ah, 0x44
jp 0x4ec85b93
fcom dword [ebp + 0xc]
fnstsw ax
test ah, 0x44
jnp 0x4ec85b93
fcom dword [ebx + 0x24]
fnstsw ax
test ah, 1
je 0x4eccfa01
mov eax, dword [ebx]
mov eax, dword [eax + 0x50]
cmp eax, dword [0x4edd70b4]
je 0x4ec85b93
xor edi, edi
cmp dword [ebx + 8], 0xffffffff
jne 0x4ec7def8
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp word [eax], di
je 0x4ec7def5
inc ecx
cmp word [eax + ecx*2], di
jne 0x4ec7deee
mov dword [ebx + 8], ecx
cmp dword [ebx + 8], edi
je 0x4ec7e29b
mov ecx, dword [ebx + 0x28]
cmp ecx, edi
mov dword [ebp + 0x14], 1
je 0x4ec85b52
fstp st(0)
fld dword [ecx + 0x34]
fmul dword [ebx + 0x24]
fstp dword [ebx + 0x64]
fld dword [ecx + 0x38]
fmul dword [ebx + 0x24]
fstp dword [ebx + 0x68]
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x34], eax
mov eax, dword [ecx + 0xc]
test eax, 0x40000003
mov dword [ebx + 0x30], eax
fld dword [ecx + 0x3c]
fstp dword [ebp + 0x1c]
jne 0x4ec85b95
cmp dword [ecx + 0x48], edi
jg 0x4ec85b95
lea eax, [ebp + 0x14]
push eax
call fcn.4ecb55f0
fldz
mov eax, dword [ebx + 0x30]
fstp dword [ebx + 0xa4]
test ax, 0x1000
jne 0x4ec85b7e
test al, 2
jne 0x4eccfa07
fld dword [ebx + 0x14]
fstp dword [ebx + 0xa4]
push dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
call fcn.4ec79179
cmp eax, edi
mov dword [ebx + 0x38], eax
je 0x4eccfa03
cmp dword [eax + 0x34], edi
jne 0x4ec85b95
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
push dword [ebx + 8]
mov dword [ebp + 0x18], edi
push dword [ebx + 4]
mov dword [ebp + 0x10], edi
call fcn.4ec7e2c7
cmp dword [ebp + 0x10], edi
jne 0x4ec85b95
cmp dword [ebp + 0x18], edi
je 0x4ec7dfde
mov eax, dword [ebx + 0x28]
cmp eax, edi
je 0x4ec7dfde
movzx ecx, word [eax + 0x20]
push ecx
push dword [eax + 0x1c]
call fcn.4ecb60d2
test eax, eax
jne 0x4ec85b95
mov eax, dword [ebx + 0x38]
fld dword [ebp + 8]
mov cx, word [eax + 0x3a]
mov word [ebx + 0xb0], cx
mov eax, dword [eax + 0xc]
mov ax, word [eax + 0x2a]
fstp dword [ebx + 0xa8]
fld dword [ebp + 0xc]
mov word [ebx + 0xb2], ax
fstp dword [ebx + 0xac]
movzx eax, ax
fld dword [ebx + 0x24]
mov dword [ebp + 0x14], eax
sub esp, 0x18
fidiv dword [ebp + 0x14]
lea ecx, [ebx + 0x7c]
fstp dword [ebp + 0x14]
fld dword [ebp + 0x14]
fmul dword [ebp + 8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [ebp + 0x20]
fldz
fst dword [esp + 0x14]
fst dword [esp + 0x10]
fld dword [ebp + 0x14]
fmul dword [ebp + 0xc]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp dword [esp + 0xc]
fst dword [esp + 8]
fstp dword [esp + 4]
fld dword [ebp + 8]
fstp dword [esp]
call fcn.4ec67fc1
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0xc]
movzx ecx, word [eax + 0x2e]
movzx eax, word [eax + 0x2c]
add ecx, eax
movzx eax, word [ebx + 0xb2]
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
mov dword [ebp + 8], eax
fmul dword [ebx + 0x24]
fild dword [ebp + 8]
fdivp st(1)
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [ebx + 0xb4]
fldz
fcomp dword [ebx + 0x64]
fnstsw ax
test ah, 0x44
jnp 0x4ec7e0af
fld dword [ebx + 0x24]
fmul qword [0x4ec7dd28]
fadd dword [ebp + 8]
fstp dword [ebx + 0xb4]
fld dword [ebp + 0x20]
push ecx
fmul qword [0x4ec60b68]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [esp]
call fcn.4ec5e00d
cmp eax, 0x10000
mov dword [ebx + 0xb8], eax
jg 0x4ec85b95
mov eax, dword [ebx + 0x34]
sub eax, edi
je 0x4ec8587b
dec eax
jne 0x4eccfa0f
fld dword [ebx + 0x64]
fld dword [ebx + 0x68]
fcompp
fnstsw ax
test ah, 0x41
je 0x4eccfa2a
fld dword [ebx + 0x68]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fadd st(0), st(0)
fmul dword [ebx + 0xa8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
push ecx
fstp dword [esp]
call fcn.4ec5f1a0
mov dword [ebx + 0x6c], eax
fldz
mov eax, dword [ebx]
push dword [ebx + 8]
fstp dword [ebx + 0x70]
mov eax, dword [eax + 0x2c8]
or dword [ebx + 0xc0], 0xffffffff
lea esi, [ebx + 0x74]
mov dword [esi], edi
lea edi, [ebx + 0xc4]
mov ecx, edi
mov dword [ebx + 0xbc], eax
call fcn.4ec7dbd3
mov ecx, edi
call fcn.4ec7e2ab
test eax, eax
je 0x4ec85b8c
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0x20]
xor edi, edi
cmp dword [ecx], edi
jne 0x4ec85b8c
push edi
push esi
push dword [ebx + 0xc8]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.4ec7dd57
mov eax, dword [ebx + 0x28]
cmp eax, edi
je 0x4ec7e191
cmp dword [eax + 0x30], edi
jne 0x4eccfa32
cmp dword [esi], edi
jle 0x4ec7e29d
test word [ebx + 0x30], 0x400
jne 0x4ec7e1ce
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x40], edi
jne 0x4ec7e1ce
movzx eax, word [eax + 0x38]
mov ecx, dword [ebx + 0xc8]
xor edx, edx
cmp edx, dword [esi]
jge 0x4ec7e1cc
cmp word [ecx + edx*2], ax
je 0x4ec7e1c4
inc edx
cmp edx, dword [esi]
jl 0x4ec7e1b9
cmp edx, dword [esi]
jl 0x4ec85b95
xor edi, edi
push dword [esi]
lea ecx, [ebx + 0x14c]
call fcn.4ec7dbd3
lea ecx, [ebx + 0x14c]
call fcn.4ec7e2ab
test eax, eax
je 0x4ec85b8c
push dword [ebx + 0x150]
fld dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebx + 0x38]
fstp dword [esp]
push edi
push dword [ebx + 0x20]
push dword [esi]
push dword [ebx + 0xc8]
call fcn.4ec7dc77
mov ecx, dword [ebx + 0x150]
xor eax, eax
cmp dword [esi], edi
mov dword [ebp + 8], edi
jle 0x4ec7e22c
movzx edx, word [ecx + eax*2]
add dword [ebp + 8], edx
inc eax
cmp eax, dword [esi]
jl 0x4ec7e21e
xor edi, edi
movzx eax, word [ebx + 0xb2]
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fild dword [ebp + 8]
fmul dword [ebx + 0x24]
fdiv st(1)
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [ebx + 0x78]
fldz
fcomp dword [ebx + 0xa4]
fnstsw ax
test ah, 5
jp 0x4ec7e275
fld dword [ebp + 8]
fadd dword [ebx + 0x64]
fadd dword [ebx + 0x68]
fld dword [ebx + 0xa4]
fcompp
fnstsw ax
test ah, 5
jnp 0x4ec85b93
test word [ebx + 0x30], 0x800
jne 0x4ec7e29b
cmp dword [esi], edi
jle 0x4ec7e29b
mov edx, dword [ebx + 0xc8]
movzx edi, word [ebx + 0xb0]
mov eax, dword [esi]
cmp word [edx + eax*2 - 2], di
je 0x4eccfa46
fstp st(0)
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x24
fld dword [ebx + 0x68]
fmul dword [ebx + 0xa8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
jmp 0x4ec7e114
fld dword [ebx + 0x24]
mov dword [ebx + 0x34], edi
fmul qword [0x4ec85ba0]
mov dword [ebx + 0x30], edi
fstp dword [ebp + 0x10]
fld dword [ebp + 0x10]
fstp dword [ebx + 0x64]
fld dword [ebp + 0x10]
fstp dword [ebx + 0x68]
fld dword [0x4ec85b9c]
fstp dword [ebp + 0x1c]
jmp 0x4ec7df58
cmp dword [ebp + 0x14], edi
jne 0x4ec7df6b
jmp 0x4ec7df7c
push 3
jmp 0x4eccfa6e
fstp st(0)
push 6
jmp 0x4eccfa6e
fstp st(0)
push 2
jmp 0x4eccfa6e
fld dword [ebx + 0x18]
jmp 0x4ec7df76
dec eax
jne 0x4ec7e120
fld dword [ebx + 0x64]
fmul dword [ebx + 0xa8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
jmp 0x4ec7e114
fld dword [ebx + 0x64]
jmp 0x4ec7e100
mov ecx, ebx
call fcn.4ed75fc1
test eax, eax
je 0x4ec7e191
jmp 0x4ec85b95
fld dword [ebx + 0x78]
dec eax
mov dword [esi], eax
movzx eax, word [ecx + eax*2]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fmul dword [ebx + 0x24]
fdiv st(2)
fsubp st(1)
fstp dword [ebx + 0x78]
cmp dword [esi], 0
jle 0x4ec7e29b
jmp 0x4ec7e28e
pop eax
jmp 0x4ec7e29f