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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2202
mov eax, dword fs:[0]
push eax
sub esp, 0x51c
mov eax, dword [0x53ba20]
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 - 0x438], edi
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x464], ebx
cmp esi, 0xffffffff
jne 0x419c30
push 0x4fbd20
mov dword [ebp - 0x45c], ebx
call fcn.004c8c20
push ebx
mov dword [ebp - 0x45c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 4], ebx
mov dword [ebp - 0x458], ebx
call fcn.004c8c20
push ebx
mov dword [ebp - 0x458], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x454], ebx
call fcn.004c8c20
push ebx
mov dword [ebp - 0x454], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x424], ebx
call fcn.004c8c20
push ebx
mov dword [ebp - 0x424], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x450], ebx
call fcn.004c8c20
push ebx
mov dword [ebp - 0x450], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x44c], ebx
call fcn.004c8c20
push ebx
mov dword [ebp - 0x44c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x448], ebx
call fcn.004c8c20
push ebx
mov dword [ebp - 0x448], eax
call fcn.004c8c7f
mov eax, dword [ebp - 0x46c]
mov esi, 0x4fbd20
test eax, eax
mov dword [ebp - 0x42c], ebx
cmovne esi, eax
push esi
call fcn.004c8c20
push ebx
mov dword [ebp - 0x42c], eax
call fcn.004c8c7f
add esp, 0x40
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x478]
push edi
push eax
call fcn.00409d10
mov edi, eax
push 0x4fbd20
mov dword [ebp - 0x430], ebx
call fcn.004c8c20
push ebx
mov dword [ebp - 0x430], eax
call fcn.004c8c7f
mov dword [ebp - 0x43c], ebx
push esi
call fcn.004c8c20
push ebx
mov dword [ebp - 0x43c], eax
call fcn.004c8c7f
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x438]
lea eax, [ebp - 0x47c]
push eax
call fcn.00409d10
push 0xffffffffffffffff
push ebx
push ebx
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 0xb
push ecx
push 1
push ebx
lea ecx, [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x454]
push ecx
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x450]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
push edi
push eax
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x440]
call fcn.00405510
add esp, 0x74
mov esi, eax
mov dword [ebp + 0x14], esi
push dword [ebp - 0x47c]
call fcn.004c8c7f
push dword [ebp - 0x43c]
call fcn.004c8c7f
push dword [ebp - 0x430]
call fcn.004c8c7f
push dword [ebp - 0x478]
call fcn.004c8c7f
push dword [ebp - 0x42c]
call fcn.004c8c7f
push dword [ebp - 0x448]
call fcn.004c8c7f
push dword [ebp - 0x44c]
call fcn.004c8c7f
push dword [ebp - 0x450]
call fcn.004c8c7f
push dword [ebp - 0x424]
call fcn.004c8c7f
push dword [ebp - 0x454]
call fcn.004c8c7f
push dword [ebp - 0x458]
call fcn.004c8c7f
push dword [ebp - 0x45c]
mov dword [ebp - 4], 0xffffffff
call fcn.004c8c7f
mov edi, dword [ebp - 0x438]
add esp, 0x30
lea eax, [ebp - 0x468]
mov dword [ebp - 0x468], 0
push eax
push dword [0x540000]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push dword [ebp - 0x46c]
push edi
call fcn.00408690
add esp, 0x14
test eax, eax
je 0x419c6f
mov eax, esi
jmp 0x41aac5
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x47c], 0
push eax
push 0
push dword [ebp - 0x468]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x41aab6
nop dword [eax + eax]
push dword [0x540000]
mov dword [ebp - 0x42c], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0x470], eax
je 0x419cce
mov esi, 0x4fbd20
jmp 0x419d39
push 0x5017e4
call fcn.004c8c20
push 0
mov dword [ebp - 0x4d4], eax
call fcn.004c8c7f
push 0x4fbdfc
or ebx, 1
call fcn.004c8c20
mov esi, eax
push 0
mov dword [ebp - 0x428], esi
call fcn.004c8c7f
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.004152c0
push esi
call fcn.004c8c7f
add esp, 0x20
mov esi, dword [ebp - 0x4e8]
or ebx, 2
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x464], ebx
lea eax, [ebp - 0x218]
push eax
call fcn.004c8c20
mov edi, eax
push 0
mov dword [ebp - 0x424], edi
call fcn.004c8c7f
test esi, esi
mov dword [ebp - 4], 0xe
mov eax, 0x4fbd20
cmovne eax, esi
push eax
call fcn.004c8c20
mov esi, eax
push 0
mov dword [ebp - 0x428], esi
call fcn.004c8c7f
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x500]
push eax
call fcn.004152c0
push esi
call fcn.004c8c7f
mov esi, dword [ebp - 0x500]
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x470]
mov byte [ebp - 4], 0xf
push 0
push esi
push dword [ebp - 0x468]
call fcn.00408690
test eax, eax
push esi
sete byte [ebp - 0x441]
call fcn.004c8c7f
push edi
call fcn.004c8c7f
add esp, 0x3c
test bl, 2
je 0x419df9
push dword [ebp - 0x4e8]
and ebx, 0xfffffffd
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x464], ebx
call fcn.004c8c7f
add esp, 4
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x419e22
push dword [ebp - 0x4d4]
and ebx, 0xfffffffe
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x464], ebx
call fcn.004c8c7f
add esp, 4
cmp byte [ebp - 0x441], 0
je 0x41a574
lea eax, [ebp - 0x490]
mov dword [ebp - 0x490], 0x208
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x5019a4
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a568
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x43c], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], 0x10
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x48c], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x488], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x524], eax
mov word [eax], cx
mov dword [ebp - 0x520], ecx
mov dword [ebp - 0x51c], ecx
mov dword [ebp - 0x518], ecx
lea eax, [ebp - 0x524]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00408e00
mov ebx, dword [ebp - 0x440]
lea eax, [ebp - 0x524]
push 1
push eax
lea eax, [ebp - 0x430]
push ebx
push eax
call fcn.004069a0
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x430]
push ebx
call fcn.00406990
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x424], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x424], eax
call fcn.004c8c7f
add esp, 0x40
lea eax, [ebp - 0x218]
push eax
call fcn.004c8c20
mov edi, eax
push 0
mov dword [ebp - 0x474], edi
call fcn.004c8c7f
push 0x5019b8
call fcn.004c8c20
mov esi, eax
push 0
mov dword [ebp - 0x470], esi
call fcn.004c8c7f
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x4d8]
push eax
call fcn.004152c0
push esi
call fcn.004c8c7f
mov eax, dword [ebp - 0x46c]
mov ecx, 0x4fbd20
test eax, eax
mov dword [ebp - 0x454], 0
cmovne ecx, eax
push ecx
mov dword [ebp - 0x428], ecx
call fcn.004c8c20
push 0
mov dword [ebp - 0x454], eax
call fcn.004c8c7f
mov ebx, dword [ebp - 0x438]
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x4f0]
push ebx
push eax
call fcn.00409d10
mov esi, eax
push 0x4fbd20
mov dword [ebp - 0x458], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x458], eax
call fcn.004c8c7f
add esp, 0x40
push dword [ebp - 0x428]
mov dword [ebp - 0x45c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x45c], eax
call fcn.004c8c7f
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x4ec]
push ebx
push eax
call fcn.00409d10
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 0x1c
push ecx
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x424]
push ecx
push esi
push eax
push dword [ebp - 0x440]
call fcn.00405200
push dword [ebp - 0x4ec]
mov bl, al
call fcn.004c8c7f
push dword [ebp - 0x45c]
call fcn.004c8c7f
add esp, 0x40
push dword [ebp - 0x458]
call fcn.004c8c7f
push dword [ebp - 0x4f0]
call fcn.004c8c7f
push dword [ebp - 0x454]
call fcn.004c8c7f
push dword [ebp - 0x4d8]
call fcn.004c8c7f
push edi
call fcn.004c8c7f
push dword [ebp - 0x424]
call fcn.004c8c7f
add esp, 0x18
test bl, bl
je 0x41a513
cmp dword [ebp + 0x14], 0xffffffff
jne 0x41a35f
push 0x4fbd20
mov dword [ebp - 0x424], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x424], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4cc], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4cc], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4c8], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4c8], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4c4], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4c4], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4c0], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4c0], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4bc], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4bc], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4b8], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4b8], eax
call fcn.004c8c7f
mov edi, dword [ebp - 0x428]
push edi
mov dword [ebp - 0x448], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x448], eax
call fcn.004c8c7f
add esp, 0x40
mov ebx, dword [ebp - 0x438]
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0x4f8]
push ebx
push eax
call fcn.00409d10
mov esi, eax
push 0x4fbd20
mov dword [ebp - 0x44c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x44c], eax
call fcn.004c8c7f
push edi
mov dword [ebp - 0x450], 0
call fcn.004c8c20
mov dword [ebp - 0x450], eax
push 0
call fcn.004c8c7f
lea eax, [ebp - 0x44c]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x4f4]
push ebx
push eax
call fcn.00409d10
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 0x28
push ecx
push 1
push 0
lea ecx, [ebp - 0x4cc]
push ecx
lea ecx, [ebp - 0x4c8]
push ecx
lea ecx, [ebp - 0x4c4]
push ecx
lea ecx, [ebp - 0x4c0]
push ecx
lea ecx, [ebp - 0x4bc]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x440]
call fcn.00405510
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x4f4]
call fcn.004c8c7f
push dword [ebp - 0x450]
call fcn.004c8c7f
push dword [ebp - 0x44c]
call fcn.004c8c7f
push dword [ebp - 0x4f8]
call fcn.004c8c7f
push dword [ebp - 0x448]
call fcn.004c8c7f
push dword [ebp - 0x4b8]
call fcn.004c8c7f
push dword [ebp - 0x4bc]
call fcn.004c8c7f
push dword [ebp - 0x4c0]
call fcn.004c8c7f
push dword [ebp - 0x4c4]
call fcn.004c8c7f
push dword [ebp - 0x4c8]
call fcn.004c8c7f
push dword [ebp - 0x4cc]
call fcn.004c8c7f
push dword [ebp - 0x424]
call fcn.004c8c7f
add esp, 0x30
push 0x4fbd20
mov dword [ebp - 0x424], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x424], eax
call fcn.004c8c7f
mov ebx, dword [ebp - 0x4fc]
lea eax, [ebp - 0x420]
push eax
mov dword [ebp - 0x484], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x484], eax
call fcn.004c8c7f
lea eax, [ebp - 0x218]
push eax
call fcn.004c8c20
mov edi, eax
push 0
mov dword [ebp - 0x470], edi
call fcn.004c8c7f
push 0x5019b8
call fcn.004c8c20
mov esi, eax
push 0
mov dword [ebp - 0x474], esi
call fcn.004c8c7f
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.004152c0
push esi
call fcn.004c8c7f
push dword [ebp - 0x428]
mov dword [ebp - 0x480], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x480], eax
call fcn.004c8c7f
lea eax, [ebp - 0x4dc]
mov byte [ebp - 4], 0x2d
push eax
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x438]
lea eax, [ebp - 0x528]
push eax
call fcn.00409d10
add esp, 0x48
mov esi, eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x4d0], 0
push eax
call fcn.004c8c20
push 0
mov dword [ebp - 0x4d0], eax
call fcn.004c8c7f
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 - 0x484]
push eax
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x430]
push eax
push esi
lea eax, [ebp - 0x4d0]
push eax
push 1
push dword [ebp + 0x14]
push dword [ebp - 0x460]
push dword [ebp - 0x440]
call fcn.00405510
add esp, 0x4c
push dword [ebp - 0x4d0]
call fcn.004c8c7f
push dword [ebp - 0x528]
call fcn.004c8c7f
push dword [ebp - 0x480]
call fcn.004c8c7f
push dword [ebp - 0x4dc]
call fcn.004c8c7f
push edi
call fcn.004c8c7f
push dword [ebp - 0x484]
call fcn.004c8c7f
push dword [ebp - 0x424]
call fcn.004c8c7f
add esp, 0x1c
push dword [ebp - 0x430]
call fcn.004c8c7f
add esp, 4
lea ecx, [ebp - 0x520]
call fcn.004028a0
push dword [ebp - 0x524]
call fcn.004c8c7f
push dword [ebp - 0x488]
call fcn.004c8c7f
push dword [ebp - 0x48c]
call fcn.004c8c7f
push dword [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.004c8c7f
mov ebx, dword [ebp - 0x434]
add esp, 0x10
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x540000]
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.00408690
add esp, 0x14
test eax, eax
jne 0x41aa88
lea eax, [ebp - 0x490]
mov dword [ebp - 0x490], 4
push eax
lea eax, [ebp - 0x504]
push eax
push 0
push 0
push 0x5019cc
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41aa7c
test dword [ebp - 0x504], 0x100
je 0x41aa7c
cmp dword [ebp + 0x14], 0xffffffff
jne 0x41a875
push 0x4fbd20
mov dword [ebp - 0x428], eax
call fcn.004c8c20
push 0
mov dword [ebp - 0x428], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 4], 0x30
mov dword [ebp - 0x4b4], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4b4], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4b0], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4b0], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4ac], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4ac], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4a8], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4a8], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4a4], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4a4], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4a0], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4a0], eax
call fcn.004c8c7f
mov eax, dword [ebp - 0x46c]
mov esi, 0x4fbd20
test eax, eax
mov dword [ebp - 0x49c], 0
cmovne esi, eax
push esi
call fcn.004c8c20
push 0
mov dword [ebp - 0x49c], eax
call fcn.004c8c7f
add esp, 0x40
lea eax, [ebp - 0x4a0]
mov byte [ebp - 4], 0x37
push eax
lea eax, [ebp - 0x49c]
push eax
push dword [ebp - 0x438]
lea eax, [ebp - 0x50c]
push eax
call fcn.00409d10
mov edi, eax
push 0x4fbd20
mov dword [ebp - 0x498], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x498], eax
call fcn.004c8c7f
mov dword [ebp - 0x494], 0
push esi
call fcn.004c8c20
push 0
mov dword [ebp - 0x494], eax
call fcn.004c8c7f
lea eax, [ebp - 0x498]
mov byte [ebp - 4], 0x3a
push eax
lea eax, [ebp - 0x494]
push eax
push dword [ebp - 0x438]
lea eax, [ebp - 0x508]
push eax
call fcn.00409d10
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x3b
push ecx
push 1
push 0
lea ecx, [ebp - 0x4b4]
push ecx
lea ecx, [ebp - 0x4b0]
push ecx
lea ecx, [ebp - 0x4ac]
push ecx
lea ecx, [ebp - 0x4a8]
push ecx
lea ecx, [ebp - 0x4a4]
push ecx
push edi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x440]
call fcn.00405510
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x508]
call fcn.004c8c7f
push dword [ebp - 0x494]
call fcn.004c8c7f
push dword [ebp - 0x498]
call fcn.004c8c7f
push dword [ebp - 0x50c]
call fcn.004c8c7f
push dword [ebp - 0x49c]
call fcn.004c8c7f
push dword [ebp - 0x4a0]
call fcn.004c8c7f
push dword [ebp - 0x4a4]
call fcn.004c8c7f
push dword [ebp - 0x4a8]
call fcn.004c8c7f
push dword [ebp - 0x4ac]
call fcn.004c8c7f
push dword [ebp - 0x4b0]
call fcn.004c8c7f
push dword [ebp - 0x4b4]
call fcn.004c8c7f
push dword [ebp - 0x428]
call fcn.004c8c7f
add esp, 0x30
cmp byte [ebp + 0x18], 0
je 0x41a882
mov eax, 0x4fbd20
jmp 0x41a8ea
push 0x5017e4
call fcn.004c8c20
push 0
mov dword [ebp - 0x478], eax
call fcn.004c8c7f
push 0x4fbdfc
call fcn.004c8c20
mov esi, eax
push 0
mov dword [ebp - 0x460], esi
call fcn.004c8c7f
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.004152c0
push esi
call fcn.004c8c7f
mov eax, dword [ebp - 0x4e4]
add esp, 0x20
or ebx, 0xc
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x218]
push eax
call fcn.004c8c20
push 0
mov dword [ebp - 0x424], eax
call fcn.004c8c7f
mov ecx, dword [ebp - 0x46c]
mov eax, 0x4fbd20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8c20
mov edi, eax
push 0
mov dword [ebp - 0x474], edi
call fcn.004c8c7f
push 0x4fbdfc
call fcn.004c8c20
mov esi, eax
push 0
mov dword [ebp - 0x460], esi
call fcn.004c8c7f
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x4e0]
push eax
call fcn.004152c0
push esi
call fcn.004c8c7f
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x510]
push eax
call fcn.004152c0
mov ebx, eax
mov ecx, 0x4fbd20
mov eax, dword [ebp - 0x428]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
mov esi, eax
push 0
mov dword [ebp - 0x460], esi
call fcn.004c8c7f
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x514]
push ebx
push eax
call fcn.004152c0
add esp, 0x48
push esi
call fcn.004c8c7f
push dword [ebp - 0x510]
mov dword [ebp - 4], 0x3c
call fcn.004c8c7f
push dword [ebp - 0x4e0]
call fcn.004c8c7f
push edi
call fcn.004c8c7f
push dword [ebp - 0x424]
call fcn.004c8c7f
mov ebx, dword [ebp - 0x434]
add esp, 0x14
test bl, 8
je 0x41aa1e
push dword [ebp - 0x4e4]
and ebx, 0xfffffff7
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x464], ebx
call fcn.004c8c7f
add esp, 4
test bl, 4
je 0x41aa40
push dword [ebp - 0x478]
and ebx, 0xfffffffb
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x464], ebx
call fcn.004c8c7f
add esp, 4
push dword [ebp + 0x18]
mov esi, dword [ebp - 0x514]
lea eax, [ebp - 0x218]
push dword [ebp + 0x14]
push 0x20
push eax
push 0x5019e4
push esi
push dword [ebp - 0x438]
push dword [ebp - 0x440]
call fcn.0041ba30
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.004c8c7f
add esp, 0x24
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x47c]
lea eax, [ebp - 0x218]
push 0x104
push eax
inc esi
push esi
push dword [ebp - 0x468]
mov dword [ebp - 0x47c], 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.004c3287
mov esp, ebp
pop ebp
ret