Function at 0x496670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x4fc828
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x537008]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edi, dword [ebp + 0x7c]
test eax, eax
je 0x4968df
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
push str.RegEnumKeyExW
push dword [ebx]
mov dword [ebp + 4], eax
call esi
push str.RegCloseKey
push dword [ebx]
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 4], 0
mov dword [ebp], eax
je 0x4968df
cmp dword [ebp + 8], 0
je 0x4968df
test eax, eax
je 0x4968df
mov ecx, ebx
mov byte [ebp + 0xf], 0
call fcn.00497ef0
mov esi, eax
mov eax, 0x804
test esi, esi
cmove esi, eax
movzx ecx, si
mov dword [edi + 0x34], ecx
call fcn.00498280
test al, al
je 0x496874
xor eax, eax
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0x6f0053
mov dword [ebp + 0x30], 0x740066
mov dword [ebp + 0x34], 0x610077
mov dword [ebp + 0x38], 0x650072
mov dword [ebp + 0x3c], 0x4d005c
mov dword [ebp + 0x40], 0x630069
mov dword [ebp + 0x44], 0x6f0072
mov dword [ebp + 0x48], 0x6f0073
mov dword [ebp + 0x4c], 0x740066
mov dword [ebp + 0x50], 0x43005c
mov dword [ebp + 0x54], 0x460054
mov dword [ebp + 0x58], 0x41005c
mov dword [ebp + 0x5c], 0x730073
mov dword [ebp + 0x60], 0x6d0065
mov dword [ebp + 0x64], 0x6c0062
mov dword [ebp + 0x68], 0x650069
mov dword [ebp + 0x6c], 0x73
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 7
mov word [ebp + 0x14], ax
mov dword [ebp - 4], eax
lea eax, [ebp + 0x2c]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push dword [edi + 0x34]
push eax
lea eax, [ebp + 0x14]
push str._s0x_08x_s
push eax
call fcn.004a44e0
mov dword [ebp + 8], 0
add esp, 0x14
mov dword [ebp + 0x10], 0
mov dword [ebp + 8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
cmp dword [ebp + 0x28], 8
lea eax, [ebp + 0x14]
push ecx
cmovae eax, dword [ebp + 0x14]
lea ecx, [ebp + 8]
push 0x20019
push 0
push eax
push 0x20019
call fcn.004bb570
push eax
call dword [ebp + 4]
test eax, eax
jne 0x496852
push str.Default
lea ecx, [ebp - 0x24]
call fcn.0040a140
mov byte [ebp - 4], 2
lea eax, [ebp - 0x24]
push edi
push eax
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.00498d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0040a320
push dword [ebp + 0x10]
call dword [ebp]
mov bl, 1
jmp 0x496855
mov bl, byte [ebp + 0xf]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004bb710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040a320
mov al, bl
jmp 0x4968e1
mov ecx, str.00000000_0000_0000_0000_000000000000
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x496880
sub ecx, edx
sar ecx, 1
push ecx
push str.00000000_0000_0000_0000_000000000000
lea ecx, [edi + 0x38]
call fcn.0040a390
mov eax, str.00000000_0000_0000_0000_000000000000
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4968a5
sub eax, edx
lea ecx, [edi + 0x50]
sar eax, 1
push eax
push str.00000000_0000_0000_0000_000000000000
call fcn.0040a390
mov eax, dword [edi + 0x34]
cmp esi, eax
jne 0x4968d7
imul eax, eax, 0x10001
mov bl, 1
mov dword [edi], eax
mov al, bl
jmp 0x4968e1
mov bl, 1
mov dword [edi], esi
mov al, bl
jmp 0x4968e1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.004e647b
lea esp, [ebp + 0x74]
pop ebp
ret 4