Function at 0x499740
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x4ffec8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x53b008]
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 0x4999af
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 0x4999af
cmp dword [ebp + 8], 0
je 0x4999af
test eax, eax
je 0x4999af
mov ecx, ebx
mov byte [ebp + 0xf], 0
call fcn.0049afd0
mov esi, eax
mov eax, 0x804
test esi, esi
cmove esi, eax
movzx ecx, si
mov dword [edi + 0x34], ecx
call fcn.0049b360
test al, al
je 0x499944
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.004a7e40
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.004be750
push eax
call dword [ebp + 4]
test eax, eax
jne 0x499922
push str.Default
lea ecx, [ebp - 0x24]
call fcn.0040a730
mov byte [ebp - 4], 2
lea eax, [ebp - 0x24]
push edi
push eax
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.0049be20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0040b220
push dword [ebp + 0x10]
call dword [ebp]
mov bl, 1
jmp 0x499925
mov bl, byte [ebp + 0xf]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004be8f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040b220
mov al, bl
jmp 0x4999b1
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 0x499950
sub ecx, edx
sar ecx, 1
push ecx
push str.00000000_0000_0000_0000_000000000000
lea ecx, [edi + 0x38]
call fcn.0040b290
mov eax, str.00000000_0000_0000_0000_000000000000
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x499975
sub eax, edx
lea ecx, [edi + 0x50]
sar eax, 1
push eax
push str.00000000_0000_0000_0000_000000000000
call fcn.0040b290
mov eax, dword [edi + 0x34]
cmp esi, eax
jne 0x4999a7
imul eax, eax, 0x10001
mov bl, 1
mov dword [edi], eax
mov al, bl
jmp 0x4999b1
mov bl, 1
mov dword [edi], esi
mov al, bl
jmp 0x4999b1
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.004e9681
lea esp, [ebp + 0x74]
pop ebp
ret 4