Function at 0x420140
Capabilities:
Check os version
Get hostname
Get memory capacity

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 0x4e9e08
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1e0
mov eax, dword [0x538074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1ec], 0
lea esi, [eax + 0x60]
mov ecx, esi
call fcn.00402f40
test al, al
jne 0x42025b
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
push esi
movups xmmword [ebp - 0x48], xmm0
call fcn.00487700
test al, al
je 0x42025b
lea ecx, [ebp - 0x38]
call fcn.00403060
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 0x50e41c
push eax
call fcn.00475220
add esp, 0x10
lea ecx, [ebp - 0x38]
call fcn.00403170
mov dword [ebp - 0x1e8], eax
cmp edi, eax
je 0x420210
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x420205
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00403270
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push 0x50df0c
push eax
call fcn.00475220
lea esi, [edi + 0x18]
add esp, 0xc
cmp esi, dword [ebp - 0x1e8]
je 0x42024c
lea ecx, [ebp - 0x38]
call fcn.00403170
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x420241
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00402fc0
push str.check_version
call fcn.00403540
add esp, 4
lea ecx, [edi + 0x30]
push eax
push str.check_version
call fcn.00403270
lea ecx, [ebp - 0xc0]
call fcn.00403060
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0x30
call fcn.00403170
lea edx, [ebp - 0xc0]
cmp edx, eax
je 0x4202bb
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4202ac
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.00403270
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00410ff0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x48]
push eax
call fcn.00404670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00402fc0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00411160
mov byte [ebp - 4], 4
lea ecx, [edi + 0x60]
push eax
call fcn.00404670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00402fc0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x1e8], 0
push eax
lea ecx, [ebp - 0x38]
call fcn.00403080
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.00402f40
test al, al
je 0x420345
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00402fc0
jmp 0x42040a
push str.SOFTWARE_
lea ecx, [ebp - 0x50]
call fcn.00403010
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x420368
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x50]
call fcn.004046b0
push str.Value
lea ecx, [ebp - 0x68]
call fcn.00403010
mov byte [ebp - 4], 7
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x80]
push eax
call fcn.00410c70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.00402fc0
lea ecx, [ebp - 0x68]
call fcn.00403060
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1e8]
push 0
sub esp, 8
push 1
push eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040f510
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.00402fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
call fcn.00402fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00402fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00402fc0
mov eax, dword [ebp - 0x1e8]
test eax, eax
jne 0x42040f
mov eax, 1
push eax
lea eax, [edi + 0xd8]
push 0x50df0c
push eax
call fcn.00475220
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
push str.SOFTWARE2345.com
call fcn.00403010
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x80]
push str.UUID
call fcn.00403010
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x38]
push eax
push SysReAllocString
lea eax, [ebp - 0x68]
push eax
call fcn.00410c70
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x80]
call fcn.00402fc0
lea ecx, [ebp - 0x50]
call fcn.00403060
mov esi, eax
mov dword [ebp - 0x1ec], 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00410620
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x68]
call fcn.00402fc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00402fc0
push esi
lea ecx, [edi + 0x138]
call fcn.00404670
mov eax, 1
mov dword [ebp - 0x1ec], eax
and eax, 0xfffffffe
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00402fc0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004115e0
mov byte [ebp - 4], 0x10
lea ecx, [edi + 0x150]
push eax
call fcn.00404670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00402fc0
push 0x118
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x1e0], 0x11c
push 0
push eax
call fcn.004c0fa0
add esp, 0xc
lea ecx, [ebp - 0x1e0]
call fcn.0047ae60
test al, al
je 0x420590
push dword [ebp - 0x1d8]
lea eax, [edi + 0x78]
push dword [ebp - 0x1dc]
push 0x50e41c
push eax
call fcn.00475220
call fcn.0047add0
test al, al
mov edx, 0x40
mov ecx, 0x20
lea eax, [edi + 0xa8]
cmovne ecx, edx
push ecx
push 0x50df0c
push eax
call fcn.00475220
add esp, 0x1c
lea eax, [ebp - 0x1cc]
push eax
call fcn.00403540
add esp, 4
lea ecx, [edi + 0x90]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.00403270
push 0x40
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004c0fa0
add esp, 0xc
mov dword [ebp - 0xa8], 0x40
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
lea eax, [edi + 0x108]
push 0x50df0c
push eax
call fcn.00475220
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea eax, [edi + 0xc0]
push 0x50df0c
push eax
call fcn.00475220
add esp, 0xc
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x15]
push eax
call fcn.00432570
mov byte [ebp - 4], 0x11
lea ecx, [edi + 0x168]
push eax
call fcn.00404670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00402fc0
push 0x50da60
call fcn.00403540
add esp, 4
lea ecx, [edi + 0x180]
push eax
push 0x50da60
call fcn.00403270
push 1
mov dword [ebp - 0x1c], 0
call fcn.004be511
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [eax], 0
lea eax, [ebp - 0x1dc]
push 0x118
push 0
push eax
call fcn.004c0fa0
add esp, 0xc
mov dword [ebp - 0x1e0], 0x11c
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42069b
cmp dword [ebp - 0x1dc], 6
mov eax, dword [ebp - 0x1c]
setae cl
mov byte [eax], cl
mov byte [ebp - 4], 0x12
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.004901a0
test al, al
jne 0x4206c3
call esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.004903f0
test al, al
je 0x4206e1
push 0x50da80
call fcn.00403540
add esp, 4
lea ecx, [edi + 0x180]
push eax
push 0x50da80
call fcn.00403270
push 0x50da60
call fcn.00403540
add esp, 4
lea ecx, [edi + 0x210]
push eax
push 0x50da60
call fcn.00403270
call fcn.00490770
test al, al
je 0x420726
push 0x50da80
call fcn.00403540
add esp, 4
lea ecx, [edi + 0x210]
push eax
push 0x50da80
call fcn.00403270
push 0x50da60
call fcn.00403540
add esp, 4
lea ecx, [edi + 0x1e0]
push eax
push 0x50da60
call fcn.00403270
lea ecx, [ebp - 0x15]
call fcn.00436c60
test al, al
je 0x42076e
push 0x50da80
call fcn.00403540
add esp, 4
lea ecx, [edi + 0x1e0]
push eax
push 0x50da80
call fcn.00403270
push 0x50da60
call fcn.00403540
add esp, 4
lea ecx, [edi + 0x1f8]
push eax
push 0x50da60
call fcn.00403270
lea ecx, [ebp - 0x38]
call fcn.00403060
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x20], 0xf
xorps xmm0, xmm0
push eax
push 2
movups xmmword [ebp - 0x88], xmm0
movups xmmword [ebp - 0x78], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4207e3
lea eax, [ebp - 0x88]
push eax
call fcn.00403540
add esp, 4
lea ecx, [ebp - 0x38]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00403270
lea ecx, [ebp - 0x38]
call fcn.00402f40
mov byte [ebp - 0x1e1], al
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x38]
call fcn.00402fc0
cmp byte [ebp - 0x1e1], 0
jne 0x420824
push 0x50da80
call fcn.00403540
add esp, 4
lea ecx, [edi + 0x1f8]
push eax
push 0x50da80
call fcn.00403270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0048f350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00402fc0
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.004be500
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8