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

Disassembly:
fldz
sub esp, 0xec
fcomp dword [esp + 0xf0]
push ebx
push ebp
push esi
push edi
mov edi, eax
fnstsw ax
test ah, 1
jne 0x48eb92
mov eax, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
jmp fcn.00489f00
lea esi, [esp + 0xd4]
call fcn.00489d40
mov esi, dword [esp + 0x10c]
cmp edi, esi
jne 0x48ebbb
lea eax, [esp + 0xd4]
mov ecx, esi
call fcn.00489f20
mov edi, eax
jmp 0x48ebc2
mov eax, esi
call fcn.00489f00
mov cl, 1
mov eax, esi
call fcn.00489fb0
fld dword [esp + 0x100]
fld qword [0x572fa8]
mov eax, dword [esp + 0x110]
fmul st(1)
push ecx
fmul st(1)
fstp dword [esp + 0x38]
fmul qword [0x572c90]
fstp dword [esp + 0x30]
fld dword [esp + 0x118]
fdivr qword [0x572df0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
push eax
push edi
lea edi, [esp + 0x74]
call fcn.0048d350
lea esi, [esp + 0x18]
call fcn.004d3140
cmp dword [esp + 0x20], 0x200
jge 0x48ec32
mov edi, 0x308
call fcn.004d8ce0
fldz
lea ecx, [esp + 0x68]
fst dword [esp + 0x38]
push ecx
fstp dword [esp + 0x40]
call fcn.0048d4b0
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
test al, al
je 0x48eed4
cmp dword [esp + 0x7c], 0
jne 0x48ecb3
test ebp, ebp
jle 0x48eca3
mov edx, dword [esp + 0x108]
fld dword [esp + 0x34]
mov eax, dword [esp + 0x104]
push edx
push eax
mov eax, dword [esp + 0x114]
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0x28]
fld dword [esp + 0x3c]
fstp dword [esp]
push 0
push ecx
call fcn.0048e790
mov ebx, dword [esp + 0x30]
add esp, 0x18
xor ebp, ebp
mov dword [esp + 0x24], ebp
fld dword [esp + 0x68]
fstp dword [esp + 0x38]
fld dword [esp + 0x6c]
fstp dword [esp + 0x3c]
cmp byte [esp + 0x78], 0
fld dword [esp + 0x70]
fst dword [esp + 0x40]
fld dword [esp + 0x74]
fst dword [esp + 0x44]
fld dword [esp + 0x38]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x30]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [esp + 0x30]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x14]
jne 0x48ed14
fld dword [esp + 0x14]
fcomp qword [0x572d50]
fnstsw ax
test ah, 0x41
je 0x48ed14
lea eax, [esp + 0x68]
call fcn.0048d480
test al, al
je 0x48eec2
fld dword [esp + 0x14]
call fcn.0052cab0
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x48ed65
fstp st(0)
fld dword [esp + 0x38]
fst dword [esp + 0x50]
fst dword [esp + 0x48]
fst dword [esp + 0x60]
fstp dword [esp + 0x58]
fld dword [esp + 0x3c]
fst dword [esp + 0x54]
fst dword [esp + 0x4c]
fst dword [esp + 0x64]
jmp 0x48ede7
fdivr dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x38]
fld st(0)
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x30]
fld st(0)
fld dword [esp + 0x3c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x64]
fld st(2)
faddp st(4)
fxch st(3)
fstp dword [esp + 0x48]
fld st(0)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x4c]
fld st(0)
fld dword [esp + 0x70]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x74]
fld st(0)
fsub st(4)
fstp dword [esp + 0x54]
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x58]
faddp st(1)
lea edi, [ebp + 1]
fstp dword [esp + 0x5c]
cmp edi, dword [esp + 0x20]
jle 0x48ee4a
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + edi + 8]
and esi, 0xfffffff8
cmp dword [esp + 0x20], esi
je 0x48ee4a
test esi, esi
jle 0x48ee37
test ebx, ebx
jne 0x48ee23
lea edx, [esi + esi*2]
shl edx, 4
push edx
call fcn.0051ef12
add esp, 4
mov ebx, eax
jmp 0x48ee42
lea eax, [esi + esi*2]
shl eax, 4
push eax
push ebx
call fcn.0051f11a
add esp, 8
mov ebx, eax
jmp 0x48ee42
push ebx
call fcn.0051ee35
add esp, 4
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], esi
mov eax, ebp
mov ebp, edi
lea edi, [eax + eax*2]
shl edi, 4
add edi, ebx
mov dword [esp + 0x24], ebp
je 0x48ee67
mov ecx, 0xc
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0x78], 0
je 0x48eeb2
mov ecx, dword [esp + 0x108]
fld dword [esp + 0x34]
mov edx, dword [esp + 0x104]
push ecx
push edx
sub esp, 8
fstp dword [esp + 4]
lea eax, [esp + 0x28]
fld dword [esp + 0x3c]
fstp dword [esp]
push 1
push eax
mov eax, dword [esp + 0x124]
call fcn.0048e790
mov ebx, dword [esp + 0x30]
add esp, 0x18
xor ebp, ebp
mov dword [esp + 0x24], ebp
jmp 0x48eec2
fld dword [esp + 0x70]
fstp dword [esp + 0x38]
fld dword [esp + 0x74]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x68]
push ecx
call fcn.0048d4b0
test al, al
jne 0x48ec56
test ebp, ebp
jle 0x48ef14
mov edx, dword [esp + 0x108]
fld dword [esp + 0x34]
mov eax, dword [esp + 0x104]
push edx
push eax
mov eax, dword [esp + 0x114]
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0x28]
fld dword [esp + 0x3c]
fstp dword [esp]
push 0
push ecx
call fcn.0048e790
mov ebx, dword [esp + 0x30]
add esp, 0x18
push ebx
call fcn.0051ee35
add esp, 4
test byte [0x59fce8], 1
jne 0x48ef44
or dword [0x59fce8], 1
push 0x5517d0
mov dword [0x59fb88], 0
call fcn.0051f103
add esp, 4
mov edx, 0x59fb88
or eax, 0xffffffff
lock xadd dword [edx], eax
lea ecx, [esp + 0x68]
push ecx
call fcn.0048d410
lea edx, [esp + 0xd4]
push edx
call fcn.00489d90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret