Function at 0x10010dd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
cmp byte [0x100524c0], 0
je 0x100110a0
mov byte [ebp - 0x14], 0x52
xor edx, edx
mov byte [ebp - 0x13], 0x46
mov byte [ebp - 0x12], 0x4a
mov byte [ebp - 0x11], 0x4e
mov byte [ebp - 0x10], 0xbe
mov byte [ebp - 0xf], 0xbe
mov byte [ebp - 0xe], 0xf8
mov byte [ebp - 0xd], 0xee
mov byte [ebp - 0xc], 0xcb
mov byte [ebp - 0xb], 0x8a
mov byte [ebp - 0xa], 0x9b
push ebx
mov byte [ebp - 9], 0x94
mov ebx, 0x2e5
mov byte [ebp - 8], 0x81
mov al, byte [ebp - 0x14]
push esi
mov dword [ebp - 4], 0xfffffff6
nop word [eax + eax]
mov al, byte [ebp + edx - 0x14]
lea edx, [edx + 1]
mov cl, bl
add ebx, 8
xor cl, byte [ebp - 4]
dec dword [ebp - 4]
xor cl, al
xor cl, 0x2e
mov byte [ebp + edx - 0x15], cl
cmp ebx, 0x34d
jb 0x10010e30
lea eax, [ebp - 0x14]
mov byte [ebp - 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
xor ecx, ecx
mov byte [ebp + ecx - 0x14], 0
inc ecx
cmp ecx, 0xd
jb 0x10010e65
test esi, esi
je 0x10011099
mov byte [ebp - 0x24], 0x5a
xor edx, edx
mov byte [ebp - 0x23], 0x5a
mov ebx, 0x2e5
mov byte [ebp - 0x22], 0x7d
mov byte [ebp - 0x21], 0x45
mov byte [ebp - 0x20], 0xb8
mov byte [ebp - 0x1f], 0xb6
mov byte [ebp - 0x1e], 0x9b
mov byte [ebp - 0x1d], 0xb5
mov byte [ebp - 0x1c], 0x9d
mov byte [ebp - 0x1b], 0x8b
mov byte [ebp - 0x1a], 0x9b
mov byte [ebp - 0x19], 0x8b
mov byte [ebp - 0x18], 0x81
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xfffffff6
nop dword [eax]
mov al, byte [ebp + edx - 0x24]
lea edx, [edx + 1]
mov cl, bl
add ebx, 8
xor cl, byte [ebp - 4]
dec dword [ebp - 4]
xor cl, al
xor cl, 0x2e
mov byte [ebp + edx - 0x25], cl
cmp ebx, 0x34d
jb 0x10010ec0
lea eax, [ebp - 0x24]
mov byte [ebp - 0x18], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov byte [ebp + ecx - 0x24], 0
inc ecx
cmp ecx, 0xd
jb 0x10010ef4
test eax, eax
je 0x10011099
cmp byte [eax + 5], 0xa1
jne 0x10010f15
mov eax, dword [eax + 6]
jmp 0x10011062
cmp byte [eax + 7], 0x83
jne 0x10010f29
cmp byte [eax + 8], 0x3d
jne 0x10010f29
mov eax, dword [eax + 9]
jmp 0x10011062
push edi
mov edi, dword [esi + 0x3c]
xor edx, edx
mov byte [ebp - 0x44], 0x45
mov ebx, 0x2e5
mov byte [ebp - 0x43], 0x4e
mov byte [ebp - 0x42], 0x10
mov byte [ebp - 0x41], 0x1f
mov byte [ebp - 0x40], 0xe6
mov byte [ebp - 0x3f], 0xed
mov byte [ebp - 0x3e], 0xb3
mov byte [ebp - 0x3d], 0xe3
mov byte [ebp - 0x3c], 0xda
mov byte [ebp - 0x3b], 0xd1
mov byte [ebp - 0x3a], 0xc8
mov byte [ebp - 0x39], 0x80
mov byte [ebp - 0x38], 0xf9
mov byte [ebp - 0x37], 0xf2
mov byte [ebp - 0x36], 0x93
mov al, byte [ebp - 0x44]
mov dword [ebp - 4], 0xfffffff6
nop word [eax + eax]
mov al, byte [ebp + edx - 0x44]
lea edx, [edx + 1]
mov cl, bl
add ebx, 8
xor cl, byte [ebp - 4]
dec dword [ebp - 4]
xor cl, al
xor cl, 0x2e
mov byte [ebp + edx - 0x45], cl
cmp ebx, 0x35d
jb 0x10010f80
mov byte [ebp - 0x36], 0
xor edx, edx
mov byte [ebp - 0x34], 0xc2
mov ebx, 0x2e5
mov byte [ebp - 0x33], 0x23
mov byte [ebp - 0x32], 0x2f
mov byte [ebp - 0x31], 0x20
mov byte [ebp - 0x30], 0xd9
mov byte [ebp - 0x2f], 0xd2
mov byte [ebp - 0x2e], 0x68
mov byte [ebp - 0x2d], 0xdc
mov byte [ebp - 0x2c], 0xe5
mov byte [ebp - 0x2b], 0xee
mov byte [ebp - 0x2a], 0xf7
mov byte [ebp - 0x29], 0x7b
mov byte [ebp - 0x28], 0x79
mov byte [ebp - 0x27], 0x75
mov byte [ebp - 0x26], 0x93
mov al, byte [ebp - 0x34]
mov dword [ebp - 4], 0xfffffff6
mov al, byte [ebp + edx - 0x34]
lea edx, [edx + 1]
mov cl, bl
add ebx, 8
xor cl, byte [ebp - 4]
dec dword [ebp - 4]
xor cl, al
xor cl, 0x2e
mov byte [ebp + edx - 0x35], cl
cmp ebx, 0x35d
jb 0x10010ff4
mov ecx, dword [edi + esi + 0x2c]
lea eax, [ebp - 0x44]
mov edx, dword [edi + esi + 0x1c]
add ecx, esi
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 0x26], 0
push eax
call fcn.10017d10
add esp, 8
mov edx, eax
xor ecx, ecx
pop edi
nop word [eax + eax]
mov byte [ebp + ecx - 0x34], 0
inc ecx
cmp ecx, 0xf
jb 0x10011040
xor eax, eax
nop dword [eax]
mov byte [ebp + eax - 0x44], 0
inc eax
cmp eax, 0xf
jb 0x10011050
test edx, edx
je 0x10011099
mov eax, dword [edx + 7]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x10011099
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0x400], 0x1000d710
je 0x10011099
mov ecx, dword [eax + 0x400]
mov byte [0x10051ac8], 0
mov dword [0x10053998], ecx
mov dword [eax + 0x400], 0x1000d710
mov al, byte [0x10051ac8]
pop esi
pop ebx
mov eax, dword [0x100524bc]
cmp byte [eax + 0x40], 0
mov ecx, dword [eax + 0x18]
je 0x100110b5
mov eax, dword [eax + 0x44]
add eax, ecx
jmp 0x100110b7
mov eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x10011100
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x10011100
cmp ecx, 0x1000d7d0
je 0x10011100
mov dword [eax + 0x90], 0x1000d7d0
mov al, 1
mov dword [0x1005c388], 0
mov dword [0x100539a8], 0
mov byte [0x100539a4], 0
mov dword [0x10053994], ecx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret