Function at 0x486981
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7031
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x486a91
lea eax, [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x486a64
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x486a35
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x486a33
push 0x74e
push 0x4242
push 0x1864
push 0
push 0x3f95
push 1
push 0x27a7
push 0x292
call fcn.00487ccf
add esp, 0x20
jmp 0x486a62
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x486a62
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x486a8c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
push 0x2e4d
push dword [ebp - 0x5c]
push 1
push 0
push 0x6a4a
push dword [ebp - 0x7c]
call fcn.0047acdc
add esp, 0x18
jmp 0x486cdb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x486ad0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push 1
call fcn.0047d501
pop ecx
pop ecx
jmp 0x486cdb
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x486be5
mov dword [ebp - 0x2c], 0x5bc
mov dword [ebp - 0x58], str.cdcvoix_gmwydcwyk_ltzpzfw_dtizut_zgle
cmp dword [ebp - 0x2c], 0x766
jle 0x486b9e
and dword [ebp - 0x18], 0
jmp 0x486b12
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4bcd
jge 0x486b92
and dword [ebp - 0x24], 0
jmp 0x486b28
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x56d7
jge 0x486b8d
and dword [ebp - 0x28], 0
jmp 0x486b3e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x755b
jge 0x486b8b
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xb0]
call fcn.00401993
pop ecx
pop ecx
mov ecx, eax
call fcn.0045211e
push eax
call fcn.004b0bf7
pop ecx
lea ecx, [ebp - 0xb0]
call fcn.00452114
jmp 0x486b37
jmp 0x486b21
jmp 0x486b0b
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
call dword [sym.imp.USER32.dll_WaitMessage]
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x59d
jge 0x486bba
push dword [ebp - 0x58]
call fcn.004b0bf7
pop ecx
jmp 0x486bd6
or dword [ebp - 4], 0xffffffff
jmp 0x486be0
jmp 0x486cdb
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x486c07
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [ebp - 0x30], 0xe2e
mov dword [ebp - 0x78], str.ttwhah_twqhoqamo_mgma_lwwybjw
cmp dword [ebp - 0x30], 0xe99
jle 0x486c9c
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
and dword [ebp - 0x1c], 0
jmp 0x486c33
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x95
jge 0x486c9c
and dword [ebp - 0x20], 0
jmp 0x486c49
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7087
jge 0x486c9a
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea ecx, [ebp - 0xc8]
call fcn.00401993
pop ecx
pop ecx
mov ecx, eax
call fcn.0045211e
push eax
call fcn.004b0bf7
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.00452114
jmp 0x486c42
jmp 0x486c2c
mov dword [ebp - 4], 2
cmp dword [ebp - 0x30], 0xb46
jge 0x486cb5
push dword [ebp - 0x78]
call fcn.004b0bf7
pop ecx
jmp 0x486cd1
or dword [ebp - 4], 0xffffffff
jmp 0x486cdb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret