Function at 0x1005be00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100826d1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100b6018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x100b6b38]
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [eax + edx*4]
mov eax, dword [0x100ba598]
cmp eax, dword [edx + 4]
jle 0x1005be88
push 0x100ba598
call fcn.1007dc74
add esp, 4
cmp dword [0x100ba598], 0xffffffff
jne 0x1005be88
mov dword [ebp - 4], 0
call edi
sub eax, dword [0xcc18c84]
mov dword [0x100ba59c], eax
mov dword [ebp - 4], 0xffffffff
push 0x100ba598
call fcn.1007dc23
add esp, 4
cmp byte [ebx + 0x6d], 0
lea esi, [ebx + 0x6c]
jne 0x1005be96
cmp byte [esi], 0
jne 0x1005bea7
call edi
sub eax, dword [0xcc18c84]
mov dword [0x100ba59c], eax
mov byte [ebx + 0x6d], 0
cmp byte [ebx + 0x6e], 0
mov byte [esi], 1
jne 0x1005bf04
mov ecx, dword [ebx + 4]
mov eax, 0x66666667
sub ecx, dword [ebx]
imul ecx
mov ecx, dword [ebx + 0x5c]
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, esi
jl 0x1005bf19
push esi
push ecx
push str.Segmenter_Prepare__:_segment_frame___i____GetTotalFrames____1___i__n
push 7
call fcn.1000ae00
mov ecx, dword [ebx + 4]
mov eax, 0x66666667
sub ecx, dword [ebx]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [ebx + 0x5c]
push str.Segmenter_Prepare__:_segment_frame___i____GetTotalFrames____1___i__n
push 5
call fcn.1000ae00
add esp, 0x20
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jae 0x1005c04c
lea ecx, [ecx + ecx*4]
shl ecx, 4
add ecx, dword [ebx]
mov dword [ebp - 0x10], ecx
je 0x1005c04c
mov eax, dword [0x100ba210]
cmp eax, 0xa
jle 0x1005bf9f
mov eax, dword [0x100b602c]
movss xmm0, dword [eax + 0x2568c]
movss dword [0x100ba1f8], xmm0
movss xmm0, dword [eax + 0x25690]
movss dword [0x100ba1fc], xmm0
movss xmm0, dword [eax + 0x25694]
xor eax, eax
movss dword [0x100ba200], xmm0
movss xmm0, dword [ecx + 0x18]
movss dword [0x100ba204], xmm0
movss xmm0, dword [ecx + 0x1c]
movss dword [0x100ba208], xmm0
movss xmm0, dword [ecx + 0x20]
movss dword [0x100ba20c], xmm0
mov byte [0x100ba1f4], 1
mov esi, dword [0x100ba4c8]
inc eax
mov dword [0x100ba210], eax
call edi
movss xmm0, dword [esi + 0xc]
mov edi, eax
mulss xmm0, dword [0x100aeb44]
sub edi, dword [0xcc18c84]
call fcn.1007ee90
add eax, dword [0x100ba59c]
cmp eax, edi
jae 0x1005c046
push str.2launch_n
push 5
call fcn.1000acd0
mov ecx, dword [0x100b6028]
add esp, 8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0x20], eax
mov eax, dword [edx + 8]
mov dword [ecx + 0x24], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x30], eax
mov eax, dword [ecx + 0xc]
and eax, 0xfffffe7f
or eax, 0x4000
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 8]
mov dword [ecx + 0x84], eax
xor eax, eax
mov dword [ebx + 0x54], 0
mov word [ebx + 0x6d], 0x101
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [0x100ba4c8]
call edi
movss xmm0, dword [esi + 0xc]
mov edi, eax
mulss xmm0, dword [0x100aeb44]
sub edi, dword [0xcc18c84]
call fcn.1007ee90
sub eax, edi
add eax, dword [0x100ba59c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret