Function at 0x423500
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x124], 0
push edi
mov edi, ecx
test ebx, ebx
je 0x423865
mov eax, dword [edi]
cmp eax, dword [0x4b48b4]
jne 0x42355b
mov eax, dword [edi + 4]
cmp eax, dword [0x4b48b8]
jne 0x42355b
mov eax, dword [edi + 8]
cmp eax, dword [0x4b48bc]
jne 0x42355b
mov eax, dword [edi + 0xc]
cmp eax, dword [0x4b48c0]
je 0x423865
lea eax, [ebp - 0x124]
push eax
push 0x4c4774
push 1
push 0
push 0x4b60d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x423865
mov ecx, dword [ebx]
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x4235e9
nop word [eax + eax]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x11c]
push edx
push 1
push edi
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x124]
push eax
movups xmmword [ebp - 0x11c], xmm0
test esi, esi
je 0x4235d0
cmp ecx, 1
mov ecx, dword [eax]
jne 0x4235be
call dword [ecx + 0x14]
jmp 0x4235c1
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x423867
mov esi, dword [ebp + 8]
jmp 0x4235df
cmp ecx, 1
mov ecx, dword [eax]
jne 0x4235dc
call dword [ecx + 0x18]
jmp 0x4235df
call dword [ecx + 0x20]
mov ecx, dword [ebx + 8]
add ebx, 8
test ecx, ecx
jne 0x423590
test esi, esi
jne 0x423865
push 0x40
lea eax, [ebp - 0x10c]
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x42360d
lea esi, [eax + 0xd]
jmp 0x423867
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x134], 0
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x423620
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x120], edx
call fcn.004267a0
add esp, 4
test eax, eax
js 0x42385a
mov esi, dword [ebp - 0x120]
cmp esi, 0x400
jg 0x423671
mov ecx, esi
call fcn.00426810
test al, al
je 0x423671
mov eax, esi
call fcn.004b09f0
mov eax, esp
jmp 0x42367d
push esi
lea ecx, [ebp - 0x134]
call fcn.00426900
push 3
push esi
lea edx, [ebp - 0x10c]
mov ecx, eax
call fcn.00425cc0
mov edi, eax
test edi, edi
je 0x42385a
push str.CLSID_
lea eax, [ebp - 0x8c]
push 0x80
push eax
call fcn.00490882
add esp, 0xc
push eax
call fcn.004270d0
add esp, 4
lea ecx, [ebp - 0x8c]
push edi
call fcn.004234e0
add esp, 4
lea ecx, [ebp - 0x8c]
push 0x4c4784
call fcn.004234e0
add esp, 4
mov dword [ebp - 0x140], closesocket
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x13c], 0
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x130], 0
push 0x20019
push eax
push closesocket
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x120], 0
call fcn.004272d0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x423795
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120]
push eax
push 0
push 0
push 0
push dword [ebp - 0x130]
call ebx
lea ecx, [ebp - 0x130]
mov esi, eax
call fcn.00427520
test esi, esi
jne 0x423795
cmp dword [ebp - 0x120], esi
jne 0x423795
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x140]
call fcn.004275f0
push str.CLSID_
lea eax, [ebp - 0x8c]
push 0x80
push eax
call fcn.00490882
add esp, 0xc
push eax
call fcn.004270d0
add esp, 4
lea ecx, [ebp - 0x8c]
push edi
call fcn.004234e0
add esp, 4
lea ecx, [ebp - 0x8c]
push str.Implemented_Categories
call fcn.004234e0
add esp, 4
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x130]
push 0x20019
push eax
push closesocket
call fcn.004272d0
test eax, eax
jne 0x423840
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x120]
push eax
push 0
push 0
push 0
push dword [ebp - 0x130]
call ebx
lea ecx, [ebp - 0x130]
mov esi, eax
call fcn.00427520
test esi, esi
jne 0x423840
cmp dword [ebp - 0x120], esi
jne 0x423840
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x140]
call fcn.004275f0
mov eax, dword [ebp - 0x130]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x423853
push eax
call esi
push closesocket
call esi
lea ecx, [ebp - 0x134]
call fcn.00426740
xor esi, esi
mov ecx, dword [ebp - 0x124]
test ecx, ecx
je 0x423877
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
lea esp, [ebp - 0x14c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret 4