Function at 0x420b40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a04cb
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x420bb0
mov eax, dword [esi]
jmp 0x420bb2
mov eax, esi
mov byte [eax], 0
xor edi, edi
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x140], 1
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
push 0xffffffffffffffff
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push edi
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], edi
mov byte [ebp - 0x158], 0
call fcn.00409700
mov byte [ebp - 0x121], 0
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x104], 0xf
mov dword [ebp - 0x108], edi
mov byte [ebp - 0x118], 0
mov dword [ebp - 0xec], 0xf
mov dword [ebp - 0xf0], edi
mov byte [ebp - 0x100], 0
push 0xffffffffffffffff
mov byte [ebp - 4], 6
lea eax, [ebp - 0x158]
push edi
push eax
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], edi
mov byte [ebp - 0x13c], 0
call fcn.00409700
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
push 0x11
push str.HKEY_CLASSES_ROOT
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], edi
mov byte [ebp - 0xe8], 0
call fcn.00409600
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd0]
push 0x11
push str.HKEY_CURRENT_USER
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], edi
mov byte [ebp - 0xd0], 0
call fcn.00409600
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb8]
push 0x12
push str.HKEY_LOCAL_MACHINE
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], edi
mov byte [ebp - 0xb8], 0
call fcn.00409600
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa0]
push 0xa
push str.HKEY_USERS
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], edi
mov byte [ebp - 0xa0], 0
call fcn.00409600
mov byte [ebp - 4], 0xb
push 0x15
push str.HKEY_PERFORMANCE_DATA
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x88], 0
call fcn.00409600
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x70]
push 0x13
push str.HKEY_CURRENT_CONFIG
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], edi
mov byte [ebp - 0x70], 0
call fcn.00409600
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x58]
push 0xd
push str.HKEY_DYN_DATA
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], edi
mov byte [ebp - 0x58], 0
call fcn.00409600
push 1
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x14], 0x5c
call fcn.00409560
push eax
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00408f50
push 1
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x14], 0x5c
call fcn.00409560
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00408f50
mov ebx, eax
lea eax, [ebp - 0x13c]
cmp eax, ebx
je 0x420e40
mov eax, dword [ebp - 0x128]
cmp eax, 0x10
jb 0x420e19
inc eax
lea ecx, [ebp - 0x13c]
push eax
push dword [ebp - 0x13c]
call fcn.00409a60
push ebx
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x13c], 0
call fcn.00409830
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x15c]
cmp eax, 0x10
jb 0x420e62
inc eax
lea ecx, [ebp - 0x170]
push eax
push dword [ebp - 0x170]
call fcn.00409a60
sub esp, 8
mov dword [ebp - 0x15c], 0xf
lea eax, [ebp - 0x14]
mov dword [ebp - 0x160], 0
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x170], 0
mov byte [ebp - 0x14], 0x5c
push eax
call fcn.00429db0
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.00408f50
push eax
lea ecx, [ebp - 0x100]
call fcn.0040b360
mov eax, dword [ebp - 0x174]
cmp eax, 0x10
jb 0x420ed3
inc eax
lea ecx, [ebp - 0x188]
push eax
push dword [ebp - 0x188]
call fcn.00409a60
sub esp, 8
mov dword [ebp - 0x174], 0xf
lea eax, [ebp - 0x14]
mov dword [ebp - 0x178], 0
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x188], 0
mov byte [ebp - 0x14], 0x5c
push eax
call fcn.00429db0
push eax
push 0
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00408f50
push eax
lea ecx, [ebp - 0x118]
call fcn.0040b360
mov eax, dword [ebp - 0x18c]
cmp eax, 0x10
jb 0x420f43
inc eax
lea ecx, [ebp - 0x1a0]
push eax
push dword [ebp - 0x1a0]
call fcn.00409a60
lea edx, [ebp - 0x40]
mov dword [ebp - 0x18c], 0xf
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x1a0], 0
call fcn.00414d60
test al, al
je 0x420f7f
mov dword [ebp - 0x11c], SysStringLen
jmp 0x421036
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xd0]
call fcn.00414d60
test al, al
je 0x420fa0
mov dword [ebp - 0x11c], reloc.WS2_32.dll_accept
jmp 0x421036
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xb8]
call fcn.00414d60
test al, al
je 0x420fbe
mov dword [ebp - 0x11c], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x421036
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
call fcn.00414d60
test al, al
je 0x420fdc
mov dword [ebp - 0x11c], reloc.WS2_32.dll_closesocket
jmp 0x421036
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x88]
call fcn.00414d60
test al, al
je 0x420ffa
mov dword [ebp - 0x11c], reloc.WS2_32.dll_connect
jmp 0x421036
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.00414d60
test al, al
je 0x421015
mov dword [ebp - 0x11c], reloc.WS2_32.dll_getpeername
jmp 0x421036
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.00414d60
mov ecx, dword [ebp - 0x11c]
test al, al
mov edx, reloc.OLEAUT32.dll_SysStringLen
cmovne ecx, edx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x42104b
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409a60
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x421072
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409a60
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x421099
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409a60
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 0x10
jb 0x4210c6
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00409a60
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x4210f9
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00409a60
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x421132
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00409a60
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
cmp eax, 0x10
jb 0x42116b
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00409a60
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
cmp eax, 0x10
jb 0x4211a4
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00409a60
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
cmp eax, 0x10
jb 0x4211e1
inc eax
lea ecx, [ebp - 0x13c]
push eax
push dword [ebp - 0x13c]
call fcn.00409a60
cmp dword [ebp - 0x11c], reloc.WS2_32.dll_accept
jne 0x421215
lea eax, [ebp - 0x11c]
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov ecx, dword [ebp - 0x11c]
test eax, eax
mov edx, reloc.WS2_32.dll_accept
cmovne ecx, edx
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x104], 0x10
lea ecx, [ebp - 0x120]
push ecx
push 0x20019
lea eax, [ebp - 0x118]
cmovae eax, dword [ebp - 0x118]
push 0
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4212ea
cmp dword [ebp - 0xec], 0x10
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
lea eax, [ebp - 0x100]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x100]
push 0
push eax
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4212e2
cmp dword [ebp - 0x1c], 1
jne 0x4212e2
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call fcn.004297d0
cmp dword [ebp - 0x18], 0
mov edi, dword [ebp - 0x28]
je 0x4212db
cmp dword [ebp - 0xec], 0x10
lea ecx, [ebp - 0x18]
push ecx
push edi
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x100]
cmovae eax, dword [ebp - 0x100]
push 0
push eax
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4212e2
mov byte [ebp - 0x121], 1
push dword [ebp - 0x120]
call ebx
mov eax, dword [ebp - 0x11c]
test eax, eax
js 0x4212f7
push eax
call ebx
lea ecx, [ebp - 0x100]
call fcn.00409040
lea ecx, [ebp - 0x118]
call fcn.00409040
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 3
call fcn.00409040
cmp byte [ebp - 0x121], 0
je 0x42134d
mov eax, dword [ebp - 0x24]
sub eax, edi
je 0x421360
push edi
lea ecx, [ebp - 0x158]
call fcn.00409100
push eax
mov ecx, esi
call fcn.0040b360
lea ecx, [ebp - 0x158]
call fcn.00409040
jmp 0x421360
lea eax, [ebp + 0x20]
cmp esi, eax
je 0x421360
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00409700
lea ecx, [ebp - 0x28]
call fcn.00429c90
lea ecx, [ebp + 8]
call fcn.00409040
lea ecx, [ebp + 0x20]
call fcn.00409040
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret