Function at 0x57a030
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a32c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x8bb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
push edi
call fcn.00485000
lea eax, [edi + 0x18]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x18]
push eax
call fcn.00485000
mov byte [ebp - 4], 1
lea esi, [ebx + 0x30]
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0073298e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 0x30]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00581ef0
lea eax, [edi + 0x38]
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x38]
push eax
call fcn.00485000
lea eax, [edi + 0x50]
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x50]
push eax
call fcn.00485000
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x6c]
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x68], eax
lea eax, [edi + 0x6c]
push eax
call fcn.00485000
lea eax, [edi + 0x84]
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x84]
push eax
call fcn.00485000
mov byte [ebp - 4], 7
lea esi, [ebx + 0x9c]
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0073298e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 0x9c]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.00581ef0
lea esi, [ebx + 0xa4]
mov byte [ebp - 4], 9
mov dword [esi], 0
push 0x88
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0073298e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 0xa4]
mov byte [ebp - 4], 0xa
push eax
mov ecx, esi
call fcn.00581e80
mov byte [ebp - 4], 0xb
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov eax, dword [edi + 0xb0]
sub eax, dword [edi + 0xac]
sar eax, 3
test eax, eax
je 0x57a21a
cmp eax, 0x1fffffff
ja 0x57a42c
push eax
lea ecx, [ebx + 0xac]
call fcn.00582960
mov ecx, dword [ebp + 8]
mov edi, dword [ebx + 0xac]
mov esi, dword [ecx + 0xb0]
mov eax, dword [ecx + 0xac]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sar esi, 3
lea eax, [edi + esi*8]
mov edi, dword [ebp + 8]
mov dword [ebx + 0xb0], eax
mov byte [ebp - 4], 0xc
mov eax, dword [edi + 0xb8]
mov dword [ebx + 0xb8], eax
mov al, byte [edi + 0xbc]
mov byte [ebx + 0xbc], al
mov eax, 0x2aaaaaab
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xc8], 0
mov ecx, dword [edi + 0xc4]
sub ecx, dword [edi + 0xc0]
imul ecx
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x57a2e2
cmp esi, 0x15555555
ja 0x57a431
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
call fcn.00583500
mov dword [ebx + 0xc0], eax
lea ecx, [esi + esi*2]
mov dword [ebx + 0xc4], eax
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0xc8], eax
mov edi, dword [ebx + 0xc0]
mov esi, dword [ecx + 0xc4]
mov ecx, dword [ecx + 0xc0]
sub esi, ecx
push esi
push ecx
push edi
call sub.VCRUNTIME140.dll_memmove
mov eax, 0x2aaaaaab
add esp, 0xc
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
mov edi, dword [ebp + 8]
mov dword [ebx + 0xc4], eax
mov eax, dword [edi + 0xcc]
mov dword [ebx + 0xcc], eax
mov eax, dword [edi + 0xd0]
mov dword [ebx + 0xd0], eax
mov eax, dword [edi + 0xd4]
mov dword [ebx + 0xd4], eax
mov eax, dword [edi + 0xd8]
mov dword [ebx + 0xd8], eax
mov eax, dword [edi + 0xdc]
mov dword [ebx + 0xdc], eax
mov eax, dword [edi + 0xe0]
mov dword [ebx + 0xe0], eax
mov eax, dword [edi + 0xe4]
mov dword [ebx + 0xe4], eax
mov eax, dword [edi + 0xe8]
mov dword [ebx + 0xe8], eax
mov eax, dword [edi + 0xec]
mov dword [ebx + 0xec], eax
lea esi, [ebx + 0xf0]
mov dword [esi + 0x24], 0
mov dword [ebp + 8], esi
mov byte [ebp - 4], 0xe
mov ecx, dword [edi + 0x114]
test ecx, ecx
je 0x57a374
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [ebx + 0x118]
mov dword [esi + 0x24], 0
mov dword [ebp + 8], esi
mov byte [ebp - 4], 0x10
mov ecx, dword [edi + 0x13c]
test ecx, ecx
je 0x57a39a
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [ebx + 0x140]
mov dword [esi + 0x24], 0
mov dword [ebp + 8], esi
mov byte [ebp - 4], 0x12
mov ecx, dword [edi + 0x164]
test ecx, ecx
je 0x57a3c0
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x168]
lea esi, [ebx + 0x170]
mov dword [ebx + 0x168], eax
mov eax, dword [edi + 0x16c]
mov dword [ebx + 0x16c], eax
mov dword [ebp + 8], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x14
mov ecx, dword [edi + 0x194]
test ecx, ecx
je 0x57a3fe
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [edi + 0x198]
mov byte [ebx + 0x198], al
mov eax, dword [edi + 0x19c]
mov dword [ebx + 0x19c], eax
mov eax, ebx
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
call fcn.004816c0
call fcn.004816c0
int3