Function at 0x419980
Capabilities:
Get thread local storage value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f07a2
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x535a40]
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 eax, dword [ebp + 0x10]
xor ebx, ebx
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x464], ebx
cmp esi, 0xffffffff
jne 0x419c30
push 0x4f9d20
mov dword [ebp - 0x458], ebx
call fcn.004c8d00
push ebx
mov dword [ebp - 0x458], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 4], ebx
mov dword [ebp - 0x454], ebx
call fcn.004c8d00
push ebx
mov dword [ebp - 0x454], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x450], ebx
call fcn.004c8d00
push ebx
mov dword [ebp - 0x450], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x424], ebx
call fcn.004c8d00
push ebx
mov dword [ebp - 0x424], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x44c], ebx
call fcn.004c8d00
push ebx
mov dword [ebp - 0x44c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x448], ebx
call fcn.004c8d00
push ebx
mov dword [ebp - 0x448], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x444], ebx
call fcn.004c8d00
push ebx
mov dword [ebp - 0x444], eax
call fcn.004c8d5f
mov eax, dword [ebp - 0x46c]
mov esi, 0x4f9d20
test eax, eax
mov dword [ebp - 0x42c], ebx
cmovne esi, eax
push esi
call fcn.004c8d00
push ebx
mov dword [ebp - 0x42c], eax
call fcn.004c8d5f
add esp, 0x40
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x474]
push edi
push eax
call fcn.00409cf0
mov edi, eax
push 0x4f9d20
mov dword [ebp - 0x438], ebx
call fcn.004c8d00
push ebx
mov dword [ebp - 0x438], eax
call fcn.004c8d5f
mov dword [ebp - 0x43c], ebx
push esi
call fcn.004c8d00
push ebx
mov dword [ebp - 0x43c], eax
call fcn.004c8d5f
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x434]
lea eax, [ebp - 0x478]
push eax
call fcn.00409cf0
push 0xffffffffffffffff
push ebx
push ebx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0xb
push ecx
push 1
push ebx
lea ecx, [ebp - 0x454]
push ecx
lea ecx, [ebp - 0x450]
push ecx
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x448]
push ecx
push edi
push eax
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x440]
call fcn.00405550
add esp, 0x74
mov esi, eax
mov dword [ebp + 0x14], esi
push dword [ebp - 0x478]
call fcn.004c8d5f
push dword [ebp - 0x43c]
call fcn.004c8d5f
push dword [ebp - 0x438]
call fcn.004c8d5f
push dword [ebp - 0x474]
call fcn.004c8d5f
push dword [ebp - 0x42c]
call fcn.004c8d5f
push dword [ebp - 0x444]
call fcn.004c8d5f
push dword [ebp - 0x448]
call fcn.004c8d5f
push dword [ebp - 0x44c]
call fcn.004c8d5f
push dword [ebp - 0x424]
call fcn.004c8d5f
push dword [ebp - 0x450]
call fcn.004c8d5f
push dword [ebp - 0x454]
call fcn.004c8d5f
push dword [ebp - 0x458]
mov dword [ebp - 4], 0xffffffff
call fcn.004c8d5f
mov edi, dword [ebp - 0x434]
add esp, 0x30
lea eax, [ebp - 0x468]
mov dword [ebp - 0x468], 0
push eax
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push dword [ebp - 0x46c]
push edi
call fcn.004086c0
add esp, 0x14
test eax, eax
je 0x419c6f
mov eax, esi
jmp 0x41aac2
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x478], 0
push eax
push 0
push dword [ebp - 0x468]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x41aab3
nop dword [eax + eax]
push dword [0x539fd0]
mov dword [ebp - 0x42c], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0x45c], eax
je 0x419cce
mov esi, 0x4f9d20
jmp 0x419d39
push 0x4ff7e4
call fcn.004c8d00
push 0
mov dword [ebp - 0x4d0], eax
call fcn.004c8d5f
push 0x4f9dfc
or ebx, 1
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x428], esi
call fcn.004c8d5f
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.004152c0
push esi
call fcn.004c8d5f
add esp, 0x20
mov esi, dword [ebp - 0x4e4]
or ebx, 2
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x464], ebx
lea eax, [ebp - 0x218]
push eax
call fcn.004c8d00
mov edi, eax
push 0
mov dword [ebp - 0x424], edi
call fcn.004c8d5f
test esi, esi
mov dword [ebp - 4], 0xe
mov eax, 0x4f9d20
cmovne eax, esi
push eax
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x428], esi
call fcn.004c8d5f
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x4fc]
push eax
call fcn.004152c0
push esi
call fcn.004c8d5f
mov esi, dword [ebp - 0x4fc]
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x45c]
mov byte [ebp - 4], 0xf
push 0
push esi
push dword [ebp - 0x468]
call fcn.004086c0
push esi
mov dword [ebp - 0x45c], eax
call fcn.004c8d5f
push edi
call fcn.004c8d5f
add esp, 0x3c
test bl, 2
je 0x419df6
push dword [ebp - 0x4e4]
and ebx, 0xfffffffd
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x464], ebx
call fcn.004c8d5f
add esp, 4
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x419e1f
push dword [ebp - 0x4d0]
and ebx, 0xfffffffe
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x464], ebx
call fcn.004c8d5f
add esp, 4
cmp dword [ebp - 0x45c], 0
jne 0x41a571
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x48c], 0x208
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x4ff9a4
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a565
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x43c], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], 0x10
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x488], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x484], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x520], eax
mov word [eax], cx
mov dword [ebp - 0x51c], ecx
mov dword [ebp - 0x518], ecx
mov dword [ebp - 0x514], ecx
lea eax, [ebp - 0x520]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00408e30
mov ebx, dword [ebp - 0x440]
lea eax, [ebp - 0x520]
push 1
push eax
lea eax, [ebp - 0x438]
push ebx
push eax
call fcn.004069d0
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x438]
push ebx
call fcn.004069c0
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x424], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x424], eax
call fcn.004c8d5f
add esp, 0x40
lea eax, [ebp - 0x218]
push eax
call fcn.004c8d00
mov edi, eax
push 0
mov dword [ebp - 0x470], edi
call fcn.004c8d5f
push 0x4ff9b8
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x45c], esi
call fcn.004c8d5f
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.004152c0
push esi
call fcn.004c8d5f
mov eax, dword [ebp - 0x46c]
mov ecx, 0x4f9d20
test eax, eax
mov dword [ebp - 0x450], 0
cmovne ecx, eax
push ecx
mov dword [ebp - 0x428], ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x450], eax
call fcn.004c8d5f
mov ebx, dword [ebp - 0x434]
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x4ec]
push ebx
push eax
call fcn.00409cf0
mov esi, eax
push 0x4f9d20
mov dword [ebp - 0x454], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x454], eax
call fcn.004c8d5f
add esp, 0x40
push dword [ebp - 0x428]
mov dword [ebp - 0x458], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x458], eax
call fcn.004c8d5f
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x4e8]
push ebx
push eax
call fcn.00409cf0
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 0x1c
push ecx
lea ecx, [ebp - 0x484]
push ecx
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x438]
push ecx
lea ecx, [ebp - 0x424]
push ecx
push esi
push eax
push dword [ebp - 0x440]
call fcn.00405240
push dword [ebp - 0x4e8]
mov bl, al
call fcn.004c8d5f
push dword [ebp - 0x458]
call fcn.004c8d5f
add esp, 0x40
push dword [ebp - 0x454]
call fcn.004c8d5f
push dword [ebp - 0x4ec]
call fcn.004c8d5f
push dword [ebp - 0x450]
call fcn.004c8d5f
push dword [ebp - 0x4d4]
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x424]
call fcn.004c8d5f
add esp, 0x18
test bl, bl
je 0x41a510
cmp dword [ebp + 0x14], 0xffffffff
jne 0x41a35c
push 0x4f9d20
mov dword [ebp - 0x424], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x424], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4c8], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4c8], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4c4], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4c4], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4c0], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4c0], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4bc], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4bc], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4b8], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4b8], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4b4], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4b4], eax
call fcn.004c8d5f
mov edi, dword [ebp - 0x428]
push edi
mov dword [ebp - 0x444], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x444], eax
call fcn.004c8d5f
add esp, 0x40
mov ebx, dword [ebp - 0x434]
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0x4f4]
push ebx
push eax
call fcn.00409cf0
mov esi, eax
push 0x4f9d20
mov dword [ebp - 0x448], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x448], eax
call fcn.004c8d5f
push edi
mov dword [ebp - 0x44c], 0
call fcn.004c8d00
mov dword [ebp - 0x44c], eax
push 0
call fcn.004c8d5f
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x4f0]
push ebx
push eax
call fcn.00409cf0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 0x28
push ecx
push 1
push 0
lea ecx, [ebp - 0x4c8]
push ecx
lea ecx, [ebp - 0x4c4]
push ecx
lea ecx, [ebp - 0x4c0]
push ecx
lea ecx, [ebp - 0x4bc]
push ecx
lea ecx, [ebp - 0x4b8]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x440]
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x4f0]
call fcn.004c8d5f
push dword [ebp - 0x44c]
call fcn.004c8d5f
push dword [ebp - 0x448]
call fcn.004c8d5f
push dword [ebp - 0x4f4]
call fcn.004c8d5f
push dword [ebp - 0x444]
call fcn.004c8d5f
push dword [ebp - 0x4b4]
call fcn.004c8d5f
push dword [ebp - 0x4b8]
call fcn.004c8d5f
push dword [ebp - 0x4bc]
call fcn.004c8d5f
push dword [ebp - 0x4c0]
call fcn.004c8d5f
push dword [ebp - 0x4c4]
call fcn.004c8d5f
push dword [ebp - 0x4c8]
call fcn.004c8d5f
push dword [ebp - 0x424]
call fcn.004c8d5f
add esp, 0x30
push 0x4f9d20
mov dword [ebp - 0x424], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x424], eax
call fcn.004c8d5f
mov ebx, dword [ebp - 0x4f8]
lea eax, [ebp - 0x420]
push eax
mov dword [ebp - 0x480], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x480], eax
call fcn.004c8d5f
lea eax, [ebp - 0x218]
push eax
call fcn.004c8d00
mov edi, eax
push 0
mov dword [ebp - 0x45c], edi
call fcn.004c8d5f
push 0x4ff9b8
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x470], esi
call fcn.004c8d5f
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x4d8]
push eax
call fcn.004152c0
push esi
call fcn.004c8d5f
push dword [ebp - 0x428]
mov dword [ebp - 0x47c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x47c], eax
call fcn.004c8d5f
lea eax, [ebp - 0x4d8]
mov byte [ebp - 4], 0x2d
push eax
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x434]
lea eax, [ebp - 0x524]
push eax
call fcn.00409cf0
add esp, 0x48
mov esi, eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x4cc], 0
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x4cc], eax
call fcn.004c8d5f
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 0x2f
push eax
mov eax, dword [ebp + 0x18]
movzx eax, al
push eax
push ebx
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x438]
push eax
push esi
lea eax, [ebp - 0x4cc]
push eax
push 1
push dword [ebp + 0x14]
push dword [ebp - 0x460]
push dword [ebp - 0x440]
call fcn.00405550
add esp, 0x4c
push dword [ebp - 0x4cc]
call fcn.004c8d5f
push dword [ebp - 0x524]
call fcn.004c8d5f
push dword [ebp - 0x47c]
call fcn.004c8d5f
push dword [ebp - 0x4d8]
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x480]
call fcn.004c8d5f
push dword [ebp - 0x424]
call fcn.004c8d5f
add esp, 0x1c
push dword [ebp - 0x438]
call fcn.004c8d5f
add esp, 4
lea ecx, [ebp - 0x51c]
call fcn.004028a0
push dword [ebp - 0x520]
call fcn.004c8d5f
push dword [ebp - 0x484]
call fcn.004c8d5f
push dword [ebp - 0x488]
call fcn.004c8d5f
push dword [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.004c8d5f
mov ebx, dword [ebp - 0x430]
add esp, 0x10
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp - 0x42c]
or eax, 0x20019
push ecx
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x468]
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x41aa85
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x48c], 4
push eax
lea eax, [ebp - 0x500]
push eax
push 0
push 0
push 0x4ff9cc
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41aa79
test dword [ebp - 0x500], 0x100
je 0x41aa79
cmp dword [ebp + 0x14], 0xffffffff
jne 0x41a872
push 0x4f9d20
mov dword [ebp - 0x428], eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x428], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 4], 0x30
mov dword [ebp - 0x4b0], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4b0], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4ac], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4ac], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4a8], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4a8], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4a4], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4a4], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4a0], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4a0], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x49c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x49c], eax
call fcn.004c8d5f
mov eax, dword [ebp - 0x46c]
mov esi, 0x4f9d20
test eax, eax
mov dword [ebp - 0x498], 0
cmovne esi, eax
push esi
call fcn.004c8d00
push 0
mov dword [ebp - 0x498], eax
call fcn.004c8d5f
add esp, 0x40
lea eax, [ebp - 0x49c]
mov byte [ebp - 4], 0x37
push eax
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x434]
lea eax, [ebp - 0x508]
push eax
call fcn.00409cf0
mov edi, eax
push 0x4f9d20
mov dword [ebp - 0x494], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x494], eax
call fcn.004c8d5f
mov dword [ebp - 0x490], 0
push esi
call fcn.004c8d00
push 0
mov dword [ebp - 0x490], eax
call fcn.004c8d5f
lea eax, [ebp - 0x494]
mov byte [ebp - 4], 0x3a
push eax
lea eax, [ebp - 0x490]
push eax
push dword [ebp - 0x434]
lea eax, [ebp - 0x504]
push eax
call fcn.00409cf0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x3b
push ecx
push 1
push 0
lea ecx, [ebp - 0x4b0]
push ecx
lea ecx, [ebp - 0x4ac]
push ecx
lea ecx, [ebp - 0x4a8]
push ecx
lea ecx, [ebp - 0x4a4]
push ecx
lea ecx, [ebp - 0x4a0]
push ecx
push edi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x440]
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x504]
call fcn.004c8d5f
push dword [ebp - 0x490]
call fcn.004c8d5f
push dword [ebp - 0x494]
call fcn.004c8d5f
push dword [ebp - 0x508]
call fcn.004c8d5f
push dword [ebp - 0x498]
call fcn.004c8d5f
push dword [ebp - 0x49c]
call fcn.004c8d5f
push dword [ebp - 0x4a0]
call fcn.004c8d5f
push dword [ebp - 0x4a4]
call fcn.004c8d5f
push dword [ebp - 0x4a8]
call fcn.004c8d5f
push dword [ebp - 0x4ac]
call fcn.004c8d5f
push dword [ebp - 0x4b0]
call fcn.004c8d5f
push dword [ebp - 0x428]
call fcn.004c8d5f
add esp, 0x30
cmp byte [ebp + 0x18], 0
je 0x41a87f
mov eax, 0x4f9d20
jmp 0x41a8e7
push 0x4ff7e4
call fcn.004c8d00
push 0
mov dword [ebp - 0x474], eax
call fcn.004c8d5f
push 0x4f9dfc
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x460], esi
call fcn.004c8d5f
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x4e0]
push eax
call fcn.004152c0
push esi
call fcn.004c8d5f
mov eax, dword [ebp - 0x4e0]
add esp, 0x20
or ebx, 0xc
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x218]
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x424], eax
call fcn.004c8d5f
mov ecx, dword [ebp - 0x46c]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
mov edi, eax
push 0
mov dword [ebp - 0x470], edi
call fcn.004c8d5f
push 0x4f9dfc
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x460], esi
call fcn.004c8d5f
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.004152c0
push esi
call fcn.004c8d5f
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x4dc]
push eax
lea eax, [ebp - 0x50c]
push eax
call fcn.004152c0
mov ebx, eax
mov ecx, 0x4f9d20
mov eax, dword [ebp - 0x428]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x460], esi
call fcn.004c8d5f
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x510]
push ebx
push eax
call fcn.004152c0
add esp, 0x48
push esi
call fcn.004c8d5f
push dword [ebp - 0x50c]
mov dword [ebp - 4], 0x3c
call fcn.004c8d5f
push dword [ebp - 0x4dc]
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x424]
call fcn.004c8d5f
mov ebx, dword [ebp - 0x430]
add esp, 0x14
test bl, 8
je 0x41aa1b
push dword [ebp - 0x4e0]
and ebx, 0xfffffff7
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x464], ebx
call fcn.004c8d5f
add esp, 4
test bl, 4
je 0x41aa3d
push dword [ebp - 0x474]
and ebx, 0xfffffffb
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x464], ebx
call fcn.004c8d5f
add esp, 4
push dword [ebp + 0x18]
mov esi, dword [ebp - 0x510]
lea eax, [ebp - 0x218]
push dword [ebp + 0x14]
push 0x20
push eax
push 0x4ff9e4
push esi
push dword [ebp - 0x434]
push dword [ebp - 0x440]
call fcn.0041ba20
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.004c8d5f
add esp, 0x24
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x478]
lea eax, [ebp - 0x218]
push 0x104
push eax
inc esi
push esi
push dword [ebp - 0x468]
mov dword [ebp - 0x478], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x419ca0
push dword [ebp - 0x468]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x14]
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.004c34b7
mov esp, ebp
pop ebp
ret