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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
push ebx
mov ebx, dword [ebp + 0x14]
mov eax, ebx
push esi
and eax, 0xf
push edi
mov dword [esp + 0x10], ebx
mov edi, eax
jne 0x4d4a5e
mov eax, dword [ebp + 0xc]
fld qword [eax + 8]
mov esi, dword [ebp + 8]
mov edx, dword [esi]
fstp qword [esp + 0x60]
fld qword [eax + 0x10]
lea ecx, [esp + 0x60]
fstp qword [esp + 0x68]
fld qword [eax + 0x18]
fstp qword [esp + 0x38]
fld qword [eax + 0x20]
lea eax, [esp + 0x90]
push eax
fstp qword [esp + 0x44]
push ecx
push edx
call fcn.004326d0
mov edx, dword [esi]
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.004326d0
add esp, 0x18
test bl, 0xf0
mov esi, dword [ebp + 0x10]
jne 0x4d4ab2
fld qword [esi + 8]
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
fstp qword [esp + 0x70]
fld qword [esi + 0x10]
lea eax, [esp + 0xe8]
fstp qword [esp + 0x78]
push eax
fld qword [esi + 0x18]
lea ecx, [esp + 0x74]
fstp qword [esp + 0x4c]
push ecx
fld qword [esi + 0x20]
push edx
fstp qword [esp + 0x5c]
call fcn.004326d0
mov edx, dword [ebx]
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x58]
push ecx
push edx
call fcn.004326d0
add esp, 0x18
fld qword [esp + 0x68]
mov dword [esp + 0x5c], 5
fld qword [esp + 0x60]
fld qword [esp + 0x40]
fld qword [esp + 0xa0]
fld qword [esp + 0x98]
fld qword [esp + 0x90]
jmp 0x4d4ae7
fxch st(4)
fxch st(5)
fxch st(3)
fxch st(4)
fxch st(2)
test edi, edi
jne 0x4d4cbb
fld st(4)
fsub qword [esp + 0x38]
fabs
fld st(6)
fsub st(5)
fabs
fcompp
fnstsw ax
test ah, 5
jp 0x4d4b1b
mov eax, dword [ebp + 0x18]
fstp st(5)
fstp st(2)
fld qword [eax]
fsub st(3)
fld qword [esp + 0x38]
fsubrp st(4)
fdivrp st(3)
jmp 0x4d4b33
mov ecx, dword [ebp + 0x18]
fstp st(4)
fld qword [ecx + 8]
fsub st(5)
fxch st(3)
fsubrp st(5)
fxch st(2)
fdivrp st(4)
fxch st(2)
fxch st(3)
fxch st(2)
fld qword [esp + 0x118]
push 0
fsub st(4)
push 0
fld qword [esp + 0x128]
lea edx, [esp + 0xd8]
fsub st(3)
push edx
fld qword [esp + 0x134]
mov edx, dword [ebp + 0x18]
fsub st(3)
lea eax, [esp + 0x34]
fxch st(2)
push eax
mov eax, dword [ebp + 8]
fmul st(5)
lea ecx, [esp + 0xc8]
fxch st(1)
push ecx
mov ecx, dword [eax]
fmul st(5)
push edx
fxch st(2)
push ecx
fmulp st(5)
faddp st(5)
fxch st(4)
fstp qword [esp + 0xd4]
fxch st(3)
faddp st(1)
fstp qword [esp + 0xdc]
faddp st(1)
fstp qword [esp + 0xe4]
call fcn.00461c70
and al, 0xf
add esp, 0x1c
cmp al, 1
jne 0x4d4cb4
lea edx, [esp + 0x60]
lea ebx, [esi + 0x18]
add esi, 8
push edx
lea ecx, [esp + 0x84]
lea edi, [esp + 0x2c]
call fcn.004d4600
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jg 0x4d4cad
mov eax, edi
push eax
lea ecx, [esp + 0xac]
lea edi, [esp + 0x3c]
call fcn.004d4600
add esp, 4
test eax, eax
jg 0x4d4cad
cmp dword [esp + 0x14], 0
jge 0x4d4c57
test eax, eax
jl 0x4d4f52
fld qword [esp + 0xd0]
fstp qword [esp + 0x90]
fld qword [esp + 0xd8]
fstp qword [esp + 0x98]
fld qword [esp + 0xe0]
fstp qword [esp + 0xa0]
fld qword [esp + 0x28]
fstp qword [esp + 0x60]
fld qword [esp + 0x30]
fstp qword [esp + 0x68]
fld qword [esp + 0xa8]
fstp qword [esp + 0x28]
fld qword [esp + 0xb0]
fstp qword [esp + 0x30]
jmp 0x4d4cc7
test eax, eax
jge 0x4d4cad
fld qword [esp + 0xd0]
fstp qword [esp + 0x118]
fld qword [esp + 0xd8]
fstp qword [esp + 0x120]
fld qword [esp + 0xe0]
fstp qword [esp + 0x128]
fld qword [esp + 0x28]
fstp qword [esp + 0x38]
fld qword [esp + 0x30]
fstp qword [esp + 0x40]
fld qword [esp + 0x80]
fstp qword [esp + 0x28]
fld qword [esp + 0x88]
fstp qword [esp + 0x30]
jmp 0x4d4cc7
or dword [esp + 0x10], 4
jmp 0x4d4cc7
or dword [esp + 0x10], 8
jmp 0x4d4cc7
fstp st(5)
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
fstp st(0)
test byte [esp + 0x10], 0xf0
jne 0x4d4eb8
fld qword [esp + 0x70]
fld st(0)
fld qword [esp + 0x48]
fsub st(1), st(0)
fxch st(1)
fabs
fld qword [esp + 0x78]
fld st(0)
fld qword [esp + 0x50]
fsub st(1), st(0)
fxch st(1)
fabs
fcomp st(3)
fnstsw ax
fstp st(2)
test ah, 5
mov eax, dword [ebp + 0x18]
jp 0x4d4d08
fstp st(0)
fstp st(0)
fld qword [eax]
jmp 0x4d4d0f
fstp st(3)
fstp st(1)
fld qword [eax + 8]
fsub st(2)
push 0
fxch st(1)
push 0
fsubrp st(2)
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x24]
fdivrp st(1)
push edx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc8]
push ecx
push eax
mov eax, dword [edx]
push eax
fld qword [esp + 0x14c]
fld qword [esp + 0x104]
fsub st(1), st(0)
fld qword [esp + 0x154]
fld qword [esp + 0x10c]
fsub st(1), st(0)
fld qword [esp + 0x15c]
fld qword [esp + 0x114]
fsub st(1), st(0)
fxch st(5)
fmul st(6)
fxch st(3)
fmul st(6)
fxch st(1)
fmulp st(6)
fxch st(3)
faddp st(2)
fxch st(1)
fstp qword [esp + 0xd4]
faddp st(1)
fstp qword [esp + 0xdc]
faddp st(1)
fstp qword [esp + 0xe4]
call fcn.00461c70
and al, 0xf
add esp, 0x1c
cmp al, 1
jne 0x4d4eb0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x70]
push ecx
add ebx, 0x18
add esi, 8
lea ecx, [esp + 0x84]
lea edi, [esp + 0x1c]
call fcn.004d4600
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jg 0x4d4ea9
mov edx, edi
push edx
lea ecx, [esp + 0xac]
lea edi, [esp + 0x4c]
call fcn.004d4600
add esp, 4
test eax, eax
jg 0x4d4ea9
cmp dword [esp + 0x14], 0
jge 0x4d4e53
test eax, eax
jl 0x4d4faf
fld qword [esp + 0x100]
fstp qword [esp + 0xe8]
fld qword [esp + 0x108]
fstp qword [esp + 0xf0]
fld qword [esp + 0x110]
fstp qword [esp + 0xf8]
fld qword [esp + 0x18]
fstp qword [esp + 0x70]
fld qword [esp + 0x20]
fstp qword [esp + 0x78]
fld qword [esp + 0xa8]
fstp qword [esp + 0x18]
fld qword [esp + 0xb0]
fstp qword [esp + 0x20]
jmp 0x4d4eb8
test eax, eax
jge 0x4d4ea9
fld qword [esp + 0x100]
fstp qword [esp + 0x130]
fld qword [esp + 0x108]
fstp qword [esp + 0x138]
fld qword [esp + 0x110]
fstp qword [esp + 0x140]
fld qword [esp + 0x18]
fstp qword [esp + 0x48]
fld qword [esp + 0x20]
fstp qword [esp + 0x50]
fld qword [esp + 0x80]
fstp qword [esp + 0x18]
fld qword [esp + 0x88]
fstp qword [esp + 0x20]
jmp 0x4d4eb8
or dword [esp + 0x10], 0x40
jmp 0x4d4eb8
or dword [esp + 0x10], 0x80
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, 0xf
mov dword [esp + 0x14], eax
jne 0x4d4ff7
test cl, 0xf0
jne 0x4d501b
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x84]
lea ebx, [esp + 0x4c]
lea esi, [esp + 0x74]
lea edi, [esp + 0x3c]
call fcn.004d4600
add esp, 4
test eax, eax
jne 0x4d5031
mov eax, dword [ebp + 0x18]
fld qword [esp + 0x80]
fstp qword [eax]
fld qword [esp + 0x88]
fstp qword [eax + 8]
mov eax, dword [esp + 0x5c]
sub eax, 1
test eax, eax
mov dword [esp + 0x5c], eax
jle 0x4d5031
fld qword [esp + 0x40]
mov edi, dword [esp + 0x14]
fld qword [esp + 0x68]
mov esi, dword [ebp + 0x10]
fld qword [esp + 0x60]
fld qword [esp + 0x90]
fld qword [esp + 0x98]
fld qword [esp + 0xa0]
jmp 0x4d4add
mov esi, dword [ebp + 0xc]
fld qword [esi + 0x18]
mov cl, byte [esi + 0x35]
mov edi, dword [esi + 0x2c]
fstp qword [esp + 0x38]
fld qword [esi + 0x20]
push 1
fstp qword [esp + 0x44]
mov byte [esp + 0x18], cl
fld qword [esp + 0x2c]
fstp qword [esi + 0x18]
fld qword [esp + 0x34]
fstp qword [esi + 0x20]
call fcn.004d4900
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x30]
push edx
push edi
push 1
push esi
lea eax, [esp + 0x3c]
push eax
push ecx
lea eax, [esp + 0x54]
mov ebx, dword [ebp + 8]
call fcn.004d4960
add esp, 0x1c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
fld qword [esi + 0x18]
mov dl, byte [esi + 0x35]
mov edi, dword [esi + 0x2c]
fstp qword [esp + 0x48]
fld qword [esi + 0x20]
push 1
fstp qword [esp + 0x54]
mov byte [esp + 0x18], dl
fld qword [esp + 0x1c]
fstp qword [esi + 0x18]
fld qword [esp + 0x24]
fstp qword [esi + 0x20]
call fcn.004d4900
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x30]
push eax
push edi
push 1
push esi
lea ecx, [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x64]
jmp 0x4d4f98
cmp dword [ebp + 0x14], 0
jne 0x4d5031
test cl, 0xf0
jne 0x4d5031
mov eax, dword [ebp + 0x18]
fld qword [esp + 0x18]
fstp qword [eax]
fld qword [esp + 0x20]
fstp qword [eax + 8]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
jne 0x4d5031
mov eax, dword [ebp + 0x18]
fld qword [esp + 0x28]
fstp qword [eax]
fld qword [esp + 0x30]
fstp qword [eax + 8]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret