Function at 0x51fe90
Capabilities:
Contain obfuscated stackstrings
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5c0290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00514ec0
test eax, eax
jne 0x51fec5
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d3a0
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x54], 0x6b554342
push 0x20006
sub esp, 0xc
mov dword [ebp - 0x10], eax
mov ecx, esp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x50], 0x4e6b6747
push dword [ebp - 0x104]
mov dword [ebp - 0x4c], 0x39454349
mov dword [ebp - 0x48], 0x54776859
mov dword [ebp - 0x44], 0x34704343
mov dword [ebp - 0x40], 0x7a68434d
mov dword [ebp - 0x3c], 0x4a4d4145
mov dword [ebp - 0x38], 0x76416d45
mov dword [ebp - 0x34], 0x544d4145
mov dword [ebp - 0x30], 0x36637a43
mov dword [ebp - 0x2c], 0x44676e4c
mov dword [ebp - 0x28], 0x4d344245
mov dword [ebp - 0x24], 0x67635248
mov dword [ebp - 0x20], 0x2f395161
mov dword [ebp - 0x1c], 0x64675165
mov dword [ebp - 0x18], 0x41414141
mov word [ebp - 0x14], 0x414b
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.004660a0
lea eax, [ebp - 0x110]
push eax
call fcn.00480790
add esp, 0x10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 1
je 0x52023b
push ecx
push SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.004f0cd0
mov ecx, dword [ebp - 0x110]
mov esi, eax
test ecx, ecx
je 0x51ffb7
push ecx
call fcn.0053c1e0
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x10]
test esi, esi
je 0x51ffd4
push esi
call fcn.004be930
add esp, 4
mov esi, eax
jmp 0x520221
xor eax, eax
lea ecx, [ebp - 0x10]
push 0x20006
push 0x582990
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.004f0cd0
mov ebx, dword [ebp - 0x10]
test eax, eax
je 0x520010
push eax
call fcn.004be930
add esp, 4
jmp 0x52020a
sub esp, 0xc
mov dword [ebp - 0x100], 0x336f5443
mov ecx, esp
mov dword [ebp - 0xfc], 0x5345694d
lea eax, [ebp - 0x54]
mov dword [ebp - 0xf8], 0x3645794c
mov dword [ebp - 0xf4], 0x6a55534f
push dword [ebp - 0x104]
mov dword [ebp - 0xf0], 0x2f5a6e49
push eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0xec], 0x4f4d7943
mov dword [ebp - 0xe8], 0x5a38434b
mov dword [ebp - 0xe4], 0x54306a45
mov dword [ebp - 0xe0], 0x4434794a
mov dword [ebp - 0xdc], 0x484d7941
mov dword [ebp - 0xd8], 0x6a496763
mov dword [ebp - 0xd4], 0x6d305459
mov dword [ebp - 0xd0], 0x30526849
mov dword [ebp - 0xcc], 0x31557846
mov dword [ebp - 0xc8], 0x5255774b
mov dword [ebp - 0xc4], 0x43774143
mov dword [ebp - 0xc0], 0x2b466763
mov dword [ebp - 0xbc], 0x4a34474d
mov dword [ebp - 0xb8], 0x64304349
mov dword [ebp - 0xb4], 0x374d5142
mov dword [ebp - 0xb0], 0x5a457a43
mov dword [ebp - 0xac], 0x7373444f
mov dword [ebp - 0xa8], 0x46594241
mov dword [ebp - 0xa4], 0x5a4d414e
mov dword [ebp - 0xa0], 0x37554350
mov dword [ebp - 0x9c], 0x58385149
mov dword [ebp - 0x98], 0x2f525342
mov dword [ebp - 0x94], 0x56455146
mov dword [ebp - 0x90], 0x2b453266
mov dword [ebp - 0x8c], 0x42737864
mov dword [ebp - 0x88], 0x6b347864
mov dword [ebp - 0x84], 0x34785259
mov dword [ebp - 0x80], 0x2b566848
mov dword [ebp - 0x7c], 0x30316743
mov dword [ebp - 0x78], 0x69343349
mov dword [ebp - 0x74], 0x6e6b4444
mov dword [ebp - 0x70], 0x31737743
mov dword [ebp - 0x6c], 0x3738424c
mov dword [ebp - 0x68], 0x72776d4c
mov dword [ebp - 0x64], 0x3451774c
mov dword [ebp - 0x60], 0x59676841
mov dword [ebp - 0x5c], 0x41496859
mov dword [ebp - 0x58], 0x78424141
push eax
push 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.004660a0
lea eax, [ebp - 0x110]
push eax
call fcn.00480790
add esp, 0x10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 1
je 0x520245
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x520203
push eax
call fcn.0053c1e0
add esp, 4
push 0
call fcn.00535830
mov esi, eax
test ebx, ebx
je 0x52021b
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
jmp 0x520221
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x520228
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d3a0
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.0053af06
push str.invalid_vector_T__subscript
call fcn.0053af06
int3