Function at 0x401b90
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x417c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x41f1f0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x41f1f0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x104
mov esi, edx
xor ebx, ebx
lea edx, [esp + 0x30]
push ebx
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
call fcn.0040afd0
push 0x104
push ebx
push esi
call fcn.0040afd0
push str.LOVEMILF
push str.SoftwareAutobahn
lea eax, [esp + 0x4c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
mov dword [esp + 0x14], vtable.CGsRegistry.0
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x148], ebx
call dword [0x41bd74]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0xf003f
push ebx
push 0x41b306
push ebx
lea eax, [esp + 0x48]
push eax
push 0x80000001
mov dword [esp + 0x34], ebx
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x10], 0x104
je 0x401c96
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push ebx
push str.Path
push eax
mov dword [esp + 0x34], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x18]
cmp byte [esi], bl
jne 0x401d1e
cmp eax, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x401caf
push eax
call esi
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x14]
call edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0xf003f
push ebx
push 0x41b306
push ebx
push str.SoftwareAutobahn
push 0x80000001
mov dword [esp + 0x34], ebx
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x401d08
push str.LOVEMILF
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x401d08
push eax
call esi
xor eax, eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x14], vtable.CGsRegistry.0
je 0x401d17
push eax
call esi
xor eax, eax
jmp 0x401daa
cmp eax, ebx
je 0x401d67
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push 0x41b2cc
mov esi, 4
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401d63
cmp dword [esp + 0x1c], esi
jne 0x401d63
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
jmp 0x401d69
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov esi, dword [esp + 0x20]
movzx edx, cl
movzx ecx, cl
and edx, 1
mov dword [esi], edx
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
shr ecx, 1
and ecx, 1
cmp eax, ebx
mov dword [edx], ecx
je 0x401d96
push eax
call esi
xor eax, eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x14], vtable.CGsRegistry.0
je 0x401da5
push eax
call esi
mov eax, 1
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0040b16b
mov esp, ebp
pop ebp
ret