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

Disassembly:
push 0xffffffffffffffff
push 0x45fa69
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x473354]
xor eax, esp
mov dword [esp + 0x1b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1dc]
xor eax, eax
push 1
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x6c], eax
call fcn.0042f396
mov dword [esp + 0x1c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov edi, eax
mov dword [esp + 0x90], edi
mov byte [edi], 0
push 1
call fcn.0042f396
mov ebp, eax
mov dword [esp + 0x90], ebp
mov byte [ebp], 0
push 1
call fcn.0042f396
mov dword [esp + 0x3c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x68], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x74], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov esi, eax
mov dword [esp + 0x8c], esi
mov byte [esi], 0
push 1
call fcn.0042f396
mov dword [esp + 0x58], eax
add esp, 0x20
mov byte [eax], 0
cmp dword [0x474d7c], 0
mov byte [esp + 0x1d4], 8
je 0x42ccb4
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x24], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x44], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x40], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x50], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x44], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x40], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x40], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x34], eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x204]
push ecx
lea edx, [esp + 0x88]
push reloc.OLEAUT32.dll_SysReAllocString
push edx
mov byte [esp + 0x204], 0x10
call fcn.00407af0
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x214]
push ecx
lea edx, [esp + 0x84]
push reloc.OLEAUT32.dll_SysReAllocString
push edx
mov byte [esp + 0x214], 0x11
call fcn.00407af0
add esp, 0x40
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 1
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x4c]
push edx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push ebx
mov byte [esp + 0x214], 0x12
call fcn.0040c0f0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x8c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xa4]
add esp, 0x44
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x18]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x2c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x40]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x54]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x58]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x40]
push eax
mov byte [esp + 0x1f8], 8
call fcn.0042f4d9
mov esi, dword [esp + 0x94]
add esp, 0x24
mov edx, dword [esp + 0x1e0]
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
lea ecx, [esp + 0x58]
push ecx
push 0x20019
push 0
push edx
push eax
call fcn.00409f10
add esp, 0x14
test eax, eax
je 0x42cd33
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0042f4d9
push esi
call fcn.0042f4d9
mov edx, dword [esp + 0x64]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x60]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042f4d9
push ebp
call fcn.0042f4d9
push edi
call fcn.0042f4d9
mov edx, dword [esp + 0x34]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x200]
push eax
call fcn.0042f4d9
add esp, 0x24
jmp 0x42d316
push 1
call fcn.0042f396
mov dword [esp + 0x20], eax
mov byte [eax], 0
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x20]
push ecx
push 0
push edx
mov byte [esp + 0x1e4], 0x13
call fcn.00416b90
add esp, 0x10
test eax, eax
jne 0x42d2ad
jmp 0x42cd70
mov ecx, dword [0x4746a8]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esp + 0x5c]
or eax, 0x20019
push eax
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42d285
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push str.LibraryPath
push ecx
call fcn.00416ab0
add esp, 0x14
test eax, eax
jne 0x42d27a
mov edx, dword [esp + 0x38]
push edx
call fcn.0042f484
add esp, 4
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x1d4], 0x14
call fcn.00402320
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x98]
push eax
push ecx
mov byte [esp + 0x1dc], 0x15
call fcn.0040ef90
push 0
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.0040b350
mov eax, dword [eax]
mov esi, dword [esp + 0x2c]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x34], eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0042f4d9
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x50]
push eax
push ecx
push ebx
call fcn.0040b950
mov edx, dword [esp + 0x4c]
push edx
mov dword [esp + 0xac], eax
call fcn.0042f484
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x48]
push eax
push 0
push 0
push str.DisplayString
push ecx
mov byte [esp + 0x21c], 0x16
call fcn.00416ab0
add esp, 0x48
test eax, eax
jne 0x42cf87
mov eax, dword [esp + 0x14]
cmp byte [eax], 0x40
jne 0x42cf87
push eax
call fcn.0042f484
mov esi, eax
mov dword [esp + 0x98], esi
push 0x2c
push esi
mov byte [esp + 0x1e0], 0x17
xor edi, edi
call fcn.004308e5
add esp, 0xc
test eax, eax
je 0x42cee8
push 0x2c
push esi
call fcn.004308e5
mov byte [eax], 0
inc eax
push eax
call fcn.004332fa
cdq
mov edi, eax
xor edi, edx
add esp, 0xc
sub edi, edx
lea edx, [esi + 1]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.00416cc0
mov eax, dword [eax]
push eax
call fcn.0042f484
push esi
mov ebp, eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0042f4d9
add esp, 0x14
push 2
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
test esi, esi
je 0x42cf68
push 0x104
lea edx, [esp + 0xc8]
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x42cf61
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc4]
push eax
call fcn.0042f484
push edi
mov dword [esp + 0x1c], eax
call fcn.0042f4d9
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebp
mov byte [esp + 0x1d8], 0x16
call fcn.0042f4d9
mov edi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
add esp, 4
mov eax, dword [esp + 0x44]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x68]
push edx
push 0
push 0
push str.Enabled
push eax
mov dword [esp + 0x68], 4
call esi
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0xb8]
push edx
push 0
push 0
push str.ProviderId
push eax
mov dword [esp + 0x68], 0x10
call esi
test eax, eax
jne 0x42d232
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
call fcn.0040bd70
add esp, 0x14
test al, al
je 0x42d232
cmp dword [esp + 0x48], 0xffffffff
jne 0x42d188
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x70], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x2c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x34], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x40], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x54], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x4c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x58], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x40], eax
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x204]
push eax
lea ecx, [esp + 0xb4]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
mov byte [esp + 0x204], 0x1f
call fcn.00407af0
mov esi, eax
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x214]
push eax
lea ecx, [esp + 0xac]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
mov byte [esp + 0x214], 0x20
call fcn.00407af0
add esp, 0x40
mov ecx, dword [esp + 0x64]
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x78]
push edx
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x58]
push edx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push ebx
mov byte [esp + 0x214], 0x21
call fcn.0040c0f0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xb4]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xd0]
add esp, 0x44
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x24]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x44]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x44]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x40]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x8c]
push eax
call fcn.0042f4d9
add esp, 0x24
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1e8]
push edx
lea eax, [esp + 0x8c]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov byte [esp + 0x1e8], 0x22
call fcn.00407af0
mov edx, dword [esp + 0x78]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x54]
push edx
push 0x10
push eax
push ecx
push ebx
mov byte [esp + 0x228], 0x23
call fcn.0040c0f0
mov edx, dword [esp + 0xd4]
add esp, 0x54
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x64]
push eax
call fcn.0042f4d9
add esp, 8
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0042f4d9
add esp, 4
lea ecx, [esp + 0x9c]
call fcn.00402070
mov edx, dword [esp + 0x9c]
push edx
call fcn.0042f2c2
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x54]
push ecx
mov byte [esp + 0x1e0], 0x13
call fcn.0042f4d9
add esp, 0xc
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x1c]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x74], eax
call fcn.00416b90
add esp, 0xc
test eax, eax
je 0x42cd70
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f4d9
push esi
call fcn.0042f4d9
mov eax, dword [esp + 0x68]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x40]
push edx
call fcn.0042f4d9
push ebp
call fcn.0042f4d9
push edi
call fcn.0042f4d9
mov eax, dword [esp + 0x38]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x204]
push ecx
call fcn.0042f4d9
add esp, 0x28
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.00430430
add esp, 0x1c4
ret