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

Disassembly:
push 0xffffffffffffffff
push 0x45f77d
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 + 0x68], esi
call fcn.0042f396
mov dword [esp + 0x50], 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 + 0x30], 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 + 0x68], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x74], eax
add esp, 0x18
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], 5
je 0x42b719
cmp esi, 0xffffffff
jne 0x42b719
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x34], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x30], 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 + 0x30], 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 + 0xb4]
mov eax, ebx
test ebx, ebx
jne 0x42b5da
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x4c], eax
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x38], eax
mov eax, ebx
test ebx, ebx
jne 0x42b600
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x64]
push ebp
push edx
mov byte [esp + 0xb8], 0xf
call fcn.00407af0
mov esi, eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x7c]
push ebp
push edx
mov byte [esp + 0xc8], 0x10
call fcn.00407af0
movzx edx, byte [esp + 0xe0]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x7c]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push edi
mov byte [esp + 0x108], 0x11
call fcn.0040c0f0
mov edx, dword [esp + 0xc4]
add esp, 0x64
push edx
mov esi, eax
call fcn.0042f4d9
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x44]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x58]
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 + 0x38]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x44]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x50]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x5c]
push ecx
mov byte [esp + 0xd4], 5
call fcn.0042f4d9
add esp, 0x30
jmp 0x42b720
mov ebx, dword [esp + 0xb4]
mov eax, dword [0x4746a8]
lea edx, [esp + 0x50]
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 0x42b791
mov edx, dword [esp + 0x5c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x58]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x30]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x28]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0042f4d9
add esp, 0x18
jmp 0x42bc18
push 1
call fcn.0042f396
mov dword [esp + 0x18], eax
mov byte [eax], 0
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x18]
push edx
push 0
push eax
mov byte [esp + 0xb4], 0x12
call fcn.00416b90
add esp, 0x10
test eax, eax
jne 0x42bbc4
jmp 0x42b7d0
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 + 0x58]
push 0
push ebx
push eax
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x42bba0
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x4c]
push ecx
push eax
push eax
push str.Dllname
push edx
call fcn.00416ab0
add esp, 0x14
test eax, eax
jne 0x42bb95
lea ecx, [esp + 0x80]
call fcn.00402320
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x80]
push eax
push ecx
mov byte [esp + 0xac], 0x13
call fcn.0040ef90
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
push edx
call fcn.0042f484
push ebx
mov dword [esp + 0x34], eax
call fcn.0042f4d9
push 0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.0040b350
mov eax, dword [eax]
mov ebx, dword [esp + 0x34]
push eax
call fcn.0042f484
push ebx
mov dword [esp + 0x3c], eax
call fcn.0042f4d9
mov edx, dword [esp + 0xa0]
push edx
call fcn.0042f4d9
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x68]
push ecx
push edx
push edi
call fcn.0040b950
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x58]
push eax
push edi
call fcn.0040bd70
add esp, 0x4c
test al, al
je 0x42bb64
cmp esi, 0xffffffff
jne 0x42ba9b
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 + 0x54], 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 + 0x34], eax
push 0x46043c
call fcn.0042f484
add esp, 0x1c
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0xb4]
mov eax, ebx
test ebx, ebx
jne 0x42b961
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x24], eax
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x28], eax
mov eax, ebx
test ebx, ebx
jne 0x42b987
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x78]
push ebp
push eax
mov byte [esp + 0xb8], 0x1d
call fcn.00407af0
mov esi, eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x90]
push ebp
push eax
mov byte [esp + 0xc8], 0x1e
call fcn.00407af0
movzx edx, byte [esp + 0xe0]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x70]
push ecx
push edx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x64]
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 + 0xd8]
add esp, 0x64
push edx
mov esi, eax
call fcn.0042f4d9
mov eax, dword [esp + 0x70]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x34]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x30]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x34]
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 + 0x6c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x60]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0042f4d9
add esp, 0x30
jmp 0x42baa2
mov ebx, dword [esp + 0xb4]
push 0x46043c
call fcn.0042f484
add esp, 4
mov dword [esp + 0x60], eax
mov eax, ebx
test ebx, ebx
jne 0x42babe
mov eax, 0x46043c
push eax
call fcn.0042f484
mov dword [esp + 0x5c], eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x60]
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 + 0x80]
push edx
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x70]
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 + 0x5c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0042f4d9
add esp, 0xc
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], 0x12
call fcn.00402070
mov edx, dword [esp + 0x84]
push edx
call fcn.0042f2c2
mov eax, dword [esp + 0x84]
push eax
call fcn.0042f4d9
add esp, 8
mov ecx, dword [esp + 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x64]
inc eax
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x58]
push eax
call fcn.00416b90
add esp, 0xc
test eax, eax
je 0x42b7d0
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x60]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x48]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x34]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x64]
push edx
call fcn.0042f4d9
add esp, 0x1c
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