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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5670ad
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x570530
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x20
ja 0x417ae2
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x250], 0
mov word [ebp - 0x484], 0
push 0x206
push 0
lea ecx, [ebp - 0x482]
push ecx
call fcn.0047d440
add esp, 0xc
mov word [ebp - 0x24c], 0
push 0x206
push 0
lea edx, [ebp - 0x24a]
push edx
call fcn.0047d440
add esp, 0xc
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x490], 1
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push 0x57053c
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x41786f
xor eax, eax
jmp 0x417ae7
lea ecx, [ebp - 0x254]
push ecx
push 0x20019
push 0
push str.shell
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x4178a2
xor eax, eax
jmp 0x417ae7
lea eax, [ebp - 0x25c]
push eax
push 0x20019
push 0
push str.opencommand
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x4178d8
xor eax, eax
jmp 0x417ae7
mov dword [ebp - 0x250], 0x104
mov dword [ebp - 0x18], 1
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x570570
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x250], 0
ja 0x417939
xor eax, eax
jmp 0x417ae7
lea edx, [ebp - 0x484]
push edx
lea ecx, [ebp - 0x40]
call fcn.00401610
mov dword [ebp - 4], 0
push 0
push 0x570574
lea ecx, [ebp - 0x40]
call fcn.004041c0
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x48c]
cmp eax, dword [0x5b7c28]
jne 0x417996
mov dword [ebp - 0x494], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401650
mov eax, dword [ebp - 0x494]
jmp 0x417ae7
push 0
push 0x570580
lea ecx, [ebp - 0x40]
call fcn.004041c0
mov dword [ebp - 0x488], eax
push 0x570584
lea ecx, [ebp - 0x278]
call fcn.00401610
mov byte [ebp - 4], 1
cmp dword [ebp - 0x488], 0
jne 0x417a1c
mov ecx, dword [ebp - 0x48c]
add ecx, 5
push ecx
push 0
lea edx, [ebp - 0x4b0]
push edx
lea ecx, [ebp - 0x40]
call fcn.00403760
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4d8]
push ecx
lea ecx, [ebp - 0x278]
call fcn.00403640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.00401650
jmp 0x417a6e
mov edx, dword [ebp - 0x48c]
add edx, 4
push edx
push 0
lea eax, [ebp - 0x4cc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403760
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
mov dword [ebp - 0x4e0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4e0]
push edx
lea ecx, [ebp - 0x278]
call fcn.00403640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4cc]
call fcn.00401650
push 1
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x278]
call fcn.00401800
push eax
push 0x570588
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x417ac4
mov dword [ebp - 0x4d0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00401650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401650
mov eax, dword [ebp - 0x4d0]
jmp 0x417ae7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00401650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401650
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret