Function at 0x41ba00
Capabilities:
Get thread local storage value
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45d7f2
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x473354]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
cmp dword [0x474d7c], 0
mov esi, dword [esp + 0x2a0]
mov ebx, dword [esp + 0x2a4]
mov edi, dword [esp + 0x2a8]
mov dword [esp + 0x30], esi
je 0x41bc23
cmp dword [esp + 0x2ac], 0xffffffff
jne 0x41bc23
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x1c], eax
push 0x46043c
mov dword [esp + 0x2a0], 0
call fcn.0042f484
mov dword [esp + 0x34], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x34], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x60], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x50], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x50], eax
push 0x46043c
call fcn.0042f484
add esp, 0x1c
mov dword [esp + 0x48], eax
mov eax, edi
test edi, edi
jne 0x41baea
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x48], eax
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x40], eax
mov eax, edi
test edi, edi
jne 0x41bb10
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x28]
push ebx
push edx
mov byte [esp + 0x2ac], 9
call fcn.00407af0
mov ebp, eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x3c]
push ebx
push edx
mov byte [esp + 0x2bc], 0xa
call fcn.00407af0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x48]
push ecx
push 1
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x80]
push edx
push ebp
push eax
push 0
push 0xffffffffffffffff
push 0
push esi
mov byte [esp + 0x2fc], 0xb
call fcn.0040c0f0
mov dword [esp + 0x310], eax
mov eax, dword [esp + 0x84]
add esp, 0x64
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x54]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x5c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x50]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x70]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x44]
push edx
call fcn.0042f4d9
add esp, 0x30
push 1
call fcn.0042f396
mov ebp, eax
mov byte [ebp], 0
push edi
mov dword [esp + 0x2a0], 0xc
mov dword [esp + 0x64], 0
call fcn.0042f484
mov esi, eax
push 0x5c
push esi
mov dword [esp + 0x50], esi
call fcn.004309b8
mov byte [eax], 0
inc eax
add esp, 0x10
cmp byte [esp + 0x2b0], 0
mov dword [esp + 0x64], eax
je 0x41bc84
push edi
call fcn.0042f484
push ebp
mov dword [esp + 0x54], eax
call fcn.0042f4d9
add esp, 8
jmp 0x41bd5a
test eax, eax
jne 0x41bc8d
mov eax, 0x46043c
push eax
call fcn.0042f484
push str.AutorunsDisabled
mov dword [esp + 0x30], eax
call fcn.0042f484
add esp, 8
mov dword [esp + 0x2c], eax
mov eax, esi
test esi, esi
jne 0x41bcb3
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov eax, 0x460cb4
lea ecx, [esp + 0x3c]
call fcn.0041b980
lea ecx, [esp + 0x34]
push ecx
lea esi, [esp + 0x30]
call fcn.0041b950
push eax
mov eax, 0x460cb4
lea ecx, [esp + 0x2c]
call fcn.0041b980
lea edx, [esp + 0x38]
push edx
lea esi, [esp + 0x34]
call fcn.0041b950
mov eax, dword [eax]
push eax
call fcn.0042f484
push ebp
mov dword [esp + 0x68], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x48]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x5c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042f4d9
mov esi, dword [esp + 0x78]
add esp, 0x38
mov edx, dword [0x4746a8]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [esp + 0x50]
or eax, 0x20019
push eax
push 0
push ebp
push ebx
call fcn.00409f10
add esp, 0x14
test eax, eax
je 0x41bd92
push esi
call fcn.0042f4d9
push ebp
jmp 0x41c226
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x18c]
push ecx
push 0
push 0
push 0
push edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x6c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c210
lea eax, [esp + 0x188]
push eax
call fcn.0042f484
mov ebp, eax
mov dword [esp + 0x24], ebp
lea ecx, [esp + 0x24]
push ecx
mov eax, str.SoftwareClasses_
lea ecx, [esp + 0x2c]
call fcn.0041b9c0
push eax
mov eax, str._shellopencommand
lea ecx, [esp + 0x28]
call fcn.0041b980
add esp, 0xc
mov esi, dword [eax]
mov eax, dword [0x4746a8]
lea edx, [esp + 0x60]
push edx
push eax
mov byte [esp + 0x2a0], 0xf
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push esi
push ebx
call fcn.00409f10
mov ecx, dword [esp + 0x30]
test eax, eax
push ecx
sete byte [esp + 0x2f]
call fcn.0042f4d9
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f4d9
push ebp
mov byte [esp + 0x2b8], 0xc
call fcn.0042f4d9
add esp, 0x20
cmp byte [esp + 0x17], 0
je 0x41c20c
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x88]
push ecx
push 0
push 0
push 0
push edx
mov dword [esp + 0x6c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c201
lea eax, [esp + 0x84]
push str.__1___
push eax
call fcn.00433466
add esp, 8
test eax, eax
je 0x41c201
lea ecx, [esp + 0x38]
call fcn.00401140
lea ecx, [esp + 0x44]
call fcn.00401140
lea ecx, [esp + 0x48]
call fcn.00401140
lea ecx, [esp + 0x68]
mov byte [esp + 0x298], 0x12
call fcn.00402320
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x2a0], 0x13
call fcn.0040ef90
push 0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.0040b350
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x44]
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x50]
push eax
push ecx
push esi
mov byte [esp + 0x2bc], 0x14
call fcn.0040b950
add esp, 0x24
push edi
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.00401160
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
mov byte [esp + 0x2ac], 0x15
call fcn.0040bd70
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x2b0], 0x14
call fcn.0042f4d9
add esp, 0x18
cmp byte [esp + 0x17], 0
je 0x41c1ca
cmp dword [esp + 0x2ac], 0xffffffff
jne 0x41c0d8
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x24], eax
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x1c], eax
push 0x46043c
lea ecx, [esp + 0x28]
call fcn.00401160
push 0x46043c
lea ecx, [esp + 0x38]
call fcn.00401160
push 0x46043c
lea ecx, [esp + 0x34]
call fcn.00401160
push 0x46043c
lea ecx, [esp + 0x54]
call fcn.00401160
push 0x46043c
lea ecx, [esp + 0x2c]
call fcn.00401160
push edi
lea ecx, [esp + 0x30]
call fcn.00401160
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401160
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x60]
push ebx
push ecx
mov byte [esp + 0x2a8], 0x1e
call fcn.00407af0
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x3c]
push edx
push 1
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x84]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
push 0
push 0xffffffffffffffff
push 0
push esi
mov byte [esp + 0x2e8], 0x1f
call fcn.0040c0f0
mov dword [esp + 0x2fc], eax
mov eax, dword [esp + 0xa8]
add esp, 0x50
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x34]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x34]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x44]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x44]
push eax
call fcn.0042f4d9
add esp, 0x28
push 0x46043c
call fcn.0042f484
add esp, 4
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401160
push 0x46043c
lea ecx, [esp + 0x28]
call fcn.00401160
push edi
lea ecx, [esp + 0x20]
call fcn.00401160
push edi
lea ecx, [esp + 0x24]
call fcn.00401160
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x60]
push ebx
push ecx
mov byte [esp + 0x2a8], 0x24
call fcn.00407af0
movzx ecx, byte [esp + 0x2c0]
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x4c]
push edx
push ecx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x2e0]
lea edx, [esp + 0x70]
push edx
push eax
lea eax, [esp + 0x5c]
push eax
push 3
push ecx
push ebp
push esi
mov byte [esp + 0x2e8], 0x25
call fcn.0040c0f0
mov edx, dword [esp + 0xa8]
add esp, 0x50
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x24]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x30]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x44]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042f4d9
add esp, 0x18
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f4d9
add esp, 4
lea ecx, [esp + 0x68]
call fcn.00402290
mov eax, dword [esp + 0x48]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x40]
push edx
call fcn.0042f4d9
add esp, 0xc
mov eax, dword [esp + 0x60]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0042f4d9
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x2b4]
add esp, 8
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.00430430
add esp, 0x288
ret