Function at 0x494920
Capabilities:
Access peb ldr_data
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f3d3
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x566090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov word [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
lea edi, [ebx + 0x80]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 0x1a48
lea eax, [edi + 0x20]
mov byte [ebp - 4], 1
push 0
push eax
mov dword [edi + 0x18], 0
call fcn.004feb20
add esp, 0xc
mov dword [edi + 0x1a68], 0
lea eax, [edi + 0x1a70]
push 0x1a48
push 0
push eax
call fcn.004feb20
mov eax, dword [ebp + 8]
lea esi, [edi + 0x34c0]
add esp, 0xc
mov dword [edi + 0x34bc], eax
add ebx, 0x3550
mov dword [ebp - 0x18], esi
mov dword [edi + 0x34b8], ebx
mov dword [esi], 0
push 0x28
mov dword [esi + 4], 0
call fcn.004fc7f3
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 esi, [edi + 0x34c8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x38
call fcn.004fc7f3
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
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x38]
mov dword [ebx], eax
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x3578], eax
mov dword [edi + 0x357c], esi
mov dword [edi + 0x3580], 0
mov dword [edi + 0x3584], 0xffffffff
mov dword [edi + 0x3588], 0xffffffff
mov dword [edi + 0x358c], 0xffffffff
mov dword [edi + 0x3590], 0
mov dword [edi + 0x3594], 0
xor eax, eax
mov dword [edi + 0x35a4], 0
mov dword [edi + 0x35a8], 7
mov word [edi + 0x3594], ax
lea ecx, [edi + 0x35ac]
mov byte [ebp - 4], 0xb
call fcn.004b0ef0
mov dword [edi + 0x35e0], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8