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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x57ec74]
xor eax, esp
mov dword [esp + 0x134], eax
cmp dword [0x596500], 0
push esi
push edi
mov edi, ecx
jne 0x4c9324
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x596500], eax
jmp 0x4c9367
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
sub ecx, dword [0x596500]
mov dword [0x596500], eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x56deb0]
mov ecx, dword [0x596504]
push ecx
cvtpd2ps xmm0, xmm0
mov eax, dword [ecx]
divss xmm0, dword [0x56dbf0]
movss dword [esp], xmm0
call dword [eax]
mov ecx, edi
call fcn.004c9bb0
movss xmm0, dword [0x5956f4]
addss xmm0, dword [0x56daf0]
movss dword [0x5956f4], xmm0
call fcn.0045bbb0
call fcn.0045c5a0
mov esi, eax
test esi, esi
je 0x4c9452
nop word [eax + eax]
mov eax, dword [esi + 4]
cmp eax, 5
ja case.default.0x4c93ac
jmp dword [eax*4 + 0x4c9a70]
movzx eax, word [esi + 0x12c]
push eax
push 0
push 6
jmp 0x4c9430
mov ecx, dword [edi + 0x19c]
movzx eax, word [esi + 0x12c]
push eax
push 0
mov edx, dword [ecx]
push 7
call dword [edx + 0x28]
movsx ax, byte [esi + 0x128]
movzx eax, ax
push eax
push 0
push 8
jmp 0x4c9430
movzx eax, word [esi + 0x10c]
push eax
push dword [esi + 0x108]
push 0
jmp 0x4c9430
movzx eax, word [esi + 0x10c]
push eax
push dword [esi + 0x108]
push 2
jmp 0x4c9430
movzx eax, word [esi + 0x10c]
push eax
push dword [esi + 0x108]
push 1
jmp 0x4c9430
movzx eax, word [esi + 0x10c]
push eax
push dword [esi + 0x108]
push 3
mov ecx, dword [edi + 0x19c]
mov edx, dword [ecx]
call dword [edx + 0x28]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
call fcn.0045c5a0
mov esi, eax
test esi, esi
jne 0x4c93a0
mov edx, dword [0x5955f8]
mov ecx, dword [edi + 0x19c]
movzx eax, word [edx + 0x2a69c]
mov esi, dword [ecx]
push eax
push dword [edx + 0x2a698]
push 4
call dword [esi + 0x28]
mov ecx, dword [0x596504]
sub esp, 0x10
movss xmm1, dword [0x56dbd8]
mov eax, esp
movss xmm0, dword [0x56dc10]
unpcklps xmm1, xmm0
movq qword [ecx + 0x14], xmm1
mov dword [ecx + 0x2c], 1
mov dword [esp + 0x98], 0xc2140000
mov esi, dword [esp + 0x98]
mov dword [ecx + 0x1c], esi
push 3
movq qword [esp + 0x24], xmm1
mov dword [eax], 0x3f800000
mov dword [eax + 4], 0x3f028283
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x3f1b9b9c
call fcn.004b9ba0
mov ecx, dword [0x5965e4]
mov eax, 0x66666667
inc ecx
imul ecx
mov dword [0x5965e4], ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
sub ecx, eax
jne 0x4c952a
call fcn.0051780c
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x56da40]
divss xmm1, dword [0x56dc7c]
addss xmm1, dword [0x56da40]
movss dword [0x5965d8], xmm1
push 0x58
lea eax, [esp + 0xa4]
push 0
push eax
call fcn.004ea420
add esp, 0xc
mov dword [esp + 0x90], 1
lea eax, [esp + 0x80]
mov dword [esp + 0x94], 0x3f800000
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x9c], 0x3f800000
push eax
lea eax, [esp + 0xd4]
mov dword [esp + 0x84], 0xc0800000
push eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x40000000
call fcn.00404e16
movq xmm0, qword [esp + 0x10]
lea edx, [esp + 0x90]
mov eax, dword [0x5955f8]
movq qword [esp + 0xc4], xmm0
movss xmm0, dword [0x5965d8]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xdc], 0x42c80000
mov dword [esp + 0xe0], 0x3f800000
movss dword [esp + 0xe8], xmm0
mov dword [esp + 0x94], 0x3f800000
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x9c], 0x3f000000
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [eax + 0x2a3d8]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [0x5955f8]
push 1
push 1
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push 0x3c
push 0x3f
push 0xb
call fcn.0045b770
mov eax, dword [0x5955f8]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x40], 0x3f800000
mov eax, dword [eax + 0x2a68c]
push ecx
movss xmm0, dword [eax + 4]
lea eax, [esp + 0xfc]
movss dword [esp], xmm0
push eax
call fcn.00406354
mov eax, dword [0x5955f8]
push ecx
mov eax, dword [eax + 0x2a68c]
movss xmm0, dword [eax]
lea eax, [esp + 0x44]
movss dword [esp], xmm0
push eax
call fcn.004063f0
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x44]
push eax
push eax
call fcn.00405831
mov ecx, dword [0x5955f8]
lea edx, [esp + 0x40]
push edx
push 2
mov eax, dword [ecx + 0x2a68c]
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x78], xmm0
mov eax, dword [ecx + 0x2a68c]
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x7c], xmm0
mov eax, dword [ecx + 0x2a68c]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x80], xmm0
mov eax, dword [ecx + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
movaps xmm0, xmmword [esp + 0x40]
lea edx, [esp + 0x40]
mov eax, dword [0x5955f8]
movaps xmmword [esp + 0x80], xmm0
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0x10], xmm0
movaps xmm0, xmmword [esp + 0x60]
movaps xmmword [esp + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x70]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x40], 0x3f800000
mov eax, dword [eax + 0x2a3d8]
push edx
push 0x100
push eax
mov ecx, dword [eax]
movaps xmmword [esp + 0x3c], xmm0
call dword [ecx + 0x94]
mov eax, dword [0x5955f8]
mov ecx, dword [0x5965d4]
push 0
push dword [eax + 0x2a3d8]
call fcn.00465760
mov eax, dword [0x5955f8]
mov ecx, dword [0x5964f4]
push 0
push dword [eax + 0x2a3d8]
call fcn.00465760
mov eax, dword [0x5955f8]
mov ecx, dword [0x5965a8]
push 0
push dword [eax + 0x2a3d8]
call fcn.00465760
mov eax, dword [0x5955f8]
mov ecx, dword [0x5965dc]
push 0
push dword [eax + 0x2a3d8]
call fcn.00465760
mov eax, dword [0x5955f8]
mov ecx, dword [0x5965e8]
push 0
push dword [eax + 0x2a3d8]
call fcn.00465760
mov eax, dword [0x5955f8]
mov ecx, dword [0x5965e0]
push 0
push dword [eax + 0x2a3d8]
call fcn.00465760
mov eax, dword [0x5955f8]
mov ecx, dword [0x5965d0]
push 0
push dword [eax + 0x2a3d8]
call fcn.00465760
mov eax, dword [0x5955f8]
mov ecx, dword [0x5964fc]
push 0
push dword [eax + 0x2a3d8]
call fcn.00465760
call fcn.004b9ee0
movaps xmm0, xmmword [esp + 0x80]
sub esp, 0x40
mov ecx, dword [0x596504]
mov eax, esp
movups xmmword [eax], xmm0
movaps xmm0, xmmword [esp + 0x50]
movups xmmword [eax + 0x10], xmm0
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x30], xmm0
call fcn.004ba000
mov eax, dword [0x5955f8]
push 1
push 0xe
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5955f8]
push 1
push 0x89
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5955f8]
push 1
push 0x16
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5955f8]
push 5
push 0x13
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5955f8]
push 6
push 0x14
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5955f8]
push 2
push 9
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov esi, dword [edi + 0x19c]
mov ecx, esi
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
cmp eax, method.UIRectArtTextButton.virtual_24
jne 0x4c9a6b
call dword [edx + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [edi + 0x10c]
test ecx, ecx
je 0x4c9a0b
call fcn.0045c630
mov esi, dword [0x5955f8]
cmp byte [esi + 0x2a6b4], 0
je 0x4c9a28
mov ecx, esi
call fcn.0045ac30
mov byte [esi + 0x2a6b4], 0
mov eax, dword [esi + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [esi + 0x2a3d8]
push 0
push 0
push 0
mov dword [esi + 0x2a6a0], 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x3c]
mov ecx, dword [esp + 0x13c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret
call eax
jmp 0x4c99fc