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

Disassembly:
push 0xffffffffffffffff
push 0x45d3fe
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor esi, esi
push 1
mov dword [esp + 0x64], esi
call fcn.0042f396
mov dword [esp + 0x54], eax
mov byte [eax], 0
push 1
mov dword [esp + 0xb0], esi
call fcn.0042f396
mov dword [esp + 0x1c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x78], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x28], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x4c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x64], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x64], eax
add esp, 0x1c
mov byte [eax], 0
cmp dword [0x474d7c], esi
mov edi, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
mov esi, dword [esp + 0xbc]
mov byte [esp + 0xa8], 6
je 0x41a75a
cmp esi, 0xffffffff
jne 0x41a75a
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x28], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x28], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x28], 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
mov dword [esp + 0x4c], eax
push 0x46043c
call fcn.0042f484
add esp, 0x1c
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0xb8]
mov eax, ebx
test ebx, ebx
jne 0x41a618
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x2c], eax
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x40], eax
mov eax, ebx
test ebx, ebx
jne 0x41a63e
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x60]
push edi
push edx
mov byte [esp + 0xbc], 0x10
call fcn.00407af0
mov esi, eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x78]
push edi
push edx
mov byte [esp + 0xcc], 0x11
call fcn.00407af0
movzx edx, byte [esp + 0xe4]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x7c]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push ebp
mov byte [esp + 0x10c], 0x12
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 + 0x38]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x38]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x58]
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
mov eax, dword [esp + 0x48]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x50]
push ecx
mov byte [esp + 0xd8], 6
call fcn.0042f4d9
add esp, 0x30
jmp 0x41a761
mov ebx, dword [esp + 0xb8]
mov eax, dword [0x4746a8]
lea edx, [esp + 0x58]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push ebx
push edi
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x41abb4
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x60]
push eax
call fcn.00416b90
add esp, 0xc
test eax, eax
jne 0x41aba9
jmp 0x41a7b0
mov edx, dword [0x4746a8]
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
mov eax, dword [esp + 0x60]
push 0
push ebx
push eax
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x41ab85
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x50]
push ecx
push eax
push eax
push str.Source
push edx
call fcn.00416ab0
add esp, 0x14
test eax, eax
jne 0x41ab7a
lea ecx, [esp + 0x84]
call fcn.00402320
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x84]
push eax
push ecx
mov byte [esp + 0xb0], 0x13
call fcn.00411310
add esp, 8
test al, al
je 0x41ab49
push 0
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.0040b350
mov eax, dword [eax]
mov ebx, dword [esp + 0x24]
push eax
call fcn.0042f484
push ebx
mov dword [esp + 0x2c], eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0042f4d9
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x54]
push eax
push ecx
push ebp
call fcn.0040b950
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
push ebp
call fcn.0040bd70
add esp, 0x3c
test al, al
je 0x41ab49
cmp esi, 0xffffffff
jne 0x41aa71
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x34], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x48], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x34], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x3c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x48], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x54], eax
push 0x46043c
call fcn.0042f484
add esp, 0x1c
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0xb8]
mov eax, ebx
test ebx, ebx
jne 0x41a931
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x20], eax
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x20], eax
mov eax, ebx
test ebx, ebx
jne 0x41a957
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x28], eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x8c]
push edi
push edx
mov byte [esp + 0xbc], 0x1d
call fcn.00407af0
mov esi, eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x8c]
push edi
push edx
mov byte [esp + 0xcc], 0x1e
call fcn.00407af0
movzx edx, byte [esp + 0xe4]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x84]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push ebp
mov byte [esp + 0x10c], 0x1f
call fcn.0040c0f0
mov edx, dword [esp + 0xd4]
add esp, 0x64
push edx
mov esi, eax
call fcn.0042f4d9
mov eax, dword [esp + 0x84]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x2c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x54]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x50]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x68]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042f4d9
add esp, 0x30
jmp 0x41aa78
mov ebx, dword [esp + 0xb8]
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x60], eax
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x54], eax
mov eax, ebx
test ebx, ebx
jne 0x41aaa2
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x68], eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x88]
push edi
push ecx
mov byte [esp + 0xbc], 0x22
call fcn.00407af0
movzx ecx, byte [esp + 0xd4]
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x7c]
push edx
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0x50]
push edx
push eax
lea eax, [esp + 0x54]
push eax
push 3
push esi
push ecx
push ebp
mov byte [esp + 0xfc], 0x23
call fcn.0040c0f0
mov edx, dword [esp + 0xd0]
add esp, 0x54
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x68]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x68]
push edx
call fcn.0042f4d9
add esp, 0x10
lea ecx, [esp + 0x88]
mov byte [esp + 0xa8], 6
call fcn.00402070
mov eax, dword [esp + 0x88]
push eax
call fcn.0042f2c2
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0042f4d9
add esp, 8
mov edx, dword [esp + 0x68]
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 0x41a7b0
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x40]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x7c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x28]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0042f4d9
mov eax, esi
add esp, 0x1c
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret