Function at 0x5e37d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74f09d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
cmp ecx, 0xffffffff
movq qword [ebp - 0x54], xmm0
mov eax, dword [ebp - 0x54]
cmovne eax, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], eax
xor eax, eax
cmp ecx, 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
push esi
setne al
mov dword [ebp - 0x10], 0xffffffff
dec eax
mov dword [ebp - 0x20], eax
xor eax, eax
cmp ecx, 0xffffffff
mov ecx, dword [0x8f8344]
push edi
setne al
mov dword [ebp + 8], eax
cmp ecx, 0xffffffff
jne 0x5e3842
mov edi, eax
mov dword [ebp - 0x14], edi
jmp 0x5e38a3
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
call edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], esi
test eax, eax
je 0x5e38a1
mov eax, dword [0x8f8344]
cmp eax, 0xffffffff
jne 0x5e3863
xor ecx, ecx
jmp 0x5e386d
push eax
call edi
mov ecx, eax
mov eax, dword [0x8f8344]
cmp byte [ecx + 0x38], 0
mov dword [ebp - 0x14], esi
je 0x5e38a1
mov dword [ebp - 0x18], esi
cmp eax, 0xffffffff
jne 0x5e388f
xor eax, eax
lea edi, [esi + 1]
mov dword [ebp - 0x14], edi
mov eax, dword [eax + 0x34]
mov dword [ebp + esi*4 - 0x54], eax
jmp 0x5e38a3
push eax
call edi
lea edi, [esi + 1]
mov dword [ebp - 0x14], edi
mov eax, dword [eax + 0x34]
mov dword [ebp + esi*4 - 0x54], eax
jmp 0x5e38a3
mov edi, esi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
mov dword [ebp - 4], esi
cmp eax, 0xffffffff
je 0x5e3934
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0xc]
call fcn.005e3ce0
mov eax, dword [ebp - 0x34]
cmp eax, 0x14
jbe 0x5e3914
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x5e3934
lea eax, [ebp + 0xc]
push eax
call fcn.005e3570
add esp, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edx
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
je 0x5e3934
mov edx, edi
mov dword [ebp + edi*4 - 0x54], esi
inc edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
jmp 0x5e3937
cmp byte [ebp + 0x1c], 0
jne 0x5e3934
push 0
push eax
lea ecx, [ebp - 0x74]
call fcn.004e9a80
movups xmm0, xmmword [eax]
movups xmmword [ebp + 0xc], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp + 0x1c], xmm0
or edx, 0xffffffff
mov byte [ebp + 0xb], 0
xor edi, edi
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edx, 0xffffffff
jne 0x5e3a38
mov eax, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
cmp eax, edx
jne 0x5e3961
mov byte [ebp - 0x28], 1
lea edi, [edx - 1]
jmp 0x5e3a2a
cmp byte [ebp + 0x1c], 0
je 0x5e39d3
mov ecx, dword [0x9098e0]
test ecx, ecx
jne 0x5e3998
push str.GetTickCount64
push 0x76a334
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov ecx, 0x4eb410
cmovne ecx, eax
mov dword [0x9098e0], ecx
call ecx
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
sbb edx, dword [ebp + 0x10]
cmp edx, ecx
ja 0x5e39c6
mov edi, dword [ebp + 0x14]
jb 0x5e39b0
cmp eax, edi
jae 0x5e39c6
sub edi, eax
sbb ecx, edx
jne 0x5e39bb
cmp edi, 0xfffffffe
jbe 0x5e3a23
mov byte [ebp - 0x28], 1
mov edi, 0xfffffffe
jmp 0x5e3a27
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov edi, dword [ebp - 0x38]
jmp 0x5e3a23
lea eax, [ebp - 0x30]
push fcn.005f67b0
push eax
call fcn.004ec620
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, dword [ebp + 0x28]
jg 0x5e3a21
jl 0x5e39f6
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0x24]
jae 0x5e3a21
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x24]
call fcn.0055e000
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.00703390
mov edi, eax
add edi, 1
adc edx, 0
jmp 0x5e39b4
xor edi, edi
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov byte [ebp + 0xb], al
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5e3a94
cmp edx, 0xffffffff
mov eax, edi
push 0
mov edx, 0xffffffff
cmovne eax, edx
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
cmp eax, dword [ebp - 0x14]
jae 0x5e3a9e
cmp eax, dword [ebp - 0x20]
je 0x5e3aba
cmp eax, dword [ebp - 0x18]
je 0x5e3adc
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x5e3aa1
test esi, esi
je 0x5e3a82
cmp esi, 0xffffffff
je 0x5e3a82
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x5e3a9b
push edi
jmp 0x5e3a9c
push edi
call eax
mov edx, dword [ebp - 0x10]
cmp byte [ebp + 0x1c], 0
je 0x5e3aaf
add dword [ebp + 0x14], 2
adc dword [ebp + 0x18], 0xffffffff
cmp byte [ebp + 0xb], 0
je 0x5e3a72
jmp 0x5e393d
test esi, esi
je 0x5e3aca
cmp esi, 0xffffffff
je 0x5e3aca
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.005e3550
lea ecx, [eax + 0x34]
call fcn.004ea780
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x837af0
lea eax, [ebp + 0xb]
push eax
call fcn.00704803
int3