Function at 0x4802a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9af6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x470
mov eax, dword [0x511a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x42c], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x424], 0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x420], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov esi, 1
mov dword [ebp - 0x424], esi
mov ecx, eax
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 0x41c], 0
jbe 0x48035b
mov ecx, dword [eax]
lea eax, [ebp - 0x420]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x480522
mov dword [ebp - 0x428], eax
nop
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x400
push ecx
lea ecx, [ebp - 0x418]
push ecx
push eax
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x480505
push dword [ebp - 0x41c]
mov dword [ebp - 0x454], eax
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x450], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x418]
push eax
movups xmmword [ebp - 0x464], xmm0
call fcn.00439cd0
mov dword [ebp - 4], 2
mov eax, closesocket
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x480553
cmp dword [ecx + 0x14], 0xf
mov eax, ecx
jbe 0x480413
mov eax, dword [ecx]
push 1
push 0x4fb0b0
push edx
push eax
push ecx
push dword [ebp - 0x430]
lea ecx, [ebp - 0x47c]
call fcn.0044fef0
or esi, 2
mov dword [ebp - 0x424], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x430]
lea ecx, [ebp - 0x44c]
call fcn.00488c00
or esi, 4
mov dword [ebp - 0x424], esi
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x4804b7
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebp - 0x44c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x43c]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0xf
mov byte [ebp - 0x44c], 0
jmp 0x4804c6
lea ecx, [ebp - 0x44c]
push ecx
push eax
mov ecx, edi
call fcn.00457080
and esi, 0xfffffffb
mov dword [ebp - 0x424], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44c]
call fcn.00449f00
and esi, 0xfffffffd
mov dword [ebp - 0x424], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.00449f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x464]
call fcn.00449f00
mov eax, dword [ebp - 0x428]
inc eax
cmp dword [ebp - 0x42c], 0x103
mov dword [ebp - 0x428], eax
jne 0x480380
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x480533
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a7b9d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00434ca0
int3