Function at 0x10089430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10102eb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x64]
push edi
call fcn.1006a1f0
mov ecx, dword [0x10131e54]
mov ebp, eax
mov eax, ecx
and eax, 0x3f
lea ebx, [eax + eax*2]
shl ebx, 4
add ebx, 0x10136a60
inc ecx
mov dword [0x10131e54], ecx
mov ecx, ebp
call fcn.10010800
mov esi, eax
mov ecx, 9
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
fld dword [ebp + 0x2c]
fchs
push ecx
fstp dword [esp]
push ecx
fld dword [ebp + 0x28]
fchs
fstp dword [esp]
push ecx
fld dword [ebp + 0x24]
lea ecx, [esp + 0x30]
fchs
fstp dword [esp]
call fcn.1000d3e0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
lea esi, [ebx + 0x24]
call fcn.10010920
mov ecx, dword [eax]
mov edx, esi
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov edx, dword [esp + 0x6c]
push esi
lea ecx, [esp + 0x1c]
push ecx
add edx, 0x24
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
call fcn.10010920
mov ecx, eax
call fcn.10010d60
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [0x10139498], ecx
mov dword [0x1013949c], edx
mov dword [0x101394a0], eax
mov dword [esp + 0x14], 0x101393b0
mov ecx, 0x101393b0
test ecx, ecx
mov dword [esp + 0x60], 0
je 0x100895c4
mov ecx, dword [esp + 0x68]
call fcn.1006a1f0
mov ebp, eax
mov eax, dword [0x10131e54]
mov ebx, eax
and ebx, 0x3f
lea ebx, [ebx + ebx*2]
shl ebx, 4
add ebx, 0x10136a60
inc eax
mov ecx, ebp
mov dword [0x10131e54], eax
call fcn.10010800
mov esi, eax
mov ecx, 9
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
fld dword [ebp + 0x2c]
fchs
push ecx
fstp dword [esp]
push ecx
fld dword [ebp + 0x28]
fchs
fstp dword [esp]
push ecx
fld dword [ebp + 0x24]
lea ecx, [esp + 0x30]
fchs
fstp dword [esp]
call fcn.1000d3e0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call fcn.10010920
mov edx, dword [eax]
lea ecx, [ebx + 0x24]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x6c]
add ecx, 0x30
push ebx
push ecx
mov ecx, 0x101393b0
call fcn.10075b30
mov ebx, dword [esp + 0x10]
fld dword [0x101394a0]
mov ecx, dword [ebx]
fmul dword [ecx + 0x20]
or esi, 0xffffffff
fld dword [0x1013949c]
mov dword [esp + 0x60], esi
fmul dword [ecx + 0x1c]
faddp st(1)
fld dword [0x10139498]
fmul dword [ecx + 0x18]
faddp st(1)
fadd dword [ecx + 0x24]
fcomp dword [0x10105488]
fnstsw ax
test ah, 1
je 0x10089607
mov edx, 1
jmp 0x10089609
xor edx, edx
mov eax, dword [ecx + edx*4 + 0x28]
test eax, eax
je 0x1008961b
push eax
mov ecx, ebx
call fcn.10088e30
jmp 0x10089626
mov edx, dword [ecx + edx*4 + 0x30]
mov eax, dword [edx]
mov dword [0x10139258], eax
cmp dword [0x10139258], esi
jne 0x10089669
mov cl, byte [esp + 0x68]
mov byte [esp + 0x48], cl
push 0
lea ecx, [esp + 0x4c]
call fcn.10002047
xor eax, eax
mov edi, str.No_cluster_
mov ecx, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.No_cluster_
lea ecx, [esp + 0x50]
call fcn.10002275
push 1
lea ecx, [esp + 0x4c]
call fcn.10002047
mov edx, dword [ebx]
push 0x3f
push edx
mov ecx, ebx
call fcn.10089370
mov eax, dword [ebx + 0x34]
test eax, eax
lea esi, [ebx + 0x30]
mov dword [esp + 0x6c], esi
je 0x100897a0
mov ecx, dword [esi + 8]
sub ecx, eax
test ecx, 0xfffffffc
je 0x100897a0
mov ecx, dword [0x10131de4]
lea edx, [ebx + 4]
push edx
call fcn.10042b30
mov ecx, dword [esp + 0x68]
call fcn.1006a1f0
mov ecx, dword [0x10131de4]
push eax
call fcn.100430f0
xor eax, eax
mov dword [esp + 0x68], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10089777
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
cmp eax, edx
jae 0x10089777
mov ecx, dword [ebx + 0x34]
mov edi, dword [ecx + eax*4]
mov ecx, edi
call fcn.10068be0
mov ecx, dword [0x10131de4]
push eax
call fcn.100431a0
xor ebp, ebp
lea ebx, [edi + 8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x10089738
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 2
cmp ebp, edx
jae 0x10089738
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebp*4]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [edi + 4]
push eax
push ecx
mov ecx, dword [0x10131de4]
push edx
call fcn.10043ac0
mov dword [esi], edi
inc ebp
jmp 0x100896fb
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov eax, ecx
cmp eax, ecx
je 0x10089752
mov edx, dword [eax]
mov dword [esi], edx
add eax, 4
add esi, 4
cmp eax, ecx
jne 0x10089744
mov eax, dword [ebx + 8]
push eax
push esi
mov ecx, ebx
call fcn.10023dc0
mov eax, dword [esp + 0x68]
mov dword [ebx + 8], esi
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x68], eax
jmp 0x100896c2
mov ecx, dword [esi + 8]
mov edi, dword [esi + 4]
mov eax, ecx
cmp eax, ecx
je 0x10089791
mov edx, dword [eax]
mov dword [edi], edx
add eax, 4
add edi, 4
cmp eax, ecx
jne 0x10089783
mov eax, dword [esi + 8]
push eax
push edi
mov ecx, esi
call fcn.10023dc0
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 8