Function at 0x10059de0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007eae1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10096018]
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 [0x10096b1c]
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [eax + edx*4]
mov eax, dword [0x1009a500]
cmp eax, dword [edx + 4]
jle 0x10059e68
push 0x1009a500
call fcn.1007a1d6
add esp, 4
cmp dword [0x1009a500], 0xffffffff
jne 0x10059e68
mov dword [ebp - 4], 0
call edi
sub eax, dword [0xcc18c84]
mov dword [0x1009a504], eax
mov dword [ebp - 4], 0xffffffff
push 0x1009a500
call fcn.1007a18c
add esp, 4
cmp byte [ebx + 0x6d], 0
lea esi, [ebx + 0x6c]
jne 0x10059e76
cmp byte [esi], 0
jne 0x10059e87
call edi
sub eax, dword [0xcc18c84]
mov dword [0x1009a504], eax
mov byte [ebx + 0x6d], 0
cmp byte [ebx + 0x6e], 0
mov byte [esi], 1
jne 0x10059ee4
mov ecx, dword [ebx + 4]
mov eax, 0x6bca1af3
sub ecx, dword [ebx]
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebx + 0x5c]
cmp edx, ecx
jl 0x10059ef9
push ecx
push edx
push str.Segmenter_Prepare__:_segment_frame___i____GetTotalFrames____1___i__n
push 7
call fcn.10007dd0
mov ecx, dword [ebx + 4]
mov eax, 0x6bca1af3
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.10007dd0
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
mov eax, dword [0x1009a438]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x10], xmm0
call edi
movss xmm0, dword [ebp - 0x10]
mov esi, eax
mulss xmm0, dword [0x1008e4f4]
sub esi, dword [0xcc18c84]
call fcn.1007b440
add eax, dword [0x1009a504]
cmp eax, esi
jae 0x1005a081
mov ecx, dword [ebx + 4]
mov eax, 0x6bca1af3
sub ecx, dword [ebx]
mov esi, dword [ebx + 0x5c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x1005a081
imul esi, esi, 0x4c
add esi, dword [ebx]
mov dword [ebp - 0x10], esi
je 0x1005a081
push str.2launch_n
push 5
call fcn.10007ca0
mov edi, dword [0x10096028]
add esp, 8
mov eax, dword [esi]
movss xmm1, dword [0x1008e4b8]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x14]
mov esi, dword [0x1009602c]
mov dword [edi + 0x30], eax
movss xmm0, dword [esi + 0x2568c]
call fcn.10006780
mov eax, dword [ebp - 0x10]
movaps xmm1, xmm0
addss xmm1, xmm0
subss xmm1, dword [eax + 0x18]
subss xmm0, xmm1
movss xmm1, dword [0x1008e4b8]
addss xmm0, dword [esi + 0x256a8]
movss dword [esi + 0x256a8], xmm0
movss xmm0, dword [esi + 0x25690]
call fcn.10006780
mov eax, dword [ebp - 0x10]
movaps xmm2, xmm0
movss xmm1, dword [0x1008e4b8]
addss xmm2, xmm0
subss xmm2, dword [eax + 0x1c]
subss xmm0, xmm2
addss xmm0, dword [esi + 0x256ac]
movss dword [esi + 0x256ac], xmm0
movss xmm0, dword [esi + 0x25694]
call fcn.10006780
mov ecx, dword [ebp - 0x10]
movaps xmm1, xmm0
addss xmm1, xmm0
subss xmm1, dword [ecx + 0x20]
subss xmm0, xmm1
addss xmm0, dword [esi + 0x256b0]
movss dword [esi + 0x256b0], xmm0
mov eax, dword [edi + 0xc]
and eax, 0xfffffe7f
or eax, 0x4000
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [edi + 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 eax, dword [0x1009a438]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x10], xmm0
call edi
movss xmm0, dword [ebp - 0x10]
mov esi, eax
mulss xmm0, dword [0x1008e4f4]
sub esi, dword [0xcc18c84]
call fcn.1007b440
sub eax, esi
add eax, dword [0x1009a504]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret