Function at 0x5190f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2aef
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x63a404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00531250
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
push 0x647ba0
mov ecx, dword [ebx]
call fcn.0053cf00
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x44]
cmp ecx, 6
ja 0x51917b
je 0x519174
test ecx, ecx
je 0x51916d
cmp ecx, 5
jne 0x519188
mov edi, 0x6448e0
jmp 0x51919b
mov edi, 0x6448e8
jmp 0x51919b
mov edi, 0x644908
jmp 0x51919b
cmp ecx, 9
je 0x519196
cmp ecx, 0xffff
je 0x51918f
mov edi, 0x644918
jmp 0x51919b
mov edi, 0x644900
jmp 0x51919b
mov edi, 0x6448d8
push 0x1a
mov dword [ebp - 0x10], 0
mov esi, 0xc
call fcn.0056ea97
push 0xffffffffffffffff
push str.architecture
push 0xd
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x14], esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.00535dc0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5191fd
push 2
push eax
call fcn.0056ea89
add esp, 8
push 0x14
mov dword [ebp - 0x14], 0
mov esi, 9
call fcn.0056ea97
push 0xffffffffffffffff
push str.bit_depth
push 0xa
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x1c], esi
push str.IsWow64Process
mov dword [ebp - 4], 2
push str.kernel32
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x519267
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp byte [ebp - 0x10], 0
mov ecx, 0x40
mov eax, 0x20
cmovne eax, ecx
mov ecx, ebx
push 0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00536cb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x51929f
push 2
push eax
call fcn.0056ea89
add esp, 8
push 0x30
mov dword [ebp - 0x14], 0
mov esi, 0x17
call fcn.0056ea97
push 0xffffffffffffffff
push str.logical_processor_count
push 0x18
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 3
mov edi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push eax
call edi
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00536cb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x519311
push 2
push eax
call fcn.0056ea89
add esp, 8
push 0xa
mov dword [ebp - 0x14], 0
mov esi, 4
call fcn.0056ea97
push 0xffffffffffffffff
push str.mask
push 5
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 4
push eax
call edi
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00536cb0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x519376
push 2
push eax
call fcn.0056ea89
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret