Function at 0x41f6c0
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45e23d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
xor esi, esi
push 1
mov dword [esp + 0x64], esi
call fcn.0042f396
mov dword [esp + 0x28], eax
mov byte [eax], 0
push 1
mov dword [esp + 0xac], esi
call fcn.0042f396
mov dword [esp + 0x20], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x54], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x60], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x60], eax
add esp, 0x14
mov byte [eax], 0
cmp dword [0x474d7c], esi
mov ebp, dword [esp + 0xb0]
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xb8]
mov byte [esp + 0xa4], 4
je 0x41f92e
cmp esi, 0xffffffff
jne 0x41f92e
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x2c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x28], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x48], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x2c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x54], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x50], eax
push 0x46043c
call fcn.0042f484
add esp, 0x1c
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0xb4]
mov eax, ebx
test ebx, ebx
jne 0x41f7ec
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x30], eax
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x44], eax
mov eax, ebx
test ebx, ebx
jne 0x41f812
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x60]
push ebp
push edx
mov byte [esp + 0xb8], 0xe
call fcn.00407af0
mov esi, eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x78]
push ebp
push edx
mov byte [esp + 0xc8], 0xf
call fcn.00407af0
movzx edx, byte [esp + 0xe0]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x80]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push edi
mov byte [esp + 0x108], 0x10
call fcn.0040c0f0
mov edx, dword [esp + 0xc0]
add esp, 0x64
push edx
mov esi, eax
call fcn.0042f4d9
mov eax, dword [esp + 0x58]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x60]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x48]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x54]
push ecx
mov byte [esp + 0xd4], 4
call fcn.0042f4d9
add esp, 0x30
jmp 0x41f935
mov ebx, dword [esp + 0xb4]
mov eax, dword [0x4746a8]
lea edx, [esp + 0x58]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [reloc.OLEAUT32.dll_SysReAllocString]
or eax, 0x20019
push eax
push 0
push ebx
push ecx
call fcn.00409f10
add esp, 0x14
test eax, eax
je 0x41f99c
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x54]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x24]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x34]
push eax
call fcn.0042f4d9
add esp, 0x14
jmp 0x41fe21
push 1
call fcn.0042f396
mov dword [esp + 0x18], eax
mov byte [eax], 0
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
mov byte [esp + 0xb4], 0x11
call fcn.00416b90
add esp, 0x10
test eax, eax
jne 0x41fdd7
mov edi, edi
mov ecx, dword [0x4746a8]
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x64]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esp + 0x5c]
or eax, 0x20019
push eax
push 0
push ebx
push edx
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x41fdb3
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push str.Driver
push ecx
call fcn.00416ab0
add esp, 0x14
test eax, eax
jne 0x41fda8
lea ecx, [esp + 0x80]
call fcn.00402320
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x80]
push edx
push eax
mov byte [esp + 0xac], 0x12
call fcn.0040ef90
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0042f484
mov dword [esp + 0x68], eax
push 0
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0xbc], 0x13
call fcn.0040b350
mov eax, dword [eax]
mov ebx, dword [esp + 0x30]
push eax
call fcn.0042f484
push ebx
mov dword [esp + 0x38], eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0042f4d9
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x70]
push eax
push ecx
push edi
call fcn.0040b950
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x54]
push edx
push edi
call fcn.0040bd70
add esp, 0x48
test al, al
je 0x41fd6a
cmp esi, 0xffffffff
jne 0x41fca4
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x38], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x4c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x38], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x40], 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
add esp, 0x1c
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0xb4]
mov eax, ebx
test ebx, ebx
jne 0x41fb64
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x40], eax
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x20], eax
mov eax, ebx
test ebx, ebx
jne 0x41fb8a
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x88]
push ebp
push edx
mov byte [esp + 0xb8], 0x1d
call fcn.00407af0
mov esi, eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x88]
push ebp
push edx
mov byte [esp + 0xc8], 0x1e
call fcn.00407af0
movzx edx, byte [esp + 0xe0]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x64]
push ecx
push edx
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x88]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push edi
mov byte [esp + 0x108], 0x1f
call fcn.0040c0f0
mov edx, dword [esp + 0xd0]
add esp, 0x64
push edx
mov esi, eax
call fcn.0042f4d9
mov eax, dword [esp + 0x80]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x58]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x54]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x6c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0042f4d9
add esp, 0x30
jmp 0x41fcab
mov ebx, dword [esp + 0xb4]
push 0x46043c
call fcn.0042f484
add esp, 4
mov dword [esp + 0x54], eax
mov eax, ebx
test ebx, ebx
jne 0x41fcc7
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x84]
push ebp
push ecx
mov byte [esp + 0xb8], 0x21
call fcn.00407af0
movzx ecx, byte [esp + 0xd0]
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x74]
push edx
push ecx
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x50]
push edx
push eax
lea eax, [esp + 0x54]
push eax
push 3
push esi
push ecx
push edi
mov byte [esp + 0xf8], 0x22
call fcn.0040c0f0
mov edx, dword [esp + 0xcc]
add esp, 0x54
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x6c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042f4d9
add esp, 0xc
mov edx, dword [esp + 0x5c]
push edx
call fcn.0042f4d9
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], 0x11
call fcn.00402070
mov eax, dword [esp + 0x84]
push eax
call fcn.0042f2c2
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0042f4d9
add esp, 8
mov edx, dword [esp + 0x64]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x14]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x6c], eax
call fcn.00416b90
add esp, 0xc
test eax, eax
je 0x41f9d0
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x58]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x28]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x38]
push eax
call fcn.0042f4d9
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret