Function at 0x1005b740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100830f1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1009c018]
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 [0x1009cb2c]
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [eax + edx*4]
mov eax, dword [0x100a05bc]
cmp eax, dword [edx + 4]
jle 0x1005b7c8
push 0x100a05bc
call fcn.1007e746
add esp, 4
cmp dword [0x100a05bc], 0xffffffff
jne 0x1005b7c8
mov dword [ebp - 4], 0
call edi
sub eax, dword [0xcc18c84]
mov dword [0x100a05c0], eax
mov dword [ebp - 4], 0xffffffff
push 0x100a05bc
call fcn.1007e6fc
add esp, 4
cmp byte [ebx + 0x6d], 0
lea esi, [ebx + 0x6c]
jne 0x1005b7d6
cmp byte [esi], 0
jne 0x1005b7e7
call edi
sub eax, dword [0xcc18c84]
mov dword [0x100a05c0], eax
mov byte [ebx + 0x6d], 0
cmp byte [ebx + 0x6e], 0
mov byte [esi], 1
jne 0x1005b844
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 0x1005b859
push esi
push ecx
push str.Segmenter_Prepare__:_segment_frame___i____GetTotalFrames____1___i__n
push 7
call fcn.1000ae90
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.1000ae90
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 0x1005b98c
lea ecx, [ecx + ecx*4]
shl ecx, 4
add ecx, dword [ebx]
mov dword [ebp - 0x10], ecx
je 0x1005b98c
mov eax, dword [0x100a01d8]
cmp eax, 0xa
jle 0x1005b8df
mov eax, dword [0x1009c02c]
movss xmm0, dword [eax + 0x2568c]
movss dword [0x100a01c0], xmm0
movss xmm0, dword [eax + 0x25690]
movss dword [0x100a01c4], xmm0
movss xmm0, dword [eax + 0x25694]
xor eax, eax
movss dword [0x100a01c8], xmm0
movss xmm0, dword [ecx + 0x18]
movss dword [0x100a01cc], xmm0
movss xmm0, dword [ecx + 0x1c]
movss dword [0x100a01d0], xmm0
movss xmm0, dword [ecx + 0x20]
movss dword [0x100a01d4], xmm0
mov byte [0x100a01bc], 1
mov esi, dword [0x100a04c8]
inc eax
mov dword [0x100a01d8], eax
call edi
movss xmm0, dword [esi + 0xc]
mov edi, eax
mulss xmm0, dword [0x10093ccc]
sub edi, dword [0xcc18c84]
call fcn.1007f9b0
add eax, dword [0x100a05c0]
cmp eax, edi
jae 0x1005b986
push str.2launch_n
push 5
call fcn.1000ad60
mov ecx, dword [0x1009c028]
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 [0x100a04c8]
call edi
movss xmm0, dword [esi + 0xc]
mov edi, eax
mulss xmm0, dword [0x10093ccc]
sub edi, dword [0xcc18c84]
call fcn.1007f9b0
sub eax, edi
add eax, dword [0x100a05c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret