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

Disassembly:
sub esp, 0xa0
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x20]
fild dword [eax + 0x48]
push ebx
push ebp
push esi
mov esi, dword [eax + 0xbc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
mov edx, dword [esi + 0x68]
fsub dword [eax + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x6c]
fstp dword [esp + 0x44]
mov dword [esp + 0x14], edx
fild dword [eax + 0x54]
mov edx, dword [eax + 0x24]
push edi
mov dword [esp + 0x8c], edx
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fsub dword [eax + 0x7c]
mov eax, dword [esi + 4]
test eax, eax
fstp dword [esp + 0x4c]
je 0x5411c6
fld dword [eax + 0x58]
fadd dword [esi + 0x50]
fstp dword [esp + 0x20]
fld dword [eax + 0x5c]
fadd dword [esi + 0x54]
fstp dword [esp + 0x24]
jmp 0x5411d4
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 8]
mov edx, dword [eax + 4]
mov ebx, dword [esi + 0x38]
mov eax, dword [eax + 8]
mov edi, dword [esi + 0x3c]
sub edx, ebx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
sub eax, edi
lea edi, [esi + 0x8c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
mov dword [esp + 0x10], eax
fadd dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov ecx, dword [esi + 0x60]
fstp dword [esp + 0x20]
sub ecx, edx
fild dword [esp + 0x10]
mov edx, dword [esi + 0x64]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fadd dword [esp + 0x24]
mov ecx, dword [eax + 4]
sub edx, ecx
lea eax, [esp + 0x80]
fstp dword [esp + 0x24]
push eax
fild dword [esp + 0x14]
push edi
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
mov dword [esp + 0x18], edx
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
push ecx
push edx
call fcn.00510a40
fld dword [esp + 0x90]
fcomp qword [0x66a720]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x541296
fld qword [0x66a748]
jmp 0x54129c
fld qword [0x66bf28]
fstp qword [esp + 0x58]
fld dword [esp + 0x80]
fadd qword [esp + 0x58]
call fcn.00667ad0
fld dword [esp + 0x84]
fcomp qword [0x66a720]
mov dword [esp + 0x50], eax
fnstsw ax
test ah, 1
jne 0x5412d0
fld qword [0x66a748]
jmp 0x5412d6
fld qword [0x66bf28]
fstp qword [esp + 0x58]
fld dword [esp + 0x84]
fadd qword [esp + 0x58]
call fcn.00667ad0
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x90]
push eax
push ecx
call fcn.00538200
fild dword [esp + 0x98]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fild dword [esp + 0xa0]
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fild dword [esp + 0xa4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], ecx
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fild dword [esp + 0x9c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], edx
lea edx, [esp + 0x48]
fstp dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
push edx
push edi
push ecx
push eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebp
call fcn.00510a40
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x40]
push eax
push edi
push ecx
push edx
call fcn.00510a40
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x58]
push eax
push edi
push ecx
push edx
call fcn.00510a40
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x70]
push eax
push edi
push ecx
push edx
call fcn.00510a40
fld dword [esp + 0x88]
fcomp dword [esp + 0x70]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x70]
add esp, 0x48
mov dword [esp + 0x10], ebx
fnstsw ax
test ah, 5
jnp 0x5413d3
mov dword [esp + 0x10], edi
fld dword [esp + 0x30]
mov edx, dword [esp + 0x30]
fcomp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 5
jnp 0x5413f2
mov dword [esp + 0x14], ecx
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x54141c
fld dword [esp + 0x40]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 5
jp 0x541416
mov dword [esp + 0x10], ebx
jmp 0x541433
mov dword [esp + 0x10], edi
jmp 0x541433
fld dword [esp + 0x30]
mov dword [esp + 0x10], edx
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 5
jnp 0x541433
mov dword [esp + 0x10], ecx
fld dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
call fcn.005386b0
add esp, 8
call fcn.00667ad0
fld dword [esp + 0x44]
fcomp dword [esp + 0x2c]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
mov ebx, eax
mov dword [esp + 0x10], ebp
fnstsw ax
test ah, 5
jnp 0x54146b
mov dword [esp + 0x10], edi
fld dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fcomp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 5
jnp 0x54148a
mov dword [esp + 0x14], ecx
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x5414b4
fld dword [esp + 0x44]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x5414ae
mov dword [esp + 0x10], ebp
jmp 0x5414cb
mov dword [esp + 0x10], edi
jmp 0x5414cb
fld dword [esp + 0x34]
mov dword [esp + 0x10], edx
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 5
jnp 0x5414cb
mov dword [esp + 0x10], ecx
fld dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
call fcn.005386b0
add esp, 8
call fcn.00667ad0
fld dword [esp + 0x40]
fcomp dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x10], ebp
fnstsw ax
test ah, 0x41
je 0x541508
mov dword [esp + 0x10], edi
fld dword [esp + 0x30]
mov edx, dword [esp + 0x30]
fcomp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 0x41
je 0x541527
mov dword [esp + 0x14], ecx
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x541551
fld dword [esp + 0x40]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x54154b
mov dword [esp + 0x10], ebp
jmp 0x541568
mov dword [esp + 0x10], edi
jmp 0x541568
fld dword [esp + 0x30]
mov dword [esp + 0x10], edx
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x41
je 0x541568
mov dword [esp + 0x10], ecx
fld dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
call fcn.00538660
add esp, 8
call fcn.00667ad0
fld dword [esp + 0x44]
fcomp dword [esp + 0x2c]
mov ebp, dword [esp + 0x2c]
mov edi, eax
fnstsw ax
test ah, 0x41
jne 0x54159e
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
jmp 0x5415a2
mov dword [esp + 0x10], ebp
fld dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fcomp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 0x41
je 0x5415c1
mov dword [esp + 0x14], ecx
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x5415eb
fld dword [esp + 0x44]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x5415e5
mov ecx, dword [esp + 0x44]
jmp 0x5415fe
mov dword [esp + 0x10], ebp
jmp 0x541602
fld dword [esp + 0x34]
mov dword [esp + 0x10], edx
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
je 0x541602
mov dword [esp + 0x10], ecx
fld dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
call fcn.00538660
add esp, 8
call fcn.00667ad0
mov ecx, dword [esp + 0x50]
mov ebp, eax
mov eax, dword [esp + 0x1c]
sub ebx, ecx
sub ebx, eax
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
sub esp, 8
fstp dword [esp + 0x1c]
fild dword [esi + 0x70]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esi + 0x80]
fsubr dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [esi + 0x80]
fnstsw ax
test ah, 1
jne 0x54167c
fld dword [esp + 0x1c]
fdiv dword [esi + 0x80]
fstp qword [esp]
call fcn.005386b0
add esp, 8
call fcn.00667ad0
jmp 0x5416a4
fld dword [esi + 0x80]
fsub dword [esp + 0x1c]
fsub dword [0x676a38]
fdiv dword [esi + 0x80]
fstp qword [esp]
call fcn.005386b0
add esp, 8
call fcn.00667ad0
neg eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
sub edi, ecx
sub edi, eax
mov dword [esp + 0x1c], edi
fild dword [esp + 0x1c]
sub esp, 8
fstp dword [esp + 0x1c]
fild dword [esi + 0x70]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fmul dword [esi + 0x80]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [esi + 0x80]
fnstsw ax
test ah, 1
jne 0x541709
fld dword [esp + 0x1c]
fdiv dword [esi + 0x80]
fstp qword [esp]
call fcn.005386b0
add esp, 8
call fcn.00667ad0
jmp 0x541731
fld dword [esi + 0x80]
fsub dword [esp + 0x1c]
fsub dword [0x676a38]
fdiv dword [esi + 0x80]
fstp qword [esp]
call fcn.005386b0
add esp, 8
call fcn.00667ad0
neg eax
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
sub eax, edi
mov edi, dword [esp + 0x54]
mov edx, edi
sub edx, ebp
add edx, ebx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
inc eax
mov dword [esp + 0x88], eax
sub esp, 8
fstp dword [esp + 0x24]
fild dword [esi + 0x74]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esi + 0x84]
fsubr dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [esi + 0x84]
fnstsw ax
test ah, 1
jne 0x5417a4
fld dword [esp + 0x1c]
fdiv dword [esi + 0x84]
fstp qword [esp]
call fcn.005386b0
add esp, 8
call fcn.00667ad0
mov ebp, eax
jmp 0x5417ce
fld dword [esi + 0x84]
fsub dword [esp + 0x1c]
fsub dword [0x676a38]
fdiv dword [esi + 0x84]
fstp qword [esp]
call fcn.005386b0
add esp, 8
call fcn.00667ad0
mov ebp, eax
neg ebp
sub edi, dword [esp + 0xa8]
add edi, ebx
mov dword [esp + 0x18], edi
fild dword [esp + 0x18]
sub esp, 8
fstp dword [esp + 0x24]
fild dword [esi + 0x74]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esi + 0x84]
fadd dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [esi + 0x84]
fnstsw ax
test ah, 1
jne 0x54182c
fld dword [esp + 0x1c]
fdiv dword [esi + 0x84]
fstp qword [esp]
call fcn.005386b0
add esp, 8
call fcn.00667ad0
jmp 0x541854
fld dword [esi + 0x84]
fsub dword [esp + 0x1c]
fsub dword [0x676a38]
fdiv dword [esi + 0x84]
fstp qword [esp]
call fcn.005386b0
add esp, 8
call fcn.00667ad0
neg eax
sub eax, ebp
fld dword [esp + 0x20]
inc eax
fadd dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x40]
mov ecx, eax
fstp dword [esp + 0x20]
and ecx, 0xffff
fld dword [esp + 0x24]
fadd dword [esp + 0x4c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x44]
mov edx, ecx
and edx, 0xffff
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0x48]
mov edi, edx
and edi, 0xffff
mov dword [esp + 0x68], edi
mov edi, dword [esi + 0x4c]
mov ebx, edi
sar edi, 0x10
and ebx, 0xffff
sar edx, 0x10
sar eax, 0x10
mov dword [esp + 0x6c], ebx
mov ebx, edi
mov edi, edx
mov dword [esp + 0x78], eax
imul eax, dword [esp + 0x10]
imul edi, ebp
sar ecx, 0x10
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
add edi, eax
call fcn.00667ad0
imul ebx, ebp
fld dword [esp + 0x24]
add edi, eax
mov eax, dword [esp + 0x7c]
imul eax, dword [esp + 0x10]
add ebx, eax
call fcn.00667ad0
mov ecx, dword [esp + 0x70]
imul ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
imul edx, dword [esp + 0x10]
add ebx, eax
mov eax, dword [esp + 0x68]
imul eax, ebp
add eax, ecx
mov ecx, dword [esp + 0x6c]
imul ecx, ebp
add ecx, edx
mov edx, dword [esi + 4]
test edx, edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
je 0x541946
fld dword [esp + 0x20]
fsub dword [edx + 0x58]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fsub dword [edx + 0x5c]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x18]
test edx, edx
jle 0x541a99
mov dword [esp + 0x14], edx
jmp 0x541960
mov edx, dword [esp + 0x88]
test edx, edx
mov dword [esp + 0xa0], eax
mov ebp, ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebx
jle 0x541a6a
add eax, 0x8000
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
lea ecx, [ecx]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
sar edx, 0x10
add eax, edx
lea edx, [ebp + 0x8000]
sar edx, 0x10
add ecx, edx
mov edx, dword [esp + 0x8c]
test edx, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
je 0x5419cd
and eax, 0xfffffffc
and ecx, 0xfffffffc
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x48]
mov ecx, dword [esp + 0xb8]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0xb8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
push ecx
fsub dword [esp + 0x28]
fstp dword [esi + 0x58]
fild dword [esp + 0x54]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fsub dword [esp + 0x2c]
fstp dword [esi + 0x5c]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x20]
push ecx
push eax
call fcn.005f1d10
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x70]
add eax, edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x88]
add ecx, eax
mov eax, dword [esp + 0x2c]
add ebp, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x8c]
add edx, ecx
add esp, 0x10
dec eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x1c], eax
jne 0x541990
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
add eax, edx
mov edx, dword [esp + 0x58]
add ecx, ebp
mov ebp, dword [esp + 0x5c]
add edi, edx
mov edx, dword [esp + 0x14]
add ebx, ebp
dec edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x14], edx
jne 0x541960
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret