Function at 0x1001a200
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x14
mov eax, dword [0x1002b150]
push ebx
push esi
push edi
push ebp
push eax
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call edi
mov ebp, eax
mov bl, byte [esp + 0x28]
cmp bl, 0xe0
jne 0x1001a621
mov eax, dword [ebp + 0x588]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x1001a532
lea eax, [esp + 0x18]
lea edx, [esp + 0x1c]
lea esi, [esp + 0x14]
push eax
push edx
push esi
push ebx
call ecx
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
cmp dword [esp + 0x14], 0
je 0x1001a443
sub dword [esp + 0x14], 3
mov dword [esp + 0x10], 0x10
mov esi, dword [esp + 0x18]
add dword [esp + 0x18], 3
mov byte [ebp + 0x5c1], 0xe0
mov eax, dword [esp + 0x10]
push 2
lea ecx, [ebp + 0x5bc]
mov byte [ebp + 0x5c2], ah
mov al, byte [esp + 0x14]
push ecx
push 0xffffffffffffffff
lea edx, [ebp + 0x5c0]
push edx
mov byte [ebp + 0x5c3], al
mov dword [ebp + 0x5bc], 4
call fcn.1000e380
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
sub dword [esp + 0x10], 2
mov eax, dword [0x1002b150]
push eax
call edi
mov dword [esp + 0x20], 0xe
mov ebx, eax
mov eax, dword [eax + 0x588]
mov al, byte [eax + 0x78]
mov byte [ebx + 0x50b], al
mov ecx, dword [ebx + 0x588]
mov edx, dword [ecx + 0x7c]
mov byte [ebx + 0x50c], dh
mov ecx, dword [ebx + 0x588]
mov dl, byte [ecx + 0x7c]
mov byte [ebx + 0x50d], dl
push 2
mov ecx, dword [ebx + 0x588]
lea edx, [esp + 0x24]
mov eax, dword [ecx + 0x84]
mov byte [ebx + 0x50e], ah
mov ecx, dword [ebx + 0x588]
push edx
push 0xffffffffffffffff
mov al, byte [ecx + 0x84]
lea ecx, [ebx + 0x504]
push ecx
mov byte [ebx + 0x50f], al
call fcn.1000e380
add esp, 0x10
mov dword [ebx + 0x5d84], eax
test eax, eax
jne 0x1001a359
inc dword [ebx + 0x580]
cmp byte [esi + 2], 0x18
mov byte [ebp + 0x517], 0x13
je 0x1001a36d
mov byte [ebp + 0x517], 0x11
mov al, byte [esi]
mov byte [ebp + 0x518], al
mov cl, byte [esi + 1]
mov byte [ebp + 0x519], cl
mov eax, dword [esp + 0x14]
add eax, 0xa
mov dword [esp + 0x10], eax
push 2
mov byte [ebp + 0x5c1], 0xe0
mov eax, dword [esp + 0x14]
lea ecx, [ebp + 0x5bc]
push ecx
lea edx, [ebp + 0x5c0]
push 0xffffffffffffffff
mov byte [ebp + 0x5c2], ah
mov al, byte [esp + 0x1c]
push edx
mov byte [ebp + 0x5c3], al
mov dword [ebp + 0x5bc], 4
call fcn.1000e380
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
sub dword [esp + 0x10], 2
mov eax, dword [0x1002b150]
push eax
call edi
lea ecx, [eax + 0x512]
mov esi, eax
lea eax, [esp + 0x20]
push 2
mov dword [esp + 0x24], 8
push eax
push 0xffffffffffffffff
push ecx
call fcn.1000e380
lea ecx, [esp + 0x24]
add esp, 0x10
mov dword [esi + 0x5d84], eax
push 2
mov edx, dword [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push edx
call fcn.1000e380
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
mov eax, dword [esp + 0x18]
push eax
call sub.LTKRN70N.dll_Ordinal_208
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov dword [esp + 0x10], 0x10
mov byte [ebp + 0x5c1], 0xe0
mov eax, dword [esp + 0x10]
push 2
mov byte [ebp + 0x5c2], ah
mov al, byte [esp + 0x14]
lea ecx, [ebp + 0x5c0]
mov byte [ebp + 0x5c3], al
lea eax, [ebp + 0x5bc]
push eax
push 0xffffffffffffffff
push ecx
mov dword [eax], 4
call fcn.1000e380
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
sub dword [esp + 0x10], 2
mov eax, dword [0x1002b150]
push eax
call edi
mov dword [esp + 0x20], 0xe
mov esi, eax
mov eax, dword [eax + 0x588]
mov al, byte [eax + 0x78]
mov byte [esi + 0x50b], al
mov ecx, dword [esi + 0x588]
mov edx, dword [ecx + 0x7c]
mov byte [esi + 0x50c], dh
mov ecx, dword [esi + 0x588]
mov dl, byte [ecx + 0x7c]
mov byte [esi + 0x50d], dl
push 2
mov ecx, dword [esi + 0x588]
lea edx, [esp + 0x24]
mov eax, dword [ecx + 0x84]
mov byte [esi + 0x50e], ah
mov ecx, dword [esi + 0x588]
push edx
push 0xffffffffffffffff
mov al, byte [ecx + 0x84]
lea ecx, [esi + 0x504]
push ecx
mov byte [esi + 0x50f], al
call fcn.1000e380
add esp, 0x10
mov dword [esi + 0x5d84], eax
test eax, eax
jne 0x1001a7cb
xor eax, eax
pop ebp
pop edi
inc dword [esi + 0x580]
pop esi
pop ebx
add esp, 0x14
ret
mov dword [esp + 0x10], 0x10
mov byte [ebp + 0x5c1], 0xe0
mov eax, dword [esp + 0x10]
push 2
mov byte [ebp + 0x5c2], ah
mov al, byte [esp + 0x14]
lea ecx, [ebp + 0x5c0]
mov byte [ebp + 0x5c3], al
lea eax, [ebp + 0x5bc]
push eax
push 0xffffffffffffffff
push ecx
mov dword [eax], 4
call fcn.1000e380
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
sub dword [esp + 0x10], 2
mov eax, dword [0x1002b150]
push eax
call edi
mov dword [esp + 0x20], 0xe
mov esi, eax
mov eax, dword [eax + 0x588]
mov al, byte [eax + 0x78]
mov byte [esi + 0x50b], al
mov ecx, dword [esi + 0x588]
mov edx, dword [ecx + 0x7c]
mov byte [esi + 0x50c], dh
mov ecx, dword [esi + 0x588]
mov dl, byte [ecx + 0x7c]
mov byte [esi + 0x50d], dl
push 2
mov ecx, dword [esi + 0x588]
lea edx, [esp + 0x24]
mov eax, dword [ecx + 0x84]
mov byte [esi + 0x50e], ah
mov ecx, dword [esi + 0x588]
push edx
push 0xffffffffffffffff
mov al, byte [ecx + 0x84]
lea ecx, [esi + 0x504]
push ecx
mov byte [esi + 0x50f], al
call fcn.1000e380
add esp, 0x10
mov dword [esi + 0x5d84], eax
test eax, eax
jne 0x1001a7cb
xor eax, eax
pop ebp
pop edi
inc dword [esi + 0x580]
pop esi
pop ebx
add esp, 0x14
ret
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push eax
push ecx
mov eax, dword [ebp + 0x588]
push edx
cmp bl, 0xe1
push ebx
jne 0x1001a719
call dword [eax + 0xcc]
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
cmp dword [esp + 0x14], 0
je 0x1001a7cb
mov eax, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x10], eax
mov byte [ebp + 0x5c1], bl
push 2
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x5c2], ah
mov al, byte [esp + 0x14]
lea ecx, [ebp + 0x5c0]
mov byte [ebp + 0x5c3], al
lea eax, [ebp + 0x5bc]
push eax
push 0xffffffffffffffff
push ecx
mov dword [eax], 4
call fcn.1000e380
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
lea eax, [esp + 0x10]
push 2
mov dword [esp + 0x14], 6
push eax
push 0xffffffffffffffff
push str.Exif
call fcn.1000e380
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
lea eax, [esp + 0x14]
push 2
mov ecx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ecx
call fcn.1000e380
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
mov eax, dword [esp + 0x18]
push eax
call sub.LTKRN70N.dll_Ordinal_208
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
call dword [eax + 0xcc]
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
cmp dword [esp + 0x14], 0
je 0x1001a7cb
cmp bl, 0xe0
jne 0x1001a746
inc dword [ebp + 0x580]
mov eax, dword [esp + 0x14]
sub eax, 2
mov dword [esp + 0x10], eax
mov byte [ebp + 0x5c1], bl
push 2
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x5c2], ah
mov al, byte [esp + 0x14]
lea ecx, [ebp + 0x5c0]
mov byte [ebp + 0x5c3], al
lea eax, [ebp + 0x5bc]
push eax
push 0xffffffffffffffff
push ecx
mov dword [eax], 4
call fcn.1000e380
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
sub dword [esp + 0x10], 2
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x10], eax
ja 0x1001a7cb
cmp dword [esp + 0x10], 0
je 0x1001a7cb
lea eax, [esp + 0x10]
push 2
mov ecx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ecx
call fcn.1000e380
add esp, 0x10
mov dword [ebp + 0x5d84], eax
test eax, eax
jne 0x1001a7cd
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret