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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [ebp + 8]
fld dword [0x637bf4]
mov ecx, dword [0x7fb2d0]
mov edx, dword [ecx + 0x34]
and eax, 0xffff
lea eax, [eax + eax*2]
shl eax, 2
push ebx
push esi
mov esi, dword [edx + eax + 8]
mov ecx, dword [esi]
and ecx, 0xffff
shl ecx, 5
mov dword [ebp - 0xd0], eax
mov eax, dword [0x816d04]
mov edx, dword [ecx + eax + 0x14]
mov ecx, dword [edx + 0x8c]
and ecx, 0xffff
shl ecx, 5
mov ebx, dword [ecx + eax + 0x14]
fmul dword [ebx + 0x1c]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0xa4]
fstp dword [ebp - 0xa8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
lea eax, [esi + 0x80]
lea ecx, [esi + 0x74]
push edx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0xc], ebx
call fcn.004ced70
fld dword [ebp - 0xa8]
add esi, 0x5c
mov eax, dword [esi]
mov dword [ebp - 0x7c], eax
mov ecx, dword [esi + 4]
mov dword [ebp - 0x78], ecx
mov edx, dword [esi + 8]
mov dword [ebp - 0x74], edx
fmul dword [ebx + 8]
add esp, 4
test edi, edi
fchs
mov dword [ebp - 0x18], 0
fstp dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
je 0x50da80
mov eax, dword [ebx + 0x68]
xor esi, esi
test eax, eax
jle 0x50da80
xor eax, eax
lea eax, [eax + eax*2]
shl eax, 5
add eax, edi
lea edx, [eax + 0x2c]
lea ecx, [eax + 0x1c]
call fcn.004ceed0
fld dword [edx + 0x10]
mov eax, dword [edx + 8]
fstp dword [edx + 8]
fld dword [edx + 0x1c]
mov ecx, dword [edx + 0xc]
mov dword [edx + 0x10], eax
fstp dword [edx + 0xc]
mov eax, dword [edx + 0x18]
fld dword [edx + 0x20]
inc esi
fstp dword [edx + 0x18]
mov dword [edx + 0x20], eax
movsx eax, si
mov dword [edx + 0x1c], ecx
cmp eax, dword [ebx + 0x68]
jl 0x50da40
mov ecx, dword [ebx + 0x74]
mov edi, dword [ebp + 0x10]
imul ecx, ecx, 0x130
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x50dab7
fld dword [ebp - 0x10]
mov ecx, dword [eax]
fadd dword [eax + 8]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
fstp dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x50dacf
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x74]
test eax, eax
mov dword [ebp - 0x6c], 0
jle 0x50e833
xor esi, esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x78]
mov ebx, dword [ebp + 0x10]
mov edi, esi
imul esi, esi, 0x130
shl edi, 7
add edi, ecx
mov cx, word [edi + 0x20]
add esi, ebx
cmp cx, 0xffff
mov dword [ebp + 0x18], edi
je 0x50db2b
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x50db2b
movsx edx, cx
mov ecx, edx
shl ecx, 7
add ecx, dword [eax + 0x6c]
test ecx, ecx
mov dword [ebp + 0x14], ecx
je 0x50db32
lea ecx, [edx + edx*2]
shl ecx, 5
add ecx, ebx
jmp 0x50db34
mov dword [ebp + 0x14], 0
xor ecx, ecx
mov dword [esi], 0
fld dword [edi + 0x38]
fsub dword [eax + 0xc]
mov dword [ebp - 0x28], ecx
lea ebx, [esi + 4]
fst dword [ebp - 0x40]
fld dword [edi + 0x3c]
fsub dword [eax + 0x10]
fstp dword [ebp - 0x3c]
fld dword [edi + 0x40]
fsub dword [eax + 0x14]
fstp dword [ebp - 0x38]
fld dword [ebp - 0x3c]
fld dword [ebp - 0x38]
fld dword [0x612224]
fld dword [ebp - 0xa4]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50db97
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [ebp - 0xa4]
fmul dword [ebp - 0x40]
fld dword [ebp - 0x3c]
fmul dword [ebp - 0xa4]
fld dword [ebp - 0x38]
fmul dword [ebp - 0xa4]
test ecx, ecx
fld dword [ebp - 0x88]
fmul st(1)
fld dword [ebp - 0x94]
fmul st(3)
faddp st(1)
fld dword [ebp - 0xa0]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x7c]
fstp dword [ebx]
fld dword [ebp - 0x84]
fmul st(1)
fld dword [ebp - 0x90]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x9c]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x78]
fstp dword [ebx + 4]
fld dword [ebp - 0x80]
fmul st(1)
fld dword [ebp - 0x8c]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x98]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x74]
fstp dword [ebx + 8]
fstp st(0)
fstp st(0)
fstp st(0)
je 0x50dcf2
lea edx, [ebp - 0x10c]
push edx
add ecx, 0x2c
push ecx
lea eax, [ebp - 0xa4]
push eax
call dword [0x631c54]
fld dword [edi + 0x44]
fld dword [edi + 0x48]
add esp, 0xc
fld dword [edi + 0x4c]
fld dword [ebp - 0xf0]
fmul st(1)
fld dword [ebp - 0xfc]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x108]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x10]
fld dword [ebp - 0xec]
fmul st(1)
fld dword [ebp - 0xf8]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x104]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x14]
fld dword [ebp - 0xe8]
fmul st(1)
fld dword [ebp - 0xf4]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x100]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x18]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [edi + 0x50]
fld dword [edi + 0x54]
fld dword [edi + 0x58]
fld dword [ebp - 0xf0]
fmul st(1)
fld dword [ebp - 0xfc]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x108]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x28]
fld dword [ebp - 0xec]
fmul st(1)
fld dword [ebp - 0xf8]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x104]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x2c]
fld dword [ebp - 0xe8]
fmul st(1)
fld dword [ebp - 0xf4]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x100]
jmp 0x50ddb7
fld dword [edi + 0x44]
fld dword [edi + 0x48]
fld dword [edi + 0x4c]
fld dword [ebp - 0x88]
fmul st(1)
fld dword [ebp - 0x94]
fmul st(3)
faddp st(1)
fld dword [ebp - 0xa0]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x10]
fld dword [ebp - 0x84]
fmul st(1)
fld dword [ebp - 0x90]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x9c]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x14]
fld dword [ebp - 0x80]
fmul st(1)
fld dword [ebp - 0x8c]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x98]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x18]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [edi + 0x50]
fld dword [edi + 0x54]
fld dword [edi + 0x58]
fld dword [ebp - 0x88]
fmul st(1)
fld dword [ebp - 0x94]
fmul st(3)
faddp st(1)
fld dword [ebp - 0xa0]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x28]
fld dword [ebp - 0x84]
fmul st(1)
fld dword [ebp - 0x90]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x9c]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x2c]
fld dword [ebp - 0x80]
fmul st(1)
fld dword [ebp - 0x8c]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x98]
mov ecx, dword [0x6e2190]
fmul st(4)
mov edx, ebx
xor eax, eax
faddp st(1)
fstp dword [esi + 0x30]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00504e50
cmp eax, 0xffffffff
mov dword [esi + 0x34], eax
jne 0x50dddf
or eax, eax
jmp 0x50ddf8
mov ecx, dword [0x6e219c]
mov edx, dword [ecx + 0xe4]
and eax, 0x7fffffff
shl eax, 4
movsx eax, word [eax + edx + 8]
mov word [esi + 0x38], ax
fld dword [esi + 4]
mov eax, dword [ebp - 0x64]
fsub dword [eax + 0x5c]
lea edi, [esi + 4]
lea ebx, [esi + 0x48]
mov ecx, ebx
fstp dword [esi + 0x3c]
fld dword [edi + 4]
fsub dword [eax + 0x60]
fstp dword [esi + 0x40]
fld dword [edi + 8]
fsub dword [eax + 0x64]
fstp dword [esi + 0x44]
fld dword [esi + 0x44]
fmul dword [eax + 0x90]
fld dword [eax + 0x94]
fmul dword [esi + 0x40]
fsubp st(1)
fstp dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb4]
fld dword [eax + 0x94]
fmul dword [esi + 0x3c]
fld dword [eax + 0x8c]
fmul dword [esi + 0x44]
fsubp st(1)
fstp dword [ebp - 0xb0]
fld dword [eax + 0x8c]
fmul dword [esi + 0x40]
fld dword [esi + 0x3c]
fmul dword [eax + 0x90]
mov dword [ecx], edx
mov edx, dword [ebp - 0xb0]
mov dword [ecx + 4], edx
fsubp st(1)
fstp dword [ebp - 0xac]
mov edx, dword [ebp - 0xac]
mov dword [ecx + 8], edx
fld dword [eax + 0x68]
fadd dword [ebx]
mov ecx, dword [ebp + 8]
fstp dword [ebx]
fld dword [ebx + 4]
fadd dword [eax + 0x6c]
fstp dword [ebx + 4]
fld dword [ebx + 8]
fadd dword [eax + 0x70]
mov eax, dword [ebp + 0x18]
push eax
push esi
push ecx
fstp dword [ebx + 8]
call fcn.0050b570
add esp, 0xc
lea eax, [esi + 0x34]
call fcn.005422c0
fstp dword [esi + 0x7c]
fld dword [esi + 0x74]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jne 0x50e0ff
mov ecx, dword [ebp - 0xc]
fld dword [ecx + 0x24]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jne 0x50e0ff
fld dword [ebx + 8]
mov edx, dword [ebp + 0x18]
fmul dword [esi + 0x68]
mov eax, dword [ebp + 0x14]
test eax, eax
fld dword [ebx + 4]
fmul dword [esi + 0x64]
lea edi, [esi + 0x90]
faddp st(1)
fld dword [ebx]
fmul dword [esi + 0x60]
faddp st(1)
fld dword [esi + 0x74]
fdiv dword [ecx + 0x24]
fmul dword [0x637bf4]
fld st(1)
fmul dword [ecx + 0x28]
fsubp st(1)
fmul dword [ecx + 8]
fst dword [esi + 0x80]
fld st(0)
fmul dword [esi + 0x60]
fstp dword [esi + 0x84]
fld st(0)
fmul dword [esi + 0x64]
fstp dword [esi + 0x88]
fmul dword [esi + 0x68]
fstp dword [esi + 0x8c]
fld dword [edx + 0x2c]
fmul dword [ecx + 0x20]
fchs
fstp dword [ebp - 8]
fchs
fld st(0)
fmul dword [esi + 0x60]
fadd dword [ebx]
fstp dword [esi + 0x54]
fld st(0)
fmul dword [esi + 0x64]
fadd dword [ebx + 4]
fstp dword [esi + 0x58]
fmul dword [esi + 0x68]
fadd dword [ebx + 8]
fstp dword [esi + 0x5c]
fld dword [ebp - 8]
fmul dword [esi + 0x54]
fstp dword [edi]
fld dword [ebp - 8]
fmul dword [esi + 0x58]
fstp dword [edi + 4]
fld dword [ebp - 8]
fmul dword [esi + 0x5c]
fstp dword [edi + 8]
je 0x50e0b5
test byte [eax + 0x20], 1
je 0x50e0b5
mov eax, dword [ebp - 0x28]
fld dword [0x612220]
fld dword [eax]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50e0b5
mov edx, dword [ecx + 0x2c]
mov eax, dword [ecx + 0x30]
mov ecx, dword [esi + 0x68]
push edx
push eax
push ecx
call fcn.0050aee0
fld dword [esi + 0x30]
fmul dword [esi + 0x68]
add esp, 0xc
fld dword [esi + 0x2c]
fmul dword [esi + 0x64]
faddp st(1)
fld dword [esi + 0x28]
fmul dword [esi + 0x60]
faddp st(1)
fcom dword [0x612220]
fnstsw ax
test ah, 5
jp 0x50dff6
fstp st(0)
fld dword [0x612220]
jmp 0x50e00b
fcom dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x50e00b
fstp st(0)
fld dword [0x612224]
fld st(0)
mov edx, dword [ebp - 0x28]
fmul st(1)
fmul st(2)
fmulp st(2)
fxch st(1)
fmul dword [ebp - 8]
fstp st(1)
fld dword [edx]
fchs
fld st(0)
fmul dword [esi + 0x10]
fld st(1)
fmul dword [esi + 0x14]
fstp dword [ebp - 0xc8]
fxch st(1)
fmul dword [esi + 0x18]
fst dword [ebp - 0xc4]
fmul dword [esi + 0x68]
fld dword [ebp - 0xc8]
fmul dword [esi + 0x64]
faddp st(1)
fld st(1)
fmul dword [esi + 0x60]
faddp st(1)
fchs
fst dword [ebp - 8]
fmul dword [esi + 0x60]
faddp st(1)
fld dword [ebp - 8]
fmul dword [esi + 0x64]
fadd dword [ebp - 0xc8]
fld dword [ebp - 8]
fmul dword [esi + 0x68]
fadd dword [ebp - 0xc4]
fstp dword [ebp - 0x140]
fld st(1)
fadd dword [esi + 0x54]
fstp dword [esi + 0x54]
fld st(0)
fadd dword [esi + 0x58]
fstp dword [esi + 0x58]
fld dword [ebp - 0x140]
fadd dword [esi + 0x5c]
fstp dword [esi + 0x5c]
fxch st(1)
fmul st(2)
fadd dword [edi]
fstp dword [edi]
fmul st(1)
fadd dword [edi + 4]
fstp dword [edi + 4]
fld dword [ebp - 0x140]
fmul st(1)
fadd dword [edi + 8]
fstp dword [edi + 8]
fstp st(0)
cmp word [esi + 0x70], 0x1f
mov eax, dword [ebp + 0x18]
je 0x50e0ce
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x60]
movsx eax, word [eax + 0x5c]
push ecx
push edx
push eax
jmp 0x50e0f1
fld dword [eax + 0x64]
sub esp, 8
fmul dword [0x612414]
xor ecx, ecx
mov cx, word [eax + 0x5c]
fstp dword [esp + 4]
fld dword [eax + 0x60]
fmul dword [0x612414]
fstp dword [esp]
push ecx
lea ecx, [esi + 0x10]
lea edx, [esi + 0x28]
call fcn.0050b6b0
add esp, 0xc
fld dword [esi + 0x7c]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jne 0x50e2b8
fld dword [esi + 0x7c]
mov edx, dword [ebp - 0xc]
fcomp dword [edx + 0x3c]
fnstsw ax
test ah, 5
jp 0x50e12e
fld dword [esi + 0x7c]
fdiv dword [edx + 0x3c]
fstp dword [ebp - 0x60]
jmp 0x50e135
mov dword [ebp - 0x60], 0x3f800000
mov ecx, dword [ebp + 0x18]
fld dword [ecx + 0x34]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jne 0x50e184
fld dword [edx + 0x3c]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jne 0x50e184
fld dword [edx + 0x40]
xor eax, eax
fdiv dword [ecx + 0x34]
fmul dword [ecx + 0x2c]
fmul dword [ebp - 0x60]
fmul dword [ebp - 0xa8]
fst dword [esi + 0xb4]
mov dword [esi + 0xb8], eax
fstp dword [esi + 0xc0]
mov dword [esi + 0xbc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x50e1fc
test byte [eax + 0x20], 2
je 0x50e1fc
fld dword [0x612220]
mov edi, dword [ebp - 0x28]
fld dword [edi + 4]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50e1fc
fld dword [edi + 4]
lea edi, [esi + 0xc4]
fchs
fld st(0)
fmul dword [esi + 0x10]
fadd dword [ebx]
fld st(1)
fmul dword [esi + 0x14]
fadd dword [ebx + 4]
fstp dword [ebp - 0x138]
fxch st(1)
fmul dword [esi + 0x18]
fadd dword [ebx + 8]
fstp dword [ebp - 0x134]
fld dword [ecx + 0x2c]
fmul dword [edx + 0x38]
fchs
fst dword [ebp - 8]
fmul st(1)
fstp dword [edi]
fstp st(0)
fld dword [ebp - 0x138]
fmul dword [ebp - 8]
fstp dword [edi + 4]
fld dword [ebp - 0x134]
fmul dword [ebp - 8]
jmp 0x50e21b
fld dword [ecx + 0x2c]
lea edi, [esi + 0xc4]
fmul dword [edx + 0x38]
fchs
fld st(0)
fmul dword [ebx]
fstp dword [edi]
fld st(0)
fmul dword [ebx + 4]
fstp dword [edi + 4]
fmul dword [ebx + 8]
mov eax, dword [ebp + 0x18]
fstp dword [edi + 8]
mov edx, dword [eax + 0x64]
mov ecx, dword [eax + 0x60]
push edx
xor edx, edx
mov dx, word [eax + 0x5c]
push ecx
lea ecx, [esi + 0x10]
push edx
lea edx, [esi + 0x28]
call fcn.0050b6b0
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x50e336
test byte [eax + 0x20], 8
je 0x50e2b8
fld dword [0x612220]
mov ecx, dword [ebp - 0x28]
fld dword [ecx + 0xc]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50e2b8
fld dword [esi + 0x18]
fmul dword [ebx + 8]
fld dword [esi + 0x14]
fmul dword [ebx + 4]
faddp st(1)
fld dword [esi + 0x10]
fmul dword [ebx]
faddp st(1)
fabs
fmul dword [ecx + 0xc]
mov ecx, dword [ebp - 0xc]
fmul dword [ecx + 8]
fmul dword [ebp - 0x60]
fld st(0)
fmul dword [esi + 0x28]
fadd dword [esi + 0x10c]
fstp dword [esi + 0x10c]
fld st(0)
fmul dword [esi + 0x2c]
fadd dword [esi + 0x110]
fstp dword [esi + 0x110]
fmul dword [esi + 0x30]
fadd dword [esi + 0x114]
fstp dword [esi + 0x114]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x50e336
test byte [eax + 0x20], 4
je 0x50e336
fld dword [0x612220]
mov ecx, dword [ebp - 0x28]
fld dword [ecx + 8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50e336
fld dword [ecx + 8]
mov edx, dword [ebp + 0x18]
fchs
mov eax, dword [ebp - 0xc]
fld st(0)
fmul dword [esi + 0x10]
lea edi, [esi + 0xe8]
fadd dword [ebx]
fld st(1)
fmul dword [esi + 0x14]
fadd dword [ebx + 4]
fstp dword [ebp - 0x120]
fxch st(1)
fmul dword [esi + 0x18]
fadd dword [ebx + 8]
fstp dword [ebp - 0x11c]
fld dword [edx + 0x2c]
fmul dword [eax + 0x48]
fchs
fst dword [ebp - 8]
fmul st(1)
fstp dword [edi]
fstp st(0)
fld dword [ebp - 0x120]
fmul dword [ebp - 8]
fstp dword [edi + 4]
fld dword [ebp - 0x11c]
fmul dword [ebp - 8]
jmp 0x50e35b
mov ecx, dword [ebp + 0x18]
fld dword [ecx + 0x2c]
mov edx, dword [ebp - 0xc]
fmul dword [edx + 0x48]
lea edi, [esi + 0xe8]
fchs
fld st(0)
fmul dword [ebx]
fstp dword [edi]
fld st(0)
fmul dword [ebx + 4]
fstp dword [edi + 4]
fmul dword [ebx + 8]
mov eax, dword [ebp + 0x18]
fstp dword [edi + 8]
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x60]
movsx eax, word [eax + 0x5c]
push ecx
push edx
push eax
lea edx, [esi + 0x28]
lea ecx, [esi + 0x10]
call fcn.0050b6b0
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x50e3f1
mov ecx, eax
test byte [ecx + 0x20], 0x10
je 0x50e3f1
fld dword [0x612220]
mov ecx, dword [ebp - 0x28]
fld dword [ecx + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50e3f1
fld dword [esi + 0x18]
mov edx, dword [ebp - 0xc]
fmul dword [ebx + 8]
fld dword [esi + 0x14]
fmul dword [ebx + 4]
faddp st(1)
fld dword [esi + 0x10]
fmul dword [ebx]
faddp st(1)
fabs
fmul dword [edx + 8]
fmul dword [ecx + 0x10]
fld st(0)
fmul dword [esi + 0x28]
fadd dword [esi + 0x10c]
fstp dword [esi + 0x10c]
fld st(0)
fmul dword [esi + 0x2c]
fadd dword [esi + 0x110]
fstp dword [esi + 0x110]
fmul dword [esi + 0x30]
fadd dword [esi + 0x114]
fstp dword [esi + 0x114]
fld dword [ebx + 8]
fmul dword [ebx + 8]
fld dword [ebx + 4]
fmul dword [ebx + 4]
faddp st(1)
fld dword [ebx]
fmul dword [ebx]
faddp st(1)
fcomp dword [0x612664]
fnstsw ax
test ah, 5
mov eax, dword [esi]
jp 0x50e419
or eax, 1
jmp 0x50e41c
and eax, 0xfffffffe
fld dword [esi + 0x74]
mov dword [esi], eax
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
mov eax, dword [esi]
jne 0x50e435
or eax, 2
jmp 0x50e438
and eax, 0xfffffffd
fld dword [esi + 0x7c]
mov dword [esi], eax
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
mov eax, dword [esi]
jne 0x50e451
or eax, 8
jmp 0x50e454
and eax, 0xfffffff7
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov dword [esi], eax
xor eax, eax
mov al, byte [esi]
and eax, 1
add ecx, eax
mov eax, dword [esi]
mov dword [ebp - 0x54], ecx
mov ecx, eax
shr ecx, 1
and ecx, 1
add edx, ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
mov edx, eax
shr edx, 2
and edx, 1
add ecx, edx
mov edx, dword [ebp - 0x58]
shr eax, 3
and eax, 1
add edx, eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
je 0x50e635
test byte [eax + 0x20], 0x20
je 0x50e4e2
mov ecx, dword [ebp - 0x28]
fld dword [ecx + 0x14]
mov edx, dword [ebp - 0xc]
fmul dword [edx + 8]
fld st(0)
fmul dword [esi + 0x10]
fadd dword [esi + 0x10c]
fstp dword [esi + 0x10c]
fld st(0)
fmul dword [esi + 0x14]
fadd dword [esi + 0x110]
fstp dword [esi + 0x110]
fmul dword [esi + 0x18]
fadd dword [esi + 0x114]
fstp dword [esi + 0x114]
test byte [eax + 0x20], 0x40
je 0x50e635
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x14]
fld dword [eax + 0x2c]
mov eax, dword [0x631d1c]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp + 0x18]
fadd dword [ecx + 0x68]
mov dword [ebp - 0x128], edx
lea edx, [ebp - 0x19c]
push edx
fld st(0)
lea ecx, [ebp - 0x118]
fmul dword [eax]
lea edx, [ebp - 0x130]
fstp dword [ebp - 0x118]
fld st(0)
fmul dword [eax + 4]
fstp dword [ebp - 0x114]
fmul dword [eax + 8]
mov eax, dword [ebp + 8]
push eax
push ecx
push edx
fstp dword [ebp - 0x110]
push 0xc0a0
call fcn.00509330
add esp, 0x14
test al, al
je 0x50e635
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
fld dword [eax + 0x2c]
fadd dword [ecx + 0x68]
mov edx, dword [eax + 0x38]
fmul dword [ebp - 0x188]
fsub dword [ecx + 0x68]
mov ecx, dword [eax + 0x34]
mov eax, dword [esi + 0x30]
push ecx
push edx
fstp dword [ebp + 0x18]
push eax
call fcn.0050aee0
fld dword [ebp + 0x18]
fcomp dword [0x612220]
add esp, 0xc
fnstsw ax
test ah, 0x41
mov eax, dword [ebp + 0x14]
jne 0x50e5b1
fld dword [ebp + 0x18]
fdiv dword [eax + 0x2c]
fsubr dword [0x612224]
jmp 0x50e5b7
fld dword [0x612224]
fld st(0)
mov ecx, dword [ebp - 0x28]
fmul st(1)
mov edx, dword [ebp - 0xc]
fmul dword [0x637bf4]
fld dword [ebp - 0x174]
fmul dword [ebx + 4]
fld dword [ebp - 0x170]
fmul dword [ebx + 8]
faddp st(1)
fld dword [ebp - 0x178]
fmul dword [ebx]
faddp st(1)
fmul dword [eax + 0x30]
fsubp st(1)
fmul dword [ecx + 0x18]
fmul dword [eax + 0x24]
fmul dword [edx + 8]
fmulp st(2)
fstp st(0)
fld dword [ebp - 0x178]
fmul st(1)
fadd dword [esi + 0x10c]
fstp dword [esi + 0x10c]
fld dword [ebp - 0x174]
fmul st(1)
fadd dword [esi + 0x110]
fstp dword [esi + 0x110]
fld dword [ebp - 0x170]
fmul st(1)
fadd dword [esi + 0x114]
fstp dword [esi + 0x114]
fstp st(0)
fld dword [esi + 0x84]
lea eax, [esi + 0x124]
fadd dword [esi + 0x118]
mov ecx, eax
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [esi + 0x88]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [esi + 0x8c]
fstp dword [esi + 0x120]
fld dword [esi + 0x90]
fadd dword [esi + 0x118]
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [esi + 0x94]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [esi + 0x98]
fstp dword [esi + 0x120]
fld dword [esi + 0x118]
fadd dword [esi + 0xb8]
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [esi + 0xbc]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [esi + 0xc0]
fstp dword [esi + 0x120]
fld dword [esi + 0x118]
fadd dword [esi + 0xc4]
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [esi + 0xc8]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [esi + 0xcc]
fstp dword [esi + 0x120]
fld dword [esi + 0x118]
fadd dword [edi]
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [edi + 4]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [edi + 8]
fstp dword [esi + 0x120]
fld dword [esi + 0x118]
fadd dword [esi + 0x10c]
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [esi + 0x110]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [esi + 0x114]
fstp dword [esi + 0x120]
fld dword [esi + 0x40]
fmul dword [esi + 0x120]
fld dword [esi + 0x11c]
fmul dword [esi + 0x44]
fsubp st(1)
fstp dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc0]
fld dword [esi + 0x118]
fmul dword [esi + 0x44]
fld dword [esi + 0x3c]
fmul dword [esi + 0x120]
fsubp st(1)
fstp dword [ebp - 0xbc]
fld dword [esi + 0x3c]
fmul dword [esi + 0x11c]
fld dword [esi + 0x40]
fmul dword [esi + 0x118]
mov dword [ecx], edx
mov edx, dword [ebp - 0xbc]
mov dword [ecx + 4], edx
fsubp st(1)
fstp dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb8]
fld dword [ebp - 0x18]
mov dword [ecx + 8], edx
fadd dword [esi + 0x118]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x14]
fadd dword [esi + 0x11c]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x10]
fadd dword [esi + 0x120]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x24]
fadd dword [eax]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x20]
fadd dword [eax + 4]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x1c]
fadd dword [eax + 8]
mov eax, dword [ebp - 0x6c]
inc eax
movsx esi, ax
mov dword [ebp - 0x6c], eax
fstp dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
cmp esi, dword [eax + 0x74]
jl 0x50dae3
fld dword [0x612220]
mov edi, dword [ebp - 0xc]
fld dword [edi + 8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50e86b
fld dword [0x612224]
fdiv dword [edi + 8]
fld dword [ebp - 0x18]
fmul st(1)
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x14]
fmul st(1)
fstp dword [ebp - 0x48]
fld dword [ebp - 0x10]
fmul st(1)
fstp dword [ebp - 0x44]
fstp st(0)
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
fld dword [ebp - 0x10]
fmul dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
fld dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
fmul dword [ebp - 0x14]
faddp st(1)
fld dword [ebp - 0x18]
fmul dword [ebp - 0x18]
faddp st(1)
fsqrt
fld st(0)
fabs
fcomp qword [0x612338]
fnstsw ax
test ah, 5
jnp 0x50e9a8
fld dword [0x612224]
fdiv st(1)
fld dword [ebp - 0x18]
fmul st(1)
fstp dword [ebp - 0x18]
fld dword [ebp - 0x14]
fmul st(1)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x10]
fmul st(1)
fstp dword [ebp - 0x10]
fstp st(0)
fld dword [0x612220]
fxch st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50e9aa
mov esi, dword [edi + 0x74]
fld dword [0x612220]
xor edx, edx
test esi, esi
jle 0x50e9a8
mov ebx, dword [edi + 0x78]
xor eax, eax
lea esp, [esp]
fld dword [ebp - 0x10]
mov ecx, eax
imul eax, eax, 0x130
add eax, dword [ebp + 0x10]
shl ecx, 7
add ecx, ebx
inc edx
fmul dword [eax + 0x44]
fld dword [ebp - 0x14]
fmul dword [eax + 0x40]
faddp st(1)
fld dword [ebp - 0x18]
fmul dword [eax + 0x3c]
faddp st(1)
fchs
fld dword [ebp - 0x18]
fmul st(1)
fadd dword [eax + 0x3c]
fld dword [ebp - 0x14]
fmul st(2)
fadd dword [eax + 0x40]
fld dword [ebp - 0x10]
fmul st(3)
fadd dword [eax + 0x44]
movsx eax, dx
cmp eax, esi
fld dword [ecx + 0x68]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fld st(1)
fmul st(2)
fmul dword [0x612328]
faddp st(1)
fld st(4)
fmul st(5)
faddp st(1)
fmul dword [ecx + 0x2c]
fmul dword [edi + 4]
faddp st(6)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
jl 0x50e900
fld dword [0x612220]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50e9a8
fdivr dword [0x612224]
fld dword [ebp - 0x24]
fmul st(1)
fstp dword [ebp - 0x34]
fld dword [ebp - 0x20]
fmul st(1)
fstp dword [ebp - 0x30]
fld dword [ebp - 0x1c]
fmul st(1)
fstp dword [ebp - 0x2c]
fstp st(0)
mov esi, dword [ebp - 0x64]
fld dword [ebp - 0x4c]
fadd dword [esi + 0x68]
lea ebx, [esi + 0x8c]
mov ecx, dword [0x6e2190]
lea edx, [ebp - 0x40]
fstp dword [esi + 0x68]
xor eax, eax
fld dword [ebp - 0x48]
fadd dword [esi + 0x6c]
fstp dword [esi + 0x6c]
fld dword [ebp - 0x44]
fadd dword [esi + 0x70]
fstp dword [esi + 0x70]
fld dword [ebp - 0x34]
fadd dword [ebx]
fstp dword [ebx]
fld dword [ebp - 0x30]
fadd dword [ebx + 4]
fstp dword [ebx + 4]
fld dword [ebp - 0x2c]
fadd dword [ebx + 8]
fstp dword [ebx + 8]
fld dword [esi + 0x5c]
fadd dword [esi + 0x68]
fstp dword [ebp - 0x40]
fld dword [esi + 0x60]
fadd dword [esi + 0x6c]
fstp dword [ebp - 0x3c]
fld dword [esi + 0x64]
fadd dword [esi + 0x70]
fstp dword [ebp - 0x38]
call fcn.00504e50
cmp eax, 0xffffffff
mov dword [ebp - 0x68], eax
jne 0x50ea20
mov word [ebp - 0x64], ax
jmp 0x50ea3d
mov ecx, dword [0x6e219c]
mov edx, dword [ecx + 0xe4]
and eax, 0x7fffffff
shl eax, 4
mov ax, word [eax + edx + 8]
mov word [ebp - 0x64], ax
mov ecx, dword [0x7fb2d0]
mov edx, dword [ecx + 0x34]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [edx + eax + 8]
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
call fcn.004f9890
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
add edx, 0x5c
mov dword [edx], eax
mov eax, dword [ebp - 0x38]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x68]
mov dword [edx + 8], eax
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.004f96e0
mov eax, ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
fld dword [ebp - 0x1c]
fmul dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
fld dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
fmul dword [ebp - 0x20]
add esp, 8
faddp st(1)
fld dword [ebp - 0x24]
fmul dword [ebp - 0x24]
faddp st(1)
fsqrt
fst dword [ebp + 8]
fabs
fcomp qword [0x612338]
fnstsw ax
test ah, 5
jnp 0x50ec0c
fld dword [0x612224]
fdiv dword [ebp + 8]
fld dword [ebp - 0x24]
fmul st(1)
fstp dword [ebp - 0x24]
fld dword [ebp - 0x20]
fmul st(1)
fstp dword [ebp - 0x20]
fld dword [ebp - 0x1c]
fmul st(1)
fstp dword [ebp - 0x1c]
fstp st(0)
fld dword [0x612220]
fld dword [ebp + 8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50ec0c
fld dword [ebp + 8]
lea edx, [esi + 0x74]
fsin
mov eax, edx
fstp dword [ebp + 0xc]
fld dword [ebp + 8]
fcos
mov ecx, dword [ebp + 0xc]
fstp dword [ebp + 8]
mov edi, dword [ebp + 8]
push edi
push ecx
lea ecx, [ebp - 0x24]
call fcn.004d0c20
mov eax, dword [ebp + 0xc]
push edi
push eax
lea edi, [esi + 0x80]
lea ecx, [ebp - 0x24]
mov eax, edi
call fcn.004d0c20
fld dword [edx + 8]
fld dword [edx + 4]
add esp, 0x10
fld dword [edx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fld st(0)
fabs
fcomp qword [0x612338]
fnstsw ax
test ah, 5
jnp 0x50eb86
fdivr dword [0x612224]
fld st(0)
fmul dword [edx]
fstp dword [edx]
fld st(0)
fmul dword [edx + 4]
fstp dword [edx + 4]
fmul dword [edx + 8]
fstp dword [edx + 8]
jmp 0x50eb88
fstp st(0)
fld dword [edx + 8]
fmul dword [edi + 8]
fld dword [edx + 4]
fmul dword [edi + 4]
faddp st(1)
fld dword [edi]
fmul dword [edx]
faddp st(1)
fchs
fld st(0)
fmul dword [edx]
fadd dword [edi]
fstp dword [edi]
fld st(0)
fmul dword [edx + 4]
fadd dword [edi + 4]
fstp dword [edi + 4]
fmul dword [edx + 8]
fadd dword [edi + 8]
fstp dword [edi + 8]
fld dword [edi + 8]
fld dword [edi + 4]
fld dword [edi]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fld st(0)
fabs
fcomp qword [0x612338]
fnstsw ax
test ah, 5
jnp 0x50ec07
fdivr dword [0x612224]
fld st(0)
fmul dword [edi]
fstp dword [edi]
fld st(0)
fmul dword [edi + 4]
fstp dword [edi + 4]
fmul dword [edi + 8]
fstp dword [edi + 8]
jmp 0x50ec09
fstp st(0)
mov edi, dword [ebp - 0xc]
movsx ecx, word [ebp - 0x54]
cmp ecx, dword [edi + 0x74]
jne 0x50ecd4
cmp word [ebp - 0x50], 3
jl 0x50ecd4
cmp word [ebp - 0x5c], 0
jne 0x50ecd4
fld dword [esi + 0x70]
fld dword [esi + 0x6c]
fld dword [esi + 0x68]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [0x612664]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jp 0x50ecd4
fld dword [ebx + 8]
fld dword [ebx + 4]
fld dword [ebx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [0x612810]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jp 0x50ecd4
fld dword [ebp - 0x44]
fmul dword [ebp - 0x44]
fld dword [ebp - 0x48]
fmul dword [ebp - 0x48]
faddp st(1)
fld dword [ebp - 0x4c]
fmul dword [ebp - 0x4c]
faddp st(1)
fcomp dword [0x61280c]
fnstsw ax
test ah, 0x41
jp 0x50ecd4
fld dword [ebp - 0x2c]
fmul dword [ebp - 0x2c]
fld dword [ebp - 0x30]
fmul dword [ebp - 0x30]
faddp st(1)
fld dword [ebp - 0x34]
fmul dword [ebp - 0x34]
faddp st(1)
fcomp dword [0x612808]
fnstsw ax
test ah, 0x41
jp 0x50ecd4
mov eax, dword [esi + 0x10]
or eax, 0x20
jmp 0x50ecda
mov eax, dword [esi + 0x10]
and eax, 0xffffffdf
cmp word [ebp - 0x50], 0
mov dword [esi + 0x10], eax
jle 0x50ece9
or eax, 2
jmp 0x50ecec
and eax, 0xfffffffd
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x58]
test ax, ax
mov ecx, dword [esi + 0x10]
jle 0x50ecff
or ecx, 4
jmp 0x50ed02
and ecx, 0xfffffffb
test ax, ax
mov dword [esi + 0x10], ecx
jle 0x50ed0f
or ecx, 8
jmp 0x50ed12
and ecx, 0xfffffff7
movsx edx, ax
mov dword [esi + 0x10], ecx
cmp edx, dword [edi + 0x74]
mov eax, ecx
jne 0x50ed2c
or eax, 0x10
mov dword [esi + 0x10], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and eax, 0xffffffef
pop edi
mov dword [esi + 0x10], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret