Function at 0x560670
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x148
mov esi, esp
mov dword [esi + 0x130], ebp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x20]
mov dword [esi + 0x134], esp
mov dword [esi + 0x140], 0xffffffff
mov dword [esi + 0x13c], 0x569560
mov edx, dword fs:[0]
mov dword [esi + 0x138], edx
lea edx, [esi + 0x138]
mov dword fs:[0], edx
xor edx, edx
cmp edi, 0xffffffff
cmovne edx, edi
mov dword [esi + 0x48], edx
mov edx, dword [ebp + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0xffffffff
mov ebx, dword [edx]
mov edi, 2
cmp eax, 0xc0000000
jg 0x56071b
mov dword [esi], 4
mov edx, eax
neg edx
jo 0x560756
cmp eax, 0xc0000000
jne 0x56072f
mov edi, 4
mov dword [esi], 2
jmp 0x560756
cmp eax, 0xc0000001
je 0x56074b
mov dword [esi], 4
cmp eax, 0xc0000002
je 0x560756
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x11
lea eax, [esi + 0x10]
lea edi, [esi + 0x104]
jmp 0x560937
mov edi, 8
mov dword [esi], 1
mov dword [esi + 8], ecx
push 0
push 0
push 0
push edi
push 0
push ebx
call dword [0x83407c]
mov dword [esi + 4], eax
test eax, eax
je 0x5608ba
mov eax, dword [0x889c68]
test eax, eax
mov dword [esi + 0x44], ebx
jne 0x560797
mov dword [esi + 0x140], 0
lea eax, [esi + 0x10]
push eax
call dword [0x834050]
mov eax, dword [esi + 0x2c]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x1c]
push 0
push eax
push dword [ebp + 0x14]
push edi
call fcn.0071a020
mov edx, dword [ebp + 0x18]
mov ecx, ebx
sub ebx, eax
test ecx, ecx
cmove ebx, ecx
mov dword [esi + 0x140], 2
test edx, edx
mov dword [esi + 0xc], eax
jne 0x560821
mov dword [esi + 0x40], ebx
push 4
call fcn.00563760
add esp, 4
lea ecx, [esi + 0x10]
push 0
push 0x10
push ecx
push 0
push dword [esi + 4]
call eax
test eax, eax
mov ebx, dword [ebp + 0x14]
jne 0x560979
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ecx, dword [ebp + 0x10]
mov edi, eax
cmp eax, ecx
mov ecx, edx
sbb ecx, ebx
mov eax, dword [esi + 0xc]
jl 0x56094c
sub edi, dword [ebp + 0x10]
sbb edx, ebx
mov ebx, edi
add edi, eax
adc edx, 0
jne 0x56094c
mov edi, dword [ebp + 0x10]
mov edx, ebx
mov ebx, dword [esi + 0x40]
mov ecx, dword [esi]
or ecx, dword [esi + 0x48]
mov dword [esi], edx
add edx, eax
sub edi, eax
mov eax, dword [ebp + 0x14]
sbb eax, 0
push ebx
push edx
push edi
push eax
push ecx
push dword [esi + 4]
call dword [0x834080]
test eax, eax
je 0x5608d9
mov ecx, dword [esi + 0xc]
add eax, ecx
mov edx, dword [esi + 8]
mov dword [edx], eax
mov dword [edx + 8], ecx
mov eax, dword [esi]
mov dword [edx + 4], eax
mov dword [esi + 0x140], 1
push dword [esi + 4]
call dword [0x834070]
mov eax, dword [esi + 8]
lea ebx, [eax + 0x10]
mov dword [esi + 0x140], 0xffffffff
mov edi, dword [0x8342ac]
call edi
mov ecx, edi
mov edi, eax
call ecx
push 2
push 0
push 0
push ebx
push edi
push dword [esi + 0x44]
push eax
call dword [0x834290]
test eax, eax
je 0x560912
mov eax, dword [esi + 0x138]
mov dword fs:[0], eax
mov eax, dword [esi + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
call fcn.005611c0
mov dword [esi + 0x10], eax
push eax
call fcn.00566c60
add esp, 4
mov dword [esi + 0x14], eax
lea eax, [esi + 0x10]
lea edi, [esi + 0xd8]
jmp 0x560937
call dword [0x834078]
mov dword [esi + 0x10], eax
push eax
call fcn.00566c60
add esp, 4
mov dword [esi + 0x14], eax
lea eax, [esi + 0x10]
lea ecx, [esi + 0x54]
push 0
push eax
call fcn.00560de0
push 0x827178
lea eax, [esi + 0x54]
push eax
call fcn.0073147b
add esp, 8
jmp 0x5609b3
call fcn.005611c0
mov dword [esi + 0x10], eax
push eax
call fcn.00566c60
add esp, 4
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 8]
call fcn.00567250
lea eax, [esi + 0x10]
lea edi, [esi + 0xac]
mov ecx, edi
push 0
push eax
call fcn.00560de0
push 0x827178
push edi
call fcn.0073147b
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0x12
lea eax, [esi + 0x4c]
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.00560de0
push 0x827178
lea eax, [esi + 0x10]
push eax
call fcn.0073147b
add esp, 8
call dword [0x834078]
mov dword [esi + 0x10], eax
push eax
call fcn.00566c60
add esp, 4
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x80]
push 0
lea eax, [esi + 0x10]
push eax
call fcn.00560de0
push 0x827178
lea eax, [esi + 0x80]
push eax
call fcn.0073147b
add esp, 8
nop word cs:[eax + eax]
push ebp
sub esp, 0x1c
lea esi, [ebp - 0x144]
mov ebp, dword [esi + 0x130]
call fcn.007311e0
nop word cs:[eax + eax]
push ebp
sub esp, 0x1c
lea esi, [ebp - 0x144]
mov ebp, dword [esi + 0x130]
push dword [esi + 4]
call dword [0x834070]
add esp, 0x1c
pop ebp
ret