Function at 0x479d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9ef5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x498
mov eax, dword [0x512a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x488], esi
mov edi, ecx
mov dword [ebp - 0x48c], edi
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x4a0]
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x420], 0x12109687
mov dword [ebp - 0x41c], 0x41be4643
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x420], 0x1505feb8
mov dword [ebp - 0x41c], 0x88b73031
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x420], 0x6163f7d7
mov dword [ebp - 0x41c], 0x25cc2934
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x420], 0x1505feb8
mov dword [ebp - 0x41c], 0x88b73031
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
movaps xmm1, xmmword [ebp - 0x4a0]
mov dword [ebp - 0x434], ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x438], eax
xorps xmm1, xmmword [ebp - 0x440]
movaps xmmword [ebp - 0x4a0], xmm1
mov al, byte [edx]
inc edx
test al, al
jne 0x479e92
sub edx, ecx
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x479ea5
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x4a0]
push eax
push 0
call fcn.0044e260
add esp, 0xc
cmp eax, 0xffffffff
je 0x47a395
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x479ecd
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 1
push 0x4fe75c
push 0
call fcn.0044e260
add esp, 0xc
cmp eax, 0xffffffff
jne 0x47a395
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x480], 1
mov eax, edi
cmp dword [edi + 0x14], 0xf
movups xmmword [ebp - 0x458], xmm0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x47c], 0x400
mov dword [ebp - 0x41c], 0xf003f
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
jbe 0x479f5c
mov eax, dword [edi]
lea ecx, [ebp - 0x478]
push ecx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47a039
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x479f88
mov eax, dword [esi]
lea ecx, [ebp - 0x47c]
push ecx
lea ecx, [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x41c]
push ecx
push 0
push eax
push dword [ebp - 0x478]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47a039
push dword [ebp - 0x47c]
mov dword [ebp - 0x430], eax
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x42c], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x418]
push eax
movups xmmword [ebp - 0x440], xmm0
call fcn.0044e480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x458]
call fcn.0044a2e0
movups xmm0, xmmword [ebp - 0x440]
mov byte [ebp - 0x440], 0
movups xmmword [ebp - 0x458], xmm0
movq xmm0, qword [ebp - 0x430]
movq qword [ebp - 0x448], xmm0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.0044a2e0
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x47a04a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x448], 0
je 0x47a375
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
movups xmmword [ebp - 0x440], xmm0
cmp eax, 1
jb 0x47a476
dec eax
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x444], 0xf
lea eax, [ebp - 0x458]
cmova eax, dword [ebp - 0x458]
push ecx
inc eax
lea ecx, [ebp - 0x440]
push eax
call fcn.0044e480
mov dword [ebp - 0x480], 3
mov byte [ebp - 4], 3
lea edx, [ebp - 0x440]
cmp dword [ebp - 0x42c], 0xf
mov eax, dword [ebp - 0x430]
cmova edx, dword [ebp - 0x440]
mov byte [ebp - 4], 4
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.004754a0
mov eax, 0xb
mov dword [ebp - 0x480], 0xb
mov dword [ebp - 0x480], eax
add esp, 8
and eax, 0xfffffff7
mov dword [ebp - 0x480], eax
mov dword [ebp - 4], 3
or eax, 4
mov dword [ebp - 0x480], eax
and eax, 0xfffffffd
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x440]
call fcn.0044a2e0
cmp byte [ebp - 0x45c], 0
jne 0x47a1c8
mov ecx, dword [ebp - 0x448]
lea eax, [ebp - 0x458]
dec ecx
cmp dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], ecx
cmova eax, dword [ebp - 0x458]
mov byte [eax + ecx], 0
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x47a173
mov esi, dword [esi]
mov ecx, dword [ebp - 0x484]
mov edx, esi
push eax
add ecx, 0x10
call fcn.00451a60
add esp, 4
mov edx, 0x4fbf58
mov ecx, eax
call fcn.0044cf90
cmp dword [ebp - 0x444], 0xf
lea edx, [ebp - 0x458]
push dword [ebp - 0x448]
cmova edx, dword [ebp - 0x458]
mov ecx, eax
call fcn.00451a60
add esp, 4
mov edx, 0x4fc52c
mov ecx, eax
call fcn.0044cf90
jmp 0x47a31f
mov esi, dword [ebp - 0x460]
lea eax, [ebp - 0x474]
mov edx, dword [ebp - 0x474]
cmp esi, 0xf
push 0
cmova eax, edx
add eax, dword [ebp - 0x464]
cmp esi, 0xf
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x474]
cmova eax, edx
add eax, dword [ebp - 0x464]
cmp esi, 0xf
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x474]
mov esi, dword [ebp - 0x41c]
cmova eax, edx
push esi
push eax
call fcn.004b70a0
mov edi, eax
cmp edi, esi
je 0x47a23e
lea ecx, [edi + 1]
cmp ecx, esi
je 0x47a23e
nop dword [eax]
mov al, byte [ecx]
test al, al
je 0x47a239
mov byte [edi], al
inc edi
inc ecx
cmp ecx, esi
jne 0x47a230
cmp dword [ebp - 0x460], 0xf
lea eax, [ebp - 0x474]
mov esi, edi
cmova eax, dword [ebp - 0x474]
sub dword [ebp - 0x478], edi
sub esi, eax
mov edi, dword [ebp - 0x464]
mov eax, edi
mov edx, dword [ebp - 0x478]
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x460], 0xf
mov dword [ebp - 0x478], edx
lea edx, [ebp - 0x474]
cmova edx, dword [ebp - 0x474]
mov eax, dword [ebp - 0x478]
add edx, esi
sub edi, eax
add eax, edx
mov ecx, edi
sub ecx, esi
inc ecx
push ecx
push eax
push edx
call fcn.004abcb0
mov edx, dword [ebp - 0x488]
add esp, 0xc
mov dword [ebp - 0x464], edi
cmp dword [edx + 0x14], 0xf
mov eax, dword [edx + 0x10]
jbe 0x47a2be
mov edx, dword [edx]
mov ecx, dword [ebp - 0x484]
push eax
add ecx, 0x10
call fcn.00451a60
add esp, 4
mov edx, 0x4fbf58
mov ecx, eax
call fcn.0044cf90
cmp byte [ebp - 0x45c], 0
je 0x47a47b
cmp dword [ebp - 0x460], 0xf
lea edx, [ebp - 0x474]
push dword [ebp - 0x464]
cmova edx, dword [ebp - 0x474]
mov ecx, eax
call fcn.00451a60
add esp, 4
mov edx, 0x4fc52c
mov ecx, eax
call fcn.0044cf90
mov edi, dword [ebp - 0x48c]
cmp dword [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x47a32a
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00451a60
add esp, 4
mov edx, 0x4fc520
mov ecx, eax
call fcn.0044cf90
push eax
call fcn.0044d1e0
mov esi, dword [ebp - 0x480]
add esp, 4
and esi, 0xfffffffb
mov dword [ebp - 0x480], esi
mov byte [ebp - 4], 0
cmp byte [ebp - 0x45c], 0
je 0x47a37a
lea ecx, [ebp - 0x474]
call fcn.0044a2e0
jmp 0x47a37a
mov esi, 1
and esi, 0xfffffffe
mov dword [ebp - 0x480], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
jmp 0x47a453
push esi
push edi
mov edx, closesocket
lea ecx, [ebp - 0x440]
call fcn.00481c70
add esp, 8
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x430], 0
je 0x47a446
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x47a3c9
mov esi, dword [esi]
mov ecx, dword [ebp - 0x484]
mov edx, esi
push eax
add ecx, 0x10
call fcn.00451a60
add esp, 4
mov edx, 0x4fbf58
mov ecx, eax
call fcn.0044cf90
cmp dword [ebp - 0x42c], 0xf
lea edx, [ebp - 0x440]
push dword [ebp - 0x430]
cmova edx, dword [ebp - 0x440]
mov ecx, eax
call fcn.00451a60
add esp, 4
mov edx, 0x4fc52c
mov ecx, eax
call fcn.0044cf90
cmp dword [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x47a424
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00451a60
add esp, 4
mov edx, 0x4fc520
mov ecx, eax
call fcn.0044cf90
push eax
call fcn.0044d1e0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.0044a2e0
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.004a9ea5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0044a8f0
call fcn.00436730
int3