Function at 0x401d70
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x120
push ebx
push ebp
mov dword [esp + 0x1c], ecx
push esi
push edi
or ecx, 0xffffffff
xor eax, eax
mov edi, str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkTemporary
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x30]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x3c]
push edx
push 0x80000001
mov dword [esp + 0x28], 0
call ebp
test eax, eax
jne 0x401dd6
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebx
or ecx, 0xffffffff
xor eax, eax
mov edi, str.SoftwareL0phtL0phtCrack
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x30]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x3c]
push edx
push 0x80000001
call ebp
test eax, eax
je 0x40206b
mov eax, dword [esp + 0x10]
push eax
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401e50
push 0
push 0
push str.Trial_version_of_L0phtCrack_has_expired.
call fcn.0043041e
push 0
call fcn.0040da80
add esp, 4
or ecx, 0xffffffff
xor eax, eax
mov edi, str.SoftwareL0pht
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x30]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [esp + 0x4c]
push eax
push 0x80000001
call ebp
test eax, eax
jne 0x40200a
or ecx, 0xffffffff
mov edi, 0x4492ac
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x30]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [esp + 0x4c]
push eax
push ecx
call ebp
test eax, eax
jne 0x401ff8
or ecx, 0xffffffff
mov edi, str.AdminGroupName
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [esp + 0x30]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
or ecx, 0xffffffff
xor eax, eax
mov edi, str.Administrators
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Administrators
push 1
push eax
lea ecx, [esp + 0x40]
push ecx
push edx
call ebp
or ecx, 0xffffffff
xor eax, eax
mov edi, str.WordList
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [esp + 0x30]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov edi, str.words_english
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.words_english
push 1
push eax
lea ecx, [esp + 0x40]
push ecx
push edx
call ebp
lea eax, [esp + 0x14]
push eax
call fcn.0040dbc0
xor dword [esp + 0x18], 0x34795814
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov edi, str.Install
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
lea edx, [esp + 0x30]
mov esi, edi
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [esp + 0x18]
push 4
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
lea edx, [esp + 0x40]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esp + 0x18]
push edx
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0x10]
push ecx
call ebx
or ecx, 0xffffffff
xor eax, eax
mov edi, str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkTemporary
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x30]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [esp + 0x4c]
push eax
push 0x80000001
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esp + 0x10]
push edx
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
or ecx, 0xffffffff
xor eax, eax
mov edi, str.SoftwareL0phtL0phtCrack
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x30]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
lea edx, [esp + 0x3c]
push edx
push 0x80000001
call ebp
test eax, eax
jne 0x4021c6
or ecx, 0xffffffff
mov edi, str.Install
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x30]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
push 0
lea ecx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x2c], 4
call ebp
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
xor edx, 0x34795814
push eax
mov dword [esp + 0x20], edx
call fcn.0040dbc0
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
sub ecx, edi
mov eax, 0x91a2b3c5
imul ecx
add edx, ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ecx, 0xf
sub ecx, edx
mov edx, dword [esp + 0x28]
mov dword [edx + 0xc4], ecx
or ecx, 0xffffffff
add esp, 4
xor eax, eax
mov edi, str.Registration
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x30]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xb4]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], pe_nt_image_headers32
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xb0]
push eax
add ecx, 0xcc
call fcn.004269b7
mov edx, dword [esp + 0x10]
push edx
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x120
ret