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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x507b40]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [0x50accc]
push ebx
push esi
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 0x18]
mov ecx, eax
push edi
mov dword [esp + 0x18], eax
call fcn.00434f60
mov edx, dword [0x50accc]
xor ecx, ecx
movss xmm0, dword [0x4cc0a0]
mov edi, eax
mov dword [esp + 0x48], ecx
movss dword [esp + 0x34], xmm0
cmp dword [edx + 0x210], 0xffffffff
mov ecx, dword [edx + 8]
mov esi, dword [ecx + 0x168]
mov ebx, dword [ecx + 0x164]
mov dword [esp + 0x20], esi
je 0x4754dd
mov ecx, dword [edx + 0x18]
call fcn.00434f60
test eax, eax
je 0x4754d7
nop dword [eax]
mov edx, dword [0x50accc]
mov ecx, dword [eax + 0x17c]
cmp ecx, dword [edx + 0x210]
jne 0x4754c7
cmp dword [0x509a9c], 0
jne 0x4754c7
mov ecx, dword [edx + 0x18]
mov ebx, dword [eax + 0x164]
mov esi, dword [eax + 0x168]
call fcn.00434fa0
mov edx, dword [0x50accc]
mov ecx, dword [edx + 0x18]
call fcn.00434fc0
test eax, eax
jne 0x475490
mov dword [esp + 0x20], esi
mov edx, dword [0x50accc]
test edi, edi
je 0x475bee
xorps xmm3, xmm3
nop dword [eax + eax]
cmp ebx, dword [edi + 0x164]
jne 0x475ba5
cmp esi, dword [edi + 0x168]
jne 0x475ba5
cmp dword [edi + 0x160], 5
movss xmm1, dword [0x4cc338]
movss xmm2, dword [0x4cd678]
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x2c], xmm2
jne 0x475549
movss xmm1, dword [0x4cd5d8]
movss xmm2, dword [0x4cb320]
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x2c], xmm2
movq xmm0, qword [edi + 0x114]
lea edx, [esp + 0x14]
movq qword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, xmm2
mov eax, dword [edi + 0x11c]
mov ecx, dword [esp + 0x10]
push edx
lea edx, [esp + 0x50]
mov dword [esp + 0x70], eax
push edx
movss dword [esp + 0x70], xmm0
lea edx, [esp + 0x60]
movss xmm0, dword [esp + 0x6c]
addss xmm0, xmm1
mov dword [esp + 0x68], eax
push edx
lea edx, [esp + 0x70]
mov dword [esp + 0x60], eax
mov dword [esp + 0x84], eax
lea eax, [ecx + 0x110]
push edx
movss dword [esp + 0x74], xmm0
add ecx, 0x11c
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x6c]
addss xmm0, xmm3
push eax
push ecx
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x70]
addss xmm0, xmm1
movss dword [esp + 0x70], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, xmm2
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x64]
subss xmm0, xmm1
movss dword [esp + 0x64], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, xmm3
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x88]
subss xmm0, xmm1
movss dword [esp + 0x88], xmm0
call fcn.0043d060
mov ecx, dword [esp + 0x28]
mov esi, eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [ecx + 0x110]
push eax
lea eax, [ecx + 0x11c]
push eax
call fcn.0043d060
movq xmm0, qword [edi + 0x114]
mov ecx, dword [edi + 0x11c]
movss xmm1, dword [esp + 0x60]
movq qword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0x5c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x58], eax
mov eax, ecx
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x9c]
addss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x8c]
xorps xmm3, xmm3
addss xmm0, xmm3
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x70]
push eax
movss dword [esp + 0x90], xmm0
lea eax, [esp + 0x80]
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm1
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xa0]
movss dword [esp + 0x9c], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x68]
push eax
lea eax, [ecx + 0x110]
push eax
lea eax, [ecx + 0x11c]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x98]
subss xmm0, xmm1
push eax
movss dword [esp + 0x9c], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0xbc]
addss xmm0, xmm3
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0xc0]
subss xmm0, xmm1
movss dword [esp + 0xc0], xmm0
call fcn.0043d060
mov ecx, dword [esp + 0x58]
add esp, 0x48
mov dword [esp + 0x24], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [ecx + 0x110]
push eax
lea eax, [ecx + 0x11c]
push eax
call fcn.0043d060
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov edx, eax
mov eax, dword [esp + 0x28]
test esi, esi
jne 0x475830
test eax, eax
jne 0x475830
test ecx, ecx
jne 0x475830
test edx, edx
je 0x475872
movss xmm0, dword [esp + 0x14]
test eax, eax
je 0x475840
movss xmm0, dword [esp + 0x3c]
test ecx, ecx
je 0x47584a
movss xmm0, dword [esp + 0x40]
test edx, edx
je 0x475854
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x34]
comiss xmm1, xmm0
jbe 0x475872
cmp dword [edi + 0x160], 0x11
je 0x475872
mov dword [esp + 0x48], edi
movss dword [esp + 0x34], xmm0
movq xmm0, qword [edi + 0x114]
xorps xmm3, xmm3
movss xmm1, dword [esp + 0x30]
movq qword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, dword [esp + 0x2c]
mov eax, dword [edi + 0x11c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], eax
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, xmm1
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x5c]
push eax
movss dword [esp + 0x6c], xmm0
lea eax, [esp + 0x54]
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, xmm3
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [ecx + 0x110]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, xmm1
push eax
lea eax, [ecx + 0x11c]
push eax
movss dword [esp + 0x70], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x64]
subss xmm0, xmm1
movss dword [esp + 0x64], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, xmm3
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x88]
subss xmm0, xmm1
movss dword [esp + 0x88], xmm0
call fcn.0043d060
mov ecx, dword [esp + 0x28]
mov esi, eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [ecx + 0x110]
push eax
lea eax, [ecx + 0x11c]
push eax
call fcn.0043d060
movq xmm0, qword [edi + 0x114]
mov ecx, dword [edi + 0x11c]
movss xmm1, dword [esp + 0x60]
movq qword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0x5c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x58], eax
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x9c]
addss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x88], xmm0
xorps xmm3, xmm3
movss xmm0, dword [esp + 0x8c]
mov eax, ecx
addss xmm0, xmm3
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x70]
push eax
movss dword [esp + 0x90], xmm0
lea eax, [esp + 0x8c]
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm1
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xa0]
movss dword [esp + 0x9c], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x68]
push eax
lea eax, [ecx + 0x110]
push eax
lea eax, [ecx + 0x11c]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x98]
subss xmm0, xmm1
push eax
movss dword [esp + 0x9c], xmm0
movq xmm0, qword [edi + 0x114]
movq qword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0xbc]
addss xmm0, xmm3
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0xc0]
subss xmm0, xmm1
movss dword [esp + 0xc0], xmm0
call fcn.0043d060
mov ecx, dword [esp + 0x58]
add esp, 0x48
mov dword [esp + 0x24], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [ecx + 0x110]
push eax
lea eax, [ecx + 0x11c]
push eax
call fcn.0043d060
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov edx, eax
mov eax, dword [esp + 0x28]
test esi, esi
jne 0x475b63
test eax, eax
jne 0x475b63
test ecx, ecx
jne 0x475b63
test edx, edx
je 0x475ba5
movss xmm0, dword [esp + 0x14]
test eax, eax
je 0x475b73
movss xmm0, dword [esp + 0x3c]
test ecx, ecx
je 0x475b7d
movss xmm0, dword [esp + 0x40]
test edx, edx
je 0x475b87
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x34]
comiss xmm1, xmm0
jbe 0x475ba5
cmp dword [edi + 0x160], 0x11
je 0x475ba5
mov dword [esp + 0x48], edi
movss dword [esp + 0x34], xmm0
mov ecx, dword [esp + 0x18]
call fcn.00434fc0
mov esi, dword [esp + 0x20]
mov edi, eax
xorps xmm3, xmm3
test edi, edi
jne 0x4754f0
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x475be8
mov eax, dword [0x50accc]
mov dword [eax + 0x10], ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00498846
mov esp, ebp
pop ebp
ret 8
mov edx, dword [0x50accc]
mov eax, dword [esp + 0x10]
lea edi, [eax + 0x110]
lea ecx, [eax + 0x11c]
lea eax, [esp + 0x14]
push eax
lea eax, [edx + 0x2b4]
push eax
lea eax, [edx + 0x2c0]
push eax
lea eax, [edx + 0x2a8]
push eax
push edi
push ecx
call fcn.0043d060
mov edx, dword [0x50accc]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [edx + 0x2d8]
add eax, 0x11c
push ecx
lea ecx, [edx + 0x2e4]
push ecx
lea ecx, [edx + 0x2cc]
push ecx
push edi
push eax
call fcn.0043d060
add esp, 0x30
or eax, esi
je 0x475c7d
mov eax, dword [0x50accc]
mov dword [eax + 0x10], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00498846
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x50accc]
lea eax, [esp + 0x14]
push eax
lea eax, [ecx + 0x2fc]
push eax
lea eax, [ecx + 0x308]
push eax
lea eax, [ecx + 0x2f0]
push eax
mov eax, dword [esp + 0x20]
add eax, 0x11c
push edi
push eax
call fcn.0043d060
mov edx, dword [0x50accc]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [edx + 0x320]
add eax, 0x11c
push ecx
lea ecx, [edx + 0x32c]
push ecx
lea ecx, [edx + 0x314]
push ecx
push edi
push eax
call fcn.0043d060
add esp, 0x30
or eax, esi
je 0x475d9f
cmp dword [0x50acd0], 0
jg 0x47610e
mov eax, dword [esp + 0x20]
mov ecx, dword [0x509a90]
dec eax
push eax
push ebx
cmp ecx, 1
jne 0x475d1c
mov ecx, dword [0x50accc]
mov ecx, dword [ecx + 0x160]
call fcn.0045c250
jmp 0x475d39
cmp ecx, 4
mov ecx, dword [0x50accc]
mov ecx, dword [ecx + 0x160]
jne 0x475d34
call fcn.0045c660
jmp 0x475d39
call fcn.0045cbd0
cmp dword [0x50acd0], 0
jg 0x47610e
cmp dword [ebp + 0xc], 0
jne 0x47610e
test byte [0x503e50], 4
je 0x47610e
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebx + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x47610e
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x50accc]
mov byte [esp + 0x18], 8
mov eax, dword [eax + 0x208]
mov byte [esp + 0x1d], 0
jmp 0x4760e2
mov ecx, dword [0x50accc]
lea eax, [esp + 0x14]
push eax
lea eax, [ecx + 0x344]
push eax
lea eax, [ecx + 0x350]
push eax
lea eax, [ecx + 0x338]
push eax
mov eax, dword [esp + 0x20]
add eax, 0x11c
push edi
push eax
call fcn.0043d060
mov edx, dword [0x50accc]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [edx + 0x368]
add eax, 0x11c
push ecx
lea ecx, [edx + 0x374]
push ecx
lea ecx, [edx + 0x35c]
push ecx
push edi
push eax
call fcn.0043d060
add esp, 0x30
or eax, esi
je 0x475eba
cmp dword [0x50acd0], 0
jg 0x47610e
mov ecx, dword [0x50accc]
dec ebx
mov eax, dword [0x509a90]
mov ecx, dword [ecx + 0x160]
cmp eax, 1
jne 0x475e3d
mov eax, dword [esp + 0x20]
push eax
push ebx
call fcn.0045c250
jmp 0x475e54
cmp eax, 4
mov eax, dword [esp + 0x20]
push eax
push ebx
jne 0x475e4f
call fcn.0045c660
jmp 0x475e54
call fcn.0045cbd0
cmp dword [0x50acd0], 0
jg 0x47610e
cmp dword [ebp + 0xc], 0
jne 0x47610e
test byte [0x503e50], 4
je 0x47610e
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebx + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x47610e
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x50accc]
mov byte [esp + 0x18], 8
mov eax, dword [eax + 0x208]
mov byte [esp + 0x1d], 6
jmp 0x4760e2
mov ecx, dword [0x50accc]
lea eax, [esp + 0x14]
push eax
lea eax, [ecx + 0x38c]
push eax
lea eax, [ecx + 0x398]
push eax
lea eax, [ecx + 0x380]
push eax
mov eax, dword [esp + 0x20]
add eax, 0x11c
push edi
push eax
call fcn.0043d060
mov edx, dword [0x50accc]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [edx + 0x3b0]
add eax, 0x11c
push ecx
lea ecx, [edx + 0x3bc]
push ecx
lea ecx, [edx + 0x3a4]
push ecx
push edi
push eax
call fcn.0043d060
add esp, 0x30
or eax, esi
je 0x475fdc
cmp dword [0x50acd0], 0
jg 0x47610e
mov eax, dword [esp + 0x20]
mov ecx, dword [0x509a90]
inc eax
push eax
push ebx
cmp ecx, 1
jne 0x475f59
mov ecx, dword [0x50accc]
mov ecx, dword [ecx + 0x160]
call fcn.0045c250
jmp 0x475f76
cmp ecx, 4
mov ecx, dword [0x50accc]
mov ecx, dword [ecx + 0x160]
jne 0x475f71
call fcn.0045c660
jmp 0x475f76
call fcn.0045cbd0
cmp dword [0x50acd0], 0
jg 0x47610e
cmp dword [ebp + 0xc], 0
jne 0x47610e
test byte [0x503e50], 4
je 0x47610e
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebx + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x47610e
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x50accc]
mov byte [esp + 0x18], 8
mov eax, dword [eax + 0x208]
mov byte [esp + 0x1d], 4
jmp 0x4760e2
mov ecx, dword [0x50accc]
lea eax, [esp + 0x14]
push eax
lea eax, [ecx + 0x3d4]
push eax
lea eax, [ecx + 0x3e0]
push eax
lea eax, [ecx + 0x3c8]
push eax
mov eax, dword [esp + 0x20]
add eax, 0x11c
push edi
push eax
call fcn.0043d060
mov edx, dword [0x50accc]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [edx + 0x3f8]
add eax, 0x11c
push ecx
lea ecx, [edx + 0x404]
push ecx
lea ecx, [edx + 0x3ec]
push ecx
push edi
push eax
call fcn.0043d060
add esp, 0x30
or eax, esi
je 0x47611a
cmp dword [0x50acd0], 0
jg 0x47610e
mov ecx, dword [0x50accc]
inc ebx
mov eax, dword [0x509a90]
mov ecx, dword [ecx + 0x160]
cmp eax, 1
jne 0x47607a
mov eax, dword [esp + 0x20]
push eax
push ebx
call fcn.0045c250
jmp 0x476091
cmp eax, 4
mov eax, dword [esp + 0x20]
push eax
push ebx
jne 0x47608c
call fcn.0045c660
jmp 0x476091
call fcn.0045cbd0
cmp dword [0x50acd0], 0
jg 0x47610e
cmp dword [ebp + 0xc], 0
jne 0x47610e
test byte [0x503e50], 4
je 0x47610e
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebx + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x47610e
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x50accc]
mov byte [esp + 0x18], 8
mov eax, dword [eax + 0x208]
mov byte [esp + 0x1d], 2
mov ecx, dword [0x509434]
lea edx, [esp + 0x18]
push 0
push 0
mov dword [esp + 0x21], eax
mov eax, dword [ecx]
push edx
push 6
call dword [eax + 4]
push 1
mov ecx, ebx
call fcn.00474ff0
push 1
mov ecx, ebx
call fcn.00474f30
mov eax, dword [0x50accc]
mov dword [eax + 0x10], 0
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00498846
mov esp, ebp
pop ebp
ret 8