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

Disassembly:
fld st(0)
fadd dword [ebx + 0x68]
fadd dword [ebx + 0x64]
fcomp dword [ebx + 0xa4]
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x4ec608e8
jmp 0x4ecab141
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
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]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x24], 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.4ecece2a
mov eax, dword [ebx + 0x54]
fld dword [ebx + 0x48]
mov dword [ebp + 8], eax
fst dword [ebp + 0x18]
fcomp dword [0x4ec51544]
fnstsw ax
test ah, 0x41
jnp 0x4ecab141
fld dword [0x4ec51544]
fld dword [ebx + 0x4c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4ecab141
fld dword [0x4ec51544]
fld dword [ebx + 0x50]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4ecab141
fld dword [0x4ec51544]
fld dword [ebp + 8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4ecab141
fld dword [ebx + 0x24]
fcomp qword [0x4ec59438]
fnstsw ax
test ah, 0x41
jnp 0x4ecd1070
mov eax, dword [ebx]
mov eax, dword [eax + 0x50]
cmp eax, dword [0x4edd01ec]
je 0x4ecab141
xor edi, edi
cmp dword [ebx + 8], 0xffffffff
je 0x4ecd104f
cmp dword [ebx + 8], edi
je 0x4ec6090d
mov ecx, dword [ebx + 0x28]
cmp ecx, edi
mov dword [ebp + 0xc], 1
je 0x4eca5959
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
mov edx, dword [ecx + 0x3c]
mov dword [ebp + 0x1c], edx
jne 0x4ecab141
cmp dword [ecx + 0x48], edi
jg 0x4ecab141
lea eax, [ebp + 0xc]
push eax
call fcn.4ececa81
mov eax, dword [ebx + 0x30]
fldz
test ah, 0x10
fstp dword [ebx + 0xa4]
je 0x4ec6091c
cmp dword [ebp + 0xc], edi
jne 0x4ec6091c
push dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
call fcn.4ec6f371
cmp eax, edi
mov dword [ebx + 0x38], eax
je 0x4ecd1070
cmp dword [eax + 0x34], edi
jne 0x4ecab141
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x10]
push eax
push dword [ebx + 8]
mov dword [ebp + 0x14], edi
push dword [ebx + 4]
mov dword [ebp + 0x10], edi
call fcn.4ec5f5c2
cmp dword [ebp + 0x10], edi
jne 0x4ecab141
cmp dword [ebp + 0x14], edi
jne 0x4ecab0f5
mov eax, dword [ebx + 0x38]
mov cx, word [eax + 0x3a]
mov word [ebx + 0xb0], cx
mov eax, dword [eax + 0xc]
mov ax, word [eax + 0x2a]
mov word [ebx + 0xb2], ax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0xac], eax
movzx eax, word [ebx + 0xb2]
mov dword [ebp + 0xc], eax
sub esp, 0x18
fild dword [ebp + 0xc]
lea ecx, [ebx + 0x7c]
fdivr dword [ebx + 0x24]
fld dword [ebp + 0x18]
fmul st(1)
fst dword [ebp + 0xc]
fldz
fstp dword [esp + 0x14]
fldz
fstp dword [esp + 0x10]
fld st(1)
fmul dword [ebp + 8]
fstp dword [esp + 0xc]
fldz
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fstp dword [esp]
fstp st(0)
call fcn.4ec5f0fd
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]
fidiv dword [ebp + 8]
fst dword [ebx + 0xb4]
fld dword [0x4ec51544]
fld dword [ebx + 0x64]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4ec60770
fld dword [ebx + 0x24]
fmul dword [0x4ec60918]
fadd st(1)
fstp dword [ebx + 0xb4]
fstp st(0)
push ecx
fld dword [ebp + 0xc]
fmul dword [0x4ec59558]
fstp dword [esp]
call fcn.4ecec82f
cmp eax, 0x10000
mov dword [ebx + 0xb8], eax
jg 0x4ecab141
mov eax, dword [ebx + 0x34]
sub eax, edi
jne 0x4ecab119
fld dword [ebx + 0x68]
fmul dword [ebx + 0xa8]
push ecx
fstp dword [esp]
call fcn.4ecfe304
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx]
fldz
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.4ec5f1b9
mov ecx, edi
call fcn.4ec5f627
test eax, eax
je 0x4ecd1091
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0x20]
xor edi, edi
push edi
push esi
push dword [ebx + 0xc8]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.4ec5f4a3
mov eax, dword [ebx + 0x28]
cmp eax, edi
je 0x4ec6081e
cmp dword [eax + 0x30], edi
jne 0x4eca5592
cmp dword [esi], edi
jle 0x4ec6090d
test byte [ebx + 0x31], 4
jne 0x4ec60857
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x40], edi
jne 0x4ec60857
mov ax, word [eax + 0x38]
mov ecx, dword [ebx + 0xc8]
xor edx, edx
cmp dword [esi], edx
jle 0x4ec6084f
cmp word [ecx + edx*2], ax
je 0x4ec6084f
inc edx
cmp edx, dword [esi]
jl 0x4ec60844
cmp edx, dword [esi]
jl 0x4ecab141
push dword [esi]
lea edi, [ebx + 0x14c]
mov ecx, edi
call fcn.4ec5f1b9
mov ecx, edi
call fcn.4ec5f627
test eax, eax
je 0x4ecd1091
push dword [ebx + 0x150]
fld dword [ebp + 0x1c]
xor edi, edi
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.4ec6f3ce
mov ecx, dword [ebx + 0x150]
xor eax, eax
cmp dword [esi], edi
mov dword [ebp + 8], edi
jle 0x4ec608b3
movzx edx, word [ecx + eax*2]
add dword [ebp + 8], edx
inc eax
cmp eax, dword [esi]
jl 0x4ec608a7
movzx eax, word [ebx + 0xb2]
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fstp dword [ebp + 0xc]
fild dword [ebp + 8]
fmul dword [ebx + 0x24]
fdiv dword [ebp + 0xc]
fst dword [ebx + 0x78]
fld dword [ebx + 0xa4]
fcomp qword [0x4ec59438]
fnstsw ax
test ah, 0x41
je 0x4ec604e6
fstp st(0)
test byte [ebx + 0x31], 8
jne 0x4ec6090d
cmp dword [esi], 0
jle 0x4ec6090d
mov edx, dword [ebx + 0xc8]
mov di, word [ebx + 0xb0]
mov eax, dword [esi]
cmp word [edx + eax*2 - 2], di
je 0x4ecd1099
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x24
test al, 2
jne 0x4ecd1068
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0xa4], eax
jmp 0x4ec60660
mov ecx, ebx
call fcn.4eca55ab
test eax, eax
je 0x4ec6081e
jmp 0x4ecab141
fld dword [ebx + 0x24]
mov dword [ebx + 0x34], edi
fmul dword [0x4eca597c]
mov dword [ebx + 0x30], edi
mov dword [ebp + 0x1c], 0x3f83d70a
fst dword [ebx + 0x64]
fstp dword [ebx + 0x68]
jmp 0x4ec60643
mov eax, dword [ebx + 0x28]
cmp eax, edi
je 0x4ec606aa
xor ecx, ecx
mov cx, word [eax + 0x20]
push ecx
push dword [eax + 0x1c]
call fcn.4eca7bbe
test eax, eax
je 0x4ec606aa
jmp 0x4ecab141
dec eax
jne 0x4ecd1074
fld dword [ebx + 0x64]
fcomp dword [ebx + 0x68]
fnstsw ax
test ah, 5
jnp 0x4ecd1089
fld dword [ebx + 0x68]
fmul dword [ebx + 0xa8]
fadd st(0), st(0)
jmp 0x4ec607a9
push 6
jmp 0x4ecd1093
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp word [eax], di
je 0x4ecd1060
inc ecx
cmp word [eax + ecx*2], di
jne 0x4ecd1059
mov dword [ebx + 8], ecx
jmp 0x4ec605e7
mov eax, dword [ebx + 0x18]
jmp 0x4ec60927
push 2
jmp 0x4ecd1093
dec eax
jne 0x4ec607b5
fld dword [ebx + 0xa8]
fmul dword [ebx + 0x64]
jmp 0x4ec607a9
fld dword [ebx + 0x64]
jmp 0x4ecab134
push 3
pop eax
jmp 0x4ec6090f
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 dword [ebp + 0xc]
fsubr dword [ebx + 0x78]
fstp dword [ebx + 0x78]
cmp dword [esi], 0
jle 0x4ec6090d
jmp 0x4ec60900