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

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [0x6815a8]
push esi
push edi
mov edi, dword [esp + 0x60]
cmp byte [edi + 0xc6], 0
movss xmm2, dword [edi + 0x78]
movss xmm0, dword [edi + 0x7c]
mov ecx, dword [edi + 8]
mov dword [esp + 0x10], ecx
mov byte [edi + 0xc8], 0
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x1c], xmm0
je 0x47ec08
cmp byte [esp + 0x68], 0
movss xmm1, dword [ebx + 0x389c]
movss dword [esp + 0x24], xmm1
movss dword [ebx + 0x389c], xmm0
je 0x47ea4c
cmp byte [ebx + 0x4162], 0
mov eax, 0x178
je 0x47ea51
mov eax, 0x188
mov esi, dword [0x6815a8]
push 0
push ecx
movss dword [esp], xmm2
movups xmm0, xmmword [eax + esi + 0x3854]
mov eax, dword [esp + 0x6c]
movups xmmword [esp + 0x44], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [esi + 0x3854]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 4]
lea eax, [esp + 0x44]
movss dword [esp + 0x1c], xmm0
mov edi, dword [esi + 0x3f04]
push eax
call fcn.0046a830
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00489290
movss xmm2, dword [esi + 0x389c]
comiss xmm2, dword [0x671fe8]
movss dword [esp + 0x60], xmm2
jbe 0x47ebf3
mov eax, dword [0x6815a8]
movss xmm1, dword [0x672010]
push ecx
movss dword [esp], xmm2
movups xmm0, xmmword [eax + 0x397c]
push 0
push ecx
movups xmmword [esp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 0x48]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm1
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, xmm1
movss xmm1, dword [esp + 0x24]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x48], xmm0
call fcn.0046a830
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00489190
mov eax, dword [0x6815a8]
push ecx
movups xmm0, xmmword [eax + 0x396c]
movups xmmword [esp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 0x40]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp], xmm0
movss xmm0, dword [esp + 0x1c]
push 0
push ecx
movss dword [esp], xmm0
push eax
call fcn.0046a830
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00489190
movss xmm0, dword [esp + 0x24]
pop edi
pop esi
movss dword [ebx + 0x389c], xmm0
pop ebx
add esp, 0x50
ret
push ebp
test cl, cl
js 0x47eea5
cmp byte [ebx + 0x4294], 0
mov byte [esp + 0x64], 0
je 0x47ec69
mov eax, dword [ebx + 0x3ea0]
sub eax, dword [ebx + 0x4300]
cmp eax, 1
jg 0x47ec69
cmp byte [ebx + 0x5b], 0
je 0x47ec69
push str._IMWINDOW
lea ecx, [ebx + 0x42a4]
call fcn.00476550
test al, al
je 0x47ec65
mov eax, dword [ebx + 0x42a4]
mov edx, 1
mov ecx, dword [esp + 0x64]
movzx ecx, cl
cmp dword [eax], edi
cmove ecx, edx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x14]
test ecx, 0x6000000
je 0x47ec78
mov ecx, 0x108
jmp 0x47ec93
test ecx, 0x1000000
je 0x47ec8e
test byte [edi + 0x36d], 1
mov ecx, 0xf8
je 0x47ec93
mov ecx, 0xe8
mov eax, dword [0x6815a8]
movups xmm0, xmmword [ecx + eax + 0x3854]
movups xmmword [esp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 0x40]
push eax
movss dword [esp + 0x50], xmm0
call fcn.0046a830
add esp, 4
mov dword [esp + 0x28], eax
cmp byte [edi + 0xc2], 0
mov edx, eax
je 0x47ecfb
or edx, 0xff000000
cmp byte [esp + 0x64], 0
mov dword [esp + 0x28], edx
je 0x47ed60
mov ecx, dword [edi + 0x2c]
movss xmm0, dword [ecx + 0x60]
mulss xmm0, dword [0x672008]
movss dword [ecx + 0x60], xmm0
jmp 0x47ed60
mov eax, dword [ebx + 0x3ff0]
and eax, 0x40
je 0x47ed10
movss xmm0, dword [ebx + 0x4048]
jmp 0x47ed18
movss xmm0, dword [0x672010]
cmp byte [esp + 0x64], 0
je 0x47ed29
mulss xmm0, dword [0x672008]
jmp 0x47ed2d
test eax, eax
je 0x47ed60
push ecx
movss dword [esp], xmm0
call fcn.00475b60
fmul dword [0x5471bc]
and edx, 0xffffff
add esp, 4
fadd dword [0x672008]
fstp dword [esp + 0x64]
cvttss2si eax, dword [esp + 0x64]
shl eax, 0x18
or edx, eax
mov dword [esp + 0x28], edx
test byte [edi + 0x36d], 1
mov ecx, dword [edi + 0x388]
mov ebp, dword [esp + 0x14]
je 0x47ed84
mov eax, dword [ecx + 0x70]
and ebp, 0x20000000
mov esi, dword [eax + 0x288]
jmp 0x47ed92
mov esi, dword [edi + 0x288]
and ebp, 0x20000000
je 0x47edaf
lea eax, [esi + 0x78]
push 0
push esi
mov ecx, eax
mov dword [esp + 0x6c], eax
call fcn.0048e2c0
mov ecx, dword [edi + 0x388]
mov edx, dword [esp + 0x28]
jmp 0x47edb6
lea eax, [esi + 0x78]
mov dword [esp + 0x64], eax
test byte [edi + 0x36d], 1
mov eax, dword [esp + 0x14]
je 0x47edc6
mov dword [ecx + 0x6c], edx
test byte [edi + 8], 1
movss xmm2, dword [edi + 0x40]
movss xmm3, dword [edi + 0x44]
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x48]
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x4c]
movss dword [esp + 0x3c], xmm0
je 0x47edf7
xorps xmm1, xmm1
jmp 0x47ee3d
mov ecx, dword [0x6815a8]
movss xmm0, dword [ecx + 0x3c9c]
mulss xmm0, dword [edi + 0x27c]
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x47ee27
mulss xmm0, dword [ecx + 0x27c]
mov ecx, dword [0x6815a8]
movss xmm1, dword [ecx + 0x3894]
addss xmm1, xmm1
addss xmm1, xmm0
test al, 1
addss xmm3, xmm1
mov ecx, 0
mov eax, 0xc0
cmovne eax, ecx
xorps xmm0, xmm0
push eax
push ecx
addss xmm2, xmm0
movss dword [esp + 0x3c], xmm3
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x40]
movss dword [esp], xmm0
mov ecx, esi
push edx
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0x40], xmm2
push eax
call fcn.00489290
test byte [edi + 0x36d], 1
jne 0x47ee8f
test ebp, ebp
je 0x47ee9b
mov ecx, dword [esp + 0x64]
push 1
push esi
call fcn.0048e2c0
mov ecx, dword [esp + 0x14]
movss xmm2, dword [esp + 0x1c]
mov al, byte [edi + 0x36d]
test al, 1
je 0x47eec2
mov eax, dword [edi + 0x388]
or byte [eax + 0xa0], 4
mov al, byte [edi + 0x36d]
mov esi, ecx
and esi, 1
jne 0x47ef27
test al, 1
jne 0x47ef27
mov ecx, dword [0x6815a8]
movzx eax, byte [esp + 0x6c]
add eax, eax
push 0x30
push ecx
movss dword [esp], xmm2
movups xmm0, xmmword [ecx + eax*8 + 0x39bc]
lea eax, [esp + 0x48]
push eax
movups xmmword [esp + 0x4c], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [ecx + 0x3854]
movss dword [esp + 0x58], xmm0
call fcn.0046a830
mov ecx, dword [esp + 0x74]
add esp, 4
push eax
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, dword [edi + 0x288]
call fcn.00489290
mov ecx, dword [esp + 0x14]
test ecx, 0x400
je 0x47f124
mov edx, dword [edi + 8]
mov eax, dword [0x6815a8]
test dl, 1
je 0x47ef45
xorps xmm2, xmm2
jmp 0x47ef7f
movss xmm0, dword [eax + 0x3c9c]
mulss xmm0, dword [edi + 0x27c]
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x47ef6f
mulss xmm0, dword [ecx + 0x27c]
movss xmm2, dword [eax + 0x3894]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm5, dword [edi + 0x44]
xorps xmm4, xmm4
addss xmm2, xmm5
test edx, 0x400
je 0x47efd7
movss xmm1, dword [eax + 0x3c9c]
mulss xmm1, dword [edi + 0x27c]
mov ecx, dword [edi + 0x31c]
mulss xmm1, dword [edi + 0x280]
test ecx, ecx
je 0x47efbd
mulss xmm1, dword [ecx + 0x27c]
movss xmm0, dword [eax + 0x3894]
addss xmm1, dword [edi + 0x174]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x47efda
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x40]
movaps xmm7, xmm2
maxss xmm7, xmm5
movaps xmm6, xmm0
maxss xmm6, xmm0
movaps xmm3, xmm0
addss xmm1, xmm2
addss xmm3, dword [edi + 0x50]
addss xmm0, dword [edi + 0x48]
addss xmm5, dword [edi + 0x4c]
movss dword [esp + 0x28], xmm6
minss xmm3, xmm0
minss xmm1, xmm5
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x4c], xmm1
test esi, esi
je 0x47f02f
movss xmm5, dword [esp + 0x1c]
jmp 0x47f032
xorps xmm5, xmm5
movups xmm0, xmmword [eax + 0x39ec]
push 0x30
subss xmm3, dword [esp + 0x24]
movups xmmword [esp + 0x54], xmm0
push ecx
shufps xmm0, xmm0, 0xff
addss xmm7, xmm4
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 0x58]
movss dword [esp], xmm5
push eax
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
subss xmm0, xmm4
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x3c], xmm0
call fcn.0046a830
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00489290
movss xmm2, dword [ebx + 0x389c]
xorps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x47f124
movss xmm0, dword [edi + 0x4c]
addss xmm0, dword [edi + 0x44]
movss xmm1, dword [esp + 0x64]
comiss xmm0, xmm1
jbe 0x47f124
movss xmm0, dword [esp + 0x28]
sub esp, 8
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
movss dword [esp + 0x38], xmm0
movss dword [esp + 4], xmm2
mov dword [esp], 0x3f800000
push 5
movss dword [esp + 0x40], xmm1
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
call fcn.00474aa0
mov ecx, dword [edi + 0x288]
add esp, 8
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004883a0
test byte [edi + 0x36d], 1
mov ebp, dword [edi + 0x388]
je 0x47f2f7
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0xd
test al, 1
je 0x47f2f7
shr ecx, 0xc
test cl, 1
jne 0x47f2f7
movss xmm1, dword [ebx + 0x3c98]
movaps xmm0, xmm1
mulss xmm1, dword [0x547168]
mulss xmm0, dword [0x547174]
cvttss2si eax, xmm1
movss xmm1, dword [ebp + 0x38]
cvttss2si esi, xmm0
movss xmm0, dword [ebp + 0x34]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [esp + 0x28], xmm0
mov eax, dword [esp + 0x28]
movaps xmm2, xmm3
movss dword [esp + 0x2c], xmm1
addss xmm2, xmm0
mov ecx, dword [esp + 0x2c]
addss xmm3, xmm1
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x104]
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0xfc]
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm3
push dword [eax + ecx*4 - 4]
push 0
push str.UNHIDE
call fcn.00475ac0
mov ecx, dword [0x6815a8]
mov ebx, eax
add esp, 0xc
cmp dword [ecx + 0x3f28], ebx
jne 0x47f1fb
push 0
push str.UNHIDE
push 0xb
push ebx
call fcn.0046ae40
add esp, 0x10
push ebx
call fcn.004770c0
push 0x800
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.0049a1c0
add esp, 0x18
test al, al
je 0x47f22b
or byte [ebp + 0xa1], 4
jmp 0x47f254
cmp byte [esp + 0x64], 0
je 0x47f265
push ecx
mov dword [esp], 0xbf800000
push 0
call fcn.00476960
add esp, 8
test al, al
je 0x47f254
push 1
push ebp
push edi
call fcn.00481e60
add esp, 0xc
cmp byte [esp + 0x64], 0
je 0x47f265
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x47f276
jmp 0x47f269
mov cl, byte [esp + 0x13]
test byte [ebp + 0xa0], 2
je 0x47f27d
test cl, cl
jne 0x47f27d
mov eax, 0x17
jmp 0x47f287
xor eax, eax
test cl, cl
setne al
add eax, 0x15
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.00474aa0
movss xmm2, dword [esp + 0x30]
add esp, 8
movss xmm1, dword [esp + 0x2c]
movaps xmm0, xmm2
mov ecx, dword [edi + 0x288]
xorps xmm3, xmm3
addss xmm0, xmm3
movd xmm4, esi
push eax
cvtdq2ps xmm4, xmm4
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm1
lea eax, [esp + 0x34]
addss xmm0, xmm4
addss xmm2, xmm4
addss xmm1, xmm3
push eax
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm1
call fcn.00489700
cmp byte [edi + 0xc0], 0
je 0x47f30a
push 0
call fcn.0049ed20
add esp, 4
cmp byte [edi + 0xc1], 0
je 0x47f31d
push 1
call fcn.0049ed20
add esp, 4
cmp byte [esp + 0x70], 0
je 0x47f4ca
test byte [esp + 0x14], 2
jne 0x47f4b8
xor ebp, ebp
cmp dword [esp + 0x74], ebp
jle 0x47f4b8
movss xmm3, dword [esp + 0x20]
mov ebx, 0x545be0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x14], xmm0
nop dword [eax]
movss xmm0, dword [edi + 0x40]
mov esi, ebp
movss xmm1, dword [edi + 0x44]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x48]
subss xmm2, xmm0
mulss xmm2, dword [ebx - 8]
addss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x4c]
movss dword [esp + 0x64], xmm2
subss xmm0, xmm1
mulss xmm0, dword [ebx - 4]
addss xmm0, xmm1
movss dword [esp + 0x28], xmm0
and esi, 1
je 0x47f3b2
movaps xmm1, xmm3
movss xmm3, dword [esp + 0x7c]
jmp 0x47f3b8
movss xmm1, dword [esp + 0x7c]
mulss xmm1, dword [ebx]
lea eax, [esp + 0x38]
mov ecx, dword [edi + 0x288]
mulss xmm3, dword [ebx + 4]
push eax
addss xmm1, xmm2
addss xmm3, xmm0
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x40], xmm3
call fcn.00401500
test esi, esi
je 0x47f3f7
movss xmm0, dword [esp + 0x7c]
movss xmm1, dword [esp + 0x20]
jmp 0x47f403
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0x7c]
mulss xmm0, dword [ebx]
lea eax, [esp + 0x30]
mov ecx, dword [edi + 0x288]
mulss xmm1, dword [ebx + 4]
push eax
addss xmm0, dword [esp + 0x68]
addss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm1
call fcn.00401500
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x40]
mulss xmm0, dword [ebx]
push dword [ebx + 0xc]
addss xmm0, dword [esp + 0x68]
push dword [ebx + 8]
push ecx
mov ecx, dword [edi + 0x288]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [ebx + 4]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
push eax
call fcn.0048ca90
mov eax, dword [esp + 0x78]
mov esi, dword [edi + 0x288]
mov ecx, esi
push dword [eax + ebp*4]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.004875a0
movss xmm3, dword [esp + 0x20]
inc ebp
add ebx, 0x18
mov dword [esi + 0x54], 0
cmp ebp, dword [esp + 0x74]
jl 0x47f360
cmp dword [edi + 0x38c], 0
jne 0x47f4ca
push edi
call fcn.0047f4e0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50
ret