Function at 0x478250
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 0x4c8025
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x498
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 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], 0xe2894dbd
mov dword [ebp - 0x41c], 0xc8759256
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], 0x3ab44e2
mov dword [ebp - 0x41c], 0xc9621a20
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x420], 0x91fa2ced
mov dword [ebp - 0x41c], 0xac07fd21
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x420], 0x3ab44e2
mov dword [ebp - 0x41c], 0xc9621a20
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 0x478382
sub edx, ecx
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x478395
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x4a0]
push eax
push 0
call fcn.0044de40
add esp, 0xc
cmp eax, 0xffffffff
je 0x478885
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x4783bd
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 1
push 0x4fd6d0
push 0
call fcn.0044de40
add esp, 0xc
cmp eax, 0xffffffff
jne 0x478885
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 0x47844c
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 0x478529
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x478478
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 0x478529
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.00439cd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x458]
call fcn.00449f00
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.00449f00
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x47853a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x448], 0
je 0x478865
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 0x478966
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.00439cd0
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.00473a40
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.00449f00
cmp byte [ebp - 0x45c], 0
jne 0x4786b8
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 0x478663
mov esi, dword [esi]
mov ecx, dword [ebp - 0x484]
mov edx, esi
push eax
add ecx, 0x10
call fcn.00451560
add esp, 4
mov edx, 0x4faf58
mov ecx, eax
call fcn.0044cb70
cmp dword [ebp - 0x444], 0xf
lea edx, [ebp - 0x458]
push dword [ebp - 0x448]
cmova edx, dword [ebp - 0x458]
mov ecx, eax
call fcn.00451560
add esp, 4
mov edx, 0x4fb52c
mov ecx, eax
call fcn.0044cb70
jmp 0x47880f
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.004b4db0
mov edi, eax
cmp edi, esi
je 0x47872e
lea ecx, [edi + 1]
cmp ecx, esi
je 0x47872e
nop dword [eax]
mov al, byte [ecx]
test al, al
je 0x478729
mov byte [edi], al
inc edi
inc ecx
cmp ecx, esi
jne 0x478720
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.004a99b0
mov edx, dword [ebp - 0x488]
add esp, 0xc
mov dword [ebp - 0x464], edi
cmp dword [edx + 0x14], 0xf
mov eax, dword [edx + 0x10]
jbe 0x4787ae
mov edx, dword [edx]
mov ecx, dword [ebp - 0x484]
push eax
add ecx, 0x10
call fcn.00451560
add esp, 4
mov edx, 0x4faf58
mov ecx, eax
call fcn.0044cb70
cmp byte [ebp - 0x45c], 0
je 0x47896b
cmp dword [ebp - 0x460], 0xf
lea edx, [ebp - 0x474]
push dword [ebp - 0x464]
cmova edx, dword [ebp - 0x474]
mov ecx, eax
call fcn.00451560
add esp, 4
mov edx, 0x4fb52c
mov ecx, eax
call fcn.0044cb70
mov edi, dword [ebp - 0x48c]
cmp dword [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x47881a
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00451560
add esp, 4
mov edx, 0x4fb520
mov ecx, eax
call fcn.0044cb70
push eax
call fcn.0044cdc0
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 0x47886a
lea ecx, [ebp - 0x474]
call fcn.00449f00
jmp 0x47886a
mov esi, 1
and esi, 0xfffffffe
mov dword [ebp - 0x480], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
jmp 0x478943
push esi
push edi
mov edx, closesocket
lea ecx, [ebp - 0x440]
call fcn.004800c0
add esp, 8
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x430], 0
je 0x478936
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x4788b9
mov esi, dword [esi]
mov ecx, dword [ebp - 0x484]
mov edx, esi
push eax
add ecx, 0x10
call fcn.00451560
add esp, 4
mov edx, 0x4faf58
mov ecx, eax
call fcn.0044cb70
cmp dword [ebp - 0x42c], 0xf
lea edx, [ebp - 0x440]
push dword [ebp - 0x430]
cmova edx, dword [ebp - 0x440]
mov ecx, eax
call fcn.00451560
add esp, 4
mov edx, 0x4fb52c
mov ecx, eax
call fcn.0044cb70
cmp dword [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x478914
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00451560
add esp, 4
mov edx, 0x4fb520
mov ecx, eax
call fcn.0044cb70
push eax
call fcn.0044cdc0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00449f00
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.0044a510
call fcn.004363a0
int3