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

Disassembly:
push 0xffffffffffffffff
push 0x45d5f2
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x473354]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1d4]
mov edi, dword [esp + 0x1d8]
mov esi, dword [esp + 0x1dc]
push 1
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x58], esi
call fcn.0042f396
mov dword [esp + 0x2c], eax
mov byte [eax], 0
push 1
mov dword [esp + 0x1d4], 0
call fcn.0042f396
mov dword [esp + 0x54], 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 + 0x6c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x54], eax
add esp, 0x14
mov byte [eax], 0
cmp dword [0x474d7c], 0
mov bl, 4
mov byte [esp + 0x1cc], bl
je 0x41af6c
cmp dword [esp + 0x1e0], 0xffffffff
jne 0x41af6c
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x40], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x3c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x38], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x48], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x44], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x2c], eax
push 0x46043c
call fcn.0042f484
add esp, 0x1c
mov dword [esp + 0x18], eax
mov eax, esi
test esi, esi
jne 0x41ae27
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, esi
test esi, esi
jne 0x41ae4d
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x5c]
push edi
push edx
mov byte [esp + 0x1e0], 0xe
call fcn.00407af0
mov esi, eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x60]
push edi
push edx
mov byte [esp + 0x1f0], 0xf
call fcn.00407af0
movzx edx, byte [esp + 0x208]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x5c]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push ebp
mov byte [esp + 0x230], 0x10
call fcn.0040c0f0
mov edx, dword [esp + 0xa8]
add esp, 0x64
push edx
mov dword [esp + 0x1e4], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x54]
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 + 0x2c]
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 + 0x58]
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 + 0x68]
push ecx
mov byte [esp + 0x1fc], bl
call fcn.0042f4d9
mov esi, dword [esp + 0x84]
add esp, 0x30
mov eax, dword [0x4746a8]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x48]
push edx
push eax
call ebx
or eax, 0x20019
push eax
push 0
push esi
push edi
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x41b7cd
push 1
mov dword [esp + 0x48], eax
call fcn.0042f396
mov dword [esp + 0x24], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x2c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x20], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x28], eax
mov byte [eax], 0
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x30]
push ecx
push 0
push edx
mov byte [esp + 0x1e8], 0x14
call fcn.00416b90
add esp, 0x1c
test eax, eax
jne 0x41b797
lea esp, [esp]
mov ecx, dword [0x4746a8]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x4c]
or eax, 0x20019
push eax
push 0
push esi
push edx
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x41b708
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push 0
push 0
push str.MenuText
push ecx
call fcn.00416ab0
add esp, 0x14
test eax, eax
je 0x41b0a1
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
push 0
push 0
push str.ButtonText
push eax
call fcn.00416ab0
add esp, 0x14
test eax, eax
je 0x41b0a1
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x18]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x2c]
push edx
jmp 0x41b72b
mov eax, dword [esp + 0x28]
cmp byte [eax], 0x40
jne 0x41b18a
push eax
call fcn.0042f484
mov esi, eax
mov dword [esp + 0xa0], esi
push 0x2c
push esi
mov byte [esp + 0x1d8], 0x15
xor edi, edi
call fcn.004308e5
add esp, 0xc
test eax, eax
je 0x41b0f2
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 eax, [esi + 1]
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.00416cc0
mov eax, dword [eax]
push eax
call fcn.0042f484
push esi
mov ebp, eax
call fcn.0042f4d9
mov edx, dword [esp + 0x98]
push edx
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 0x41b172
push 0x104
lea eax, [esp + 0xc0]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x41b16b
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0xbc]
push ecx
call fcn.0042f484
push edi
mov dword [esp + 0x30], eax
call fcn.0042f4d9
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebp
mov byte [esp + 0x1d0], 0x14
call fcn.0042f4d9
mov ebp, dword [esp + 0x9c]
add esp, 4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.Exec
push eax
call fcn.00416ab0
add esp, 0x14
test eax, eax
je 0x41b333
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push str.Script
push edx
call fcn.00416ab0
add esp, 0x14
test eax, eax
je 0x41b2d4
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push str.ClsidExtension
push ecx
call fcn.00416ab0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
test eax, eax
jne 0x41b2a0
mov edx, dword [esp + 0x1c]
push edx
call edi
lea eax, [esp + 0x24]
push eax
mov eax, str.CLSID_
lea ecx, [esp + 0x98]
call fcn.0041a490
push eax
mov eax, 0x46155c
lea ecx, [esp + 0x84]
call fcn.0041a450
mov eax, dword [eax]
mov esi, dword [esp + 0x1c]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x24], eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0xa8]
push edx
call fcn.0042f4d9
mov ecx, dword [0x4746a8]
mov esi, dword [esp + 0x2c]
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
push ecx
call ebx
or eax, 0x20019
push eax
push 0
push esi
push SysReAllocString
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x41b2ac
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov eax, dword [esp + 0x28]
push 0x46043c
push eax
call fcn.00416ab0
add esp, 0x14
mov ecx, dword [esp + 0x1c]
push ecx
call edi
jmp 0x41b079
mov eax, dword [esp + 0x18]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x2c]
push eax
jmp 0x41b72b
mov eax, dword [esp + 0x14]
push 6
push str.res:__
push eax
call fcn.004330c9
add esp, 0xc
test eax, eax
jne 0x41b30a
mov eax, dword [esp + 0x14]
lea ecx, [eax + 6]
push ecx
mov esi, eax
call fcn.0042f484
push esi
mov dword [esp + 0x1c], eax
call fcn.0042f4d9
add esp, 8
jmp 0x41b333
mov ecx, dword [esp + 0x14]
push 7
push str.file:__
push ecx
call fcn.004330c9
add esp, 0xc
test eax, eax
jne 0x41b333
mov edx, dword [esp + 0x14]
add edx, 7
push edx
lea ecx, [esp + 0x18]
call fcn.00401200
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xa0]
call fcn.00402320
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xa0]
push ecx
push edx
mov byte [esp + 0x1d4], 0x16
call fcn.0040ef90
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x50], eax
call fcn.0042f4d9
push 0
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.0040b350
mov eax, dword [eax]
mov esi, dword [esp + 0x34]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x3c], eax
call fcn.0042f4d9
mov eax, dword [esp + 0xb4]
push eax
call fcn.0042f4d9
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x78]
push edx
push eax
push ebp
call fcn.0040b950
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x88]
push edx
mov edi, eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x6c]
push ecx
push ebp
call fcn.0040bd70
add esp, 0x4c
test al, al
je 0x41b6b5
cmp dword [esp + 0x1e0], 0xffffffff
jne 0x41b5e7
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x70], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x7c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x84], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x70], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x84], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x48], eax
push 0x46043c
call fcn.0042f484
add esp, 0x1c
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x54]
mov eax, esi
test esi, esi
jne 0x41b483
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x30], eax
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x34], eax
mov eax, esi
test esi, esi
jne 0x41b4a9
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x68]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x90]
push ebx
push ecx
mov byte [esp + 0x1e0], 0x20
call fcn.00407af0
mov esi, eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x9c]
push ebx
push ecx
mov byte [esp + 0x1f0], 0x21
call fcn.00407af0
movzx ecx, byte [esp + 0x208]
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x9c]
push edx
push ecx
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x78]
push edx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push ebp
mov byte [esp + 0x230], 0x22
call fcn.0040c0f0
mov dword [esp + 0x244], eax
mov eax, dword [esp + 0xe4]
add esp, 0x64
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x44]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x40]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x48]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x80]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x98]
push edx
call fcn.0042f4d9
add esp, 0x30
jmp 0x41b5eb
mov ebx, dword [esp + 0x64]
push 0x46043c
call fcn.0042f484
add esp, 4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x41b609
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x98]
push ebx
push edx
mov byte [esp + 0x1e0], 0x24
call fcn.00407af0
movzx edx, byte [esp + 0x1f8]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x70]
push ecx
push edx
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x50]
push ecx
push eax
mov eax, dword [esp + 0x220]
lea edx, [esp + 0x68]
push edx
push 3
push eax
push edi
push ebp
mov byte [esp + 0x220], 0x25
call fcn.0040c0f0
mov ecx, dword [esp + 0xe0]
add esp, 0x54
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x6c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x58]
push eax
call fcn.0042f4d9
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add esp, 0xc
lea ecx, [esp + 0xa4]
call fcn.00402070
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0042f2c2
mov edx, dword [esp + 0xa4]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x20]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x20]
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
add esp, 0x18
jmp 0x41b733
mov ecx, dword [esp + 0x18]
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 + 0x2c]
push ecx
call fcn.0042f4d9
add esp, 0x10
mov esi, dword [esp + 0x44]
inc esi
push 1
mov dword [esp + 0x48], esi
call fcn.0042f396
mov dword [esp + 0x24], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x2c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x20], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x28], eax
mov byte [eax], 0
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x30]
push edx
push esi
push eax
mov byte [esp + 0x1e8], 0x14
call fcn.00416b90
add esp, 0x1c
test eax, eax
je 0x41b000
mov ecx, dword [esp + 0x18]
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 + 0x2c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x58]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x40]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x60]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x58]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0042f4d9
mov eax, dword [esp + 0x1f4]
add esp, 0x14
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.00430430
add esp, 0x1bc
ret