Function at 0x4dcd40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7c
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5a8564]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00403610
add esp, 4
mov esi, dword [ebp - 0x4c]
mov eax, dword [0x5b9490]
test eax, eax
je 0x4dcd81
mov ecx, dword [0x5b9494]
cmp ecx, esi
jbe 0x4dcdb9
jmp 0x4dcf9a
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x24], xmm0
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [0x5b9490], eax
mov dword [0x5b9494], ecx
cmp ecx, esi
ja 0x4dcf9a
cmp eax, esi
jb 0x4dcf9a
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x4c]
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x4dcde1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4dcf9a
mov dword [ebp - 0x80], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov esi, eax
call fcn.004516c0
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call ebx
mov dword [ebp - 0x88], esp
call fcn.004516c0
call edi
mov edi, dword [ebp - 0x80]
mov esi, eax
call fcn.004516c0
push esi
call ebx
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00452a70
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], 0x5677b4
mov dword [ebp - 0x48], edi
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x3c]
lea esi, [ebp - 0x38]
lea ebx, [ebp - 0x4c]
mov ecx, ebx
push eax
push edx
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.0046b526
mov dword [ebp - 0x78], 0
mov ecx, 0
mov esi, 0
test al, al
je 0x4dcfed
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x78], 0
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call fcn.00441dd0
add esp, 0xc
mov ecx, 0
test al, al
je 0x4dcfd5
movzx eax, byte [ebp - 0x41]
mov edx, ebx
test al, al
jns 0x4dcee1
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
lea ebx, [ebp - 0x64]
mov ecx, ebx
push eax
push edx
call fcn.00452ad0
lea esi, [ebp - 0x58]
mov ecx, ebx
push esi
call fcn.00453480
lea ecx, [ebp - 0x70]
push esi
call fcn.00452be0
mov ecx, esi
call fcn.00452ba0
mov ecx, ebx
call fcn.00452ba0
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x50], 0xffffffff
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.0048fa10
add esp, 8
movzx eax, byte [ebp - 0x4d]
mov ecx, esi
test al, al
jns 0x4dcf41
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
push esi
push 3
push 0x5760e0
push eax
push ecx
call fcn.00435390
add esp, 0x14
push dword [ebp - 0x38]
push ebx
call fcn.004f8750
add esp, 8
movzx eax, byte [ebp - 0x59]
test al, al
jns 0x4dcf6d
mov eax, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x64]
mov ecx, esi
push eax
push ebx
call fcn.00429860
cmp byte [ebp - 0x59], 0
jns 0x4dcf87
push dword [ebp - 0x64]
call fcn.005327b0
add esp, 4
movzx eax, byte [ebp - 0x4d]
test al, al
lea ebx, [ebp - 0x4c]
jns 0x4dcfa1
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
jmp 0x4dcfa4
xor ebx, ebx
jmp 0x4dd159
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x64]
push eax
push ecx
push edx
call fcn.00442160
add esp, 0xc
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x5c]
cmp byte [ebp - 0x4d], 0
jns 0x4dcfd5
push dword [ebp - 0x58]
mov dword [ebp - 0x7c], ecx
call fcn.005327b0
mov ecx, dword [ebp - 0x7c]
add esp, 4
cmp byte [ebp - 0x41], 0
jns 0x4dcfed
push dword [ebp - 0x4c]
mov edi, ecx
call fcn.005327b0
mov ecx, edi
mov edi, dword [ebp - 0x80]
add esp, 4
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
call fcn.00436d60
mov dword [ebp - 0x84], eax
cmp dword [0x5b949c], 0
je 0x4dd028
mov esi, edi
mov edi, ebx
mov ecx, dword [0x5b9498]
jmp 0x4dd076
mov esi, edi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetModuleInformation
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x5b9498], eax
test eax, eax
jne 0x4dd06a
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.GetModuleInformation
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x5b9498], eax
mov edi, ebx
mov dword [0x5b949c], 1
xor ebx, ebx
test ecx, ecx
je 0x4dd127
call dword [section..00cfg]
push 0xc
push edi
mov edi, esi
push esi
push dword [ebp - 0x84]
call ecx
test eax, eax
je 0x4dd129
push 0x2c
call fcn.00532780
add esp, 4
mov ebx, eax
movsd xmm0, qword [ebp - 0x4c]
movsd qword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
call fcn.004516c0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov esi, eax
call fcn.004516c0
push esi
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
mov dword [ebx], 0x576100
mov dword [ebx + 4], 0
call fcn.004516c0
call edi
mov esi, eax
mov eax, dword [ebp - 0x80]
mov dword [ebx + 4], eax
call fcn.004516c0
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x10], eax
movq xmm0, qword [ebp - 0x34]
movq qword [ebx + 8], xmm0
mov eax, dword [ebp - 0x7c]
test eax, eax
js 0x4dd172
mov esi, dword [ebp - 0x74]
mov dword [ebx + 0x14], esi
mov ecx, dword [ebp - 0x78]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
jmp 0x4dd1cd
mov edi, esi
mov esi, dword [ebp - 0x74]
cmp dword [ebp - 0x7c], 0
jns 0x4dd13b
push esi
call fcn.005327b0
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.00452ba0
test edi, edi
je 0x4dd153
call fcn.004516c0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, dword [ebp - 0x88]
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x78]
cmp edx, 0xa
mov esi, dword [ebp - 0x74]
ja 0x4dd189
mov byte [ebx + 0x1f], dl
cmp eax, esi
jbe 0x4dd1b9
jmp 0x4dd1c1
cmp edx, 0x7ffffff0
jae 0x4dd20a
mov esi, edx
or esi, 0xf
inc esi
push esi
call fcn.00532780
mov edx, dword [ebp - 0x78]
add esp, 4
mov dword [ebx + 0x14], eax
or esi, 0x80000000
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], edx
mov esi, dword [ebp - 0x74]
cmp eax, esi
ja 0x4dd1c1
lea ecx, [eax + edx]
inc ecx
cmp ecx, esi
ja 0x4dd1ec
inc edx
push edx
push esi
push eax
call fcn.00536100
add esp, 0xc
lea eax, [ebp - 0x70]
mov ecx, ebx
add ecx, 0x20
push eax
call fcn.00452a90
xor edi, edi
cmp dword [ebp - 0x7c], 0
jns 0x4dd13b
jmp 0x4dd132
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1__n
push 0xf1
push str.P:chromiumM115xpout_release...._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
push str._s:_d:_assertion__s_failed:__s
call fcn.00404fa4
mov ecx, eax
call fcn.00401d9c
int3