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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [0x5aa3e4]
mov dword [esp + 0x20], ecx
push ebp
push esi
mov ecx, dword [ebx + 0x18]
push edi
mov dword [esp + 0x18], ecx
cmp dword [ecx + 0xc], 0
je 0x4aa11c
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edi, dword [eax + 8]
jmp 0x4aa11e
xor edi, edi
mov eax, dword [ebx + 8]
xor esi, esi
cmp dword [ebx + 0x210], 0xffffffff
movss xmm0, dword [0x581528]
mov dword [esp + 0x1c], esi
mov edx, dword [eax + 0x168]
mov ebp, dword [eax + 0x164]
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x14], edx
je 0x4aa1c2
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x40], eax
cmp dword [eax + 0xc], esi
je 0x4aa1c2
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4aa1be
nop
mov eax, dword [ecx + 0x17c]
cmp eax, dword [ebx + 0x210]
jne 0x4aa1a2
cmp dword [0x5a9520], esi
jne 0x4aa1a2
mov ebp, dword [ecx + 0x164]
mov edx, dword [ecx + 0x168]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0xc], esi
je 0x4aa1a2
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0xc], esi
je 0x4aa1ba
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4aa170
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x18]
test edi, edi
je 0x4aa85b
mov ebx, dword [esp + 0x80]
xorps xmm3, xmm3
cmp ebp, dword [edi + 0x164]
jne 0x4aa821
cmp edx, dword [edi + 0x168]
jne 0x4aa821
cmp dword [edi + 0x160], 5
movss xmm1, dword [0x5812c0]
movss xmm2, dword [0x581410]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm2
jne 0x4aa22d
movss xmm1, dword [0x5812d4]
movss xmm2, dword [0x581448]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm2
movq xmm0, qword [edi + 0x114]
lea edx, [esp + 0x10]
movq qword [esp + 0x60], xmm0
lea ecx, [ebx + 0x11c]
movss xmm0, dword [esp + 0x64]
addss xmm0, xmm2
mov eax, dword [edi + 0x11c]
push edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x6c], eax
push edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x64], eax
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, xmm1
mov dword [esp + 0x58], eax
push edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x80], eax
push edx
lea edx, [ebx + 0x110]
movss dword [esp + 0x70], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, xmm3
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, xmm1
movss dword [esp + 0x64], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm2
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x58]
subss xmm0, xmm1
movss dword [esp + 0x58], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x80]
addss xmm0, xmm3
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, xmm1
movss dword [esp + 0x7c], xmm0
call fcn.0045cf30
mov esi, eax
lea edx, [ebx + 0x110]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [ebx + 0x11c]
call fcn.0045cf30
movq xmm0, qword [edi + 0x114]
xorps xmm3, xmm3
mov ecx, dword [edi + 0x11c]
movss xmm1, dword [esp + 0x44]
movq qword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [esp + 0x40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x60], eax
mov eax, ecx
mov dword [esp + 0x7c], eax
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x88]
addss xmm0, xmm1
movss dword [esp + 0x88], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x78]
addss xmm0, xmm3
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x7c]
addss xmm0, xmm1
mov dword [esp + 0x70], eax
mov dword [esp + 0x94], eax
lea edx, [ebx + 0x110]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x6c]
movss dword [esp + 0x80], xmm0
lea ecx, [ebx + 0x11c]
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [esp + 0x44]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x8c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, xmm1
push eax
movss dword [esp + 0x80], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xa0]
addss xmm0, xmm3
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, xmm1
movss dword [esp + 0xa4], xmm0
call fcn.0045cf30
mov dword [esp + 0x60], eax
lea edx, [ebx + 0x110]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [ebx + 0x11c]
call fcn.0045cf30
mov ecx, dword [esp + 0x70]
add esp, 0x40
mov edx, eax
mov eax, dword [esp + 0x40]
test esi, esi
jne 0x4aa4d5
test eax, eax
jne 0x4aa4d5
test ecx, ecx
jne 0x4aa4d5
test edx, edx
je 0x4aa517
movss xmm0, dword [esp + 0x10]
test eax, eax
je 0x4aa4e5
movss xmm0, dword [esp + 0x34]
test ecx, ecx
je 0x4aa4ef
movss xmm0, dword [esp + 0x38]
test edx, edx
je 0x4aa4f9
movss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x28]
comiss xmm1, xmm0
jbe 0x4aa517
cmp dword [edi + 0x160], 0x11
je 0x4aa517
mov dword [esp + 0x1c], edi
movss dword [esp + 0x28], xmm0
movq xmm0, qword [edi + 0x114]
lea edx, [ebx + 0x110]
movss xmm1, dword [esp + 0x24]
lea ecx, [ebx + 0x11c]
movq qword [esp + 0x60], xmm0
xorps xmm3, xmm3
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [esp + 0x20]
mov eax, dword [edi + 0x11c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], eax
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, xmm1
mov dword [esp + 0x74], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
movss dword [esp + 0x68], xmm0
lea eax, [esp + 0x50]
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, xmm3
push eax
lea eax, [esp + 0x6c]
push eax
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, xmm1
movss dword [esp + 0x64], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x58]
subss xmm0, xmm1
movss dword [esp + 0x58], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x80]
addss xmm0, xmm3
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, xmm1
movss dword [esp + 0x7c], xmm0
call fcn.0045cf30
mov esi, eax
lea edx, [ebx + 0x110]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [ebx + 0x11c]
call fcn.0045cf30
movq xmm0, qword [edi + 0x114]
xorps xmm3, xmm3
mov ecx, dword [edi + 0x11c]
movss xmm1, dword [esp + 0x44]
movq qword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [esp + 0x40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x60], eax
mov eax, ecx
mov dword [esp + 0x7c], eax
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x88]
addss xmm0, xmm1
movss dword [esp + 0x88], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x78]
addss xmm0, xmm3
movss dword [esp + 0x78], xmm0
lea edx, [ebx + 0x110]
movss xmm0, dword [esp + 0x7c]
lea ecx, [ebx + 0x11c]
addss xmm0, xmm1
mov dword [esp + 0x70], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x78]
push eax
movss dword [esp + 0x84], xmm0
lea eax, [esp + 0x70]
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x48]
push eax
lea eax, [esp + 0x8c]
push eax
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, xmm1
movss dword [esp + 0x80], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xa0]
addss xmm0, xmm3
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, xmm1
movss dword [esp + 0xa4], xmm0
call fcn.0045cf30
mov dword [esp + 0x60], eax
lea edx, [ebx + 0x110]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [ebx + 0x11c]
call fcn.0045cf30
mov ecx, dword [esp + 0x70]
add esp, 0x40
mov edx, eax
mov eax, dword [esp + 0x40]
test esi, esi
jne 0x4aa7c9
test eax, eax
jne 0x4aa7c9
test ecx, ecx
jne 0x4aa7c9
test edx, edx
je 0x4aa816
movss xmm0, dword [esp + 0x10]
test eax, eax
je 0x4aa7d9
movss xmm0, dword [esp + 0x34]
test ecx, ecx
je 0x4aa7e3
movss xmm0, dword [esp + 0x38]
test edx, edx
je 0x4aa7ed
movss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x28]
xorps xmm3, xmm3
comiss xmm1, xmm0
mov ecx, dword [esp + 0x18]
jbe 0x4aa81d
cmp dword [edi + 0x160], 0x11
je 0x4aa81d
mov esi, edi
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x1c], esi
jmp 0x4aa821
mov ecx, dword [esp + 0x18]
xorps xmm3, xmm3
mov esi, dword [esp + 0x1c]
cmp dword [ecx + 0xc], 0
je 0x4aa83f
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edi, dword [eax + 8]
test edi, edi
jne 0x4aa1d4
mov ebx, dword [0x5aa3e4]
test esi, esi
je 0x4aa85b
mov dword [ebx + 0x10], esi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
mov eax, dword [esp + 0x80]
lea edi, [eax + 0x110]
lea ecx, [eax + 0x11c]
mov edx, edi
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x2b4]
push eax
lea eax, [ebx + 0x2c0]
push eax
lea eax, [ebx + 0x2a8]
push eax
call fcn.0045cf30
mov esi, eax
lea ecx, [ebx + 0x2d8]
lea eax, [esp + 0x20]
mov edx, edi
push eax
push ecx
lea ecx, [ebx + 0x2e4]
push ecx
lea ecx, [ebx + 0x2cc]
push ecx
mov ecx, dword [esp + 0xa0]
lea ecx, [ecx + 0x11c]
call fcn.0045cf30
add esp, 0x20
or eax, esi
je 0x4aa8dc
mov dword [ebx + 0x10], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x2fc]
mov edx, edi
push eax
lea eax, [ebx + 0x308]
push eax
lea eax, [ebx + 0x2f0]
push eax
lea ecx, [ecx + 0x11c]
call fcn.0045cf30
mov esi, eax
lea ecx, [ebx + 0x320]
lea eax, [esp + 0x20]
mov edx, edi
push eax
push ecx
lea ecx, [ebx + 0x32c]
push ecx
lea ecx, [ebx + 0x314]
push ecx
mov ecx, dword [esp + 0xa0]
lea ecx, [ecx + 0x11c]
call fcn.0045cf30
add esp, 0x20
or eax, esi
je 0x4aa9f2
cmp dword [0x5aa3dc], 0
jg 0x4aad52
mov eax, dword [esp + 0x14]
mov ecx, dword [0x5a9550]
dec eax
push eax
push ebp
cmp ecx, 1
jne 0x4aa971
mov ecx, dword [ebx + 0x160]
call fcn.00486790
jmp 0x4aa988
cmp ecx, 4
mov ecx, dword [ebx + 0x160]
jne 0x4aa983
call fcn.00486ae0
jmp 0x4aa988
call fcn.00486330
cmp dword [0x5aa3dc], 0
jg 0x4aad4c
cmp dword [esp + 0x84], 0
jne 0x4aad4c
test byte [0x5a58a0], 4
je 0x4aad4c
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x4aad4c
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x5aa3e4]
mov byte [esp + 0x40], 8
mov eax, dword [eax + 0x208]
mov byte [esp + 0x45], 0
jmp 0x4aad21
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x344]
mov edx, edi
push eax
lea eax, [ebx + 0x350]
push eax
lea eax, [ebx + 0x338]
push eax
lea ecx, [ecx + 0x11c]
call fcn.0045cf30
mov esi, eax
lea ecx, [ebx + 0x368]
lea eax, [esp + 0x20]
mov edx, edi
push eax
push ecx
lea ecx, [ebx + 0x374]
push ecx
lea ecx, [ebx + 0x35c]
push ecx
mov ecx, dword [esp + 0xa0]
lea ecx, [ecx + 0x11c]
call fcn.0045cf30
add esp, 0x20
or eax, esi
je 0x4aab07
cmp dword [0x5aa3dc], 0
jg 0x4aad52
mov eax, dword [0x5a9550]
dec ebp
mov ecx, dword [ebx + 0x160]
cmp eax, 1
jne 0x4aaa86
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.00486790
jmp 0x4aaa9d
cmp eax, 4
mov eax, dword [esp + 0x14]
push eax
push ebp
jne 0x4aaa98
call fcn.00486ae0
jmp 0x4aaa9d
call fcn.00486330
cmp dword [0x5aa3dc], 0
jg 0x4aad4c
cmp dword [esp + 0x84], 0
jne 0x4aad4c
test byte [0x5a58a0], 4
je 0x4aad4c
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x4aad4c
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x5aa3e4]
mov byte [esp + 0x40], 8
mov eax, dword [eax + 0x208]
mov byte [esp + 0x45], 6
jmp 0x4aad21
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x38c]
mov edx, edi
push eax
lea eax, [ebx + 0x398]
push eax
lea eax, [ebx + 0x380]
push eax
lea ecx, [ecx + 0x11c]
call fcn.0045cf30
mov esi, eax
lea ecx, [ebx + 0x3b0]
lea eax, [esp + 0x20]
mov edx, edi
push eax
push ecx
lea ecx, [ebx + 0x3bc]
push ecx
lea ecx, [ebx + 0x3a4]
push ecx
mov ecx, dword [esp + 0xa0]
lea ecx, [ecx + 0x11c]
call fcn.0045cf30
add esp, 0x20
or eax, esi
je 0x4aac1d
cmp dword [0x5aa3dc], 0
jg 0x4aad52
mov eax, dword [esp + 0x14]
mov ecx, dword [0x5a9550]
inc eax
push eax
push ebp
cmp ecx, 1
jne 0x4aab9c
mov ecx, dword [ebx + 0x160]
call fcn.00486790
jmp 0x4aabb3
cmp ecx, 4
mov ecx, dword [ebx + 0x160]
jne 0x4aabae
call fcn.00486ae0
jmp 0x4aabb3
call fcn.00486330
cmp dword [0x5aa3dc], 0
jg 0x4aad4c
cmp dword [esp + 0x84], 0
jne 0x4aad4c
test byte [0x5a58a0], 4
je 0x4aad4c
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x4aad4c
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x5aa3e4]
mov byte [esp + 0x40], 8
mov eax, dword [eax + 0x208]
mov byte [esp + 0x45], 4
jmp 0x4aad21
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x3d4]
mov edx, edi
push eax
lea eax, [ebx + 0x3e0]
push eax
lea eax, [ebx + 0x3c8]
push eax
lea ecx, [ecx + 0x11c]
call fcn.0045cf30
mov ecx, dword [esp + 0x90]
lea esi, [ebx + 0x3f8]
mov edi, eax
lea eax, [esp + 0x20]
push eax
push esi
lea esi, [ebx + 0x404]
push esi
lea esi, [ebx + 0x3ec]
lea edx, [ecx + 0x110]
push esi
lea ecx, [ecx + 0x11c]
call fcn.0045cf30
add esp, 0x20
or eax, edi
je 0x4aad59
cmp dword [0x5aa3dc], 0
jg 0x4aad52
mov eax, dword [0x5a9550]
inc ebp
mov ecx, dword [ebx + 0x160]
cmp eax, 1
jne 0x4aacb5
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.00486790
jmp 0x4aaccc
cmp eax, 4
mov eax, dword [esp + 0x14]
push eax
push ebp
jne 0x4aacc7
call fcn.00486ae0
jmp 0x4aaccc
call fcn.00486330
cmp dword [0x5aa3dc], 0
jg 0x4aad4c
cmp dword [esp + 0x84], 0
jne 0x4aad4c
test byte [0x5a58a0], 4
je 0x4aad4c
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x4aad4c
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x5aa3e4]
mov byte [esp + 0x40], 8
mov eax, dword [eax + 0x208]
mov byte [esp + 0x45], 2
mov ecx, dword [0x5a943c]
lea edx, [esp + 0x40]
push 0
push 0
mov dword [esp + 0x49], eax
mov eax, dword [ecx]
push edx
push 6
call dword [eax + 4]
push ecx
mov ecx, ebx
call fcn.004ac770
push 1
mov ecx, ebx
call fcn.004aad70
mov ebx, dword [0x5aa3e4]
mov dword [ebx + 0x10], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret 8