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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6fb6be
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov edi, dword [esi + 0x1d8]
test edi, edi
je 0x487ffc
mov ecx, edi
call fcn.0042ce60
push edi
call fcn.006b31f8
add esp, 4
mov ecx, dword [esi + 0x140]
lea eax, [esp + 0x34]
push 0xffffffffffffffff
push eax
lea edi, [esi + 0x60]
mov dword [esi + 0x1d8], 0
push edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
call fcn.0047baf0
movss xmm1, dword [esp + 0x3c]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x4883a7
movss xmm1, dword [esp + 0x40]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x4883a7
push 0x54
call fcn.006b6815
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x488088
mov byte [esp + 0x1a], al
lea eax, [esp + 0x1a]
push 0x7da8d8
push eax
call fcn.006b4394
mov dword [esp + 0x30], ecx
mov dword [esp + 0x80], 0
cvttss2si eax, dword [esp + 0x40]
push eax
cvttss2si eax, dword [esp + 0x40]
push eax
call fcn.0042ccb0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x28]
push 0x790eb0
mov dword [esi + 0x1d8], eax
mov dword [esp + 0x28], 0
call fcn.00428840
lea eax, [esp + 0x24]
mov dword [esp + 0x80], 1
movsd xmm0, qword [0x7920b8]
push eax
mov ecx, dword [esi + 0x140]
lea eax, [esp + 0x2c]
push eax
sub esp, 8
lea eax, [esp + 0x44]
movsd qword [esp], xmm0
push dword [esi + 0x100]
push 0x801
push eax
push 0xffffffffffffffff
push edi
push dword [esi + 0x1d8]
push 0
call fcn.0047bd70
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x48814d
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x48814d
push edi
call fcn.006b31f8
add esp, 4
cmp dword [esi + 0x220], 0
je 0x488374
movss xmm1, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x40]
mov ebx, dword [esi + 0x1d8]
push 0x54
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
call fcn.006b6815
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x4881a7
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push 0x7da8d8
push eax
call fcn.006b4394
mov dword [esp + 0x30], ecx
mov dword [esp + 0x80], 2
cvttss2si edi, dword [esp + 0x28]
cvttss2si eax, dword [esp + 0x1c]
push edi
push eax
call fcn.0042ccb0
mov dword [esp + 0x80], 0xffffffff
mov dword [esi + 0x1d8], eax
mov eax, dword [esi + 0x220]
cmp eax, 1
jne 0x488297
cvttss2si eax, dword [esp + 0x1c]
xor esi, esi
test eax, eax
jle 0x48835c
lea eax, [edi - 1]
mov dword [esp + 0x24], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x488223
mov edx, dword [ebx + 0x2c]
test edx, edx
jle 0x488223
test esi, esi
js 0x488223
mov eax, dword [ebx + 0x30]
cmp esi, eax
jge 0x488223
sub eax, esi
dec eax
imul eax, edx
lea edx, [ecx + eax*4]
jmp 0x488225
xor edx, edx
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1d8]
mov edi, dword [eax]
test edi, edi
je 0x48825f
test esi, esi
js 0x48825f
mov ecx, dword [eax + 0x2c]
cmp esi, ecx
jge 0x48825f
cmp dword [esp + 0x24], 0
jl 0x48825f
mov eax, dword [eax + 0x30]
cmp dword [esp + 0x24], eax
jge 0x48825f
sub eax, dword [esp + 0x24]
dec eax
imul eax, ecx
add eax, esi
lea ecx, [edi + eax*4]
jmp 0x488261
xor ecx, ecx
cvttss2si edi, dword [esp + 0x28]
test edi, edi
jle 0x488283
jmp 0x488270
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ecx], eax
cvttss2si eax, dword [esp + 0x3c]
lea ecx, [ecx + eax*4]
dec edi
jne 0x488270
cvttss2si eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x488200
jmp 0x48835c
cmp eax, 2
jne 0x48835c
cvttss2si eax, dword [esp + 0x1c]
xor edi, edi
test eax, eax
jle 0x48835c
lea ecx, [eax - 1]
mov dword [esp + 0x24], ecx
mov edx, dword [ebx]
test edx, edx
je 0x4882da
cmp dword [ebx + 0x2c], 0
jle 0x4882da
test edi, edi
js 0x4882da
mov eax, dword [ebx + 0x30]
cmp edi, eax
jge 0x4882da
sub eax, edi
dec eax
imul eax, dword [ebx + 0x2c]
lea edx, [edx + eax*4]
jmp 0x4882dc
xor edx, edx
mov eax, dword [esi + 0x1d8]
mov ecx, dword [eax]
test ecx, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x24]
je 0x48831b
test ecx, ecx
js 0x48831b
mov esi, dword [eax + 0x2c]
cmp ecx, esi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
jge 0x48831b
mov eax, dword [eax + 0x30]
test eax, eax
jle 0x48831b
dec eax
imul eax, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + eax*4]
jmp 0x48831d
xor ecx, ecx
cvttss2si eax, dword [esp + 0x28]
test eax, eax
jle 0x488349
mov esi, eax
lea esp, [esp]
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ecx], eax
cvttss2si eax, dword [esp + 0x3c]
neg eax
lea ecx, [ecx + eax*4]
dec esi
jne 0x488330
mov esi, dword [esp + 0x20]
cvttss2si eax, dword [esp + 0x1c]
dec dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x4882b7
test ebx, ebx
je 0x488370
mov ecx, ebx
call fcn.0042ce60
push ebx
call fcn.006b31f8
add esp, 4
mov esi, dword [esp + 0x20]
cvttss2si eax, dword [esp + 0x3c]
mov ecx, esi
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1f4], eax
cvttss2si eax, dword [esp + 0x40]
mov dword [esi + 0x1f8], eax
mov eax, dword [esi]
call dword [eax + 0x14]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret