Function at 0x47a050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495831
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x4a93dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x858], edi
mov esi, 7
xor eax, eax
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x828], edi
mov word [ebp - 0x838], ax
push 0x7fe
lea edx, [ebp - 0x81a]
mov dword [ebp - 4], edi
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0x85c], 0x400
mov word [ebp - 0x81c], cx
call fcn.00489270
mov eax, dword [str..exe]
mov ecx, dword [0x4a3f94]
mov dx, word [0x4a3f98]
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x860]
push eax
push str.http_shellopencommand
push 0x80000000
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], dx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x47a13a
mov dword [ebx + 0x14], esi
xor ecx, ecx
mov dword [ebx + 0x10], edi
push edi
mov eax, 0x49a07c
mov esi, ebx
mov word [ebx], cx
call fcn.00401d40
cmp dword [ebp - 0x824], 8
jb 0x47a2d0
mov edx, dword [ebp - 0x838]
push edx
call fcn.00480861
add esp, 4
jmp 0x47a2d0
mov edx, dword [ebp - 0x860]
lea eax, [ebp - 0x85c]
push eax
lea ecx, [ebp - 0x81c]
push ecx
push edi
push edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x47a195
xor eax, eax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], edi
mov word [ebx], ax
push edi
mov eax, 0x49a07c
mov esi, ebx
call fcn.00401d40
cmp dword [ebp - 0x824], 8
jb 0x47a2d0
mov ecx, dword [ebp - 0x838]
push ecx
call fcn.00480861
add esp, 4
jmp 0x47a2d0
lea eax, [ebp - 0x81c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47a1a0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x81c]
lea esi, [ebp - 0x838]
call fcn.00401d40
lea eax, [ebp - 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47a1c7
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x838]
push eax
xor eax, eax
call fcn.00401b50
cmp eax, 0xffffffff
jne 0x47a1ff
mov eax, 0x49a07c
mov ecx, ebx
call fcn.00401830
jmp 0x47a174
push eax
xor ecx, ecx
lea esi, [ebp - 0x854]
lea edx, [ebp - 0x838]
call fcn.004018a0
mov edi, eax
lea esi, [ebp - 0x838]
mov byte [ebp - 4], 1
call fcn.004019e0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x840], 8
jb 0x47a240
mov edx, dword [ebp - 0x854]
push edx
call fcn.00480861
add esp, 4
lea eax, [ebp - 0x838]
push eax
lea edi, [ebp - 0x858]
mov dword [ebp - 0x858], 0x5c
call fcn.0047a2f0
cmp eax, 0xffffffff
jne 0x47a26f
mov eax, 0x49a07c
mov ecx, ebx
call fcn.00401830
jmp 0x47a2c5
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x854]
lea edx, [ebp - 0x838]
call fcn.004018a0
mov edi, eax
lea esi, [ebp - 0x838]
mov byte [ebp - 4], 2
call fcn.004019e0
lea esi, [ebp - 0x854]
mov byte [ebp - 4], 0
call fcn.00401870
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
lea edi, [ebp - 0x838]
mov esi, ebx
mov word [ebx], cx
call fcn.004019e0
lea esi, [ebp - 0x838]
call fcn.00401870
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048036c
mov esp, ebp
pop ebp
ret