Function at 0x5d6360
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73e03d
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 [0x8e2a30]
push edi
setne al
mov dword [ebp + 8], eax
cmp ecx, 0xffffffff
jne 0x5d63d2
mov edi, eax
mov dword [ebp - 0x14], edi
jmp 0x5d6433
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 0x5d6431
mov eax, dword [0x8e2a30]
cmp eax, 0xffffffff
jne 0x5d63f3
xor ecx, ecx
jmp 0x5d63fd
push eax
call edi
mov ecx, eax
mov eax, dword [0x8e2a30]
cmp byte [ecx + 0x38], 0
mov dword [ebp - 0x14], esi
je 0x5d6431
mov dword [ebp - 0x18], esi
cmp eax, 0xffffffff
jne 0x5d641f
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 0x5d6433
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 0x5d6433
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 0x5d64c4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0xc]
call fcn.005d6870
mov eax, dword [ebp - 0x34]
cmp eax, 0x14
jbe 0x5d64a4
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 0x5d64c4
lea eax, [ebp + 0xc]
push eax
call fcn.005d6100
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 0x5d64c4
mov edx, edi
mov dword [ebp + edi*4 - 0x54], esi
inc edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
jmp 0x5d64c7
cmp byte [ebp + 0x1c], 0
jne 0x5d64c4
push 0
push eax
lea ecx, [ebp - 0x74]
call fcn.0052b470
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 0x5d65c8
mov eax, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
cmp eax, edx
jne 0x5d64f1
mov byte [ebp - 0x28], 1
lea edi, [edx - 1]
jmp 0x5d65ba
cmp byte [ebp + 0x1c], 0
je 0x5d6563
mov ecx, dword [0xae9b60]
test ecx, ecx
jne 0x5d6528
push str.GetTickCount64
push 0x783680
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov ecx, 0x52de20
cmovne ecx, eax
mov dword [0xae9b60], ecx
call ecx
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
sbb edx, dword [ebp + 0x10]
cmp edx, ecx
ja 0x5d6556
mov edi, dword [ebp + 0x14]
jb 0x5d6540
cmp eax, edi
jae 0x5d6556
sub edi, eax
sbb ecx, edx
jne 0x5d654b
cmp edi, 0xfffffffe
jbe 0x5d65b3
mov byte [ebp - 0x28], 1
mov edi, 0xfffffffe
jmp 0x5d65b7
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov edi, dword [ebp - 0x38]
jmp 0x5d65b3
lea eax, [ebp - 0x30]
push fcn.005e6190
push eax
call fcn.00531d20
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, dword [ebp + 0x28]
jg 0x5d65b1
jl 0x5d6586
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0x24]
jae 0x5d65b1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x24]
call fcn.0054c250
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.006f2d30
mov edi, eax
add edi, 1
adc edx, 0
jmp 0x5d6544
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 0x5d6624
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 0x5d662e
cmp eax, dword [ebp - 0x20]
je 0x5d664a
cmp eax, dword [ebp - 0x18]
je 0x5d666c
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x5d6631
test esi, esi
je 0x5d6612
cmp esi, 0xffffffff
je 0x5d6612
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 0x5d662b
push edi
jmp 0x5d662c
push edi
call eax
mov edx, dword [ebp - 0x10]
cmp byte [ebp + 0x1c], 0
je 0x5d663f
add dword [ebp + 0x14], 2
adc dword [ebp + 0x18], 0xffffffff
cmp byte [ebp + 0xb], 0
je 0x5d6602
jmp 0x5d64cd
test esi, esi
je 0x5d665a
cmp esi, 0xffffffff
je 0x5d665a
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.005d60e0
lea ecx, [eax + 0x34]
call fcn.00515170
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x82244c
lea eax, [ebp + 0xb]
push eax
call fcn.006f41a3
int3