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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x284
push ebx
mov ebx, ecx
cmp byte [ebx + 0x12b], 0
push esi
push edi
jne 0x48f804
xor edi, edi
cmp dword [ebx + 0x158], edi
jne 0x48f80d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x2fc], edi
je 0x48f804
cmp dword [ebx + 0x300], edi
je 0x48f804
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x54]
push ecx
lea eax, [esp + 0x27]
mov ecx, ebx
mov byte [esp + 0x27], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.0048f740
cmp eax, edi
jne 0x4900b0
cmp byte [ebx + 0x127], 0
je 0x48f881
lea ecx, [esp + 0x50]
mov eax, ebx
call fcn.00420040
mov ecx, ebx
call fcn.00440590
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movdqa xmm0, xmmword [esp + 0x50]
lea ecx, [esp + 0x40]
lea eax, [esp + 0x60]
movdqa xmmword [esp + 0x60], xmm0
call fcn.0043cf60
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x60]
cmp dword [ebx + 0x2d0], edx
jne 0x48f8bf
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
mov byte [esp + 0x27], 0
cmp dword [ebx + 0x2d4], eax
je 0x48f8c4
mov byte [esp + 0x27], 1
cmp dword [ebx + 0x30c], edi
je 0x48f98c
mov ecx, dword [ebx + 0x314]
cmp ecx, dword [ebx + 0x310]
je 0x48f98c
lea esi, [esp + 0x138]
mov dword [ebx + 0x314], 0xffffffff
call fcn.00420160
push eax
lea edx, [ebx + 0x170]
push edx
call fcn.00474bd0
call fcn.00474c20
lea esi, [esp + 0x13c]
call fcn.00472be0
movss xmm0, dword [ebx + 0x304]
ucomiss xmm0, dword [0x4d3500]
lahf
test ah, 0x44
jnp 0x48f98c
push ebx
push ecx
mov edx, 0x4d2098
lea esi, [esp + 0x20]
call fcn.004011f0
add esp, 4
lea esi, [esp + 0xa8]
call fcn.0046eeb0
lea ecx, [esp + 0x18]
call fcn.00401420
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
mov ecx, esi
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x310]
mov dword [ebx + 0x8a8], eax
mov eax, dword [ebx + 0x864]
cmp eax, edi
je 0x48f97e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea edi, [esp + 0xa4]
call fcn.004225f0
xor edi, edi
movss xmm0, dword [ebx + 0x304]
ucomiss xmm0, dword [0x4d3500]
lahf
test ah, 0x44
jnp 0x48fac2
mov ecx, dword [ebx + 0x8ac]
cmp ecx, dword [ebx + 0x310]
jne 0x48fac2
lea ecx, [ebx + 0x858]
lea esi, [esp + 0x28]
call fcn.00401890
cmp dword [ebx + 0x88c], edi
je 0x48fab9
push ebx
push ecx
mov edx, 0x4d20ac
lea esi, [esp + 0x20]
call fcn.004011f0
add esp, 4
lea esi, [esp + 0x80]
call fcn.0046eeb0
lea ecx, [esp + 0x18]
call fcn.00401420
mov edx, dword [ebx]
mov edx, dword [edx + 0x58]
mov eax, esi
push eax
mov ecx, ebx
call edx
or eax, 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
movq xmm0, qword [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x48]
lea ecx, [ebx + 0x170]
movq qword [eax + 8], xmm0
lea eax, [ebx + 0x884]
push ecx
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], 0x313
mov dword [esp + 0xd8], 0x4d20ac
call fcn.00474d20
mov eax, dword [ebx + 0x2c0]
mov edx, dword [ebx + 0x310]
mov dword [ebx + 0x2fc], eax
mov eax, dword [ebx + 0x2c4]
mov dword [ebx + 0x300], eax
lea eax, [ebx + 0x858]
push eax
mov dword [ebx + 0x314], edx
call fcn.0048f440
or dword [ebx + 8], 7
lea edi, [esp + 0xa4]
call fcn.004225f0
mov edi, esi
call fcn.004225f0
xor edi, edi
lea eax, [esp + 0x28]
call fcn.004018f0
movss xmm0, dword [ebx + 0x304]
ucomiss xmm0, dword [0x4d3500]
lahf
test ah, 0x44
jnp 0x48fae3
cmp dword [ebx + 0x198], edi
ja 0x48fe98
cmp byte [ebx + 0x2f5], 0
jne 0x48faf7
cmp byte [esp + 0x27], 0
je 0x48fe98
mov byte [ebx + 0x2f5], 0
cmp dword [ebx + 0x844], edi
je 0x48fda1
cmp byte [esp + 0x1f], 0
je 0x48fb29
lea edi, [ebx + 0x834]
lea eax, [ebx + 0x2c8]
call fcn.00472c80
xor edi, edi
jmp 0x48fe94
lea edi, [ebx + 0x2c8]
lea esi, [esp + 0x60]
call fcn.004730d0
xor esi, esi
cmp eax, esi
jne 0x4900b0
cmp byte [ebx + 0x2f6], 0
je 0x48fc42
cmp byte [ebx + 0x2f7], 0
jne 0x48fc42
mov eax, dword [ebx + 0x840]
mov esi, dword [ebx + 0x83c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc8]
call fcn.00402cd0
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
xor eax, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
sub ecx, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fild dword [esp + 0x20]
test edx, edx
jge 0x48fbb4
fadd dword [0x4d3380]
fdivp st(1)
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
sub esp, 0x10
sub edx, ecx
mov dword [esp + 0x38], esi
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0xc]
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fild dword [esp + 0x38]
test esi, esi
jge 0x48fbe9
fadd dword [0x4d3380]
fdivp st(1)
cvtsi2ss xmm0, eax
lea eax, [esp + 0x40]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 8]
movss dword [esp + 4], xmm0
cvtsi2ss xmm0, ecx
movss dword [esp], xmm0
push eax
lea ecx, [ebx + 0x834]
push ecx
push edi
lea ecx, [esp + 0xe4]
call fcn.0046de90
lea edi, [esp + 0xc8]
call fcn.0041cb90
movdqa xmm0, xmmword [esp + 0x60]
movdqa xmmword [esp + 0x50], xmm0
xor edi, edi
jmp 0x48fe94
xorps xmm0, xmm0
fild dword [ebx + 0x2d0]
movss xmm1, dword [0x4bb568]
mov edx, dword [ebx + 0x2d0]
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
mov byte [esp + 0xa0], 1
test edx, edx
jge 0x48fcb9
fadd dword [0x4d3380]
mov eax, dword [ebx + 0x83c]
fild dword [ebx + 0x83c]
test eax, eax
jge 0x48fccf
fadd dword [0x4d3380]
fdivp st(1)
mov ecx, dword [ebx + 0x2d4]
fstp dword [esp + 0x20]
fild dword [ebx + 0x2d4]
test ecx, ecx
jge 0x48fceb
fadd dword [0x4d3380]
mov edx, dword [ebx + 0x840]
fild dword [ebx + 0x840]
test edx, edx
jge 0x48fd01
fadd dword [0x4d3380]
fdivp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld dword [esp + 0x20]
fcompi st(1)
fstp st(0)
jbe 0x48fd1d
movss xmm0, dword [esp + 0x18]
jmp 0x48fd23
movss xmm0, dword [esp + 0x20]
movsd xmm1, qword [0x4bab50]
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
push ecx
cvtpd2ps xmm0, xmm1
lea eax, [esp + 0x80]
movss dword [esp], xmm0
call fcn.0048f250
mov eax, dword [edi + 8]
cmp byte [ebx + 0x2f7], 0
mov ecx, dword [edi + 0xc]
push 0x100
sete dl
mov dword [esp + 0x3c], eax
movzx eax, dl
push esi
push eax
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x88]
push ecx
lea edx, [ebx + 0x834]
push edx
push edi
lea edi, [esp + 0x48]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.00488cf0
movdqa xmm0, xmmword [esp + 0x78]
add esp, 0x18
movdqa xmmword [esp + 0x50], xmm0
xor edi, edi
jmp 0x48fe94
cmp dword [ebx + 0x31c], edi
je 0x48fde7
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
mov eax, dword [ebx + 0x318]
mov ecx, dword [ebx + 0x31c]
push edx
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
push edx
lea edx, [ebx + 0x2c8]
push edx
push eax
push ecx
call fcn.00455dd0
add esp, 0x14
cmp eax, edi
je 0x48fe94
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 0x320]
call fcn.0045f620
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48fdf5
sub eax, edx
je 0x48fe2e
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
push eax
push ecx
lea edx, [ebx + 0x2c8]
push edx
mov eax, esi
call fcn.004554c0
add esp, 0xc
cmp eax, edi
je 0x48fe94
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x30c], edi
je 0x48f804
cmp byte [esp + 0x1f], 0
lea eax, [ebx + 0x2c8]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov ecx, dword [ebx + 0x30c]
mov edx, dword [ecx]
mov edx, dword [edx]
push 1
je 0x48fe70
push edi
push edi
push eax
mov eax, dword [ebx + 0x310]
push eax
call edx
cmp eax, edi
je 0x48fe94
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x50]
sub esi, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
sub esi, dword [esp + 0x48]
push esi
push eax
mov eax, dword [ebx + 0x310]
push eax
call edx
cmp eax, edi
jne 0x4900b0
or dword [ebx + 8], 7
movss xmm0, dword [ebx + 0x304]
ucomiss xmm0, dword [0x4d3500]
lahf
movss dword [esp + 0x20], xmm0
mov esi, 2
test ah, 0x44
jnp 0x48fec0
cmp dword [ebx + 0x2fc], edi
jne 0x48fecc
cmp dword [ebx + 0x198], edi
jbe 0x49007a
cmp byte [esp + 0x1f], 0
movss xmm1, dword [0x4d33e0]
je 0x48ff03
fld dword [esp + 0x20]
fld qword [0x4c3fb8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
call fcn.004b1f50
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
jmp 0x49001d
cmp dword [ebx + 0x198], edi
jbe 0x48ff9a
comiss xmm1, xmm0
jbe 0x48ff74
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x50]
mov eax, dword [ebx + 0x2c0]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
mov dword [esp + 0x38], eax
fidiv dword [esp + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fld qword [0x4c3fb8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
call fcn.004b1f50
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld qword [0x4bab50]
fsub st(1), st(0)
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fxch st(2)
fmulp st(1)
faddp st(1)
jmp 0x49001d
fld dword [esp + 0x20]
fsub qword [0x4c88e8]
fmul qword [0x4c88e0]
fld qword [0x4c3fb8]
fxch st(1)
call fcn.004b1f50
fstp dword [esp + 0x18]
jmp 0x490021
mov edx, dword [ebx + 0x2fc]
fild dword [ebx + 0x2fc]
test edx, edx
jge 0x48ffb0
fadd dword [0x4d3380]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
comiss xmm1, xmm0
mov dword [esp + 0x28], eax
fidiv dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x20]
jbe 0x490000
fld qword [0x4c3fb8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.004b1f50
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld qword [0x4bab50]
fsub st(1), st(0)
fld dword [esp + 0x18]
fsub st(1)
fmulp st(2)
faddp st(1)
jmp 0x49001d
fsub qword [0x4c88e8]
fmul qword [0x4c88e0]
fld qword [0x4c3fb8]
fxch st(1)
call fcn.004b1f50
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
cmp dword [ebx + 0x198], edi
jbe 0x490058
movss xmm0, dword [esp + 0x20]
ucomiss xmm0, dword [0x4d33e0]
lahf
test ah, 0x44
jp 0x490058
cmp byte [esp + 0x1f], 0
jne 0x490058
cmp byte [ebx + 0x123], 0
je 0x49004f
or dword [ebx + 8], esi
mov byte [ebx + 0x123], 0
jmp 0x49006b
cmp byte [ebx + 0x123], 1
je 0x490064
or dword [ebx + 8], esi
mov byte [ebx + 0x123], 1
cmp byte [ebx + 0x2f4], 0
jne 0x490096
fld dword [esp + 0x18]
jmp 0x490085
cmp byte [ebx + 0x2f4], 0
jne 0x490096
fld1
sub esp, 8
fst dword [esp + 4]
mov ecx, ebx
fstp dword [esp]
call fcn.004400f0
cmp byte [ebx + 0x122], 0
je 0x4900a2
or dword [ebx + 8], esi
mov ecx, ebx
mov byte [ebx + 0x122], 0
call fcn.00440590
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret