Function at 0x4d6bb8
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
cmp dword [ecx + 0x48], 0
jne 0x4d71cc
lea eax, [esp + 0xc0]
xorps xmm0, xmm0
mov ebx, ecx
mov edi, edx
and dword [eax + 0x20], 0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax], xmm0
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, 0x80000000
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
cmp eax, 0x80000004
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], ebx
jb 0x4d6cd3
push 0x50
pop ecx
push 4
pop edx
call fcn.004912aa
test eax, eax
je 0x4d71db
lea ecx, [esp + 0x1c]
mov dword [esp + 8], eax
xor edi, edi
mov dword [ecx], 5
mov dword [ecx + 4], eax
mov cl, 1
mov eax, 0x80000000
test cl, 1
mov dword [esp + 0x24], edi
je 0x4d6cef
cmp eax, dword [esp + 0x18]
ja 0x4d6cef
setb byte [esp + 0xc]
mov dword [esp + 0x34], eax
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
mov dword [esp + 0x10], eax
cmp edi, dword [esp + 0x1c]
jne 0x4d6c9c
mov dword [esp + 0x14], ecx
mov dword [esp + 8], esi
mov esi, edx
lea ecx, [esp + 0x1c]
mov edx, edi
call fcn.00403351
mov edx, esi
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
jmp 0x4d6ca0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x10]
shl edi, 4
mov dword [esp + 8], eax
mov dword [eax + edi], ebx
mov dword [eax + edi + 4], esi
mov dword [eax + edi + 8], ecx
mov cl, byte [esp + 0xc]
mov dword [eax + edi + 0xc], edx
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
movzx eax, cl
add edx, eax
inc edi
mov eax, edx
jmp 0x4d6c41
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
inc eax
mov dword [esp + 0x18], eax
jmp 0x4d6e2a
push 0x30
pop ecx
call fcn.00440a54
mov ebx, dword [esp + 8]
lea ecx, [esp + 0x50]
shl edi, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
and dword [ecx + 8], 0
add edi, ebx
push 5
pop edx
push 2
pop eax
xor ecx, ecx
test cl, 1
je 0x4d6d25
test edx, edx
je 0x4d6d83
cmp ebx, edi
je 0x4d6d83
dec edx
jmp 0x4d6d3f
cmp edx, eax
jbe 0x4d6d83
mov ecx, edi
sub ecx, ebx
shr ecx, 4
cmp ecx, eax
jbe 0x4d6d83
mov ecx, eax
shl eax, 4
not ecx
add ebx, eax
add edx, ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebx]
lea esi, [esp + 0x50]
lea eax, [ebx + 0x10]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004d71f0
mov edx, dword [ebx + 4]
mov ecx, esi
call fcn.004d71f0
mov edx, dword [ebx + 8]
mov ecx, esi
call fcn.004d71f0
mov edx, dword [ebx + 0xc]
mov ecx, esi
call fcn.004d71f0
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
xor eax, eax
mov cl, 1
jmp 0x4d6d15
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
xor eax, eax
cmp edx, eax
je 0x4d6d9a
cmp byte [edi + eax], 0
je 0x4d6d9c
inc eax
jmp 0x4d6d8d
mov eax, edx
mov ecx, edi
push 0x547540
push eax
call fcn.004d722a
pop ecx
pop ecx
mov esi, edx
lea ebx, [esp + 0x60]
mov edx, eax
mov ecx, ebx
push esi
call fcn.004196c0
pop eax
cmp dword [ebx], 0
je 0x4d6de2
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 8]
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
inc eax
mov dword [esp + 0x18], eax
jmp 0x4d6e14
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ecx, edi
call fcn.00440a54
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
push edi
push esi
mov dword [esp + 0x20], edx
push edx
call fcn.004fea40
add esp, 0xc
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, edi
call fcn.0049160f
mov ecx, dword [esp + 0x1c]
mov edx, esi
call fcn.0043fa10
xor eax, eax
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
lea eax, [ebx + 0x40]
mov dword [esp + 0xc], ecx
mov edi, edx
mov dword [esp + 0x88], eax
push 0xc
pop ecx
call fcn.00440a54
lea ebx, [esp + 0x50]
mov dword [ebx], eax
mov dword [ebx + 4], edx
and dword [ebx + 8], 0
mov ecx, ebx
mov edx, esi
call fcn.004d71f0
mov ecx, ebx
mov edx, edi
call fcn.004d71f0
mov edx, dword [esp + 0xc]
mov ecx, ebx
call fcn.004d71f0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebx, dword [esp + 0x3c]
xor eax, eax
cmp edx, eax
je 0x4d6e8f
cmp byte [ecx + eax], 0
je 0x4d6e91
inc eax
jmp 0x4d6e82
mov eax, edx
push 0x547550
push eax
call fcn.004d722a
pop ecx
pop ecx
mov esi, edx
lea edi, [esp + 0x60]
mov edx, eax
mov ecx, edi
push esi
call fcn.004196c0
pop eax
cmp dword [edi], 0
je 0x4d6ed1
movzx eax, word [esp + 0xc0]
cmp eax, 0xe
ja 0x4d6edb
mov edi, dword [eax*4 + 0x5477e8]
mov esi, dword [eax*4 + 0x547824]
jmp 0x4d6ee3
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
jmp 0x4d6ee3
mov esi, 0x5474be
push 7
pop edi
mov ecx, edi
call fcn.00440a54
mov dword [esp + 0x38], eax
mov dword [esp + 8], edi
push edi
push esi
mov dword [esp + 0x38], edx
push edx
call fcn.004fea40
add esp, 0xc
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
call fcn.0049160f
mov edi, dword [esp + 0xd4]
test bl, bl
je 0x4d6f35
lea esi, [esp + 0x8c]
mov edx, edi
mov ecx, esi
call fcn.004d7243
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x40], eax
jmp 0x4d6f5a
xor edx, edx
mov ecx, edi
inc edx
call fcn.004d3efd
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x94], edi
mov ecx, edi
inc edi
jne 0x4d6f62
push 8
pop esi
jmp 0x4d6fa0
xor ebx, ebx
cmp edi, 0x2000000
setb al
jae 0x4d71d4
mov dword [esp + 0xc], ecx
mov ecx, edi
shl ecx, 6
js 0x4d71d4
mov bl, al
mov dword [esp + 0x10], ecx
shl ebx, 3
mov edx, ebx
call fcn.004912aa
mov ecx, dword [esp + 0xc]
mov esi, eax
test eax, eax
je 0x4d71e3
lea eax, [esp + 0x44]
shl ecx, 3
mov dword [eax], edi
mov dword [eax + 4], esi
and dword [eax + 8], 0
xor edi, edi
xor ebx, ebx
inc ebx
test ecx, ecx
je 0x4d711f
lea eax, [esp + 0x78]
mov dword [esp + 0x68], 0x5477dc
mov dword [esp + 0xc], ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x10], ebx
lea ebx, [esp + 0x1c]
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x60]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], fcn.00418620
inc eax
mov dword [esp + 0x6c], eax
and dword [esp + 0x60], 0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
call fcn.004d2459
mov ecx, ebx
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
push dword [esp + 8]
call fcn.00416640
pop eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x60]
push dword [esp + 0x14]
call fcn.00416640
pop eax
mov eax, dword [esp + 0x40]
movsd xmm0, qword [esp + 0xb4]
lea ecx, [esp + 0x54]
cmp edi, dword [esp + 0x44]
mov edx, dword [eax + ebx*8 - 8]
mov eax, dword [eax + ebx*8 - 4]
movsd qword [ecx], xmm0
movsd xmm0, qword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xbc]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [esp + 0x60]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x24]
movsd qword [esp + 0xa8], xmm0
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xb0], eax
jne 0x4d70a8
mov esi, edx
lea ecx, [esp + 0x44]
mov edx, edi
call fcn.004d42a2
mov edx, esi
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
shl edi, 6
mov ecx, dword [esp + 0xc]
inc ebx
mov dword [esi + edi], edx
mov dword [esi + edi + 4], eax
and dword [esi + edi + 8], 0
and dword [esi + edi + 0x10], 0
add ecx, 0xfffffff8
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x58]
movsd qword [esi + edi + 0x1c], xmm1
movsd qword [esi + edi + 0x14], xmm0
mov eax, dword [esp + 0x80]
mov dword [esi + edi + 0x2c], eax
movsd xmm0, qword [esp + 0x78]
movsd qword [esi + edi + 0x24], xmm0
mov eax, dword [esp + 0xb0]
mov dword [esi + edi + 0x38], eax
movsd xmm0, qword [esp + 0xa8]
movsd qword [esi + edi + 0x30], xmm0
mov edi, dword [esp + 0x4c]
inc edi
mov dword [esp + 0x4c], edi
jmp 0x4d6fb5
mov eax, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x44]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [esp + 0xa0], eax
movsd qword [esp + 0x98], xmm0
call fcn.004d3f76
mov edi, dword [esp + 0x2c]
mov esi, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
mov ecx, esi
call fcn.004d4389
mov ecx, dword [edi + 0x40]
mov edx, esi
call fcn.004d44b1
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x88]
movsd xmm0, qword [esp + 0x98]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
call fcn.0049160f
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 8]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], ecx
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
call fcn.0049160f
mov eax, dword [esp + 0x28]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x3c]
mov byte [edi + 0x4c], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004152f0
ud2
push 0x50
pop ecx
push 4
pop edx
jmp 0x4d71e9
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.0050aba0
ud2