Function at 0x4da8e2
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 0x4daef6
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 0x4da9fd
push 0x50
pop ecx
push 4
pop edx
call fcn.004946d6
test eax, eax
je 0x4daf05
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 0x4daa19
cmp eax, dword [esp + 0x18]
ja 0x4daa19
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 0x4da9c6
mov dword [esp + 0x14], ecx
mov dword [esp + 8], esi
mov esi, edx
lea ecx, [esp + 0x1c]
mov edx, edi
call fcn.0040386b
mov edx, esi
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
jmp 0x4da9ca
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 0x4da96b
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
inc eax
mov dword [esp + 0x18], eax
jmp 0x4dab54
push 0x30
pop ecx
call fcn.00441781
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 0x4daa4f
test edx, edx
je 0x4daaad
cmp ebx, edi
je 0x4daaad
dec edx
jmp 0x4daa69
cmp edx, eax
jbe 0x4daaad
mov ecx, edi
sub ecx, ebx
shr ecx, 4
cmp ecx, eax
jbe 0x4daaad
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.004daf1a
mov edx, dword [ebx + 4]
mov ecx, esi
call fcn.004daf1a
mov edx, dword [ebx + 8]
mov ecx, esi
call fcn.004daf1a
mov edx, dword [ebx + 0xc]
mov ecx, esi
call fcn.004daf1a
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
xor eax, eax
mov cl, 1
jmp 0x4daa3f
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
xor eax, eax
cmp edx, eax
je 0x4daac4
cmp byte [edi + eax], 0
je 0x4daac6
inc eax
jmp 0x4daab7
mov eax, edx
mov ecx, edi
push 0x558d48
push eax
call fcn.004daf54
pop ecx
pop ecx
mov esi, edx
lea ebx, [esp + 0x60]
mov edx, eax
mov ecx, ebx
push esi
call fcn.0041ad10
pop eax
cmp dword [ebx], 0
je 0x4dab0c
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 0x4dab3e
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ecx, edi
call fcn.00441781
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
push edi
push esi
mov dword [esp + 0x20], edx
push edx
call fcn.005010b0
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.004c2719
mov ecx, dword [esp + 0x1c]
mov edx, esi
call fcn.00440a8e
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.00441781
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.004daf1a
mov ecx, ebx
mov edx, edi
call fcn.004daf1a
mov edx, dword [esp + 0xc]
mov ecx, ebx
call fcn.004daf1a
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebx, dword [esp + 0x3c]
xor eax, eax
cmp edx, eax
je 0x4dabb9
cmp byte [ecx + eax], 0
je 0x4dabbb
inc eax
jmp 0x4dabac
mov eax, edx
push 0x558d58
push eax
call fcn.004daf54
pop ecx
pop ecx
mov esi, edx
lea edi, [esp + 0x60]
mov edx, eax
mov ecx, edi
push esi
call fcn.0041ad10
pop eax
cmp dword [edi], 0
je 0x4dabfb
movzx eax, word [esp + 0xc0]
cmp eax, 0xe
ja 0x4dac05
mov edi, dword [eax*4 + 0x558ff4]
mov esi, dword [eax*4 + 0x559030]
jmp 0x4dac0d
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
jmp 0x4dac0d
mov esi, 0x558cc6
push 7
pop edi
mov ecx, edi
call fcn.00441781
mov dword [esp + 0x38], eax
mov dword [esp + 8], edi
push edi
push esi
mov dword [esp + 0x38], edx
push edx
call fcn.005010b0
add esp, 0xc
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
call fcn.004c2719
mov edi, dword [esp + 0xd4]
test bl, bl
je 0x4dac5f
lea esi, [esp + 0x8c]
mov edx, edi
mov ecx, esi
call fcn.004daf6d
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x40], eax
jmp 0x4dac84
xor edx, edx
mov ecx, edi
inc edx
call fcn.004d7afe
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 0x4dac8c
push 8
pop esi
jmp 0x4dacca
xor ebx, ebx
cmp edi, 0x2000000
setb al
jae 0x4daefe
mov dword [esp + 0xc], ecx
mov ecx, edi
shl ecx, 6
js 0x4daefe
mov bl, al
mov dword [esp + 0x10], ecx
shl ebx, 3
mov edx, ebx
call fcn.004946d6
mov ecx, dword [esp + 0xc]
mov esi, eax
test eax, eax
je 0x4daf0d
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 0x4dae49
lea eax, [esp + 0x78]
mov dword [esp + 0x68], 0x558fe8
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.00419c70
inc eax
mov dword [esp + 0x6c], eax
and dword [esp + 0x60], 0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
call fcn.00403630
mov ecx, ebx
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
push dword [esp + 8]
call fcn.00417ce0
pop eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x60]
push dword [esp + 0x14]
call fcn.00417ce0
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 0x4dadd2
mov esi, edx
lea ecx, [esp + 0x44]
mov edx, edi
call fcn.004d7e1a
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 0x4dacdf
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.004d7b77
mov edi, dword [esp + 0x2c]
mov esi, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
mov ecx, esi
call fcn.004d7ef1
mov ecx, dword [edi + 0x40]
mov edx, esi
call fcn.004d8005
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.004c2719
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.004c2719
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.00416990
ud2
push 0x50
pop ecx
push 4
pop edx
jmp 0x4daf13
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.0050d210
ud2