Function at 0x59f793
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6afdce
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x816078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 7
call fcn.0040d3df
mov byte [ebp - 0x18], bl
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0040d475
mov eax, dword [esi]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
call dword [eax + 0xc]
test al, al
je 0x59f82b
mov eax, dword [esi]
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, eax
push ecx
mov al, byte [ecx + 0x18]
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x18], al
call fcn.0040d3a8
lea ecx, [ebp - 0x5c]
call fcn.0040d475
mov eax, dword [esi]
lea edx, [ebp - 0x1c8]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1ac]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x1e0]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
lea edx, [ebp - 0x230]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esi]
lea edx, [ebp - 0x278]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi]
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov byte [ebp - 0x226], al
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, eax
lea edx, [ebp - 0x40]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [esi]
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [esi]
lea edx, [ebp - 0x264]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [esi]
lea edx, [ebp - 0x190]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov byte [ebp - 4], 5
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
lea edx, [ebp - 0x240]
push edx
call dword [eax + 0x3c]
mov eax, dword [esi]
lea edx, [ebp - 0x248]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov eax, dword [esi]
lea edx, [ebp - 0x250]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov eax, dword [esi]
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [esi]
lea edx, [ebp - 0x174]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov byte [ebp - 4], 6
lea edx, [ebp - 0x158]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov byte [ebp - 4], 7
lea edx, [ebp - 0x13c]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1f4]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x58]
mov eax, dword [esi]
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov eax, dword [esi]
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov eax, dword [esi]
lea edx, [ebp - 0x120]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x64]
mov byte [ebp - 4], 9
lea edx, [ebp - 0x104]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x68]
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
lea edx, [ebp - 0xe8]
push edx
call dword [eax + 0x6c]
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0xcc]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x70]
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xb0]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x74]
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x94]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x78]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x222]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x80]
cmp byte [ebp - 0x18], 0
mov bh, byte [eax]
mov bl, byte [eax + 1]
je 0x59fa7d
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x30]
push 1
push eax
push str.DeviceName
call fcn.0059d388
cmp dword [ebp - 0x1cc], 8
lea eax, [ebp - 0x1e0]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x1e0]
push 1
push eax
push 0x789e34
call fcn.0059d388
cmp byte [ebp - 0x22c], 0
je 0x59fabd
mov ecx, dword [esi]
push 0
push dword [ebp - 0x230]
push str.ProcessorFrequency
call fcn.0059d514
cmp byte [ebp - 0x270], 0
je 0x59fade
push dword [ebp - 0x274]
mov ecx, dword [esi]
push dword [ebp - 0x278]
push str.MaxMemory
call fcn.0059d514
cmp byte [ebp - 0x21f], 0
je 0x59faf9
push dword [ebp - 0x220]
mov ecx, dword [esi]
push 0x789db8
call fcn.0059d5a9
push dword [ebp - 0x226]
mov ecx, dword [esi]
push str.IsTablet
call fcn.0059d5a9
mov ecx, dword [esi]
push 0
push edi
push str.ProcessorCount
call fcn.0059d514
xor edi, edi
cmp byte [ebp - 0x34], 0
je 0x59fb52
mov ecx, dword [esi]
push edi
push dword [ebp - 0x40]
push str.NumProcShareSingleCore
call fcn.0059d514
mov ecx, dword [esi]
push edi
push dword [ebp - 0x3c]
push str.NumProcShareSingleCache
call fcn.0059d514
mov ecx, dword [esi]
push edi
push dword [ebp - 0x38]
push str.NumProcPhysCores
call fcn.0059d514
cmp byte [ebp - 0x234], 0
je 0x59fb6e
mov ecx, dword [esi]
push edi
push dword [ebp - 0x238]
push str.PowerPlatformRole
call fcn.0059d514
cmp byte [ebp - 0x25c], 0
je 0x59fb9d
mov ecx, dword [esi]
push edi
push dword [ebp - 0x264]
push str.SysVolSize
call fcn.0059d514
mov ecx, dword [esi]
push edi
push dword [ebp - 0x260]
push str.SysVolFreeSpace
call fcn.0059d514
cmp byte [ebp - 0x178], 0
push 8
pop edi
je 0x59fbcb
cmp dword [ebp - 0x17c], edi
lea eax, [ebp - 0x190]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x190]
push 1
push eax
push str.BootDiskType
call fcn.0059d388
cmp byte [ebp - 0x1b0], 0
je 0x59fbf6
cmp dword [ebp - 0x1b4], edi
lea eax, [ebp - 0x1c8]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x1c8]
push 1
push eax
push str.DeviceManufacturer
call fcn.0059d388
cmp byte [ebp - 0x194], 0
je 0x59fc21
cmp dword [ebp - 0x198], edi
lea eax, [ebp - 0x1ac]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x1ac]
push 1
push eax
push str.DeviceModel
call fcn.0059d388
cmp byte [ebp - 0x23c], 0
je 0x59fc3f
mov eax, dword [ebp - 0x240]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.DigitizerInfo
call fcn.0059d47f
cmp byte [ebp - 0x244], 0
je 0x59fc5c
mov ecx, dword [esi]
push 0
push dword [ebp - 0x248]
push str.TotalMemoryInMB
call fcn.0059d514
cmp byte [ebp - 0x24c], 0
je 0x59fc79
mov ecx, dword [esi]
push 0
push dword [ebp - 0x250]
push str.AvailableMemoryInMB
call fcn.0059d514
cmp byte [ebp - 0x254], 0
je 0x59fc97
mov eax, dword [ebp - 0x258]
mov ecx, dword [esi]
cdq
push edx
push eax
push str.DeviceEncryptionStatus
call fcn.0059d47f
cmp byte [ebp - 0x15c], 0
je 0x59fcc2
cmp dword [ebp - 0x160], edi
lea eax, [ebp - 0x174]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x174]
push 1
push eax
push str.DeviceKernelVersion
call fcn.0059d388
cmp byte [ebp - 0x140], 0
je 0x59fced
cmp dword [ebp - 0x144], edi
lea eax, [ebp - 0x158]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x158]
push 1
push eax
push 0x6ee53c
call fcn.0059d388
cmp byte [ebp - 0x124], 0
je 0x59fd18
cmp dword [ebp - 0x128], edi
lea eax, [ebp - 0x13c]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x13c]
push 1
push eax
push str.DeviceClass
call fcn.0059d388
cmp byte [ebp - 0x1e4], 0
je 0x59fd34
mov ecx, dword [esi]
lea eax, [ebp - 0x1f4]
push eax
push str.SusClientId
call fcn.0059f541
cmp byte [ebp - 0x1f8], 0
je 0x59fd50
mov ecx, dword [esi]
lea eax, [ebp - 0x208]
push eax
push str.WindowsSqmMachineId
call fcn.0059f541
cmp byte [ebp - 0x20c], 0
je 0x59fd6c
mov ecx, dword [esi]
lea eax, [ebp - 0x21c]
push eax
push str.WindowsErrorReportingMachineId
call fcn.0059f541
cmp byte [ebp - 0x108], 0
je 0x59fd97
cmp dword [ebp - 0x10c], edi
lea eax, [ebp - 0x120]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x120]
push 1
push eax
push str.SystemFamily
call fcn.0059d388
cmp byte [ebp - 0xec], 0
je 0x59fdc2
cmp dword [ebp - 0xf0], edi
lea eax, [ebp - 0x104]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x104]
push 1
push eax
push str.SystemSKU
call fcn.0059d388
cmp byte [ebp - 0xd0], 0
je 0x59fded
cmp dword [ebp - 0xd4], edi
lea eax, [ebp - 0xe8]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0xe8]
push 1
push eax
push str.ComputerSystemProductId
call fcn.0059d388
cmp byte [ebp - 0xb4], 0
je 0x59fe18
cmp dword [ebp - 0xb8], edi
lea eax, [ebp - 0xcc]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0xcc]
push 1
push eax
push str.AppleDeviceId
call fcn.0059d388
cmp byte [ebp - 0x98], 0
je 0x59fe43
cmp dword [ebp - 0x9c], edi
lea eax, [ebp - 0xb0]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0xb0]
push 1
push eax
push str.AppleMSDeviceId
call fcn.0059d388
cmp byte [ebp - 0x7c], 0
je 0x59fe68
cmp dword [ebp - 0x80], edi
lea eax, [ebp - 0x94]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x94]
push 1
push eax
push str.AppleAdvertiserDeviceId
call fcn.0059d388
cmp byte [ebp - 0x60], 0
je 0x59fe87
cmp dword [ebp - 0x64], edi
lea eax, [ebp - 0x78]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x78]
push 1
push eax
push str.DeviceProcessorModel
call fcn.0059d388
test bl, bl
je 0x59fea0
mov ecx, dword [esi]
test bh, bh
setne al
movzx eax, al
push eax
push str.HasSpectreFix
call fcn.0059d5a9
lea ecx, [ebp - 0x78]
call fcn.0040d475
lea ecx, [ebp - 0x94]
call fcn.0040d475
lea ecx, [ebp - 0xb0]
call fcn.0040d475
lea ecx, [ebp - 0xcc]
call fcn.0040d475
lea ecx, [ebp - 0xe8]
call fcn.0040d475
lea ecx, [ebp - 0x104]
call fcn.0040d475
lea ecx, [ebp - 0x120]
call fcn.0040d475
lea ecx, [ebp - 0x13c]
call fcn.0040d475
lea ecx, [ebp - 0x158]
call fcn.0040d475
lea ecx, [ebp - 0x174]
call fcn.0040d475
lea ecx, [ebp - 0x190]
call fcn.0040d475
lea ecx, [ebp - 0x1e0]
call fcn.0040d475
lea ecx, [ebp - 0x1ac]
call fcn.0040d475
lea ecx, [ebp - 0x1c8]
call fcn.0040d475
lea ecx, [ebp - 0x30]
call fcn.0040d475
mov al, 1
jmp 0x59ff63
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0064c681
mov esp, ebp
pop ebp
ret