Function at 0x576a90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6c14
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
cmp eax, ecx
je 0x576c67
lea ecx, [eax - 0x68]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x576add
push ecx
mov ecx, eax
call fcn.005773c0
mov esi, dword [edi + 4]
or ebx, 0xffffffff
add esi, 0x68
mov dword [ebp - 4], ebx
mov dword [edi + 4], esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov dword [ebp - 0x80], ecx
lea ecx, [esi + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0xc]
push ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], eax
call fcn.00577a70
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x68]
push edx
mov dword [ebp - 4], 1
call fcn.004c6a50
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x58], ecx
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x54], edx
mov edx, dword [esi + 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x48], edx
mov edx, dword [esi + 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x3c], edx
mov edx, dword [esi + 0x54]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 0x5c]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 0x60]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov edi, dword [edi + 4]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
push 0
lea eax, [edi - 0x68]
lea ecx, [edi - 0xd0]
push edx
push eax
push ecx
push esi
mov dword [ebp - 4], 2
call fcn.00577fd0
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x7c]
add esp, 0x14
mov dword [esi + 4], ecx
mov dword [esi], eax
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
push ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x10]
call fcn.0055fab0
lea edx, [ebp - 0x68]
lea ecx, [esi + 0x1c]
push edx
call fcn.004c7ee0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 0x30], edx
mov edx, dword [ebp - 0x48]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp - 0x40]
mov dword [esi + 0x3c], edx
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x34]
mov dword [esi + 0x48], edx
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x50], ecx
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x54], edx
mov edx, dword [ebp - 0x24]
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x5c], ecx
lea ecx, [ebp - 0x68]
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], eax
mov dword [ebp - 4], ebx
call fcn.004b3c60
lea ecx, [ebp - 0x74]
call fcn.00402790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sub eax, dword [edi]
mov ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
je 0x576c8d
lea eax, [edx + edx]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x576c97
mov dword [ebp - 0x14], eax
jmp 0x576cac
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
shl eax, 3
push eax
call fcn.00402b20
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi]
push edx
push eax
push ebx
push ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 3
call fcn.00578330
add esp, 0x10
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esi
push eax
push esi
call fcn.00577cd0
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
add esp, 8
add esi, 0x68
mov dword [ebp - 0x1c], esi
push ecx
push esi
push eax
push ebx
call fcn.00578330
mov ebx, dword [edi + 4]
mov esi, dword [edi]
add esp, 0x10
cmp esi, ebx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xffffffff
je 0x576d1e
lea ecx, [esi + 0x1c]
call fcn.004b3c60
lea ecx, [esi + 0x10]
call fcn.00402790
add esi, 0x68
cmp esi, ebx
jne 0x576d07
mov esi, dword [edi]
mov ecx, dword [edi + 8]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x576d7a
lea ecx, [edx + edx*2]
lea eax, [edx + ecx*4]
shl eax, 3
cmp eax, 0x80
jbe 0x576d53
push esi
call fcn.0050a62f
add esp, 4
jmp 0x576d7a
add eax, 7
mov ecx, 0x5d5740
shr eax, 3
lea ebx, [eax*4 + 0x5d56fc]
call fcn.00402360
mov edx, dword [ebx]
mov dword [esi], edx
mov dword [ebx], esi
mov dword [0x5d5740], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [edi], ecx
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
lea ecx, [ecx + eax*8]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8