Function at 0x4d5b00
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ff55
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x58b18c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], ecx
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x80], ecx
mov esi, dword [eax]
mov eax, dword [0x950778]
mov dword [ebp - 0x78], esi
cmp eax, dword [esi + 4]
jle 0x4d5c17
push 0x950778
call fcn.004f74f5
add esp, 4
cmp dword [0x950778], 0xffffffff
jne 0x4d5c17
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x18]
mov dword [ebp - 0x24], 0x32446f43
mov dword [ebp - 0x20], 0x504d20
mov dword [ebp - 0x1c], 0x302e31
mov dword [0x950760], 0
mov dword [0x950764], 0
mov dword [0x950768], 0
sub edi, eax
je 0x4d5c00
push edi
mov ecx, 0x950760
call fcn.00419430
mov esi, dword [0x950760]
lea eax, [ebp - 0x24]
push edi
push eax
push esi
call fcn.005005e0
add esp, 0xc
mov dword [ebp - 0x74], 0
lea eax, [edi + esi]
lea ecx, [ebp - 0x74]
mov dword [0x950764], eax
call fcn.00419140
mov esi, dword [ebp - 0x78]
push 0x533a10
call fcn.004f7999
push 0x950778
call fcn.004f74a4
add esp, 8
mov eax, dword [0x9535e4]
cmp eax, dword [esi + 4]
jle 0x4d5cda
push 0x9535e4
call fcn.004f74f5
add esp, 4
cmp dword [0x9535e4], 0xffffffff
jne 0x4d5cda
mov dword [ebp - 4], 1
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x17]
mov dword [ebp - 0x24], 0x32446f43
mov dword [ebp - 0x20], 0x504d20
mov dword [ebp - 0x1c], 0x31302e31
mov byte [ebp - 0x18], 0
mov dword [0x953a08], 0
mov dword [0x953a0c], 0
mov dword [0x953a10], 0
sub edi, eax
je 0x4d5cc3
push edi
mov ecx, 0x953a08
call fcn.00419430
mov esi, dword [0x953a08]
lea eax, [ebp - 0x24]
push edi
push eax
push esi
call fcn.005005e0
add esp, 0xc
mov dword [ebp - 0x74], 0
lea eax, [esi + edi]
lea ecx, [ebp - 0x74]
mov dword [0x953a0c], eax
call fcn.00419140
mov esi, dword [ebp - 0x78]
push 0x5339b0
call fcn.004f7999
push 0x9535e4
call fcn.004f74a4
add esp, 8
mov eax, dword [0x95be2c]
cmp eax, dword [esi + 4]
jle 0x4d5d99
push 0x95be2c
call fcn.004f74f5
add esp, 4
cmp dword [0x95be2c], 0xffffffff
jne 0x4d5d99
mov dword [ebp - 4], 2
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x18]
mov dword [ebp - 0x24], 0x32446f43
mov dword [ebp - 0x20], 0x504d20
mov dword [ebp - 0x1c], 0x322e31
mov dword [0x95be18], 0
mov dword [0x95be1c], 0
mov dword [0x95be20], 0
sub edi, eax
je 0x4d5d82
push edi
mov ecx, 0x95be18
call fcn.00419430
mov esi, dword [0x95be18]
lea eax, [ebp - 0x24]
push edi
push eax
push esi
call fcn.005005e0
add esp, 0xc
mov dword [ebp - 0x74], 0
lea eax, [edi + esi]
lea ecx, [ebp - 0x74]
mov dword [0x95be1c], eax
call fcn.00419140
mov esi, dword [ebp - 0x78]
push 0x533950
call fcn.004f7999
push 0x95be2c
call fcn.004f74a4
add esp, 8
mov eax, dword [0x9533ec]
cmp eax, dword [esi + 4]
jle 0x4d5e55
push 0x9533ec
call fcn.004f74f5
add esp, 4
cmp dword [0x9533ec], 0xffffffff
jne 0x4d5e55
mov dword [ebp - 4], 3
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x18]
mov dword [ebp - 0x24], 0x32446f43
mov dword [ebp - 0x20], 0x504d20
mov dword [ebp - 0x1c], 0x332e31
mov dword [0x951d58], 0
mov dword [0x951d5c], 0
mov dword [0x951d60], 0
sub edi, eax
je 0x4d5e3e
push edi
mov ecx, 0x951d58
call fcn.00419430
mov esi, dword [0x951d58]
lea eax, [ebp - 0x24]
push edi
push eax
push esi
call fcn.005005e0
add esp, 0xc
mov dword [ebp - 0x74], 0
lea eax, [esi + edi]
lea ecx, [ebp - 0x74]
mov dword [0x951d5c], eax
call fcn.00419140
push 0x5338f0
call fcn.004f7999
push 0x9533ec
call fcn.004f74a4
add esp, 8
mov dword [ebp - 4], 4
push dword [ebp - 0x28]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x4d6364
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor edx, edx
movq qword [ebp - 0x24], xmm0
xor ecx, ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x64], eax
jbe 0x4d616c
push 0x1c
lea ecx, [ebp - 0x4c]
push ecx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov edx, dword [ebp - 0x24]
cmp eax, 0x1c
jne 0x4d615d
mov edi, dword [ebp - 0x20]
mov esi, edi
mov ecx, dword [ebp - 0x4c]
sub esi, edx
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x40]
cmp ecx, esi
jae 0x4d5eed
lea eax, [edx + ecx]
mov dword [ebp - 0x20], eax
jmp 0x4d5f1e
jbe 0x4d5f1e
mov eax, dword [ebp - 0x1c]
sub eax, edx
cmp ecx, eax
jbe 0x4d5f04
push ecx
push ecx
lea ecx, [ebp - 0x24]
call fcn.004e9f30
jmp 0x4d5f18
sub ecx, esi
push ecx
push 0
push edi
lea esi, [edi + ecx]
call fcn.00500b60
add esp, 0xc
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
push ecx
push edx
push dword [ebp - 0x78]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x80], edx
test eax, eax
je 0x4d6152
mov eax, dword [0x953a0c]
sub eax, dword [0x953a08]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], ecx
je 0x4d6152
mov eax, dword [0x950764]
mov edi, edx
mov esi, dword [0x950760]
sub eax, esi
mov dword [ebp - 0x8c], eax
nop dword [eax]
mov ecx, esi
mov edx, edi
mov esi, eax
sub esi, 4
jb 0x4d5fa1
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4d5faa
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4d5f90
cmp esi, 0xfffffffc
je 0x4d6306
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4d5fe7
cmp esi, 0xfffffffd
je 0x4d6306
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4d5fe7
cmp esi, 0xfffffffe
je 0x4d6306
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4d5fe7
cmp esi, 0xffffffff
je 0x4d6306
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4d6306
mov esi, dword [ebp - 0x84]
mov edx, edi
mov ecx, dword [0x953a08]
sub esi, 4
jb 0x4d6011
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4d601a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4d6000
cmp esi, 0xfffffffc
je 0x4d628f
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4d6057
cmp esi, 0xfffffffd
je 0x4d628f
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4d6057
cmp esi, 0xfffffffe
je 0x4d628f
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4d6057
cmp esi, 0xffffffff
je 0x4d628f
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4d628f
mov ecx, dword [0x95be1c]
mov esi, edi
sub ecx, dword [0x95be18]
mov edx, dword [0x95be18]
sub ecx, 4
jb 0x4d6081
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4d608a
add edx, 4
add esi, 4
sub ecx, 4
jae 0x4d6070
cmp ecx, 0xfffffffc
je 0x4d6218
mov al, byte [edx]
cmp al, byte [esi]
jne 0x4d60c7
cmp ecx, 0xfffffffd
je 0x4d6218
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x4d60c7
cmp ecx, 0xfffffffe
je 0x4d6218
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x4d60c7
cmp ecx, 0xffffffff
je 0x4d6218
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x4d6218
mov ecx, dword [0x951d5c]
mov esi, edi
sub ecx, dword [0x951d58]
mov edx, dword [0x951d58]
sub ecx, 4
jb 0x4d60f1
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4d60fa
add edx, 4
add esi, 4
sub ecx, 4
jae 0x4d60e0
cmp ecx, 0xfffffffc
je 0x4d61a1
mov al, byte [edx]
cmp al, byte [esi]
jne 0x4d612f
cmp ecx, 0xfffffffd
je 0x4d61a1
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x4d612f
cmp ecx, 0xfffffffe
je 0x4d61a1
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x4d612f
cmp ecx, 0xffffffff
je 0x4d61a1
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x4d61a1
mov eax, dword [ebp - 0x74]
inc edi
mov esi, dword [0x950760]
inc eax
cmp eax, dword [ebp - 0x88]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x8c]
jb 0x4d5f80
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
jmp 0x4d6160
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x64]
jb 0x4d5eb5
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test edx, edx
je 0x4d6364
sub ecx, edx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d635a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d63b2
jmp 0x4d635a
mov esi, dword [ebp - 0x7c]
xorps xmm0, xmm0
push 3
push 0x5603e4
mov ecx, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004185e0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4d6389
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4d61f4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d63b7
push edx
push ecx
call fcn.004f79ae
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x4d6389
mov esi, dword [ebp - 0x7c]
xorps xmm0, xmm0
push 3
push 0x5603e0
mov ecx, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004185e0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4d6389
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4d626b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d63b7
push edx
push ecx
call fcn.004f79ae
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x4d6389
mov esi, dword [ebp - 0x7c]
xorps xmm0, xmm0
push 4
push str.1.01
mov ecx, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004185e0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4d6389
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4d62e2
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d63b7
push edx
push ecx
call fcn.004f79ae
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x4d6389
mov esi, dword [ebp - 0x7c]
xorps xmm0, xmm0
push 3
push 0x55eff8
mov ecx, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004185e0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4d6389
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4d61f4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d63b7
jmp 0x4d61f4
push ecx
push edx
call fcn.004f79ae
add esp, 8
mov esi, dword [ebp - 0x7c]
xorps xmm0, xmm0
push 3
push 0x55eff8
mov ecx, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004185e0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f7466
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005094c8
call fcn.005094c8
int3