Function at 0xc52f10
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd7b1b4
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xf4]
mov al, byte [esp + 0xfc]
mov ebp, dword [esp + 0xf8]
mov edi, edx
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], al
test edi, edi
je 0xc53329
cmp dword [ebp + 0x10], 0
je 0xc53329
mov ecx, dword [0xdec194]
cmp ecx, 0xffffffff
jne 0xc52f99
xor ecx, ecx
mov dword [esp + 0x1c], ecx
jmp 0xc52fac
mov edx, dword [0xdec194]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x1c], eax
mov ecx, eax
cmp byte [esp + 0x18], 0
je 0xc52fb8
add esi, 0x14
jmp 0xc52fbb
add esi, 4
xor eax, eax
mov edx, 0xf
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov byte [esp + 0x38], al
mov dword [esp + 0xec], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
mov byte [esp + 0x54], al
mov byte [esp + 0xec], 1
cmp ebx, eax
je 0xc530a6
mov esi, 0x10
cmp dword [ebp + 0x14], esi
jb 0xc53004
mov eax, dword [ebp]
jmp 0xc53006
mov eax, ebp
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
push eax
lea eax, [esp + 0xac]
push eax
mov ecx, ebx
call edx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf0], 2
call fcn.00bc7740
mov byte [esp + 0xec], 1
cmp dword [esp + 0xbc], esi
jb 0xc5304b
mov eax, dword [esp + 0xa8]
push eax
call fcn.00d08a36
add esp, 4
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x38]
lea ebx, [esp + 0x34]
call fcn.00bd8220
mov eax, dword [eax]
mov ecx, edi
cmp eax, dword [ecx + 4]
je 0xc5309a
mov ecx, dword [eax + 0x28]
inc dword [ecx + 0x48]
mov esi, dword [eax + 0x28]
lea ecx, [esp + 0x54]
mov byte [esp + 0xec], 0
call fcn.00c80ca0
lea ecx, [esp + 0x38]
mov dword [esp + 0xec], 0xffffffff
call fcn.00c80ca0
mov eax, esi
jmp 0xc5332b
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0xc53128
mov esi, 0x10
cmp dword [ebp + 0x14], esi
jb 0xc530b9
mov eax, dword [ebp]
jmp 0xc530bb
mov eax, ebp
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
lea eax, [esp + 0xc8]
push eax
call edx
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xf0], 3
call fcn.00bc7740
mov byte [esp + 0xec], 1
cmp dword [esp + 0xd8], esi
jb 0xc530fe
mov eax, dword [esp + 0xc4]
push eax
call fcn.00d08a36
add esp, 4
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x54]
lea ebx, [esp + 0x30]
call fcn.00bd8220
mov eax, dword [eax]
mov ecx, edi
cmp eax, dword [ecx + 4]
jne 0xc53065
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
xor esi, esi
test ebx, ebx
je 0xc53165
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
call fcn.00c53450
mov esi, eax
test esi, esi
je 0xc53161
mov bl, byte [esp + 0x18]
mov ecx, dword [esp + 0x20]
push esi
push ebp
lea eax, [esp + 0x40]
push eax
call fcn.00c53360
mov esi, eax
jmp 0xc5306e
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0xc531a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x58]
call fcn.00c53450
mov esi, eax
test esi, esi
je 0xc5319c
mov bl, byte [esp + 0x18]
mov ecx, dword [esp + 0x20]
push esi
push ebp
lea edx, [esp + 0x5c]
push edx
call fcn.00c53360
mov esi, eax
jmp 0xc5306e
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov eax, 0xf
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], edx
mov byte [esp + 0x8c], dl
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edx
mov byte [esp + 0x70], dl
mov byte [esp + 0xec], 5
cmp ebx, edx
je 0xc5320c
cmp dword [ebp + 0x14], 0x10
jb 0xc531e5
mov eax, dword [ebp]
jmp 0xc531e7
mov eax, ebp
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x8c]
push ecx
push eax
mov ecx, ebx
call edx
test al, al
je 0xc53208
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x40]
push eax
jmp 0xc5323a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0xc5325e
cmp dword [ebp + 0x14], 0x10
jb 0xc5321b
mov eax, dword [ebp]
jmp 0xc5321d
mov eax, ebp
mov edx, dword [ecx]
lea ebx, [esp + 0x8c]
push ebx
push eax
mov eax, dword [edx + 0xc]
call eax
test al, al
je 0xc5325e
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00bc9870
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 8]
push eax
lea ecx, [esp + 0x90]
push ecx
push ebp
mov ecx, edi
call edx
mov esi, eax
jmp 0xc53270
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x7c]
call fcn.00bc9870
cmp dword [ebp + 0x14], 0x10
jb 0xc5327b
mov ecx, dword [ebp]
jmp 0xc5327d
mov ecx, ebp
call fcn.00c5d180
test al, al
je 0xc532e9
test esi, esi
jne 0xc532bf
push 0x4c
call fcn.00d08a50
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0xec], 6
test eax, eax
je 0xc532bb
mov ecx, dword [esp + 0x18]
push ecx
push esi
push ebp
push esi
push eax
lea edx, [esp + 0x84]
call fcn.00c527f0
jmp 0xc532bd
xor eax, eax
mov esi, eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xec], 4
call fcn.00c80ca0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xec], 1
call fcn.00c80ca0
jmp 0xc5306e
mov bl, byte [esp + 0x18]
mov ecx, dword [esp + 0x20]
push esi
push ebp
lea edx, [esp + 0x78]
push edx
call fcn.00c53360
lea ecx, [esp + 0x70]
mov esi, eax
mov byte [esp + 0xec], 4
call fcn.00c80ca0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xec], 1
call fcn.00c80ca0
jmp 0xc5306e
xor eax, eax
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00d08a41
add esp, 0xdc
ret 0xc