Function at 0x6322d510
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x100c
call fcn.63212950
mov eax, dword [0x6325fbe0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
mov dword [esp], eax
jne 0x6322d53a
mov eax, 4
add esp, 0x100c
ret
push ebp
push esi
push edi
push 0
push 0xd
call fcn.63230f10
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 8
lea ecx, [esp + 0x10]
push eax
push ecx
call esi
lea edx, [esp + 0x814]
push 0x6325cca8
push edx
call esi
mov eax, dword [esp + 0x101c]
mov ebp, dword [esp + 0x1028]
mov edi, dword [esp + 0x1024]
cmp eax, 0xc
mov byte [esp + 0x1014], 0
mov byte [esp + 0x810], 0
ja case.default.0x6322d594
jmp dword [eax*4 + 0x6322d908]
push 0
push 0x45
call fcn.63230f10
add esp, 8
push eax
lea eax, [esp + 0x14]
push eax
call esi
cmp edi, 0xffffffff
jne 0x6322d5ce
push 0
push 2
call fcn.63230f10
add esp, 8
lea ecx, [esp + 0x814]
push eax
push ecx
jmp 0x6322d7ca
cmp ebp, 0xffffffff
jne 0x6322d5dc
push 0
push 7
jmp 0x6322d69c
push edi
push 0
push 3
call fcn.63230f10
add esp, 8
push eax
lea eax, [esp + 0x81c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x6322d7cc
push 0
push 0x45
call fcn.63230f10
add esp, 8
lea ecx, [esp + 0x10]
push eax
push ecx
call esi
push ebp
push edi
push 0
push 4
call fcn.63230f10
add esp, 8
lea edx, [esp + 0x81c]
push eax
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x6322d7cc
push 0
push 0x42
call fcn.63230f10
add esp, 8
push eax
lea eax, [esp + 0x14]
push eax
call esi
push 0
push 0xa
call fcn.63230f10
add esp, 8
lea ecx, [esp + 0x814]
push eax
push ecx
jmp 0x6322d7ca
push 0
push 0x42
call fcn.63230f10
add esp, 8
lea edx, [esp + 0x10]
push eax
push edx
call esi
push 0
push 0xb
jmp 0x6322d72f
push 0
push 0x42
call fcn.63230f10
add esp, 8
lea ecx, [esp + 0x10]
push eax
push ecx
call esi
push 0
push 0xc
call fcn.63230f10
add esp, 8
lea edx, [esp + 0x814]
push eax
push edx
jmp 0x6322d7ca
push 0
push 0x42
call fcn.63230f10
add esp, 8
push eax
lea eax, [esp + 0x14]
push eax
call esi
push 0
push 8
call fcn.63230f10
add esp, 8
lea ecx, [esp + 0x814]
push eax
push ecx
jmp 0x6322d7ca
push 0
push 0x42
call fcn.63230f10
add esp, 8
lea edx, [esp + 0x10]
push eax
push edx
call esi
push 0
push 9
jmp 0x6322d72f
push 0
push 0x42
call fcn.63230f10
add esp, 8
lea ecx, [esp + 0x10]
push eax
push ecx
jmp 0x6322d7ca
push 0
push 0xe
jmp 0x6322d75c
push 0
push 0xd
call fcn.63230f10
add esp, 8
lea edx, [esp + 0x10]
push eax
push edx
call esi
push 0
push 6
call fcn.63230f10
add esp, 8
push eax
lea eax, [esp + 0x818]
jmp 0x6322d7c9
cmp edi, 0x32
ja case.0x6322d751.1
xor ecx, ecx
mov cl, byte [edi + 0x6322d944]
jmp dword [ecx*4 + 0x6322d93c]
push 0
push 0x42
call fcn.63230f10
add esp, 8
lea edx, [esp + 0x10]
push eax
push edx
call esi
mov eax, dword [esp + 0x102c]
lea ecx, [esp + 0x814]
push eax
push ecx
jmp 0x6322d7ca
push 0
push 0x42
call fcn.63230f10
add esp, 8
lea edx, [esp + 0x10]
push eax
push edx
jmp 0x6322d7ca
push 0
push 0xe
call fcn.63230f10
add esp, 8
push eax
lea eax, [esp + 0x14]
push eax
call esi
mov ecx, dword [esp + 0x102c]
lea edx, [esp + 0x814]
push ecx
push edx
jmp 0x6322d7ca
push 0
push 0x42
call fcn.63230f10
add esp, 8
push eax
lea eax, [esp + 0x14]
push eax
call esi
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x4578]
test eax, eax
jne 0x6322d7fb
cmp dword [esp + 0x101c], 8
je 0x6322d8d7
mov ecx, dword [esp + 0x1020]
or ecx, 0x52000
push ecx
jmp 0x6322d8bb
mov ecx, dword [ecx + 0x457c]
lea edx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x818]
push edx
push ecx
push ebp
mov ebp, dword [esp + 0x102c]
push edi
mov edi, dword [esp + 0x1034]
push edi
push ebp
call eax
lea ecx, [eax - 1]
cmp ecx, 0x64
ja case.0x6322d85f.2
xor edx, edx
mov dl, byte [ecx + 0x6322d998]
jmp dword [edx*4 + 0x6322d978]
mov ecx, edi
and ecx, 0xf
cmp cl, 1
ja case.0x6322d85f.2
jmp case.0x6322d85f.1
mov edx, edi
and edx, 0xf
lea ecx, [edx - 1]
cmp ecx, 0xe
ja case.0x6322d85f.2
xor edx, edx
mov dl, byte [ecx + 0x6322da08]
jmp dword [edx*4 + 0x6322da00]
mov ecx, edi
and ecx, 0xf
cmp ecx, 3
jb case.0x6322d85f.2
cmp ecx, 4
jbe case.0x6322d85f.1
cmp ecx, 0xf
jne case.0x6322d85f.2
jmp case.0x6322d85f.1
mov ecx, edi
and ecx, 0xf
cmp cl, 0xf
jne case.0x6322d85f.2
jmp case.0x6322d85f.1
mov ecx, edi
and ecx, 0xf
sub ecx, 2
je case.0x6322d85f.1
sub ecx, 0xd
jne case.0x6322d85f.2
jmp case.0x6322d85f.1
mov ecx, edi
and ecx, 0xf
sub ecx, 2
je case.0x6322d85f.1
sub ecx, 3
jne case.0x6322d85f.2
cmp eax, 0xffffffff
mov esi, eax
jne 0x6322d8fb
cmp ebp, 8
je 0x6322d8d7
or edi, 0x52000
push edi
lea edx, [esp + 0x14]
lea eax, [esp + 0x818]
push edx
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x6322d8ec
lea ecx, [esp + 0x10]
lea edx, [esp + 0x814]
push ecx
push edx
call fcn.6322ee50
add esp, 8
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call fcn.6322f8d0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x100c
ret
cmp eax, sym.imp.KERNEL32.dll_lstrcpyA
lea eax, [esp + 0x1c]
push esi
push eax
call edi
lea ecx, [esp + 0x1c]
xor bl, bl
push ecx
mov byte [esp + 0x22], bl
call fcn.63214cb4
add esp, 4
mov ebp, eax
lea edx, [esi + 2]
lea eax, [esp + 0x1c]
push edx
push eax
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e], bl
push ecx
call fcn.63214cb4
add esp, 4
mov dword [esp + 0x34], eax
lea edx, [esi + 4]
lea eax, [esp + 0x1c]
push edx
push eax
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e], bl
push ecx
call fcn.63214cb4
add esp, 4
mov dword [esp + 0x18], eax
lea edx, [esi + 6]
lea eax, [esp + 0x1c]
push edx
push eax
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e], bl
push ecx
call fcn.63214cb4
add esp, 4
mov dword [esp + 0x10], eax
lea edx, [esi + 8]
lea eax, [esp + 0x1c]
push edx
push eax
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e], bl
push ecx
call fcn.63214cb4
add esp, 4
add esi, 0xa
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], eax
push esi
push edx
call edi
lea eax, [esp + 0x1c]
mov byte [esp + 0x1e], bl
push eax
call fcn.63214cb4
add esp, 4
cmp ebp, 1
pop edi
pop ebx
jl 0x6322db57
cmp ebp, 0xc
jg 0x6322db57
mov ecx, dword [esp + 0x2c]
cmp ecx, 1
jl 0x6322db57
cmp ecx, 0x1f
jg 0x6322db57
mov esi, dword [esp + 8]
cmp esi, 0x18
jg 0x6322db57
mov edx, dword [esp + 0xc]
cmp edx, 0x3b
jg 0x6322db57
cmp eax, 0x3c
jg 0x6322db57
push eax
mov eax, dword [esp + 0x14]
push edx
push esi
push ecx
xor ecx, ecx
cmp eax, 0x50
push ebp
setge cl
dec ecx
and ecx, 0x64
add ecx, 0x76c
add ecx, eax
push ecx
call fcn.6322db60
add esp, 0x18
pop esi
pop ebp
add esp, 0x20
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret