Function at 0x519ee0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b390f
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x63b404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00532040
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
push 0x648cc0
mov ecx, dword [ebx]
call fcn.0053dcf0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x44]
cmp ecx, 6
ja 0x519f6b
je 0x519f64
test ecx, ecx
je 0x519f5d
cmp ecx, 5
jne 0x519f78
mov edi, 0x645a00
jmp 0x519f8b
mov edi, 0x645a08
jmp 0x519f8b
mov edi, 0x645a28
jmp 0x519f8b
cmp ecx, 9
je 0x519f86
cmp ecx, 0xffff
je 0x519f7f
mov edi, 0x645a38
jmp 0x519f8b
mov edi, 0x645a20
jmp 0x519f8b
mov edi, 0x6459f8
push 0x1a
mov dword [ebp - 0x10], 0
mov esi, 0xc
call fcn.0056f8a6
push 0xffffffffffffffff
push str.architecture
push 0xd
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00585d85
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.00536bb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x519fed
push 2
push eax
call fcn.0056f898
add esp, 8
push 0x14
mov dword [ebp - 0x14], 0
mov esi, 9
call fcn.0056f8a6
push 0xffffffffffffffff
push str.bit_depth
push 0xa
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00585d85
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 0x51a057
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.00537aa0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x51a08f
push 2
push eax
call fcn.0056f898
add esp, 8
push 0x30
mov dword [ebp - 0x14], 0
mov esi, 0x17
call fcn.0056f8a6
push 0xffffffffffffffff
push str.logical_processor_count
push 0x18
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00585d85
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.00537aa0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x51a101
push 2
push eax
call fcn.0056f898
add esp, 8
push 0xa
mov dword [ebp - 0x14], 0
mov esi, 4
call fcn.0056f8a6
push 0xffffffffffffffff
push str.mask
push 5
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00585d85
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.00537aa0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x51a166
push 2
push eax
call fcn.0056f898
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