Function at 0x472fc0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x647f70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
je 0x473230
cmp word [ebx], 0
je 0x473230
cmp dword [ebp + 8], 0
mov ecx, str.open
push 5
push 0
push 0
mov eax, 0x6250ac
push ebx
cmove eax, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
mov dword [ebp - 0x628], esi
cmp esi, 0x20
ja 0x47322c
lea eax, [ebp - 0x620]
push eax
push 1
push 0
push str..htm
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47322c
lea eax, [ebp - 0x624]
mov dword [ebp - 0x624], 0x104
push eax
lea eax, [ebp - 0x61c]
push eax
push 0
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
xor ecx, ecx
jmp 0x473070
movzx eax, word [ebp + ecx - 0x61c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x473070
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4730a0
lea eax, [ebp - 0x620]
mov ecx, 0xa
push eax
push 1
push 0
lea eax, [ebp - 0x414]
mov esi, str._shellopencommand
push eax
rep movsd dword es:[edi], dword [esi]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x473226
lea eax, [ebp - 0x624]
mov dword [ebp - 0x624], 0x104
push eax
lea eax, [ebp - 0x61c]
push eax
push 0
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x61c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x473105
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x414]
push 0x6250e8
push eax
call fcn.0059f36d
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x47317e
lea eax, [ebp - 0x414]
push 0x6250f4
push eax
call fcn.0059f36d
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x47317e
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473166
sub ecx, edx
sar ecx, 1
lea ecx, [ebp + ecx*2 - 0x416]
jmp 0x473183
xor eax, eax
mov word [ecx], ax
lea edi, [ecx - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x473186
mov eax, dword [0x6250fc]
mov esi, ebx
mov dword [edi], eax
jmp 0x4731a0
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4731a0
sub ebx, esi
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4731b0
mov edi, ecx
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4731d5
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4731fe
xor eax, eax
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
jmp 0x473235
add esi, esi
mov eax, esi
call fcn.005a0cb0
mov eax, esp
lea ecx, [ebp - 0x414]
push 3
push esi
push ecx
push eax
call fcn.00471fa0
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
jmp 0x473235
mov esi, dword [ebp - 0x628]
mov eax, esi
jmp 0x473235
mov eax, 0x24
lea esp, [ebp - 0x634]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059df39
mov esp, ebp
pop ebp
ret