Function at 0x51e610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a44cf
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x620514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2f8], ebx
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
test eax, eax
je 0x51e981
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5d1990
push eax
call esi
push str.RegEnumKeyExW
push dword [ebx]
mov dword [ebp - 0x2f0], eax
call esi
push 0x5d19b4
push dword [ebx]
mov dword [ebp - 0x2f4], eax
call esi
mov ecx, eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2fc], ecx
test eax, eax
je 0x51e981
mov ebx, dword [ebp - 0x2f4]
test ebx, ebx
je 0x51e981
test ecx, ecx
je 0x51e981
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 0x74], 0x790053
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], 0x740073
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], 0x6d0065
mov dword [ebp - 0x68], 0x43005c
mov dword [ebp - 0x64], 0x720075
mov dword [ebp - 0x60], 0x650072
mov dword [ebp - 0x5c], 0x74006e
mov dword [ebp - 0x58], 0x6f0043
mov dword [ebp - 0x54], 0x74006e
mov dword [ebp - 0x50], 0x6f0072
mov dword [ebp - 0x4c], 0x53006c
mov dword [ebp - 0x48], 0x740065
mov dword [ebp - 0x44], 0x43005c
mov dword [ebp - 0x40], 0x6e006f
mov dword [ebp - 0x3c], 0x720074
mov dword [ebp - 0x38], 0x6c006f
mov dword [ebp - 0x34], 0x4b005c
mov dword [ebp - 0x30], 0x790065
mov dword [ebp - 0x2c], 0x6f0062
mov dword [ebp - 0x28], 0x720061
mov dword [ebp - 0x24], 0x200064
mov dword [ebp - 0x20], 0x61004c
mov dword [ebp - 0x1c], 0x6f0079
mov dword [ebp - 0x18], 0x740075
mov dword [ebp - 0x14], 0x73
mov dword [ebp - 0x2ec], 0
call eax
test eax, eax
jne 0x51e981
push 0x208
push eax
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x27c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x280], 0x104
lea eax, [ebp - 0x280]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x27c]
push eax
push 0
push dword [ebp - 0x2ec]
call ebx
test eax, eax
jne 0x51e975
push 0x10
lea eax, [ebp - 0x27c]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov esi, eax
add esp, 0xc
movzx ebx, si
cmp ebx, 0x804
jne 0x51e933
lea ecx, [ebp - 0x2e8]
call fcn.0051e4d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2e8]
mov ecx, dword [ebp - 0x2f8]
push eax
push esi
call fcn.0051ed60
test al, al
je 0x51e900
mov ecx, str.00000000_0000_0000_0000_000000000000
mov dword [ebp - 0x2b4], ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51e832
sub ecx, edx
sar ecx, 1
push ecx
push str.00000000_0000_0000_0000_000000000000
lea ecx, [ebp - 0x2b0]
call fcn.00404900
mov eax, str.00000000_0000_0000_0000_000000000000
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x51e860
sub eax, edx
lea ecx, [ebp - 0x298]
sar eax, 1
push eax
push str.00000000_0000_0000_0000_000000000000
call fcn.00404900
mov esi, dword [edi + 4]
cmp dword [edi + 8], esi
je 0x51e8f1
mov eax, dword [ebp - 0x2e8]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x2e4]
push eax
mov dword [ebp - 0x300], esi
call fcn.0040d8d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040d8d0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
mov eax, dword [ebp - 0x2b4]
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.0040d8d0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x298]
push eax
lea ecx, [esi + 0x50]
call fcn.0040d8d0
mov byte [ebp - 4], 0
add dword [edi + 4], 0x68
jmp 0x51e900
lea eax, [ebp - 0x2e8]
mov ecx, edi
push eax
push esi
call fcn.00523310
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x298]
call fcn.00404840
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b0]
call fcn.00404840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.004f9230
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x280]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x280], 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], eax
call dword [ebp - 0x2f4]
test eax, eax
je 0x51e7d2
push dword [ebp - 0x2ec]
call dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e833
mov esp, ebp
pop ebp
ret 4