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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [0x500da8]
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 0x47d26c
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edi, dword [eax + 8]
jmp 0x47d26e
xor edi, edi
mov eax, dword [ebx + 8]
xor esi, esi
cmp dword [ebx + 0x20c], 0xffffffff
movss xmm0, dword [0x4e0050]
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 0x47d312
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x40], eax
cmp dword [eax + 0xc], esi
je 0x47d312
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 0x47d30e
nop
mov eax, dword [ecx + 0x17c]
cmp eax, dword [ebx + 0x20c]
jne 0x47d2f2
cmp dword [0x4ffed8], esi
jne 0x47d2f2
mov ebp, dword [ecx + 0x164]
mov edx, dword [ecx + 0x168]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0xc], esi
je 0x47d2f2
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 0x47d30a
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x47d2c0
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x18]
test edi, edi
je 0x47d9ab
mov ebx, dword [esp + 0x80]
xorps xmm3, xmm3
cmp ebp, dword [edi + 0x164]
jne 0x47d971
cmp edx, dword [edi + 0x168]
jne 0x47d971
cmp dword [edi + 0x160], 5
movss xmm1, dword [0x4dfe88]
movss xmm2, dword [0x4dff50]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm2
jne 0x47d37d
movss xmm1, dword [0x4dfe9c]
movss xmm2, dword [0x4dff88]
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.0043de00
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.0043de00
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.0043de00
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.0043de00
mov ecx, dword [esp + 0x70]
add esp, 0x40
mov edx, eax
mov eax, dword [esp + 0x40]
test esi, esi
jne 0x47d625
test eax, eax
jne 0x47d625
test ecx, ecx
jne 0x47d625
test edx, edx
je 0x47d667
movss xmm0, dword [esp + 0x10]
test eax, eax
je 0x47d635
movss xmm0, dword [esp + 0x34]
test ecx, ecx
je 0x47d63f
movss xmm0, dword [esp + 0x38]
test edx, edx
je 0x47d649
movss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x28]
comiss xmm1, xmm0
jbe 0x47d667
cmp dword [edi + 0x160], 0x11
je 0x47d667
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.0043de00
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.0043de00
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.0043de00
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.0043de00
mov ecx, dword [esp + 0x70]
add esp, 0x40
mov edx, eax
mov eax, dword [esp + 0x40]
test esi, esi
jne 0x47d919
test eax, eax
jne 0x47d919
test ecx, ecx
jne 0x47d919
test edx, edx
je 0x47d966
movss xmm0, dword [esp + 0x10]
test eax, eax
je 0x47d929
movss xmm0, dword [esp + 0x34]
test ecx, ecx
je 0x47d933
movss xmm0, dword [esp + 0x38]
test edx, edx
je 0x47d93d
movss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x28]
xorps xmm3, xmm3
comiss xmm1, xmm0
mov ecx, dword [esp + 0x18]
jbe 0x47d96d
cmp dword [edi + 0x160], 0x11
je 0x47d96d
mov esi, edi
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x1c], esi
jmp 0x47d971
mov ecx, dword [esp + 0x18]
xorps xmm3, xmm3
mov esi, dword [esp + 0x1c]
cmp dword [ecx + 0xc], 0
je 0x47d98f
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 0x47d324
mov ebx, dword [0x500da8]
test esi, esi
je 0x47d9ab
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 + 0x2b0]
push eax
lea eax, [ebx + 0x2bc]
push eax
lea eax, [ebx + 0x2a4]
push eax
call fcn.0043de00
mov esi, eax
lea ecx, [ebx + 0x2d4]
lea eax, [esp + 0x20]
mov edx, edi
push eax
push ecx
lea ecx, [ebx + 0x2e0]
push ecx
lea ecx, [ebx + 0x2c8]
push ecx
mov ecx, dword [esp + 0xa0]
lea ecx, [ecx + 0x11c]
call fcn.0043de00
add esp, 0x20
or eax, esi
je 0x47da2c
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 + 0x2f8]
mov edx, edi
push eax
lea eax, [ebx + 0x304]
push eax
lea eax, [ebx + 0x2ec]
push eax
lea ecx, [ecx + 0x11c]
call fcn.0043de00
mov esi, eax
lea ecx, [ebx + 0x31c]
lea eax, [esp + 0x20]
mov edx, edi
push eax
push ecx
lea ecx, [ebx + 0x328]
push ecx
lea ecx, [ebx + 0x310]
push ecx
mov ecx, dword [esp + 0xa0]
lea ecx, [ecx + 0x11c]
call fcn.0043de00
add esp, 0x20
or eax, esi
je 0x47db42
cmp dword [0x500da0], 0
jg 0x47dea2
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4fff08]
dec eax
push eax
push ebp
cmp ecx, 1
jne 0x47dac1
mov ecx, dword [ebx + 0x15c]
call fcn.0045ddb0
jmp 0x47dad8
cmp ecx, 4
mov ecx, dword [ebx + 0x15c]
jne 0x47dad3
call fcn.0045e100
jmp 0x47dad8
call fcn.0045d960
cmp dword [0x500da0], 0
jg 0x47de9c
cmp dword [esp + 0x84], 0
jne 0x47de9c
test byte [0x4fd630], 4
je 0x47de9c
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 0x47de9c
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x500da8]
mov byte [esp + 0x40], 8
mov eax, dword [eax + 0x204]
mov byte [esp + 0x45], 0
jmp 0x47de71
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x340]
mov edx, edi
push eax
lea eax, [ebx + 0x34c]
push eax
lea eax, [ebx + 0x334]
push eax
lea ecx, [ecx + 0x11c]
call fcn.0043de00
mov esi, eax
lea ecx, [ebx + 0x364]
lea eax, [esp + 0x20]
mov edx, edi
push eax
push ecx
lea ecx, [ebx + 0x370]
push ecx
lea ecx, [ebx + 0x358]
push ecx
mov ecx, dword [esp + 0xa0]
lea ecx, [ecx + 0x11c]
call fcn.0043de00
add esp, 0x20
or eax, esi
je 0x47dc57
cmp dword [0x500da0], 0
jg 0x47dea2
mov eax, dword [0x4fff08]
dec ebp
mov ecx, dword [ebx + 0x15c]
cmp eax, 1
jne 0x47dbd6
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.0045ddb0
jmp 0x47dbed
cmp eax, 4
mov eax, dword [esp + 0x14]
push eax
push ebp
jne 0x47dbe8
call fcn.0045e100
jmp 0x47dbed
call fcn.0045d960
cmp dword [0x500da0], 0
jg 0x47de9c
cmp dword [esp + 0x84], 0
jne 0x47de9c
test byte [0x4fd630], 4
je 0x47de9c
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 0x47de9c
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x500da8]
mov byte [esp + 0x40], 8
mov eax, dword [eax + 0x204]
mov byte [esp + 0x45], 6
jmp 0x47de71
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x388]
mov edx, edi
push eax
lea eax, [ebx + 0x394]
push eax
lea eax, [ebx + 0x37c]
push eax
lea ecx, [ecx + 0x11c]
call fcn.0043de00
mov esi, eax
lea ecx, [ebx + 0x3ac]
lea eax, [esp + 0x20]
mov edx, edi
push eax
push ecx
lea ecx, [ebx + 0x3b8]
push ecx
lea ecx, [ebx + 0x3a0]
push ecx
mov ecx, dword [esp + 0xa0]
lea ecx, [ecx + 0x11c]
call fcn.0043de00
add esp, 0x20
or eax, esi
je 0x47dd6d
cmp dword [0x500da0], 0
jg 0x47dea2
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4fff08]
inc eax
push eax
push ebp
cmp ecx, 1
jne 0x47dcec
mov ecx, dword [ebx + 0x15c]
call fcn.0045ddb0
jmp 0x47dd03
cmp ecx, 4
mov ecx, dword [ebx + 0x15c]
jne 0x47dcfe
call fcn.0045e100
jmp 0x47dd03
call fcn.0045d960
cmp dword [0x500da0], 0
jg 0x47de9c
cmp dword [esp + 0x84], 0
jne 0x47de9c
test byte [0x4fd630], 4
je 0x47de9c
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 0x47de9c
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x500da8]
mov byte [esp + 0x40], 8
mov eax, dword [eax + 0x204]
mov byte [esp + 0x45], 4
jmp 0x47de71
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x3d0]
mov edx, edi
push eax
lea eax, [ebx + 0x3dc]
push eax
lea eax, [ebx + 0x3c4]
push eax
lea ecx, [ecx + 0x11c]
call fcn.0043de00
mov ecx, dword [esp + 0x90]
lea esi, [ebx + 0x3f4]
mov edi, eax
lea eax, [esp + 0x20]
push eax
push esi
lea esi, [ebx + 0x400]
push esi
lea esi, [ebx + 0x3e8]
lea edx, [ecx + 0x110]
push esi
lea ecx, [ecx + 0x11c]
call fcn.0043de00
add esp, 0x20
or eax, edi
je 0x47dea9
cmp dword [0x500da0], 0
jg 0x47dea2
mov eax, dword [0x4fff08]
inc ebp
mov ecx, dword [ebx + 0x15c]
cmp eax, 1
jne 0x47de05
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.0045ddb0
jmp 0x47de1c
cmp eax, 4
mov eax, dword [esp + 0x14]
push eax
push ebp
jne 0x47de17
call fcn.0045e100
jmp 0x47de1c
call fcn.0045d960
cmp dword [0x500da0], 0
jg 0x47de9c
cmp dword [esp + 0x84], 0
jne 0x47de9c
test byte [0x4fd630], 4
je 0x47de9c
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 0x47de9c
call esi
mov dword [ebx + 0x23e8], eax
mov eax, dword [0x500da8]
mov byte [esp + 0x40], 8
mov eax, dword [eax + 0x204]
mov byte [esp + 0x45], 2
mov ecx, dword [0x4ffd78]
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.0047f9b0
push 1
mov ecx, ebx
call fcn.0047dec0
mov ebx, dword [0x500da8]
mov dword [ebx + 0x10], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret 8