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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0xc
mov esi, 0x769958
lea edi, [ebp - 0xf4]
lea eax, [ebp - 0xf4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x18]
push eax
push ecx
mov ecx, dword [ebx]
mov dword [ebp - 0x18], 0x47c35000
mov dword [ebp - 0x14], 0x47c35000
mov dword [ebp - 0x10], 0x47c35000
mov dword [ebp - 0xc], 0xc7c35000
mov dword [ebp - 8], 0xc7c35000
mov dword [ebp - 4], 0xc7c35000
call fcn.0051b2e0
fld dword [ebp - 0xc]
fadd dword [ebp - 0x18]
lea edi, [ebx + 0xbc]
fmul dword [0x742d60]
fstp dword [ebx + 0x11c]
fld dword [ebp - 8]
fchs
fstp dword [ebx + 0x120]
fld dword [ebp - 4]
fadd dword [ebp - 0x10]
fmul dword [0x742d60]
fstp dword [ebx + 0x124]
mov edx, dword [ebx + 0x124]
mov eax, dword [ebx + 0x120]
mov ecx, dword [ebx + 0x11c]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00408a40
mov edx, dword [ebx + 0xa4]
mov eax, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0x9c]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00408d60
fld dword [0x742cac]
fmul dword [ebx + 0x94]
push ecx
mov ecx, edi
fmul dword [0x73a6bc]
fstp dword [esp]
call fcn.00408c80
fld dword [0x742cac]
fmul dword [ebx + 0x90]
push ecx
mov ecx, edi
fmul dword [0x73a6bc]
fstp dword [esp]
call fcn.00408c10
fld dword [0x742cac]
fmul dword [ebx + 0x98]
push ecx
mov ecx, edi
fmul dword [0x73a6bc]
fstp dword [esp]
call fcn.00408cf0
lea edx, [ebx + 0x84]
mov ecx, edi
push edx
call fcn.00408bc0
lea eax, [ebp - 0xf4]
push edi
push eax
mov ecx, dword [ebx]
call fcn.0051b7d0
fld dword [ebp - 0x18]
fstp dword [ebp - 0x78]
fld dword [ebp - 0x14]
fstp dword [ebp - 0x74]
fld dword [ebp - 0x10]
fstp dword [ebp - 0x70]
fld dword [ebp - 0xc]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x14]
fstp dword [ebp - 0x68]
fld dword [ebp - 0x10]
fstp dword [ebp - 0x64]
fld dword [ebp - 0x18]
fstp dword [ebp - 0x60]
fld dword [ebp - 8]
fstp dword [ebp - 0x5c]
fld dword [ebp - 0x10]
fstp dword [ebp - 0x58]
fld dword [ebp - 0xc]
fstp dword [ebp - 0x54]
fld dword [ebp - 8]
fstp dword [ebp - 0x50]
fld dword [ebp - 0x10]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x18]
fstp dword [ebp - 0x48]
fld dword [ebp - 0x14]
fstp dword [ebp - 0x44]
fld dword [ebp - 4]
fstp dword [ebp - 0x40]
fld dword [ebp - 0xc]
fstp dword [ebp - 0x3c]
fld dword [ebp - 0x14]
fstp dword [ebp - 0x38]
fld dword [ebp - 4]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x18]
fstp dword [ebp - 0x30]
fld dword [ebp - 8]
fstp dword [ebp - 0x2c]
fld dword [ebp - 4]
fstp dword [ebp - 0x28]
fld dword [ebp - 0xc]
fstp dword [ebp - 0x24]
fld dword [ebp - 8]
mov eax, 0x47c35000
fstp dword [ebp - 0x20]
fld dword [ebp - 4]
mov dword [ebx + 0x1cc], eax
mov dword [ebx + 0x1d0], eax
mov dword [ebx + 0x1d4], eax
mov eax, 0xc7c35000
mov dword [ebx + 0x1d8], eax
mov dword [ebx + 0x1dc], eax
mov dword [ebx + 0x1e0], eax
fstp dword [ebp - 0x1c]
lea ecx, [ebx + 0x16c]
lea edx, [ebp - 0x74]
mov esi, 8
fld dword [edi]
fmul dword [edx - 4]
fld dword [edx + 4]
fmul dword [edi + 0x18]
faddp st(1)
fld dword [edi + 0xc]
fmul dword [edx]
faddp st(1)
fadd dword [edi + 0x24]
fstp dword [ecx]
fld dword [edx]
fmul dword [edi + 0x10]
fld dword [edi + 4]
fmul dword [edx - 4]
faddp st(1)
fld dword [edx + 4]
fmul dword [edi + 0x1c]
faddp st(1)
fadd dword [edi + 0x28]
fstp dword [ecx + 4]
fld dword [edx]
fmul dword [edi + 0x14]
fld dword [edi + 8]
fmul dword [edx - 4]
faddp st(1)
fld dword [edx + 4]
fmul dword [edi + 0x20]
faddp st(1)
fadd dword [edi + 0x2c]
fstp dword [ecx + 8]
fld dword [ebx + 0x1cc]
fcomp dword [ecx]
fnstsw ax
test ah, 0x41
jne 0x51d2af
mov eax, dword [ecx]
mov dword [ebx + 0x1cc], eax
fld dword [ebx + 0x1d0]
fcomp dword [ecx + 4]
fnstsw ax
test ah, 0x41
jne 0x51d2c8
mov eax, dword [ecx + 4]
mov dword [ebx + 0x1d0], eax
fld dword [ebx + 0x1d4]
fcomp dword [ecx + 8]
fnstsw ax
test ah, 0x41
jne 0x51d2e1
mov eax, dword [ecx + 8]
mov dword [ebx + 0x1d4], eax
fld dword [ebx + 0x1d8]
fcomp dword [ecx]
fnstsw ax
test ah, 1
je 0x51d2f8
mov eax, dword [ecx]
mov dword [ebx + 0x1d8], eax
fld dword [ebx + 0x1dc]
fcomp dword [ecx + 4]
fnstsw ax
test ah, 1
je 0x51d311
mov eax, dword [ecx + 4]
mov dword [ebx + 0x1dc], eax
fld dword [ebx + 0x1e0]
fcomp dword [ecx + 8]
fnstsw ax
test ah, 1
je 0x51d32a
mov eax, dword [ecx + 8]
mov dword [ebx + 0x1e0], eax
add edx, 0xc
add ecx, 0xc
dec esi
jne 0x51d249
fld dword [ebp - 0x14]
fmul dword [edi + 0xc]
fld dword [ebp - 0x10]
fmul dword [edi + 0x18]
faddp st(1)
fld dword [ebp - 0x18]
fmul dword [edi]
faddp st(1)
fadd dword [edi + 0x24]
fld dword [ebp - 0x14]
fmul dword [edi + 0x10]
fld dword [ebp - 0x18]
fmul dword [edi + 4]
faddp st(1)
fld dword [ebp - 0x10]
fmul dword [edi + 0x1c]
faddp st(1)
fadd dword [edi + 0x28]
fstp dword [ebp - 0x84]
fld dword [ebp - 0x14]
fmul dword [edi + 0x14]
fld dword [ebp - 0x18]
fmul dword [edi + 8]
faddp st(1)
fld dword [ebp - 0x10]
fmul dword [edi + 0x20]
faddp st(1)
fadd dword [edi + 0x2c]
fstp dword [ebp - 0x80]
fld dword [ebp - 8]
fmul dword [edi + 0xc]
fld dword [ebp - 4]
fmul dword [edi + 0x18]
faddp st(1)
fld dword [ebp - 0xc]
fmul dword [edi]
faddp st(1)
fadd dword [edi + 0x24]
fld dword [ebp - 0xc]
fmul dword [edi + 4]
fld dword [ebp - 8]
fmul dword [edi + 0x10]
faddp st(1)
fld dword [ebp - 4]
fmul dword [edi + 0x1c]
faddp st(1)
fadd dword [edi + 0x28]
fstp dword [ebp - 0x90]
fld dword [ebp - 0xc]
fmul dword [edi + 8]
fld dword [ebp - 8]
fmul dword [edi + 0x14]
faddp st(1)
fld dword [ebp - 4]
fmul dword [edi + 0x20]
faddp st(1)
fadd dword [edi + 0x2c]
fstp dword [ebp - 0x8c]
fadd st(1)
fmul dword [0x73a608]
fstp dword [ebx + 0x13c]
fstp st(0)
fld dword [ebp - 0x90]
fadd dword [ebp - 0x84]
fmul dword [0x73a608]
fstp dword [ebx + 0x140]
fld dword [ebp - 0x8c]
fadd dword [ebp - 0x80]
fmul dword [0x73a608]
fstp dword [ebx + 0x144]
fld dword [ebp - 0xc]
fsub dword [ebp - 0x18]
fstp dword [ebp - 0x88]
fld dword [ebp - 8]
fsub dword [ebp - 0x14]
fstp dword [ebp - 0x84]
fld dword [ebp - 4]
fsub dword [ebp - 0x10]
fmul dword [ebx + 0xa4]
fabs
fmul qword [0x742d58]
fld dword [ebp - 0x84]
fmul dword [ebx + 0xa0]
fabs
fmul qword [0x742d58]
fld dword [ebp - 0x88]
fmul dword [ebx + 0x9c]
fabs
fmul qword [0x742d58]
fstp dword [ebx + 0x130]
fstp dword [ebx + 0x134]
fstp dword [ebx + 0x138]
mov ecx, dword [ebx + 0xa4]
mov edx, dword [ebx + 0xa0]
mov eax, dword [ebx + 0x9c]
push ecx
push edx
push eax
lea ecx, [ebp - 0xc4]
call fcn.00408b90
fld dword [0x742cac]
fmul dword [ebx + 0x94]
push ecx
lea ecx, [ebp - 0xc4]
fmul dword [0x73a6bc]
fstp dword [esp]
call fcn.00408c80
fld dword [0x742cac]
fmul dword [ebx + 0x90]
push ecx
lea ecx, [ebp - 0xc4]
fmul dword [0x73a6bc]
fstp dword [esp]
call fcn.00408c10
fld dword [0x742cac]
fmul dword [ebx + 0x98]
push ecx
lea ecx, [ebp - 0xc4]
fmul dword [0x73a6bc]
fstp dword [esp]
call fcn.00408cf0
fld dword [ebp - 0xc4]
fstp dword [ebx + 0x148]
fld dword [ebp - 0xc0]
fstp dword [ebx + 0x14c]
fld dword [ebp - 0xbc]
fstp dword [ebx + 0x150]
fld dword [ebx + 0x150]
fld dword [ebx + 0x14c]
fld dword [ebx + 0x148]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
push ecx
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00408a10
fdivr dword [0x73a6ac]
fld st(0)
fmul dword [ebx + 0x148]
fstp dword [ebx + 0x148]
fld st(0)
fmul dword [ebx + 0x14c]
fstp dword [ebx + 0x14c]
fmul dword [ebx + 0x150]
fstp dword [ebx + 0x150]
fld dword [ebp - 0xb8]
fstp dword [ebx + 0x154]
fld dword [ebp - 0xb4]
fstp dword [ebx + 0x158]
fld dword [ebp - 0xb0]
fstp dword [ebx + 0x15c]
fld dword [ebx + 0x15c]
fld dword [ebx + 0x158]
fld dword [ebx + 0x154]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00408a10
fdivr dword [0x73a6ac]
fld st(0)
fmul dword [ebx + 0x154]
fstp dword [ebx + 0x154]
fld st(0)
fmul dword [ebx + 0x158]
fstp dword [ebx + 0x158]
fmul dword [ebx + 0x15c]
fstp dword [ebx + 0x15c]
fld dword [ebp - 0xac]
fstp dword [ebx + 0x160]
fld dword [ebp - 0xa8]
fstp dword [ebx + 0x164]
fld dword [ebp - 0xa4]
fstp dword [ebx + 0x168]
fld dword [ebx + 0x168]
fld dword [ebx + 0x164]
fld dword [ebx + 0x160]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00408a10
fdivr dword [0x73a6ac]
add esp, 4
fld st(0)
fmul dword [ebx + 0x160]
fstp dword [ebx + 0x160]
fld st(0)
fmul dword [ebx + 0x164]
fstp dword [ebx + 0x164]
fmul dword [ebx + 0x168]
fstp dword [ebx + 0x168]
mov ecx, dword [ebx + 0x1f4]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 0x7c], eax
je 0x51da05
jmp 0x51d6a8
mov eax, dword [ebp - 0x7c]
mov esi, dword [eax + 8]
fld dword [0x742cac]
fmul dword [esi + 0x18]
lea ecx, [esi + 0x84]
push ecx
fmul dword [0x73a6bc]
fstp dword [esp]
call fcn.00408a70
fld dword [0x742cac]
fmul dword [esi + 0x1c]
push ecx
lea ecx, [esi + 0x84]
fmul dword [0x73a6bc]
fstp dword [esp]
call fcn.00408c80
fld dword [0x742cac]
fmul dword [esi + 0x20]
push ecx
lea ecx, [esi + 0x84]
fmul dword [0x73a6bc]
fstp dword [esp]
call fcn.00408cf0
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esi + 0x84]
call fcn.00408bc0
lea eax, [esi + 0x84]
lea ecx, [esi + 0xb4]
push eax
call fcn.00409480
lea eax, [esi + 0x84]
push edi
push eax
lea ecx, [ebp - 0x48]
call fcn.00409340
fld dword [esi]
fchs
fld dword [esi + 4]
fchs
fld dword [esi + 8]
fchs
fld dword [ebp - 0x30]
fmul st(1)
fld dword [ebp - 0x3c]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x48]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x24]
fld dword [ebp - 0x2c]
fmul st(1)
fld dword [ebp - 0x38]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x44]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x20]
fstp dword [esi + 0x28]
fld dword [ebp - 0x28]
fmul st(1)
fld dword [ebp - 0x34]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x40]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x1c]
fstp dword [esi + 0x2c]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esi]
fld dword [esi + 4]
fchs
fld dword [esi + 8]
fchs
fld st(0)
fmul dword [ebp - 0x30]
fld st(2)
fmul dword [ebp - 0x3c]
faddp st(1)
fld st(3)
fmul dword [ebp - 0x48]
faddp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x30]
fld st(0)
fmul dword [ebp - 0x2c]
fld st(2)
fmul dword [ebp - 0x38]
faddp st(1)
fld dword [ebp - 0x44]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x20]
fstp dword [esi + 0x34]
fmul dword [ebp - 0x28]
fxch st(1)
fmul dword [ebp - 0x34]
faddp st(1)
fld dword [ebp - 0x40]
fmul st(2)
faddp st(1)
fadd dword [ebp - 0x1c]
fstp dword [esi + 0x38]
fstp st(0)
fld dword [esi]
fld dword [esi + 4]
fld dword [esi + 8]
fchs
fld st(0)
fmul dword [ebp - 0x30]
fld st(2)
fmul dword [ebp - 0x3c]
faddp st(1)
fld st(3)
fmul dword [ebp - 0x48]
faddp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x3c]
fld st(0)
fmul dword [ebp - 0x2c]
fld st(2)
fmul dword [ebp - 0x38]
faddp st(1)
fld dword [ebp - 0x44]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x20]
fstp dword [esi + 0x40]
fmul dword [ebp - 0x28]
fxch st(1)
fmul dword [ebp - 0x34]
faddp st(1)
fld dword [ebp - 0x40]
fmul st(2)
faddp st(1)
fadd dword [ebp - 0x1c]
fstp dword [esi + 0x44]
fstp st(0)
fld dword [esi]
fchs
fld dword [esi + 4]
fld dword [esi + 8]
fchs
fld st(0)
fmul dword [ebp - 0x30]
fld st(2)
fmul dword [ebp - 0x3c]
faddp st(1)
fld st(3)
fmul dword [ebp - 0x48]
faddp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x48]
fld st(0)
fmul dword [ebp - 0x2c]
fld st(2)
fmul dword [ebp - 0x38]
faddp st(1)
fld dword [ebp - 0x44]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x20]
fstp dword [esi + 0x4c]
fmul dword [ebp - 0x28]
fxch st(1)
fmul dword [ebp - 0x34]
faddp st(1)
fld dword [ebp - 0x40]
fmul st(2)
faddp st(1)
fadd dword [ebp - 0x1c]
fstp dword [esi + 0x50]
fstp st(0)
fld dword [esi]
fchs
fld dword [esi + 4]
fchs
fld dword [esi + 8]
fld st(0)
fmul dword [ebp - 0x30]
fld st(2)
fmul dword [ebp - 0x3c]
faddp st(1)
fld st(3)
fmul dword [ebp - 0x48]
faddp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x54]
fld st(0)
fmul dword [ebp - 0x2c]
fld st(2)
fmul dword [ebp - 0x38]
faddp st(1)
fld dword [ebp - 0x44]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x20]
fstp dword [esi + 0x58]
fmul dword [ebp - 0x28]
fxch st(1)
fmul dword [ebp - 0x34]
faddp st(1)
fld dword [ebp - 0x40]
fmul st(2)
faddp st(1)
fadd dword [ebp - 0x1c]
fstp dword [esi + 0x5c]
fstp st(0)
fld dword [esi]
fld dword [esi + 4]
fchs
fld dword [esi + 8]
fld st(0)
fmul dword [ebp - 0x30]
fld st(2)
fmul dword [ebp - 0x3c]
faddp st(1)
fld st(3)
fmul dword [ebp - 0x48]
faddp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x60]
fld st(0)
fmul dword [ebp - 0x2c]
fld st(2)
fmul dword [ebp - 0x38]
faddp st(1)
fld dword [ebp - 0x44]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x20]
fstp dword [esi + 0x64]
fmul dword [ebp - 0x28]
fxch st(1)
fmul dword [ebp - 0x34]
faddp st(1)
fld dword [ebp - 0x40]
fmul st(2)
faddp st(1)
fadd dword [ebp - 0x1c]
fstp dword [esi + 0x68]
fstp st(0)
fld dword [esi]
fld dword [esi + 4]
fld dword [esi + 8]
fld st(0)
fmul dword [ebp - 0x30]
fld st(2)
fmul dword [ebp - 0x3c]
faddp st(1)
fld st(3)
fmul dword [ebp - 0x48]
faddp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x6c]
fld st(0)
fmul dword [ebp - 0x2c]
fld st(2)
fmul dword [ebp - 0x38]
faddp st(1)
fld dword [ebp - 0x44]
fmul st(4)
faddp st(1)
fadd dword [ebp - 0x20]
fstp dword [esi + 0x70]
fmul dword [ebp - 0x28]
fxch st(1)
fmul dword [ebp - 0x34]
faddp st(1)
fld dword [ebp - 0x40]
fmul st(2)
faddp st(1)
fadd dword [ebp - 0x1c]
fstp dword [esi + 0x74]
fstp st(0)
fld dword [esi]
fchs
fld dword [esi + 4]
fld dword [esi + 8]
fld st(0)
fmul dword [ebp - 0x30]
fld st(2)
fmul dword [ebp - 0x3c]
faddp st(1)
fld st(3)
fmul dword [ebp - 0x48]
faddp st(1)
fadd dword [ebp - 0x24]
fstp dword [esi + 0x78]
fld st(0)
fmul dword [ebp - 0x2c]
fld st(2)
fmul dword [ebp - 0x38]
faddp st(1)
fld dword [ebp - 0x44]
fmul st(4)
mov edx, dword [ebp - 0x7c]
faddp st(1)
fadd dword [ebp - 0x20]
fstp dword [esi + 0x7c]
fmul dword [ebp - 0x28]
fxch st(1)
fmul dword [ebp - 0x34]
faddp st(1)
fld dword [ebp - 0x40]
fmul st(2)
faddp st(1)
fadd dword [ebp - 0x1c]
fstp dword [esi + 0x80]
mov eax, dword [edx]
mov ecx, dword [ebx + 0x1f4]
cmp eax, ecx
mov dword [ebp - 0x7c], eax
fstp st(0)
jne 0x51d6a5
pop edi
mov dword [ebx + 0x128], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret