Function at 0x52c5f0
Capabilities:
Access peb ldr_data
Get memory capacity
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6d49f6
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x7dcee0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x7dcee0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
push 0x6d9756
lea ecx, [esp + 0x30]
mov dword [esp + 0xd4], esi
call fcn.004c2160
xor ecx, ecx
mov eax, SysReAllocString
cpuid
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], 0xffffffff
lea esi, [esp + 0x18]
pxor xmm0, xmm0
movq qword [esp + 0x1c], xmm0
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x18]
mov eax, SysReAllocString
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
cmp ecx, eax
jb 0x52c736
lea ebx, [ebx]
xor ecx, ecx
cpuid
lea esi, [esp + 0x18]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
jne 0x52c6db
movq xmm0, qword [esp + 0x18]
movq qword [esp + 0x7c], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [esp + 0x84], xmm0
jmp 0x52c727
cmp eax, 0x80000003
jne 0x52c702
movq xmm0, qword [esp + 0x18]
movq qword [esp + 0x8c], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [esp + 0x94], xmm0
jmp 0x52c727
cmp eax, 0x80000004
jne 0x52c727
movq xmm0, qword [esp + 0x18]
movq qword [esp + 0x9c], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [esp + 0xa4], xmm0
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jbe 0x52c6a0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x30]
push str._cpu__:___s__
push ecx
call fcn.004c2a60
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
xor edi, edi
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.0052c4c0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x48]
push str._cpuN__:___d__d__
push eax
call fcn.004c2a60
add esp, 0x24
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0xa260e0], eax
cmp eax, edi
je 0x52c7b5
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0xa260e0]
mov eax, 0x6f85b0
cmp dword [esp + 0x10], edi
jne 0x52c7c5
mov eax, 0x6f85ac
push eax
lea edx, [esp + 0x30]
push str._w64__:___s__
push edx
call fcn.004c2a60
push 0x40
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.00695690
add esp, 0x18
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x34]
push str._phyM__:__0x_016llx__
push ecx
call fcn.004c2a60
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x40]
push str._ldM__:___d__
push eax
call fcn.004c2a60
add esp, 0x1c
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 1
call fcn.004c20d0
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, 0x6d9756
lea edx, [ebx + ecx]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x52c860
mov esi, dword [0xa24048]
dec esi
cmp esi, edi
mov dword [esp + 0x28], esi
jl 0x52ca54
imul esi, esi, 0x96c
mov dword [esp + 0x14], esi
jmp 0x52c896
mov esi, dword [esp + 0x14]
xor edi, edi
mov eax, dword [esp + 0x1c]
mov edx, dword [0xa23eb8]
mov ecx, eax
sub ecx, ebx
dec ecx
add esi, edx
cmp ecx, 2
jge 0x52c90c
cmp eax, edi
jne 0x52c8b5
mov eax, 2
lea eax, [eax + eax*2]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
lea eax, [ebx + 2]
cmp edi, eax
jge 0x52c8d0
lea eax, [eax + eax*2]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov edx, dword [esp + 0x18]
push edi
mov dword [esp + 0x14], edx
call fcn.006955b9
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x28], eax
call fcn.00695f10
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x1c], edi
test eax, eax
je 0x52c90a
push eax
call fcn.00695d3f
add esp, 4
xor edi, edi
mov edx, dword [esp + 0x18]
mov eax, 0x6f8570
mov ecx, ebx
sub ecx, eax
add edx, ecx
jmp 0x52c920
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x52c920
mov eax, dword [esi + 0x94c]
mov ecx, dword [esi + 0x948]
push eax
push ecx
lea edx, [esp + 0x20]
push str._d__d_
inc ebx
push edx
mov dword [esp + 0x30], ebx
call fcn.004c2a60
mov eax, dword [esi + 0x950]
mov ecx, dword [esi + 0x954]
push eax
push ecx
lea edx, [esp + 0x30]
push str._d__d_
push edx
call fcn.004c2a60
lea eax, [esi + 0x13c]
push eax
lea ecx, [esp + 0x3c]
push str._s_
push ecx
call fcn.004c2a60
lea edx, [esp + 0x64]
mov dword [esp + 0x64], edi
mov eax, dword [esi + 0x95c]
push edx
push eax
call fcn.004d33d0
mov ecx, dword [esp + 0x6c]
push ecx
lea edx, [esp + 0x50]
push str.0x_08x_
push edx
call fcn.004c2a60
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ecx, eax
sub ecx, ebx
dec ecx
add esp, 0x40
cmp ecx, 2
jge 0x52ca1f
cmp eax, edi
jne 0x52c9c6
mov eax, 2
lea eax, [eax + eax*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea eax, [ebx + 2]
cmp esi, eax
jge 0x52c9e1
lea eax, [eax + eax*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov edx, dword [esp + 0x18]
push esi
mov dword [esp + 0x14], edx
call fcn.006955b9
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push edi
mov dword [esp + 0x28], edi
call fcn.00695f10
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x1c], esi
test eax, eax
je 0x52ca23
push eax
call fcn.00695d3f
add esp, 4
jmp 0x52ca23
mov edi, dword [esp + 0x18]
mov eax, 0x6f8554
mov edx, ebx
sub edx, eax
add edi, edx
mov edi, edi
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x52ca30
mov eax, dword [esp + 0x28]
sub dword [esp + 0x14], 0x96c
dec eax
inc ebx
mov dword [esp + 0x28], eax
test eax, eax
jge 0x52c890
mov eax, dword [esp + 0x18]
mov ecx, dword [0xa24048]
push eax
push ecx
lea edx, [esp + 0x34]
push str._mon__:___d__s__
push edx
call fcn.004c2a60
mov esi, dword [esp + 0x3c]
push esi
call fcn.006a3650
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
je 0x52ca8f
push eax
call fcn.00695d3f
add esp, 4
test esi, esi
je 0x52ca9c
push esi
call fcn.00695d3f
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0069528d
mov esp, ebp
pop ebp
ret