Function at 0x419c40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d8f0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x483390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [edx + 0x1e0], ecx
mov dword [ebp - 0x18], eax
lea ecx, [ecx]
cmp eax, dword [ebp + 0x14]
jge 0x419e8f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
xor ebx, ebx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
xor esi, esi
lea esp, [esp]
cmp word [edx + esi*2], bx
je 0x419cb9
inc esi
jmp 0x419cb0
lea edi, [esi + 1]
cmp edi, ebx
je 0x419d17
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00441dab
add esp, 4
mov edi, eax
test ebx, ebx
jle 0x419d03
xor eax, eax
xor ecx, ecx
cmp eax, ecx
jge 0x419cf7
mov ecx, dword [ebp - 0x28]
mov dx, word [ecx + eax*2]
mov word [edi + eax*2], dx
inc eax
jmp 0x419ce3
mov eax, dword [ebp - 0x28]
push eax
call fcn.00443398
add esp, 4
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
xor eax, eax
mov word [edi + eax*2], cx
lea eax, [esi + 1]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
lea ebx, [ebx]
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x419d20
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x28]
mov ecx, edi
call fcn.004132f0
test esi, esi
jne 0x419d68
push edi
call fcn.00443398
add esp, 4
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp - 0x18]
shl ebx, 4
add ebx, dword [ebp + 0x10]
lea edi, [ebp - 0x1c]
lea eax, [ebp - 0x28]
call fcn.0040e910
test eax, eax
jne 0x419e55
lea ecx, [eax + 2]
lea esi, [ebp - 0x34]
lea edx, [ebp - 0x28]
call fcn.00404ef0
mov edx, dword [eax]
push 0x4755e0
push edx
call fcn.00413430
test eax, eax
mov eax, dword [ebp - 0x34]
push eax
sete byte [ebp - 0x11]
call fcn.00443398
add esp, 0xc
cmp byte [ebp - 0x11], 0
je 0x419e30
lea esi, [ebp - 0x40]
lea edx, [ebp - 0x28]
call fcn.0040ead0
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
push ecx
add edx, 0x1e0
mov ecx, ebx
call fcn.0040e9a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
add esp, 4
push edx
mov esi, eax
call fcn.00443398
add esp, 4
test esi, esi
je 0x419e15
mov eax, dword [ebp - 0x28]
push eax
call fcn.00443398
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00443398
add esp, 4
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
jmp 0x419c90
mov edx, dword [ebp - 0x28]
push edx
call fcn.00443398
add esp, 4
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.00443398
add esp, 4
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
jmp 0x419c90
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10