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

Disassembly:
sub esp, 0x54
fld dword [0x646848]
fmul dword [0x646878]
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
fst dword [esp + 0x1c]
fld dword [0x646848]
fmul dword [0x646874]
xor edx, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], ebx
fst dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x10]
fstp dword [esp + 0x20]
mov ecx, dword [eax]
fstp dword [esp + 0x24]
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x34], ecx
cmp edi, 4
setne dl
dec edx
and edx, ecx
mov ebp, edx
je 0x49df44
mov edx, dword [ebp + 0x68]
cmp edx, ebx
je 0x49df3e
mov edx, dword [edx + 4]
jmp 0x49df40
xor edx, edx
mov dword [esp + 0x30], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x38]
cmp eax, ebx
jle 0x49e210
cmp eax, 1
jne 0x49df64
mov edi, dword [esi + 0x3c]
jmp 0x49df6a
mov edx, dword [esi + 0x3c]
mov edi, dword [edx + ebx*4]
cmp edi, 0xffffffff
jne 0x49df8d
mov eax, dword [esi + 0x40]
fld dword [eax + ebx*4 - 4]
fmul dword [esp + 0x18]
fmul dword [0x6348d4]
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
jmp 0x49e200
test ebx, ebx
je 0x49df9c
mov edx, dword [esi + 0x40]
fld dword [esp + 0x14]
fstp dword [edx + ebx*4 - 4]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push edx
push edi
call dword [eax + 0x24]
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x49e0a4
fild dword [esp + 0x40]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49dfc8
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49dfdb
fstp dword [esp + 0x28]
jmp 0x49dfdd
fstp st(0)
fild dword [esp + 0x48]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49dff2
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e005
fstp dword [esp + 0x28]
jmp 0x49e007
fstp st(0)
fild dword [esp + 0x3c]
fmul dword [esp + 0x18]
fmul dword [0x6348d4]
fadd dword [esp + 0x14]
fild dword [esp + 0x44]
fmul dword [esp + 0x18]
fmul dword [0x6348d4]
fadd dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49e040
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e053
fstp dword [esp + 0x20]
jmp 0x49e055
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x49e06c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
fld dword [esp + 0x20]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x49e083
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x34]
push edi
mov edx, dword [ecx]
call dword [edx + 0x20]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fmul dword [esp + 0x18]
fmul dword [0x6348d4]
jmp 0x49e1e3
push edi
mov ecx, ebp
call fcn.004d81b0
mov ebx, eax
lea eax, [esp + 0x12]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
mov ecx, ebp
call fcn.004d8190
movsx eax, word [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
sub edx, eax
sub ecx, eax
movsx eax, word [esp + 0x12]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x40]
fild dword [esp + 0x3c]
fld dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x48]
fcomp st(1)
sub edx, eax
sub ecx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
fnstsw ax
test ah, 0x41
jne 0x49e107
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e11a
fstp dword [esp + 0x20]
jmp 0x49e11c
fstp st(0)
fild dword [esp + 0x44]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49e131
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e144
fstp dword [esp + 0x20]
jmp 0x49e146
fstp st(0)
fild dword [esp + 0x40]
fmul dword [esp + 0x18]
fmul dword [0x6348d4]
fadd dword [esp + 0x14]
fild dword [esp + 0x48]
fmul dword [esp + 0x18]
fmul dword [0x6348d4]
fadd dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49e17f
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e192
fstp dword [esp + 0x28]
jmp 0x49e194
fstp st(0)
fld dword [esp + 0x24]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x49e1ab
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
fld dword [esp + 0x28]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x49e1c2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
push ebx
mov ecx, ebp
call fcn.004d8180
movsx ecx, ax
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x38]
fild dword [esp + 0x2c]
fmul dword [esp + 0x18]
fmul dword [0x6348d4]
fadd dword [esp + 0x14]
cmp edi, 0x20
jne 0x49e1f2
mov edx, dword [esi + 0x10]
fadd dword [edx + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x34]
fadd dword [eax + 8]
fstp dword [esp + 0x14]
mov eax, dword [esi + 0x38]
inc ebx
cmp ebx, eax
mov dword [esp + 0x38], ebx
jl 0x49df5a
mov eax, dword [esp + 0x30]
test eax, eax
mov eax, dword [esp + 0x68]
je 0x49e25a
test eax, eax
je 0x49e226
mov dword [eax], 0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x49e234
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
fld dword [esp + 0x18]
fmul dword [esp + 0x1c]
fmul dword [0x6348d4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x20]
fmul dword [0x6348d4]
fstp dword [esp + 0x20]
jmp 0x49e29a
test eax, eax
je 0x49e268
fld dword [esp + 0x14]
fmul dword [esp + 0x70]
fstp dword [eax]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x49e276
mov dword [eax], 0
fld dword [esp + 0x18]
fmul dword [esp + 0x24]
fmul dword [0x6348d4]
fstp dword [esp + 0x24]
fld dword [esp + 0x18]
fmul dword [esp + 0x28]
fmul dword [0x6348d4]
fstp dword [esp + 0x28]
mov edx, dword [0x64684c]
lea ecx, [esp + 0x4c]
mov eax, edx
push ecx
mov ecx, esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
call fcn.0049dcd0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
lea ebp, [esi + 0x20]
lea ebx, [esi + 0x1c]
lea edi, [esi + 0x24]
mov dword [ebp], eax
lea eax, [esi + 0x28]
push eax
mov dword [ebx], edx
mov edx, dword [esp + 0x2c]
push edi
mov dword [eax], ecx
push ebp
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], eax
mov dword [edi], edx
call fcn.0049b3a0
fld dword [0x646850]
fadd dword [edi]
mov eax, dword [esi + 0x10]
fstp dword [edi]
mov eax, dword [eax + 0x20]
cmp eax, 1
je 0x49e330
cmp eax, 2
je 0x49e330
cmp eax, 5
je 0x49e330
cmp eax, 6
jne 0x49e35c
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x68]
fld dword [ecx + 0x18]
fmul dword [0x635da8]
fld dword [ebx]
fsub st(1)
fstp dword [ebx]
fld st(0)
fadd dword [ebp]
fstp dword [ebp]
fld st(0)
fadd dword [edi]
fstp dword [edi]
fld dword [eax]
fsub st(1)
fstp dword [eax]
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0xc