Function at 0x575e10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5f54
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 0x575fe7
lea ecx, [eax - 0x68]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x575e5d
push ecx
mov ecx, eax
call fcn.00576740
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.00576df0
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x68]
push edx
mov dword [ebp - 4], 1
call fcn.004c5d40
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.00577350
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.0055eb70
lea edx, [ebp - 0x68]
lea ecx, [esi + 0x1c]
push edx
call fcn.004c7210
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.004f8330
lea ecx, [ebp - 0x74]
call fcn.00402890
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 0x57600d
lea eax, [edx + edx]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x576017
mov dword [ebp - 0x14], eax
jmp 0x57602c
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.00402bf0
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.005776b0
add esp, 0x10
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esi
push eax
push esi
call fcn.00577050
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.005776b0
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 0x57609e
lea ecx, [esi + 0x1c]
call fcn.004f8330
lea ecx, [esi + 0x10]
call fcn.00402890
add esi, 0x68
cmp esi, ebx
jne 0x576087
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 0x5760fa
lea ecx, [edx + edx*2]
lea eax, [edx + ecx*4]
shl eax, 3
cmp eax, 0x80
jbe 0x5760d3
push esi
call fcn.005089dd
add esp, 4
jmp 0x5760fa
add eax, 7
mov ecx, 0x5d59e8
shr eax, 3
lea ebx, [eax*4 + 0x5d59a4]
call fcn.00402330
mov edx, dword [ebx]
mov dword [esi], edx
mov dword [ebx], esi
mov dword [0x5d59e8], 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