Function at 0x420aa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab14c
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x4dc6e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 2
mov dword [ebp - 0x70], ebx
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], ecx
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov word [eax], cx
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov word [eax], cx
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x54], eax
mov word [eax], cx
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x5c], eax
mov word [eax], cx
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x58], eax
add esp, 0x18
mov word [eax], cx
cmp dword [ebp + 0x14], 0xffffffff
mov edi, dword [ebp + 0x10]
mov byte [ebp - 4], 5
jne 0x420ca6
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x30], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x18], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x3c], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x34], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x2c], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x24], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x1c], eax
test edi, edi
mov eax, 0x4af9b8
cmovne eax, edi
push eax
call fcn.0048faa4
mov dword [ebp - 0x20], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x38], eax
test edi, edi
mov eax, 0x4af9b8
cmovne eax, edi
push eax
call fcn.0048faa4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push eax
call fcn.00407620
mov esi, eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.00407620
add esp, 0x48
push 0xffffffffffffffff
push ebx
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
push ecx
movzx ecx, byte [ebp + 0x18]
push ecx
push ebx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push esi
push eax
mov eax, dword [ebp + 8]
push ebx
push 0xffffffffffffffff
push ebx
push eax
call fcn.00403eb0
push dword [ebp - 0x40]
mov dword [ebp + 0x14], eax
call fcn.0048faf7
add esp, 0x48
push dword [ebp - 0x50]
call fcn.0048faf7
push dword [ebp - 0x28]
call fcn.0048faf7
push dword [ebp - 0x38]
call fcn.0048faf7
push dword [ebp - 0x20]
call fcn.0048faf7
push dword [ebp - 0x1c]
call fcn.0048faf7
push dword [ebp - 0x24]
call fcn.0048faf7
push dword [ebp - 0x2c]
call fcn.0048faf7
push dword [ebp - 0x34]
call fcn.0048faf7
push dword [ebp - 0x3c]
call fcn.0048faf7
push dword [ebp - 0x18]
call fcn.0048faf7
push dword [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0048faf7
add esp, 0x2c
lea eax, [ebp - 0x44]
push eax
push dword [0x4de020]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push edi
push dword [section..data]
call fcn.00406320
add esp, 0x14
test eax, eax
jne 0x42110a
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov word [eax], cx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x12
push eax
push ecx
push dword [ebp - 0x44]
call fcn.00410500
add esp, 0x10
test eax, eax
jne 0x4210f6
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
push eax
push dword [0x4de020]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push esi
push dword [ebp - 0x44]
call fcn.00406320
add esp, 0x14
test eax, eax
jne 0x4210da
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x4b54dc
push dword [ebp - 0x68]
call fcn.00410620
add esp, 0x14
test eax, eax
jne 0x4210d1
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0xa0], eax
mov word [eax], cx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], ecx
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x13
push eax
push dword [ebp - 0x4c]
call fcn.00406bd0
push dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
call fcn.0048faa4
push esi
mov dword [ebp - 0x48], eax
call fcn.0048faf7
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xa0]
push 0
push eax
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.00404cf0
mov esi, dword [ebp - 0x14]
push dword [eax]
call fcn.0048faa4
push esi
mov dword [ebp - 0x14], eax
call fcn.0048faf7
push dword [ebp - 0x80]
call fcn.0048faf7
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x14]
push ebx
call fcn.00404ce0
add esp, 0x40
mov dword [ebp - 0x84], eax
test edi, edi
mov ecx, 0x4af9b8
cmovne ecx, edi
push ecx
call fcn.0048faa4
mov dword [ebp - 0x3c], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x18], eax
test edi, edi
mov eax, 0x4af9b8
cmovne eax, edi
push eax
call fcn.0048faa4
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.00407620
mov esi, eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
lea eax, [ebp - 0x88]
push eax
call fcn.00407620
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x18
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push esi
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00403c00
add esp, 0x4c
mov bl, al
push dword [ebp - 0x88]
call fcn.0048faf7
push dword [ebp - 0x74]
call fcn.0048faf7
push dword [ebp - 0x30]
call fcn.0048faf7
push dword [ebp - 0x18]
call fcn.0048faf7
push dword [ebp - 0x3c]
call fcn.0048faf7
add esp, 0x14
test bl, bl
je 0x4210bf
cmp dword [ebp + 0x14], 0xffffffff
jne 0x421020
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x64], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x6c], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x60], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x28], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x38], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x20], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x1c], eax
test edi, edi
mov eax, 0x4af9b8
cmovne eax, edi
push eax
call fcn.0048faa4
mov dword [ebp - 0x24], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x2c], eax
test edi, edi
mov eax, 0x4af9b8
cmovne eax, edi
push eax
call fcn.0048faa4
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.00407620
mov esi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x90]
push ebx
push eax
call fcn.00407620
add esp, 0x48
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x24
push ecx
movzx ecx, byte [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x6c]
push 0
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
call fcn.00403eb0
push dword [ebp - 0x90]
mov dword [ebp + 0x14], eax
call fcn.0048faf7
add esp, 0x48
push dword [ebp - 0x78]
call fcn.0048faf7
push dword [ebp - 0x34]
call fcn.0048faf7
push dword [ebp - 0x2c]
call fcn.0048faf7
push dword [ebp - 0x24]
call fcn.0048faf7
push dword [ebp - 0x1c]
call fcn.0048faf7
push dword [ebp - 0x20]
call fcn.0048faf7
push dword [ebp - 0x38]
call fcn.0048faf7
push dword [ebp - 0x28]
call fcn.0048faf7
push dword [ebp - 0x60]
call fcn.0048faf7
push dword [ebp - 0x6c]
call fcn.0048faf7
push dword [ebp - 0x64]
call fcn.0048faf7
add esp, 0x2c
jmp 0x421023
mov ebx, dword [ebp + 0xc]
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x40], eax
test edi, edi
mov eax, 0x4af9b8
cmovne eax, edi
push eax
call fcn.0048faa4
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x8c]
push ebx
push eax
call fcn.00407620
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x27
push ecx
movzx ecx, byte [ebp + 0x18]
push ecx
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push 3
push dword [ebp + 0x14]
push dword [ebp - 0x84]
push dword [ebp + 8]
call fcn.00403eb0
add esp, 0x5c
push dword [ebp - 0x8c]
call fcn.0048faf7
push dword [ebp - 0x50]
call fcn.0048faf7
push dword [ebp - 0x40]
call fcn.0048faf7
add esp, 0xc
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x12
call fcn.00402130
mov ebx, dword [ebp - 0x70]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
inc ebx
push eax
push ebx
push dword [ebp - 0x44]
mov dword [ebp - 0x70], ebx
call fcn.00410500
add esp, 0xc
test eax, eax
je 0x420d00
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call fcn.0048faf7
add esp, 4
push dword [ebp - 0x58]
call fcn.0048faf7
push dword [ebp - 0x5c]
call fcn.0048faf7
push dword [ebp - 0x54]
call fcn.0048faf7
push dword [ebp - 0x48]
call fcn.0048faf7
push dword [ebp - 0x14]
call fcn.0048faf7
push dword [ebp - 0x4c]
call fcn.0048faf7
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret