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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
fld qword [0x754a08]
mov ebx, dword [esp + 0x104]
fstp qword [esp + 0x60]
fldz
fst qword [esp + 0xb0]
fst qword [esp + 0xb8]
fst qword [esp + 0xc0]
fld qword [ebx + 0x50]
fst qword [esp + 0x68]
fld qword [ebx + 0x18]
fstp qword [esp + 0x78]
fxch st(1)
fst qword [ebx + 0x78]
fst qword [ebx + 0x80]
fst qword [ebx + 0x90]
fst qword [ebx + 0x88]
fld qword [0x77eea8]
fcompi st(2)
fstp st(1)
ja 0x4ed690
fstp st(0)
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x791fb8]
add eax, dword [0x791fcc]
cmp dword [edx], eax
je 0x4ed360
cmp eax, dword [edx + 0x70]
je 0x4ed360
mov dword [esp + 0x10], 0x1110
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x77ee80
mov dword [esp + 4], 0xd
mov dword [esp], str.c:_src_stbnch_dicht.c
call fcn.006e56c0
mov esi, eax
mov eax, dword [ebx + 0x30]
mov edi, dword [eax + 0x1c]
test esi, esi
je 0x4ed9fe
mov dword [esp], esi
call fcn.004c2da0
mov eax, dword [ebx + 0x30]
fld1
fchs
mov dword [eax + 0x1c], 0
mov dword [esp + 0x50], eax
fstp qword [esp + 0x48]
fld qword [ebx + 0x28]
fstp qword [esp + 0x40]
fld qword [ebx + 0x20]
fstp qword [esp + 0x38]
fldz
fst qword [esp + 0x30]
fst qword [esp + 0x28]
fst qword [esp + 0x20]
fstp qword [esp + 0x18]
fld qword [ebx + 0x10]
fstp qword [esp + 0x10]
fld qword [ebx + 0x18]
mov dword [esp + 4], 0
mov dword [esp], esi
fstp qword [esp + 8]
call fcn.0047fd50
test eax, eax
je 0x4ed9d8
fld qword [esi + 0xc70]
mov eax, dword [ebx + 0x30]
mov dword [eax + 0x1c], edi
fabs
fst qword [esp + 0x70]
fld dword [0x77eeb0]
fxch st(1)
fcomi st(1)
fxch st(1)
seta byte [esp + 0x8f]
fcompi st(1)
fstp st(0)
jb 0x4ed0d2
fld qword [ebx]
fabs
fld qword [0x77eea8]
fcomi st(1)
fstp st(1)
jbe 0x4ed0d0
fld qword [ebx + 8]
fabs
fxch st(1)
fcompi st(1)
fstp st(0)
ja 0x4eda20
jmp 0x4ed0d2
fstp st(0)
fld qword [esp + 0x78]
fmul dword [0x77eeb4]
lea eax, [esp + 0xc8]
fst qword [esp + 0x98]
fld qword [0x77eea8]
fsubr st(1)
fst qword [esp + 0x90]
fld qword [esp + 0x68]
fcomi st(1)
fstp st(1)
fcmovnbe st(0), st(1)
fstp st(1)
fstp qword [esp + 0x68]
fld qword [ebx + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0xc0]
fst qword [esp + 0x80]
fldz
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xb8]
fst qword [esp + 0x2c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xb0]
fst qword [esp + 0x24]
mov dword [esp + 0x34], eax
fst qword [esp + 0x1c]
fstp qword [esp + 0x14]
fld qword [ebx + 0x10]
mov dword [esp], 0
fstp qword [esp + 0xc]
fstp qword [esp + 4]
call fcn.0049ba80
fld qword [esp + 0xb0]
cmp dword [ebx + 0x34], 1
fld qword [esp + 0xb8]
fld qword [0x77eeb8]
fmul qword [esp + 0xc0]
fst qword [esi + 0x410]
fld qword [esi + 0xc20]
fstp qword [0x850080]
fld qword [esi + 0xc18]
fstp qword [0x850088]
fldz
je 0x4ed810
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x4ed1d0
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x4ed1d0
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x4ed1d0
fstp st(0)
fstp st(0)
fstp st(0)
nop
fld dword [0x77eef0]
fstp qword [ebx + 0x58]
xor edi, edi
lea ebp, [esp + 0xd8]
lea esi, [esi]
fldz
fst qword [esp + 0xd0]
fst qword [esp + 0xd8]
fld qword [ebx + 0x68]
fld qword [ebx + 0x70]
fld st(1)
fadd st(1)
fcomi st(4)
jae 0x4edad0
fld qword [0x77eea8]
fcompi st(1)
fstp st(0)
fld qword [esp + 0x70]
fld dword [0x77eeb0]
seta dl
fcompi st(1)
fstp st(0)
jb 0x4ed3c0
test dl, dl
je 0x4ed3d0
fxch st(3)
fdivr qword [ebx]
fmul dword [0x77eeb4]
fld qword [ebx + 8]
fdiv qword [esp + 0xb8]
fld dword [0x77eef4]
fld qword [esp + 0xc0]
fmul st(1)
fmul st(2)
fsubr st(3)
fld qword [esp + 0x80]
fsub qword [esp + 0xc0]
fmulp st(3)
fxch st(2)
fmulp st(1)
faddp st(2)
fcomi st(3)
ja 0x4ed6d0
fxch st(1)
fcomi st(3)
fstp st(3)
ja 0x4ed6d4
fstp st(0)
fstp st(1)
fmul qword [0x77eef8]
lea eax, [esp + 0xd0]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
fstp qword [0x84fe80]
fmul qword [0x77eef8]
fstp qword [0x84fe88]
fld qword [ebx + 8]
fstp qword [esp + 0x18]
fld qword [ebx]
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x850080
mov dword [esp + 4], 0x84fe80
mov dword [esp], esi
fstp qword [esp + 0x10]
call fcn.004d60a0
test eax, eax
jle 0x4ed768
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4ed390
fld qword [esp + 0xd0]
fld qword [esp + 0xd8]
fld dword [0x77eeb0]
fxch st(2)
fcomi st(2)
ja 0x4ed710
fxch st(1)
fcomi st(2)
fstp st(2)
ja 0x4ed728
fldz
fcomi st(1)
fstp st(1)
sete dl
fcompi st(1)
fstp st(0)
sete al
test dl, al
je 0x4ed390
cmp byte [esp + 0x8f], 0
je 0x4ed390
fld qword [esp + 0x60]
fld qword [ebx + 0x70]
fadd st(1)
fstp qword [ebx + 0x70]
fadd qword [ebx + 0x68]
fstp qword [ebx + 0x68]
jmp 0x4ed746
fld1
mov ecx, dword [ebx + 0x44]
fchs
fstp qword [ebx + 0x68]
test ecx, ecx
jne 0x4ed6b1
fld1
fchs
fstp qword [ebx + 0x68]
add esp, 0xec
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x77ee80
mov dword [esp + 4], 0xed
mov dword [esp], str.c:_src_stbnch_dicht.c
call fcn.006e5680
fld1
fchs
fstp qword [ebx + 0x68]
fldz
fstp qword [ebx + 0x78]
jmp 0x4ed379
fstp st(3)
fstp st(1)
jmp 0x4ed3d4
fstp st(3)
fstp st(1)
fmul qword [0x77eef8]
lea eax, [esp + 0xd0]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
mov byte [esp + 0x78], dl
fstp qword [0x84fe80]
fld qword [0x77eef8]
fmulp st(1)
fstp qword [0x84fe88]
fld qword [ebx + 8]
fstp qword [esp + 0x18]
fld qword [ebx]
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x850080
mov dword [esp + 4], 0x84fe80
mov dword [esp], esi
fstp qword [esp + 0x10]
call fcn.004d60a0
movzx edx, byte [esp + 0x78]
test eax, eax
jg 0x4ed2ec
cmp byte [esp + 0x8f], 0
fld qword [esp + 0xd0]
fld qword [esp + 0xd8]
je 0x4ed47d
test dl, dl
je 0x4ed47d
fld dword [0x77eeb0]
fxch st(2)
fcomi st(2)
ja 0x4ed930
fxch st(1)
fcomi st(2)
fstp st(2)
ja 0x4ed730
fxch st(1)
fld st(1)
fsub st(1)
fld st(0)
fabs
fld dword [0x77ef00]
fcompi st(1)
fstp st(0)
jbe 0x4ed4a6
fstp st(0)
faddp st(1)
fmul dword [0x77ef04]
fst qword [esp + 0xd0]
fld st(0)
fldz
fld st(2)
fabs
fld st(2)
fabs
fld dword [0x77eeb0]
fcomi st(2)
jae 0x4ed780
fxch st(5)
fcomi st(5)
jbe 0x4edb51
fstp st(2)
fstp st(2)
fxch st(2)
fcomi st(3)
fstp st(3)
jbe 0x4ed9a0
fstp st(0)
fldz
fstp qword [ebx + 0x78]
fld st(0)
fmul dword [0x77eef4]
fxch st(1)
fld st(2)
fmul dword [0x77eef4]
fxch st(3)
fst qword [esp + 0xd8]
fxch st(2)
fstp qword [ebx + 0x90]
fxch st(2)
fstp qword [ebx + 0x88]
test edi, edi
jne 0x4ed515
fld qword [ebx + 0x78]
fstp qword [ebx + 0x80]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4ed600
fld qword [esp + 0x90]
fld qword [ebx + 0x78]
fcomi st(1)
fstp st(1)
ja 0x4ed606
fld qword [0x77eea8]
fcompi st(1)
ja 0x4ed60e
cmp eax, 1
jne 0x4ed740
fld qword [esp + 0x68]
mov eax, dword [ebx + 0x40]
fcomi st(1)
jbe 0x4ed620
test eax, eax
je 0x4ed630
fdivrp st(1)
fld qword [0x77ef08]
fxch st(1)
fcomi st(1)
fstp st(1)
jae 0x4eda10
fstp st(0)
fld qword [0x77eea0]
mov edx, dword [ebx + 0x3c]
test edx, edx
jne 0x4eda30
fld st(2)
fsub st(2)
fabs
fld dword [0x77ef10]
fcompi st(1)
fstp st(0)
ja 0x4eda40
fld dword [0x77ef14]
fcompi st(3)
fstp st(2)
jbe 0x4ed5c5
fld qword [ebx + 0x68]
fld qword [0x77eea8]
fcompi st(1)
jbe 0x4edb27
fstp st(0)
fld qword [esp + 0x60]
fstp qword [ebx + 0x68]
fld dword [0x77ef14]
fcompi st(1)
fstp st(0)
jbe 0x4edaae
fld qword [ebx + 0x70]
fld qword [0x77eea8]
fcompi st(1)
jbe 0x4edaa7
fstp st(0)
fstp st(0)
fld qword [esp + 0x60]
fstp qword [ebx + 0x70]
cmp eax, 2
jne 0x4ed746
jmp 0x4ed640
fstp st(0)
fstp st(0)
jmp 0x4ed640
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x4ed640
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x4ed640
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x4ed640
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
lea esi, [esi]
nop
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x77ee80
mov dword [esp + 4], 0xed
mov dword [esp], str.c:_src_stbnch_dicht.c
call fcn.006e5680
fld qword [ebx + 0x78]
fld qword [0x77ef20]
fcomi st(1)
jbe 0x4edb3f
fstp st(1)
fld qword [ebx + 0x68]
fxch st(1)
xor eax, eax
fcompi st(1)
fstp st(0)
seta al
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 1
cmp dword [ebx + 0x44], 0
je 0x4ed69f
test al, al
jne 0x4ed6af
fld qword [esp + 0x68]
fcompi st(1)
fstp st(0)
ja 0x4ed372
jmp 0x4ed6b1
fstp st(0)
fld qword [ebx + 0x68]
fld qword [0x77ef20]
xor eax, eax
fcompi st(1)
fstp st(0)
seta al
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
fstp st(3)
fxch st(2)
fldz
fxch st(1)
fcompi st(1)
jbe 0x4ed7f0
fstp st(3)
fxch st(1)
fxch st(2)
fld qword [esp + 0x60]
fst qword [ebx + 0x70]
fxch st(3)
fcompi st(1)
fstp st(0)
ja 0x4ed800
fstp st(1)
fld qword [esp + 0x60]
fxch st(1)
jmp 0x4ed288
fstp st(0)
fld qword [esp + 0x60]
fadd qword [ebx + 0x70]
fstp qword [ebx + 0x70]
fcompi st(1)
fstp st(0)
jbe 0x4ed746
jmp 0x4ed734
fstp st(0)
fstp st(0)
jmp 0x4ed734
fstp st(0)
fstp st(0)
fld qword [esp + 0x60]
fadd qword [ebx + 0x68]
fstp qword [ebx + 0x68]
jmp 0x4ed746
fstp st(0)
fstp st(0)
fstp st(0)
add edi, 1
cmp edi, 0x3e8
je 0x4edada
fld qword [esp + 0xb0]
jmp 0x4ed1e8
fld qword [esp + 0xd0]
fld qword [esp + 0xd8]
jmp 0x4ed47d
fcomi st(1)
jb 0x4ed950
fstp st(0)
fstp st(2)
fxch st(1)
fld qword [esp + 0x98]
jmp 0x4ed7a6
fstp st(3)
fxch st(1)
fxch st(2)
fstp qword [ebx + 0x78]
fld dword [0x77eeb0]
fcompi st(2)
fstp st(1)
jbe 0x4ed9b2
fstp st(2)
fxch st(1)
fldz
fst qword [esp + 0xd0]
fld st(0)
fld dword [0x77eeb0]
fcompi st(3)
fstp st(2)
jbe 0x4ed4e7
fstp st(2)
fxch st(1)
fldz
fld st(0)
fxch st(3)
fxch st(2)
fxch st(1)
jmp 0x4ed4f1
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x4ed802
fstp st(0)
fld qword [esp + 0x60]
fst qword [ebx + 0x68]
jmp 0x4ed288
cmp dword [ebx + 0x38], 1
jne 0x4ed1b8
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x4ed1c0
fld qword [esp + 0x70]
fld dword [0x77eeb0]
fcompi st(1)
fstp st(0)
jb 0x4ed1c8
fld qword [ebx]
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x48]
fstp qword [esp + 0xa0]
fld qword [ebx + 8]
fstp qword [esp + 0xa8]
fld qword [eax + 0x40]
fld st(0)
fmul dword [0x77eec0]
fld qword [esp + 0x78]
fdivr dword [0x77eec4]
fsqrt
fmul qword [0x77eec8]
fld1
faddp st(1)
fmul st(1)
fxch st(3)
fstp qword [ebx + 0x58]
fld qword [0x77eed0]
fxch st(2)
fcompi st(2)
fstp st(1)
jbe 0x4ed900
fld qword [0x77eea8]
fxch st(2)
fcomi st(2)
fstp st(2)
jbe 0x4ed90c
fld qword [esp + 0xa8]
fabs
fmul dword [0x77eed8]
fdivrp st(4)
fxch st(3)
fmulp st(2)
fdivp st(1)
fmul qword [ebx + 0x60]
fld qword [esp + 0xa0]
fmul dword [0x77eedc]
fxch st(2)
fdiv qword [ebx + 0x60]
fmul st(3)
fdivp st(2)
faddp st(1)
fst qword [ebx + 0x58]
fld qword [0x77eee0]
fcompi st(1)
jbe 0x4ed8e7
fld qword [0x77eee8]
fxch st(1)
fcomi st(1)
fstp st(1)
ja 0x4edb31
fld1
fcompi st(1)
fstp st(0)
jb 0x4ed1d9
fstp st(0)
jmp 0x4ed916
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x4ed916
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fld qword [esp + 0x98]
fst qword [ebx + 0x78]
fstp qword [ebx + 0x80]
jmp 0x4ed640
fstp st(0)
fld qword [esp + 0x60]
fadd qword [ebx + 0x70]
fstp qword [ebx + 0x70]
fcompi st(1)
fstp st(0)
jbe 0x4ed746
jmp 0x4ed734
fcomi st(5)
jbe 0x4edaf0
fld qword [esp + 0x98]
fxch st(1)
fcompi st(5)
ja 0x4ed7a0
fstp st(0)
fxch st(2)
jmp 0x4ed978
fxch st(2)
lea esi, [esi]
fdivr st(4)
fld qword [esp + 0x98]
fmulp st(1)
fxch st(1)
fxch st(2)
fxch st(1)
jmp 0x4ed7a6
fstp st(0)
fstp st(1)
fxch st(1)
fxch st(2)
fxch st(1)
lea esi, [esi]
nop
fld st(2)
fsub st(2)
fdivr st(3)
fmul qword [esp + 0x98]
fstp qword [ebx + 0x78]
jmp 0x4ed9c0
fxch st(1)
fxch st(2)
fxch st(1)
lea esi, [esi]
nop
fld st(1)
fmul dword [0x77eef4]
fxch st(1)
fxch st(2)
fxch st(1)
jmp 0x4ed7c8
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x77ee80
mov dword [esp + 4], 0x17
mov dword [esp], str.c:_src_stbnch_dicht.c
call fcn.006e5680
mov eax, dword [ebx + 0x30]
mov dword [eax + 0x1c], edi
fld1
fchs
fstp qword [ebx + 0x68]
jmp 0x4ed660
fsqrt
jmp 0x4ed57e
fld1
fchs
fstp qword [ebx + 0x78]
jmp 0x4ed640
fstp st(1)
fstp st(1)
jmp 0x4eda44
fstp st(1)
fstp st(1)
fld qword [ebx + 0x68]
fld qword [esp + 0x60]
fld qword [0x77eea8]
fcompi st(2)
ja 0x4eda60
fstp st(0)
fmul st(1)
jmp 0x4eda62
fstp st(1)
fst qword [ebx + 0x68]
fld qword [ebx + 0x70]
fld qword [esp + 0x60]
fld qword [0x77eea8]
fcompi st(2)
ja 0x4eda80
fstp st(0)
fmulp st(2)
fxch st(1)
jmp 0x4eda86
fstp st(3)
fstp st(0)
fxch st(1)
fst qword [ebx + 0x70]
test edx, edx
je 0x4edab8
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
fst qword [ebx + 0x70]
fstp qword [ebx + 0x68]
cmp eax, 2
jne 0x4ed746
jmp 0x4ed640
fmulp st(1)
fstp qword [ebx + 0x70]
jmp 0x4edabc
fstp st(0)
jmp 0x4edabc
fstp st(0)
fstp st(0)
cmp eax, 2
jne 0x4ed746
jmp 0x4ed640
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [0x77ef18]
fstp qword [ebx + 0x68]
jmp 0x4ed640
fstp st(0)
fstp st(1)
jmp 0x4edb00
fstp st(0)
fstp st(1)
lea esi, [esi]
fld dword [0x77eeb0]
fcomi st(3)
ja 0x4ed98e
fdivrp st(2)
fxch st(1)
fmul qword [esp + 0x98]
fstp qword [ebx + 0x78]
fxch st(1)
fxch st(2)
fxch st(1)
jmp 0x4ed9c0
fmul st(2)
fstp qword [ebx + 0x68]
jmp 0x4ed5c5
fstp st(0)
fstp st(0)
fld1
fstp qword [ebx + 0x58]
jmp 0x4ed916
fstp st(0)
fld qword [0x77eea8]
fcompi st(1)
seta al
jmp 0x4ed695
fxch st(5)
fcomi st(5)
jbe 0x4edaf6
fcompi st(4)
jbe 0x4ed96f
fstp st(2)
fstp st(0)
fld qword [esp + 0x98]
fstp qword [ebx + 0x78]
fxch st(1)
fxch st(2)
fxch st(1)
jmp 0x4ed9c0