Function at 0x597c50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff054
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
lea ecx, [edi + 0x50]
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
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], str._No_publisher_
call fcn.005dc5e0
lea ecx, [edi + 0x5c]
mov dword [ebp - 4], 0
call fcn.005dc5e0
lea ecx, [edi + 0x68]
call fcn.005dc5e0
lea ecx, [edi + 0x74]
call fcn.005dc5e0
lea ecx, [edi + 0x80]
call fcn.005dc5e0
lea ecx, [edi + 0x8c]
call fcn.005dc5e0
lea ecx, [edi + 0x98]
call fcn.005dc5e0
mov dword [edi + 0xac], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xbc], 0xffffffff
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
lea ecx, [edi + 0xc8]
call fcn.005e9a70
lea ecx, [edi + 0x1090]
mov byte [ebp - 4], 0xb
push 0
call fcn.005d0610
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
lea eax, [ebp - 0x34]
push eax
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
cmp eax, 1
jae 0x597dc3
mov dword [edi + 0x1c], 1
test ecx, ecx
jne 0x597dce
mov dword [edi + 0x18], 0x1000
push 0
push 0
push 0x25
lea ecx, [edi + 0x8c]
call fcn.005dbbc0
push 0
push 0
push 0x24
lea ecx, [edi + 0x98]
call fcn.005dbbc0
lea ecx, [edi + 0x8c]
call fcn.005dc190
push 0
push 0
push 0
push str.csrss.exe
mov esi, eax
lea ecx, [edi + 0x50]
push esi
push str.winlogon.exe
push esi
push str.s.exe
push str.lsas
push esi
push str._svchost.exe
push esi
call fcn.005dc200
push 0
push 0
push 0
push str.lsm.exe_System_Process_SystemRegistryMemory_compression
push esi
push str._services.exe
push esi
push 0x62f0d4
push str.winin
push esi
push str._smss.exe
push esi
lea ecx, [edi + 0x50]
call fcn.005da780
push 0x2c
lea esi, [edi + 0x24]
push 0
push esi
call fcn.00420090
add esp, 0xc
mov dword [esi], 0x2c
lea ecx, [edi + 0x74]
push 0
push 0
push 0x1000
call fcn.005db9a0
xor ecx, ecx
push 0x12c
push ecx
mov word [eax], cx
lea ecx, [edi + 0xb0]
call fcn.004037f0
cmp dword [edi + 0xa8], 0x80000
jae 0x597eeb
mov esi, dword [edi + 0xac]
push 0x80000
call fcn.0041e7cf
add esp, 4
mov dword [edi + 0xac], eax
test esi, esi
je 0x597ee1
xor edx, edx
cmp dword [edi + 0xa4], edx
jbe 0x597ed8
mov ecx, dword [edi + 0xac]
mov al, byte [esi + edx]
mov byte [edx + ecx], al
inc edx
cmp edx, dword [edi + 0xa4]
jb 0x597ec3
push esi
call fcn.0041e1c3
add esp, 4
mov dword [edi + 0xa8], 0x80000
mov dword [edi + 0xa4], 0
mov eax, dword [edi + 0xc0]
mov dword [edi + 0xc4], 0
test eax, eax
je 0x597f10
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0xc0], eax
test eax, eax
je 0x597f37
push str.QueryFullProcessImageNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0xc4], eax
lea ecx, [edi + 0x1090]
call fcn.005d05f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0xc