Function at 0x5df950
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a63d
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 [0x8f20a4]
push edi
setne al
mov dword [ebp + 8], eax
cmp ecx, 0xffffffff
jne 0x5df9c2
mov edi, eax
mov dword [ebp - 0x14], edi
jmp 0x5dfa23
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 0x5dfa21
mov eax, dword [0x8f20a4]
cmp eax, 0xffffffff
jne 0x5df9e3
xor ecx, ecx
jmp 0x5df9ed
push eax
call edi
mov ecx, eax
mov eax, dword [0x8f20a4]
cmp byte [ecx + 0x38], 0
mov dword [ebp - 0x14], esi
je 0x5dfa21
mov dword [ebp - 0x18], esi
cmp eax, 0xffffffff
jne 0x5dfa0f
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 0x5dfa23
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 0x5dfa23
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 0x5dfab4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0xc]
call fcn.005dfe60
mov eax, dword [ebp - 0x34]
cmp eax, 0x14
jbe 0x5dfa94
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 0x5dfab4
lea eax, [ebp + 0xc]
push eax
call fcn.005df6f0
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 0x5dfab4
mov edx, edi
mov dword [ebp + edi*4 - 0x54], esi
inc edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
jmp 0x5dfab7
cmp byte [ebp + 0x1c], 0
jne 0x5dfab4
push 0
push eax
lea ecx, [ebp - 0x74]
call fcn.004e65b0
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 0x5dfbb8
mov eax, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
cmp eax, edx
jne 0x5dfae1
mov byte [ebp - 0x28], 1
lea edi, [edx - 1]
jmp 0x5dfbaa
cmp byte [ebp + 0x1c], 0
je 0x5dfb53
mov ecx, dword [0x9033c0]
test ecx, ecx
jne 0x5dfb18
push str.GetTickCount64
push 0x764e24
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov ecx, 0x4e7f90
cmovne ecx, eax
mov dword [0x9033c0], ecx
call ecx
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
sbb edx, dword [ebp + 0x10]
cmp edx, ecx
ja 0x5dfb46
mov edi, dword [ebp + 0x14]
jb 0x5dfb30
cmp eax, edi
jae 0x5dfb46
sub edi, eax
sbb ecx, edx
jne 0x5dfb3b
cmp edi, 0xfffffffe
jbe 0x5dfba3
mov byte [ebp - 0x28], 1
mov edi, 0xfffffffe
jmp 0x5dfba7
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov edi, dword [ebp - 0x38]
jmp 0x5dfba3
lea eax, [ebp - 0x30]
push fcn.005f2930
push eax
call fcn.004e9330
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, dword [ebp + 0x28]
jg 0x5dfba1
jl 0x5dfb76
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0x24]
jae 0x5dfba1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x24]
call fcn.00558a00
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.006ff4c0
mov edi, eax
add edi, 1
adc edx, 0
jmp 0x5dfb34
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 0x5dfc14
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 0x5dfc1e
cmp eax, dword [ebp - 0x20]
je 0x5dfc3a
cmp eax, dword [ebp - 0x18]
je 0x5dfc5c
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x5dfc21
test esi, esi
je 0x5dfc02
cmp esi, 0xffffffff
je 0x5dfc02
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 0x5dfc1b
push edi
jmp 0x5dfc1c
push edi
call eax
mov edx, dword [ebp - 0x10]
cmp byte [ebp + 0x1c], 0
je 0x5dfc2f
add dword [ebp + 0x14], 2
adc dword [ebp + 0x18], 0xffffffff
cmp byte [ebp + 0xb], 0
je 0x5dfbf2
jmp 0x5dfabd
test esi, esi
je 0x5dfc4a
cmp esi, 0xffffffff
je 0x5dfc4a
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.005df6d0
lea ecx, [eax + 0x34]
call fcn.004e72f0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x831f90
lea eax, [ebp + 0xb]
push eax
call fcn.00700933
int3