Function at 0x479fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495621
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.00489020
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 0x47a08a
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.00401d90
cmp dword [ebp - 0x824], 8
jb 0x47a220
mov edx, dword [ebp - 0x838]
push edx
call fcn.00480641
add esp, 4
jmp 0x47a220
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 0x47a0e5
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.00401d90
cmp dword [ebp - 0x824], 8
jb 0x47a220
mov ecx, dword [ebp - 0x838]
push ecx
call fcn.00480641
add esp, 4
jmp 0x47a220
lea eax, [ebp - 0x81c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47a0f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x81c]
lea esi, [ebp - 0x838]
call fcn.00401d90
lea eax, [ebp - 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47a117
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.00401ba0
cmp eax, 0xffffffff
jne 0x47a14f
mov eax, 0x49a07c
mov ecx, ebx
call fcn.00401880
jmp 0x47a0c4
push eax
xor ecx, ecx
lea esi, [ebp - 0x854]
lea edx, [ebp - 0x838]
call fcn.004018f0
mov edi, eax
lea esi, [ebp - 0x838]
mov byte [ebp - 4], 1
call fcn.00401a30
mov byte [ebp - 4], 0
cmp dword [ebp - 0x840], 8
jb 0x47a190
mov edx, dword [ebp - 0x854]
push edx
call fcn.00480641
add esp, 4
lea eax, [ebp - 0x838]
push eax
lea edi, [ebp - 0x858]
mov dword [ebp - 0x858], 0x5c
call fcn.0047a240
cmp eax, 0xffffffff
jne 0x47a1bf
mov eax, 0x49a07c
mov ecx, ebx
call fcn.00401880
jmp 0x47a215
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x854]
lea edx, [ebp - 0x838]
call fcn.004018f0
mov edi, eax
lea esi, [ebp - 0x838]
mov byte [ebp - 4], 2
call fcn.00401a30
lea esi, [ebp - 0x854]
mov byte [ebp - 4], 0
call fcn.004018c0
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.00401a30
lea esi, [ebp - 0x838]
call fcn.004018c0
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.0048014c
mov esp, ebp
pop ebp
ret