Function at 0x100eb0d0
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2d0
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x1a8]
mov ecx, 0x18
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], edx
mov eax, dword [edx + 0x60]
xor eax, 1
or eax, dword [edx + 0x64]
jne 0x100eb15b
mov ebx, dword [edx + 0x70]
mov edi, dword [edx + 0x68]
mov esi, dword [edx + 0x6c]
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x100eb11a
mov eax, dword [0x104debfc]
call fcn.100fe060
add eax, edi
adc edx, esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], edx
jb 0x100eb62b
add ebx, ecx
cmp ebx, 0x3b9aca00
mov dword [esp + 0xc], ebx
jb 0x100eb157
add dword [esp + 0x10], 1
adc dword [esp + 8], 0
jb 0x100eb62b
add dword [esp + 0xc], 0xc4653600
mov bl, 1
jmp 0x100eb15d
xor ebx, ebx
mov eax, dword [0x104d5390]
test eax, eax
jne 0x100eb170
mov ecx, 0x104d5390
call fcn.100f2650
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x100eb185
cmp dword [eax], 1
jne 0x100eb185
add eax, 4
jmp 0x100eb192
call fcn.100f27a0
test eax, eax
je 0x100eb601
mov ecx, eax
call fcn.100f2870
mov esi, eax
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x100eb61a
mov ecx, eax
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], esi
lea eax, [esp + 0x58]
lea esi, [esp + 0x80]
add ecx, 8
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0x104205cc
push 0x120
lea eax, [esp + 0x1ac]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x79]
mov ecx, dword [esp + 0x7c]
lea edi, [esp + 0x50]
mov byte [esp + 0x1a0], 0
mov dword [esp + 0x74], ebx
mov dword [esp + 0x1a1], eax
mov dword [esp + 0x1a4], ecx
jmp 0x100eb225
call fcn.100fa490
lea ecx, [esp + 0x28]
mov edx, esi
push edi
call fcn.100eb650
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, 2
jne 0x100eb442
test bl, bl
je 0x100eb2e0
call fcn.100fe060
mov dword [esp + 0x14], ecx
mov ecx, edx
mov ebx, dword [esp + 0x10]
mov esi, edx
mov edx, eax
mov edi, eax
xor eax, eax
xor ecx, dword [esp + 8]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
xor edx, ebx
or edx, ecx
mov ecx, 0xff
setne al
cmp edi, ebx
sbb esi, dword [esp + 8]
cmovb eax, ecx
cmp al, 0xff
je 0x100eb29b
test al, al
jne 0x100eb452
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xc]
jae 0x100eb452
mov eax, dword [0x104debf8]
mov ebx, dword [esp + 0x74]
lea esi, [esp + 0x80]
lea edi, [esp + 0x50]
cmp eax, 5
jb 0x100eb3d3
mov eax, dword [0x104d5390]
test eax, eax
jne 0x100eb2cb
mov ecx, 0x104d5390
call fcn.100f2650
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x100eb34e
cmp dword [eax], 1
jne 0x100eb34e
add eax, 4
jmp 0x100eb35b
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x100eb220
mov eax, dword [0x104d5390]
test eax, eax
jne 0x100eb301
mov ecx, 0x104d5390
call fcn.100f2650
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x100eb316
cmp dword [eax], 1
jne 0x100eb316
add eax, 4
jmp 0x100eb323
call fcn.100f27a0
test eax, eax
je 0x100eb601
mov ecx, eax
call fcn.100f2870
mov dword [esp + 0x28], eax
mov eax, dword [0x104debfc]
mov eax, dword [esp + 0x28]
lock dec dword [eax]
jne 0x100eb220
lea ecx, [esp + 0x28]
call fcn.100f2c20
jmp 0x100eb220
call fcn.100f27a0
test eax, eax
je 0x100eb601
mov ecx, eax
call fcn.100f2870
mov dword [esp + 0x54], eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x60]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
call fcn.100fe310
add esp, 4
mov eax, dword [esp + 0x28]
xor eax, 1
or eax, dword [esp + 0x2c]
jne 0x100eb5f0
mov eax, dword [0x104debfc]
mov eax, dword [esp + 0x54]
lock dec dword [eax]
jne 0x100eb3d3
lea ecx, [esp + 0x54]
call fcn.100f2c20
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x18]
push eax
call fcn.100fe310
add esp, 4
mov eax, dword [esp + 0x28]
xor eax, 1
or eax, dword [esp + 0x2c]
jne 0x100eb5f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push dword [esp + 0x38]
call fcn.100fa8d0
add esp, 4
jmp 0x100eb225
cmp eax, 1
jne 0x100eb46a
mov esi, dword [esp + 0x2c]
mov edi, 1
jmp 0x100eb484
mov eax, dword [0x104debf8]
xor esi, esi
mov edi, 1
cmp eax, 5
jb 0x100eb484
mov eax, dword [0x104debfc]
jmp 0x100eb484
movsd xmm0, qword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
xor edi, edi
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x80]
call fcn.100ebcd0
mov eax, dword [esp + 0x5c]
push dword [esp + 0x58]
call dword [eax + 0xc]
add esp, 4
test edi, edi
je 0x100eb572
mov ecx, dword [esp + 4]
test esi, esi
jne 0x100eb563
call sub.KERNEL32.dll_GetProcessHeap
push 0x54
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x100eb63c
mov dword [eax], 1
mov dword [eax + 4], 0x104190ec
mov esi, eax
mov ecx, dword [esp + 4]
movsd xmm0, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x88]
movsd qword [eax + 8], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm0, qword [esp + 0x90]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esp + 0xa0]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [esp + 0xa8]
movsd qword [eax + 0x30], xmm0
mov eax, dword [esp + 0xb0]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 2
movsd xmm0, qword [esp + 0x1a8]
movsd xmm1, qword [esp + 0x1b0]
movsd qword [esi + 0x40], xmm0
movsd qword [esi + 0x48], xmm1
mov word [esi + 0x50], 5
mov eax, dword [esp + 0x44]
mov dword [eax + 4], esi
mov dword [eax], 1
jmp 0x100eb595
mov ecx, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], esi
movsd qword [ecx + 8], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx], 0
mov ecx, dword [esp + 4]
mov esi, dword [ecx + 0x78]
test esi, esi
je 0x100eb5d1
mov edi, dword [ecx + 0x7c]
push esi
call dword [edi]
mov ecx, dword [esp + 8]
add esp, 4
cmp dword [edi + 4], 0
je 0x100eb5d1
cmp dword [edi + 8], 9
jae 0x100eb5bd
call sub.KERNEL32.dll_GetProcessHeap
push esi
jmp 0x100eb5c5
call sub.KERNEL32.dll_GetProcessHeap
push dword [esi - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x80]
test eax, eax
je 0x100eb5e8
lock dec dword [eax]
jne 0x100eb5e8
sub ecx, 0xffffff80
call fcn.100eaff0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x10422dcf
mov edx, 0x23
push 0x10422df4
jmp 0x100eb610
mov ecx, 0x1042153f
mov edx, 0x5e
push 0x104215a0
call fcn.1000a730
add esp, 4
ud2
mov ecx, 0xc
mov edx, 4
call fcn.10006540
ud2
mov ecx, str.overflow_when_adding_duration_to_instant
mov edx, 0x28
push 0x10422f14
jmp 0x100eb610
mov ecx, 0x54
jmp 0x100eb61f