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

Disassembly:
push 0xffffffffffffffff
push 0x609738
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x66d060]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
xorps xmm0, xmm0
xor edi, edi
mov dword [esp + 0x54], 0
or ebp, 0xffffffff
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
cmp eax, 0xffffffff
je 0x5e2bde
mov dword [esp + 0x20], edi
mov edi, 1
mov dword [esp + 0x54], eax
mov eax, dword [0x67cb70]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x5e2c2b
push eax
call ebx
test eax, eax
je 0x5e2c2b
mov eax, dword [0x67cb70]
cmp eax, 0xffffffff
jne 0x5e2c03
xor ecx, ecx
jmp 0x5e2c0d
push eax
call ebx
mov ecx, eax
mov eax, dword [0x67cb70]
cmp byte [ecx + 0x38], 0
je 0x5e2c2b
mov dword [esp + 0x24], edi
cmp eax, 0xffffffff
jne 0x5e2c20
xor eax, eax
jmp 0x5e2c23
push eax
call ebx
mov eax, dword [eax + 0x34]
mov dword [esp + edi*4 + 0x54], eax
inc edi
xor esi, esi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x80]
and eax, dword [esp + 0x84]
mov dword [esp + 0x6c], esi
cmp eax, 0xffffffff
je 0x5e2d07
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x7c]
call fcn.005e2f90
mov ebx, dword [esp + 0x1c]
cmp ebx, 0x14
jbe 0x5e2cb5
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x5e2d07
lea eax, [esp + 0x78]
push eax
call fcn.005e2940
add esp, 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edx
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
setne al
test al, al
je 0x5e2d07
mov ebp, edi
mov dword [esp + edi*4 + 0x54], esi
inc edi
jmp 0x5e2d07
cmp byte [esp + 0x88], 0
jne 0x5e2d07
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x44]
push 0x469c40
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0
mov byte [esp + 0x44], 1
call fcn.0046ab10
movdqu xmm0, xmmword [esp + 0x34]
add esp, 8
movdqu xmmword [esp + 0x78], xmm0
movdqu xmm0, xmmword [esp + 0x3c]
movdqu xmmword [esp + 0x88], xmm0
cmp ebp, 0xffffffff
mov byte [esp + 0x17], 0
setne cl
xor ebx, ebx
mov byte [esp + 0x16], cl
or edx, 0xffffffff
test cl, cl
jne 0x5e2d43
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x7c]
call fcn.005e2f90
or edx, 0xffffffff
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov al, cl
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x16]
mov byte [esp + 0x17], al
test edi, edi
je 0x5e2dae
test cl, cl
mov eax, ebx
cmovne eax, edx
push eax
push 0
lea eax, [esp + 0x5c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, edi
jae 0x5e2db5
cmp eax, dword [esp + 0x20]
je 0x5e2e11
cmp eax, dword [esp + 0x24]
je 0x5e2ddf
cmp eax, ebp
jne 0x5e2db5
mov dword [esp + 0x6c], 0xffffffff
test esi, esi
je 0x5e2d8d
cmp esi, 0xffffffff
je 0x5e2d8d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0055337c
add esp, 0x5c
ret
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esp + 0x88], 0
je 0x5e2dcf
add dword [esp + 0x80], 2
adc dword [esp + 0x84], 0xffffffff
cmp byte [esp + 0x17], 0
je 0x5e2d75
mov cl, byte [esp + 0x16]
jmp 0x5e2d18
mov eax, dword [0x67cb70]
cmp eax, 0xffffffff
jne 0x5e2ded
xor eax, eax
jmp 0x5e2df4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x66988c
lea eax, [esp + 0x1a]
mov byte [esp + 0x1a], 0
push eax
call fcn.00559436
mov dword [esp + 0x6c], 0xffffffff
test esi, esi
je 0x5e2e29
cmp esi, 0xffffffff
je 0x5e2e29
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x5e2d8f