Function at 0x496140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc5fc
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x536008]
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 0x496458
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
push str.RegEnumKeyExW
push dword [ebx]
mov dword [ebp - 0x2f0], eax
call esi
push str.RegCloseKey
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 0x496458
mov ebx, dword [ebp - 0x2f4]
test ebx, ebx
je 0x496458
test ecx, ecx
je 0x496458
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 0x80000002
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 0x496458
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 0x49644c
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 0x49640a
lea ecx, [ebp - 0x2e8]
call fcn.00496050
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2e8]
mov ecx, dword [ebp - 0x2f8]
push eax
push esi
call fcn.00496710
test al, al
je 0x4963d7
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 0x496362
sub ecx, edx
sar ecx, 1
push ecx
push str.00000000_0000_0000_0000_000000000000
lea ecx, [ebp - 0x2b0]
call fcn.0040a350
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 0x496390
sub eax, edx
lea ecx, [ebp - 0x298]
sar eax, 1
push eax
push str.00000000_0000_0000_0000_000000000000
call fcn.0040a350
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x2e8]
push ecx
cmp dword [edi + 8], eax
je 0x4963cf
mov edx, eax
call fcn.00499240
add esp, 4
add dword [edi + 4], 0x68
jmp 0x4963d7
push eax
mov ecx, edi
call fcn.004992e0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x298]
call fcn.0040a2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.0040a2e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.00470460
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 0x496302
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.004e62ab
mov esp, ebp
pop ebp
ret 4