Function at 0x52e100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b6528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 8]
mov ebp, dword [esp + 0x28]
xor esi, esi
cmp ebp, eax
mov dword [esp + 0x20], esi
jl 0x52e2f8
inc ebp
cmp ebp, esi
jne 0x52e171
mov edi, dword [ebx + 4]
cmp edi, esi
je 0x52e166
mov ecx, eax
dec eax
test ecx, ecx
je 0x52e157
lea ebp, [eax + 1]
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 4]
add edi, 0x38
dec ebp
jne 0x52e149
mov eax, dword [ebx + 4]
push eax
call fcn.00571134
add esp, 4
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x52e2f8
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x52e1c7
lea edi, [ebp*8]
sub edi, ebp
shl edi, 3
push edi
call fcn.0057110b
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov esi, edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [ebp]
test esi, esi
je 0x52e1b6
mov ecx, esi
call fcn.0052d710
add esi, 0x38
dec edi
jne 0x52e1ab
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x52e2f8
mov edi, dword [ebx + 0xc]
cmp ebp, edi
jg 0x52e248
cmp eax, ebp
jge 0x52e229
lea esi, [eax*8]
mov edx, ebp
sub esi, eax
sub edx, eax
xor eax, eax
lea edi, [ecx + esi*8]
lea ecx, [edx*8]
sub ecx, edx
mov dword [esp + 0x10], edi
shl ecx, 3
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x52e240
mov esi, dword [esp + 0x10]
lea edi, [edx + 1]
test esi, esi
je 0x52e21b
mov ecx, esi
call fcn.0052d710
add esi, 0x38
dec edi
jne 0x52e210
mov dword [ebx + 8], ebp
jmp 0x52e2f8
jle 0x52e240
lea edx, [ebp*8]
sub eax, ebp
sub edx, ebp
push eax
lea eax, [ecx + edx*8]
push eax
call fcn.0052e3a0
mov dword [ebx + 8], ebp
jmp 0x52e2f8
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
jne 0x52e273
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x52e266
mov ecx, 4
jmp 0x52e273
cmp ecx, 0x400
jle 0x52e273
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
jge 0x52e280
mov dword [esp + 0x10], eax
jmp 0x52e286
mov dword [esp + 0x10], ebp
mov eax, ebp
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
call fcn.0057110b
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [edx*8]
mov dword [esp + 0x14], eax
sub ecx, edx
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
sub edx, ecx
push edx
lea edx, [ecx*8]
sub edx, ecx
lea eax, [eax + edx*8]
push eax
call fcn.00494640
mov eax, dword [ebx + 4]
push eax
call fcn.00571134
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], edx
mov eax, dword [esp + 0x28]
mov edx, dword [ebx + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x34]
lea esi, [edx + ecx*8]
mov ecx, dword [esp + 0x38]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x40]
push eax
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], edx
call fcn.00575c21
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esi + 0x18]
call fcn.00575c21
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], 0xffffffff
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x28], edx
mov eax, dword [esp + 0x58]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x60]
mov dword [esi + 0x34], edx
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
mov dword [esi + 4], eax
call fcn.0052d790
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x3c