Function at 0x4ab260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b405c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6360e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [edx]
cmp dword [eax + 0xc], edi
jne 0x4ab350
push 4
call fcn.00577033
add esp, 4
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], 5
call fcn.0046d360
mov edi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebx + 0x30]
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov ecx, dword [eax + 8]
call fcn.0046db30
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0046da20
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4ab34b
cmp dword [ecx + 4], 0
je 0x4ab340
mov esi, dword [ecx + 4]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4ab33d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4ab33a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push 8
push ecx
call fcn.005772b4
add esp, 8
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x14], eax
mov esi, dword [eax]
cmp esi, eax
je 0x4ab3d3
mov edi, dword [ebp + 8]
nop
xor ebx, ebx
mov dword [ebp + 8], ebx
cmp dword [esi + 0x3c], ebx
jbe 0x4ab3ca
nop word [eax + eax]
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4ab454
mov eax, dword [ecx]
call dword [eax + 0x10]
push ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call edx
mov byte [ebp - 4], 3
mov eax, 0x92492493
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x44]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4ab409
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.0041dd1d
mov ecx, dword [ebp - 0x10]
inc ebx
mov dword [ebp + 8], ebx
cmp ebx, dword [esi + 0x3c]
jb 0x4ab370
mov eax, dword [ebp - 0x14]
mov esi, dword [esi]
cmp esi, eax
jne 0x4ab360
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x4ab506
mov eax, dword [edi]
test eax, eax
je 0x4ab3e7
push eax
call fcn.0046fad0
push 4
push edi
call fcn.005772b4
mov eax, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x44]
lea eax, [edi*8]
sub eax, edi
cmp dword [ecx + eax*4 + 0x14], 0x10
lea eax, [ecx + eax*4]
mov ecx, eax
jb 0x4ab423
mov ecx, dword [eax]
push dword [eax + 0x10]
lea eax, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0046dc90
lea ecx, [ebp - 0x44]
mov ebx, dword [eax]
mov byte [ebp - 4], 0
call fcn.0041dd1d
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
cmova ecx, ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
jmp 0x4ab3be
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
add eax, ebx
dec ecx
and ecx, eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x92492493
sub ecx, edx
mov dword [ebp - 0x28], edx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x4ab3bb
mov ecx, dword [ebp - 0x28]
lea eax, [edi*8]
sub eax, edi
cmp dword [ecx + eax*4 + 0x14], 0x10
lea eax, [ecx + eax*4]
mov ecx, eax
jb 0x4ab4a6
mov ecx, dword [eax]
push dword [eax + 0x10]
lea eax, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0046dc90
mov ecx, dword [esi + 0x34]
dec ecx
mov ebx, dword [eax]
mov eax, dword [esi + 0x38]
add eax, dword [ebp + 8]
and ecx, eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x4ab4e3
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x4ab4e5
mov al, 1
mov byte [ebp - 4], 0
test al, al
jne 0x4ab4f3
mov eax, dword [ebp - 0x28]
add ebx, dword [eax + 0x50]
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
cmova ecx, ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
jmp 0x4ab3be
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4