Function at 0xc9c830
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd1db8b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0xd916ec]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xd916ec]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
xor ebx, ebx
mov esi, ecx
mov edi, edx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0xb0], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x50]
push ecx
push str.strings.xml
mov ecx, esi
call edx
test al, al
je 0xc9c983
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push str.strings.xml
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0xb0], 1
mov eax, dword [0xd9b6dc]
cmp eax, 0xffffffff
jne 0xc9c8d3
xor eax, eax
jmp 0xc9c8e0
mov ecx, dword [0xd9b6dc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [esp + 0x80], 0x10
mov ecx, dword [esp + 0x6c]
jae 0xc9c8f2
lea ecx, [esp + 0x6c]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ebp
push 0xd3f2fc
push ebx
push 0xd3f2f4
push ecx
push ebx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call edx
mov byte [esp + 0xb0], bl
test al, al
jne 0xc9c96c
mov esi, 0x10
cmp dword [esp + 0x80], esi
jb 0xc9c934
mov eax, dword [esp + 0x6c]
push eax
call fcn.00cb8a36
add esp, 4
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x64], esi
jb 0xc9c965
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00cb8a36
add esp, 4
xor al, al
jmp 0xc9cbc7
cmp dword [esp + 0x80], 0x10
jb 0xc9c983
mov edx, dword [esp + 0x6c]
push edx
call fcn.00cb8a36
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0xb0], 2
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x18]
push ecx
push str.ime_skin.manifest
mov ecx, esi
call edx
test al, al
jne 0xc9c9e6
mov esi, 0x10
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x2c], esi
jb 0xc9c9d1
mov eax, dword [esp + 0x18]
push eax
call fcn.00cb8a36
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jmp 0xc9c947
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
push str.ime_skin.manifest
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call edx
mov byte [esp + 0xb0], 3
mov eax, dword [0xd9b6dc]
cmp eax, 0xffffffff
jne 0xc9ca0f
xor eax, eax
jmp 0xc9ca1c
mov ecx, dword [0xd9b6dc]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 0x34]
mov esi, 0x10
cmp dword [esp + 0x48], esi
jae 0xc9ca2f
lea ecx, [esp + 0x34]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push edi
push 0xd3f2fc
push ebx
push str.ime_skin
push ecx
push ebp
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call edx
test al, al
jne 0xc9caca
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x48], esi
jb 0xc9ca6a
mov eax, dword [esp + 0x34]
push eax
call fcn.00cb8a36
add esp, 4
mov edi, 0xf
mov byte [esp + 0xb0], bl
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], esi
jb 0xc9ca95
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00cb8a36
add esp, 4
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], esi
jb 0xc9c965
mov edx, dword [esp + 0x50]
push edx
call fcn.00cb8a36
add esp, 4
xor al, al
jmp 0xc9cbc7
mov eax, dword [ebp + 4]
mov edi, dword [eax]
mov dword [esp + 0x14], edi
cmp edi, eax
je 0xc9cb55
jmp 0xc9cae0
lea eax, [edi + 0x28]
push eax
lea esi, [esp + 0x8c]
call fcn.00c03fa0
add esp, 4
lea ecx, [edi + 0x28]
push eax
mov byte [esp + 0xb4], 4
call fcn.00b77740
mov esi, 0x10
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x9c], esi
jb 0xc9cb2a
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00cb8a36
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00b7bc50
mov edi, dword [esp + 0x14]
cmp edi, dword [ebp + 4]
jne 0xc9cae0
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x48], esi
jb 0xc9cb70
mov edx, dword [esp + 0x34]
push edx
call fcn.00cb8a36
add esp, 4
mov edi, 0xf
mov byte [esp + 0xb0], bl
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], esi
jb 0xc9cb9b
mov eax, dword [esp + 0x18]
push eax
call fcn.00cb8a36
add esp, 4
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], esi
jb 0xc9cbc5
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00cb8a36
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00cb8a41
add esp, 0xa0
ret