Function at 0x42c0f0
Capabilities:
Check os version
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x19b0
call fcn.0047bda0
push ebx
push esi
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [ebp - 0xbc]
mov dword [ebp - 0xc0], 0x94
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xb0], 2
jne 0x42c415
cmp dword [ebp - 0xbc], 5
jb 0x42c346
push 0x40
call fcn.0047afc7
add esp, 4
mov dword [ebp - 0x14], eax
push 0x100
call fcn.0047afc7
add esp, 4
lea ecx, [ebp - 0x1c]
xor edi, edi
mov ebx, eax
push ecx
push 8
push edi
push 0x57d044
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42c2d2
mov eax, dword [ebp - 0x1c]
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push 0
push edx
push ebx
push edi
push eax
mov dword [ebp - 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, 0x103
je 0x42c2c0
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push 8
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42c2b6
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push 0x20019
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer_
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42c2ac
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x2c]
push eax
push ecx
push 0
push str.Logon_User_Name
push edx
mov dword [ebp - 0x28], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42c2ac
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 8]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [eax]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add edx, 0x100
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [ebp - 0x18]
push edx
call esi
mov eax, dword [ebp - 0x1c]
push eax
call esi
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp esi, 0x103
jne 0x42c1a4
mov ebx, dword [ebp + 8]
jmp 0x42c321
mov edi, str.NO_LOGIN
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [ebp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx]
mov edi, str..DEFAULT
or ecx, 0xffffffff
add edx, 0x100
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [ebp - 0x18]
push edx
call esi
mov eax, dword [ebp - 0x1c]
push eax
call esi
xor eax, eax
cmp eax, 1
jne 0x42c408
jmp 0x42c349
mov ebx, dword [ebp + 8]
lea ecx, [ebp + 8]
lea edx, [ebp - 0xd40]
push ecx
push edx
mov dword [ebp + 8], 0
call fcn.0042c530
mov eax, dword [ebp + 8]
add esp, 8
cmp eax, 1
jle 0x42c3bc
shl eax, 6
lea eax, [ebp + eax - 0xd80]
push eax
call fcn.00483565
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
shl eax, 6
lea ecx, [ebp + eax - 0xd80]
push ecx
call fcn.00483565
mov edx, dword [ebx]
add esp, 8
add edx, 0x100
mov edi, eax
jmp 0x42c3eb
mov edi, str..DEFAULT
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx]
mov edi, str..DEFAULT
add edx, 0x100
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
cmp eax, 1
jne 0x42c297
jmp 0x42c418
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x19c0]
push ecx
push edx
mov dword [ebp - 0x14], 0
call fcn.0042c530
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 1
jle 0x42c4bf
shl eax, 6
lea eax, [ebp + eax - 0x1a00]
push eax
call fcn.00483565
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x14]
shl eax, 6
lea ecx, [ebp + eax - 0x1a00]
push ecx
call fcn.00483565
mov edx, dword [ebx]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add edx, 0x100
push str.software
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
push ecx
call fcn.0047fde0
add esp, 0x10
test eax, eax
jne 0x42c297
mov edi, str..DEFAULT
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx]
mov edi, str..DEFAULT
or ecx, 0xffffffff
add edx, 0x100
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x42c297