Function at 0x42f850
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x434e78
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x445010]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445010]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
or ebp, 0xffffffff
xorps xmm0, xmm0
mov dword [esp + 0x28], 0xffffffff
xor edi, edi
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], ebp
movdqu xmmword [esp + 0x38], xmm0
cmp eax, 0xffffffff
je 0x42f8ba
mov dword [esp + 0x28], edi
mov edi, 1
mov dword [esp + 0x38], eax
mov eax, dword [0x445008]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x42f907
push eax
call ebx
test eax, eax
je 0x42f907
mov eax, dword [0x445008]
cmp eax, 0xffffffff
jne 0x42f8df
xor ecx, ecx
jmp 0x42f8e9
push eax
call ebx
mov ecx, eax
mov eax, dword [0x445008]
cmp byte [ecx + 0x38], 0
je 0x42f907
mov dword [esp + 0x24], edi
cmp eax, 0xffffffff
jne 0x42f8fc
xor eax, eax
jmp 0x42f8ff
push eax
call ebx
mov eax, dword [eax + 0x34]
mov dword [esp + edi*4 + 0x38], eax
inc edi
xor esi, esi
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x68]
and eax, dword [esp + 0x6c]
mov dword [esp + 0x54], esi
cmp eax, 0xffffffff
je 0x42f9c8
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x64]
call fcn.0042fcf0
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
je 0x42f9c8
mov eax, 0xcccccccd
mov ebx, 0x20
mul dword [esp + 0x1c]
lea eax, [esp + 0x60]
shr edx, 4
cmp edx, ebx
push eax
cmova ebx, edx
call fcn.0042f3a0
mov ecx, dword [0x4479f4]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
test ecx, ecx
jne 0x42f9a3
push str.SetWaitableTimerEx
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov ecx, 0x42ebb0
cmovne ecx, eax
mov dword [0x4479f4], ecx
push ebx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push esi
call ecx
test eax, eax
setne al
test al, al
je 0x42f9c8
mov ebp, edi
mov dword [esp + 0x20], edi
mov dword [esp + edi*4 + 0x38], esi
inc edi
cmp ebp, 0xffffffff
mov byte [esp + 0x17], 0
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
setne cl
xor ebx, ebx
mov byte [esp + 0x16], cl
or edx, 0xffffffff
test cl, cl
jne 0x42fa0a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x64]
call fcn.0042fcf0
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 0x42fa79
push 0
test cl, cl
mov eax, ebx
cmovne eax, edx
push eax
push 0
lea eax, [esp + 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
cmp eax, edi
jae 0x42fa83
cmp eax, dword [esp + 0x28]
je 0x42fad6
cmp eax, dword [esp + 0x24]
je 0x42faa4
cmp eax, dword [esp + 0x20]
jne 0x42fa83
mov dword [esp + 0x54], 0xffffffff
test esi, esi
je 0x42fa58
cmp esi, 0xffffffff
je 0x42fa58
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004304e8
add esp, 0x44
ret
test ebx, ebx
jne 0x42fa80
push ebx
jmp 0x42fa81
push ebx
call ebp
cmp byte [esp + 0x70], 0
je 0x42fa94
add dword [esp + 0x68], 2
adc dword [esp + 0x6c], 0xffffffff
cmp byte [esp + 0x17], 0
je 0x42fa40
mov cl, byte [esp + 0x16]
jmp 0x42f9df
mov eax, dword [0x445008]
cmp eax, 0xffffffff
jne 0x42fab2
xor eax, eax
jmp 0x42fab9
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x440a6c
lea eax, [esp + 0x1a]
mov byte [esp + 0x1a], 0
push eax
call sub.MSVCR120.dll__CxxThrowException
mov dword [esp + 0x54], 0xffffffff
test esi, esi
je 0x42faee
cmp esi, 0xffffffff
je 0x42faee
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x42fa5a