Function at 0x456d20
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x63d3e1
push eax
mov eax, 0x3470
mov dword fs:[0], esp
call fcn.00609d40
mov eax, dword [0x6ced74]
push ebx
push ebp
or ebp, 0xffffffff
xor ebx, ebx
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
jne 0x456d68
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, ebp
mov dword [0x6ced74], eax
je 0x456da9
push 0xc
call fcn.00622acb
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x456da9
lea ecx, [esp + 0x20]
mov dword [eax + 4], ebx
mov dword [eax], ecx
mov dword [eax + 8], ebx
mov edx, dword [0x6ced74]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x456da9
mov eax, dword [esp + 0x10]
push eax
call fcn.00622af4
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
mov esi, dword [esp + 0x3498]
mov dword [esp + 0x3488], ebx
cmp esi, ebx
je 0x456f21
lea ecx, [esp + 0x30]
call fcn.0057f400
lea ecx, [esp + 0x28]
mov edi, esi
push ecx
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x348c], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x30], ebx
push ecx
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], ebx
call fcn.00592860
test eax, eax
je 0x456e9d
mov edx, dword [0x6f7b78]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
push str.emc__s
push ecx
mov byte [esp + 0x3494], 2
call fcn.0061fae1
mov esi, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00401070
cmp esi, ebx
je 0x456e8a
mov edi, esi
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x456e8a
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push ebp
push esi
push ebx
push ebx
call edi
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x456e8a
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x456e8a
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push ebp
push esi
push ebx
push ebx
call edi
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3488], 1
call fcn.00622d8a
jmp 0x456ef7
mov ebp, dword [0x6fca90]
lea ecx, [esp + 0x14]
call fcn.00401070
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x456ef7
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push ebp
call edi
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x456ef7
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x456ef7
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push 0xffffffffffffffff
push esi
push ebx
push ebp
call edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x456f08
push eax
call fcn.00609aba
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x3488], bl
call fcn.005ed570
mov edi, dword [esp + 0x10]
or ebp, 0xffffffff
jmp 0x456f58
mov esi, dword [esp + 0x34a0]
cmp esi, ebx
jne 0x456f43
lea ecx, [esp + 0x14]
mov dword [esp + 0x3488], ebp
call fcn.00401070
xor eax, eax
jmp 0x456fef
push esi
lea ecx, [esp + 0x18]
call fcn.00401f20
mov edi, dword [esp + 0x10]
cmp edi, ebx
je 0x456f58
mov dword [edi + 8], esi
call fcn.006304b0
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x456c20
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x456f85
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x349c]
mov ecx, dword [esp + 0x3490]
push edx
push eax
mov eax, dword [esp + 0x349c]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [0x6fcc60], ebx
je 0x456fbf
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esp + 0x20], ebx
mov eax, dword [0x6ced74]
cmp eax, ebp
je 0x456fdd
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp edi, ebx
je 0x456fdd
push edi
call fcn.00622af4
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x3488], ebp
call fcn.00401070
mov eax, esi
mov ecx, dword [esp + 0x3480]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x347c
ret