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

Disassembly:
sub esp, 0x54
fld dword [0x6468d0]
fmul dword [0x646900]
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
fst dword [esp + 0x1c]
fld dword [0x6468d0]
fmul dword [0x6468fc]
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 0x49e5d4
mov edx, dword [ebp + 0x68]
cmp edx, ebx
je 0x49e5ce
mov edx, dword [edx + 4]
jmp 0x49e5d0
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 0x49e8a0
cmp eax, 1
jne 0x49e5f4
mov edi, dword [esi + 0x3c]
jmp 0x49e5fa
mov edx, dword [esi + 0x3c]
mov edi, dword [edx + ebx*4]
cmp edi, 0xffffffff
jne 0x49e61d
mov eax, dword [esi + 0x40]
fld dword [eax + ebx*4 - 4]
fmul dword [esp + 0x18]
fmul dword [0x634934]
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
jmp 0x49e890
test ebx, ebx
je 0x49e62c
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 0x49e734
fild dword [esp + 0x40]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49e658
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e66b
fstp dword [esp + 0x28]
jmp 0x49e66d
fstp st(0)
fild dword [esp + 0x48]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49e682
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e695
fstp dword [esp + 0x28]
jmp 0x49e697
fstp st(0)
fild dword [esp + 0x3c]
fmul dword [esp + 0x18]
fmul dword [0x634934]
fadd dword [esp + 0x14]
fild dword [esp + 0x44]
fmul dword [esp + 0x18]
fmul dword [0x634934]
fadd dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49e6d0
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e6e3
fstp dword [esp + 0x20]
jmp 0x49e6e5
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x49e6fc
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
fld dword [esp + 0x20]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x49e713
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 [0x634934]
jmp 0x49e873
push edi
mov ecx, ebp
call fcn.004d8500
mov ebx, eax
lea eax, [esp + 0x12]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
mov ecx, ebp
call fcn.004d84e0
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 0x49e797
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e7aa
fstp dword [esp + 0x20]
jmp 0x49e7ac
fstp st(0)
fild dword [esp + 0x44]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49e7c1
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e7d4
fstp dword [esp + 0x20]
jmp 0x49e7d6
fstp st(0)
fild dword [esp + 0x40]
fmul dword [esp + 0x18]
fmul dword [0x634934]
fadd dword [esp + 0x14]
fild dword [esp + 0x48]
fmul dword [esp + 0x18]
fmul dword [0x634934]
fadd dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49e80f
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e822
fstp dword [esp + 0x28]
jmp 0x49e824
fstp st(0)
fld dword [esp + 0x24]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x49e83b
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
fld dword [esp + 0x28]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x49e852
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
push ebx
mov ecx, ebp
call fcn.004d84d0
movsx ecx, ax
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x38]
fild dword [esp + 0x2c]
fmul dword [esp + 0x18]
fmul dword [0x634934]
fadd dword [esp + 0x14]
cmp edi, 0x20
jne 0x49e882
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 0x49e5ea
mov eax, dword [esp + 0x30]
test eax, eax
mov eax, dword [esp + 0x68]
je 0x49e8ea
test eax, eax
je 0x49e8b6
mov dword [eax], 0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x49e8c4
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
fld dword [esp + 0x18]
fmul dword [esp + 0x1c]
fmul dword [0x634934]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x20]
fmul dword [0x634934]
fstp dword [esp + 0x20]
jmp 0x49e92a
test eax, eax
je 0x49e8f8
fld dword [esp + 0x14]
fmul dword [esp + 0x70]
fstp dword [eax]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x49e906
mov dword [eax], 0
fld dword [esp + 0x18]
fmul dword [esp + 0x24]
fmul dword [0x634934]
fstp dword [esp + 0x24]
fld dword [esp + 0x18]
fmul dword [esp + 0x28]
fmul dword [0x634934]
fstp dword [esp + 0x28]
mov edx, dword [0x6468d4]
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.0049e360
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.0049ba40
fld dword [0x6468d8]
fadd dword [edi]
mov eax, dword [esi + 0x10]
fstp dword [edi]
mov eax, dword [eax + 0x20]
cmp eax, 1
je 0x49e9c0
cmp eax, 2
je 0x49e9c0
cmp eax, 5
je 0x49e9c0
cmp eax, 6
jne 0x49e9ec
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x68]
fld dword [ecx + 0x18]
fmul dword [0x635e38]
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