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

Disassembly:
push 0xffffffffffffffff
push 0x64b8d2
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x280]
xor ebx, ebx
mov esi, ecx
cmp ebp, 1
jne 0x46a570
mov eax, dword [esi + 0x20]
push ebx
push 0x14b9
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x14]
call fcn.004024f0
mov dword [esp + 0x278], ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004688b0
test eax, eax
je 0x46a9ac
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], ebx
call fcn.0051cc30
mov byte [esp + 0x278], 1
lea ecx, [esp + 0x44]
call fcn.0051cc30
mov byte [esp + 0x278], 2
mov ecx, dword [0x75dbac]
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x20]
push edx
push 0xf003f
neg ecx
push ebx
sbb ecx, ecx
push eax
add ecx, 0x80000002
push ecx
call edi
mov esi, eax
cmp esi, ebx
je 0x46a78d
cmp esi, 2
je 0x46a6b4
lea ecx, [esp + 0x18]
call fcn.004024f0
mov byte [esp + 0x278], 3
mov eax, str.CURRENT_USER
cmp dword [0x75dbac], ebx
jne 0x46a619
mov eax, str.MACHINE
mov edx, dword [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x20]
push 0x67bc94
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x28]
add esp, 0x10
push ecx
lea ecx, [esp + 0x38]
call fcn.0051cd20
test eax, eax
je 0x46a668
mov ecx, dword [0x75dbac]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0xf003f
neg ecx
push ebx
sbb ecx, ecx
push eax
add ecx, 0x80000002
push ecx
call edi
mov esi, eax
cmp esi, ebx
je 0x46a6a3
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call fcn.0051cdf0
test eax, eax
je 0x46a6a3
mov edx, dword [0x75dbac]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push 0xf003f
neg edx
push ebx
sbb edx, edx
push ecx
add edx, 0x80000002
push edx
call edi
mov esi, eax
mov byte [esp + 0x278], 2
lea ecx, [esp + 0x18]
call fcn.00402560
cmp esi, ebx
je 0x46a78d
cmp dword [0x75dbac], ebx
jne 0x46a785
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push 0xf003f
push ebx
push ecx
push 0x80000001
call edi
mov esi, eax
cmp esi, ebx
je 0x46a78d
cmp esi, 2
je 0x46a785
lea ecx, [esp + 0x18]
call fcn.004024f0
mov byte [esp + 0x278], 4
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push str.CURRENT_USER_s
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
lea ecx, [esp + 0x48]
call fcn.0051cd20
test eax, eax
je 0x46a745
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0xf003f
push ebx
push eax
push 0x80000001
call edi
mov esi, eax
cmp esi, ebx
je 0x46a774
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call fcn.0051cdf0
test eax, eax
je 0x46a774
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0xf003f
push ebx
push eax
push 0x80000001
call edi
mov esi, eax
mov byte [esp + 0x278], 2
lea ecx, [esp + 0x18]
call fcn.00402560
cmp esi, ebx
jne 0x46a98a
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x46a98a
mov byte [esp + 0x1f], 1
cmp ebp, 1
je 0x46a977
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x70]
push edx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x48], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
call fcn.0057bd10
add esp, 0xc
test eax, eax
je 0x46a95b
mov al, 0x3b
mov byte [esp + 0x57], al
mov byte [esp + 0x5d], al
mov byte [esp + 0x5e], al
mov al, 0x7c
mov byte [esp + 0x64], al
mov byte [esp + 0x65], al
mov cl, 0x4a
lea eax, [esp + 0x54]
mov bl, 0x3f
push eax
mov byte [esp + 0x58], 0x67
mov byte [esp + 0x59], 0x66
mov byte [esp + 0x5a], 0x5c
mov byte [esp + 0x5c], 0x39
mov byte [esp + 0x5d], 0x60
mov byte [esp + 0x5e], 0x61
mov byte [esp + 0x5f], 0x46
mov byte [esp + 0x60], bl
mov byte [esp + 0x63], 0x39
mov byte [esp + 0x64], 0x4d
mov byte [esp + 0x65], cl
mov byte [esp + 0x66], 0x65
mov byte [esp + 0x67], 0x71
mov byte [esp + 0x6a], 0x78
mov byte [esp + 0x6b], cl
mov byte [esp + 0x6c], 0x3a
mov byte [esp + 0x6d], 0
call fcn.00453ba0
mov esi, vtable.CProtection.0
add esp, 4
mov dword [esp + 0x24], esi
mov byte [esp + 0x278], 5
lea eax, [esp + 0x54]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x46a881
mov edx, dword [esp + 0x18]
sub eax, ecx
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x58]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.00448e40
mov cl, 0x3e
mov al, 0x6c
mov byte [esp + 0x5e], cl
mov byte [esp + 0x66], cl
mov dl, 0x7f
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x58], dl
mov byte [esp + 0x59], 0x72
mov byte [esp + 0x5a], al
mov byte [esp + 0x5b], 0x63
mov byte [esp + 0x5c], 0x3a
mov byte [esp + 0x5d], 0x39
mov byte [esp + 0x5e], 0x4c
mov byte [esp + 0x5f], al
mov byte [esp + 0x60], 0x69
mov byte [esp + 0x61], bl
mov byte [esp + 0x63], 0x2f
mov byte [esp + 0x64], dl
mov byte [esp + 0x65], bl
mov byte [esp + 0x66], 0x2a
mov byte [esp + 0x67], 0x75
mov byte [esp + 0x68], al
mov byte [esp + 0x69], 0x79
mov byte [esp + 0x6b], 0
call fcn.00453ba0
mov eax, dword [esp + 0x2c]
add esp, 4
lea ecx, [esp + 0x54]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46a940
test dl, dl
je 0x46a93c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46a940
add eax, 2
add ecx, 2
test dl, dl
jne 0x46a920
xor eax, eax
jmp 0x46a945
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46a94d
mov byte [esp + 0x1f], al
mov byte [esp + 0x278], 2
mov dword [esp + 0x24], esi
xor ebx, ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x46a96c
push eax
call fcn.006220cc
add esp, 4
cmp byte [esp + 0x1f], 0
je 0x46a97f
mov eax, dword [esp + 0x20]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x278], 1
lea ecx, [esp + 0x44]
call fcn.0051cc90
mov byte [esp + 0x278], 0
lea ecx, [esp + 0x34]
call fcn.0051cc90
mov dword [esp + 0x278], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00620b8d
add esp, 0x268
ret 4