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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5053c4
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x51c2fa]
mov byte [ebp - 0x12c], al
push 0x103
push 0
lea ecx, [ebp - 0x12b]
push ecx
call fcn.004dba80
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0x104
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
push 0x51c930
call fcn.0041ad50
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
call fcn.0046a780
add esp, 4
mov byte [ebp - 0x149], al
movzx eax, byte [ebp - 0x149]
test eax, eax
je 0x46c654
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x138]
push edx
call fcn.0046b160
add esp, 4
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x154]
call fcn.00415d40
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00416630
cmp dword [ebp - 0x20], 0
jne 0x46c545
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x51c938
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46c652
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x5771d8
call fcn.00415d40
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x46c652
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x51c944
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x130]
call fcn.0041ad50
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x13c]
push edx
call fcn.0046b160
add esp, 4
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x15c]
call fcn.00415d40
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
call fcn.00416630
cmp dword [ebp - 0x20], 0
jne 0x46c640
lea ecx, [ebp - 0x130]
call fcn.0041cde0
push eax
push 0
lea ecx, [ebp - 0x130]
call fcn.00417430
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x51c950
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.00416630
jmp 0x46c6a1
lea ecx, [ebp - 0x18]
push ecx
mov ecx, 0x5771d8
call fcn.00415d40
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x46c6a1
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x51c95c
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041ad50
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00422240
test eax, eax
je 0x46c6e3
mov byte [ebp - 0x13d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00416630
mov al, byte [ebp - 0x13d]
jmp 0x46c72e
push str.WINFORMFILLER
lea ecx, [ebp - 0x1c]
call fcn.00424680
test eax, eax
jne 0x46c712
mov byte [ebp - 0x13e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00416630
mov al, byte [ebp - 0x13e]
jmp 0x46c72e
mov byte [ebp - 0x13f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00416630
mov al, byte [ebp - 0x13f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret