Function at 0x1f0245b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1f0563de
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push edi
xor edi, edi
cmp dword [0x1f083748], edi
jne 0x1f024b5a
mov eax, dword [0x1f083774]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
push ebp
push esi
push eax
mov dword [0x1f083748], 1
mov dword [0x1f06c378], edi
mov dword [0x1f06c37c], edi
call ebx
mov eax, dword [0x1f0837c4]
push eax
cmp eax, 0x40
jae 0x1f024613
call section..text
jmp 0x1f024619
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1f0837c4]
mov dword [esp + 0x10], eax
inc eax
push eax
push ecx
cmp ecx, 0x40
jae 0x1f024632
call fcn.1f001021
jmp 0x1f024638
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [0x1f083718]
cmp ecx, edi
je 0x1f0246ea
call fcn.1f020030
cmp dword [esp + 0x25c], edi
je 0x1f0246de
push 0x408
call fcn.1f03e9a2
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x254], edi
cmp eax, edi
je 0x1f024684
push 0x1f082c10
mov ecx, eax
call fcn.1f02f160
mov esi, eax
jmp 0x1f024686
xor esi, esi
mov dword [esp + 0x254], 0xffffffff
mov ecx, esi
mov dword [esp + 0x18], 0x26
call fcn.1f02f1a0
push 0x234
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.1f02f220
mov ecx, esi
call fcn.1f02f1e0
cmp esi, edi
je 0x1f0246cc
mov ecx, esi
call fcn.1f02f280
push esi
call fcn.1f03e97c
add esp, 4
mov edx, dword [0x1f0837ac]
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x1f0837ac]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1f08370c]
cmp ecx, edi
je 0x1f02471e
push 0xbb8
call fcn.1f02f5d0
mov ecx, dword [0x1f08370c]
mov esi, ecx
cmp ecx, edi
je 0x1f024718
call fcn.1f02f680
push esi
call fcn.1f03e97c
add esp, 4
mov dword [0x1f08370c], edi
mov ecx, dword [0x1f083790]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [0x1f083778]
push edx
call ebx
mov ecx, dword [0x1f083720]
cmp ecx, edi
je 0x1f024750
mov eax, dword [esp + 0x25c]
push 0x1388
push eax
call fcn.1f009580
cmp dword [0x1f083768], edi
jbe 0x1f024791
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, edi
mov ecx, dword [0x1f083730]
push 0x1388
push ecx
call esi
test eax, eax
je 0x1f024789
push 0x34
push str.Warning
push str.Some_process_internal_calls_are_not_finished._r_nIf_you_dont_wait_their_end_now__your_process_will_crash_when_internal_call_will_end._r_nDo_you_want_to_wait_more___r_n
push edi
call fcn.1f020720
cmp eax, 6
jne 0x1f024791
cmp dword [0x1f083768], edi
ja 0x1f024760
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push eax
call edi
push 0xf
mov esi, eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call ebx
call fcn.1f015f80
mov ecx, dword [0x1f08371c]
test ecx, ecx
je 0x1f0247cf
cmp dword [esp + 0x25c], 0
jne 0x1f0247cf
call fcn.1f027890
mov edx, dword [0x1f083728]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x1f0837a4]
test eax, eax
je 0x1f02488b
push eax
call edi
mov edi, eax
cmp edi, 0x7fffffff
jne 0x1f0247f8
xor edi, edi
push esi
call ebp
push eax
call ebx
mov eax, dword [0x1f0837a4]
push 0xf
push eax
call ebx
cmp dword [esp + 0x25c], 0
je 0x1f024823
mov ecx, dword [0x1f0837a4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1f02486d
cmp dword [0x1f08374c], 0
jne 0x1f02486d
xor esi, esi
mov edi, edi
cmp dword [0x1f08374c], 0
jne 0x1f02486d
mov eax, dword [0x1f083700]
test eax, eax
je 0x1f02486d
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.1f02db00
test eax, eax
jbe 0x1f02486d
mov eax, dword [0x1f0837a4]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1f02486d
inc esi
cmp esi, 0x3c
jb 0x1f024830
mov ecx, dword [0x1f0837a4]
push edi
push ecx
call ebx
push 0xf
call ebp
push eax
call ebx
push 0x1f0837a4
call fcn.1f02a010
add esp, 4
cmp dword [0x1f08374c], 0
jne 0x1f0248cc
mov eax, dword [0x1f0837d0]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.1f02db80
mov eax, dword [0x1f0837cc]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.1f02db80
mov eax, dword [0x1f083700]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.1f02db80
call fcn.1f01d460
push 0x1f083730
call fcn.1f02a010
mov ecx, dword [0x1f083718]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x1f0248fb
mov esi, ecx
call fcn.1f0201b0
push esi
call fcn.1f03e97c
add esp, 4
mov dword [0x1f083718], edi
mov ecx, dword [0x1f08371c]
cmp ecx, edi
je 0x1f02491b
mov esi, ecx
call fcn.1f027a80
push esi
call fcn.1f03e97c
add esp, 4
mov dword [0x1f08371c], edi
mov ecx, dword [0x1f083720]
cmp ecx, edi
je 0x1f024957
mov eax, dword [esp + 0x25c]
push 0x3e8
push eax
call fcn.1f009580
mov ecx, dword [0x1f083720]
mov esi, ecx
cmp ecx, edi
je 0x1f024951
call fcn.1f008ff0
push esi
call fcn.1f03e97c
add esp, 4
mov dword [0x1f083720], edi
mov eax, dword [0x1f0836f4]
cmp eax, edi
je 0x1f024976
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0x1f0836f4], edi
mov eax, dword [0x1f0836f8]
cmp eax, edi
je 0x1f024995
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0x1f0836f8], edi
mov eax, dword [0x1f0836fc]
cmp eax, edi
je 0x1f0249b4
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0x1f0836fc], edi
mov eax, dword [0x1f083700]
cmp eax, edi
je 0x1f0249d3
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0x1f083700], edi
mov eax, dword [0x1f083704]
cmp eax, edi
je 0x1f0249f2
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0x1f083704], edi
mov ecx, dword [0x1f083708]
cmp ecx, edi
je 0x1f024a12
mov esi, ecx
call fcn.1f02f280
push esi
call fcn.1f03e97c
add esp, 4
mov dword [0x1f083708], edi
mov ecx, dword [0x1f083714]
cmp ecx, edi
je 0x1f024a32
mov esi, ecx
call fcn.1f026ff0
push esi
call fcn.1f03e97c
add esp, 4
mov dword [0x1f083714], edi
push 0x1f083750
call fcn.1f02a010
push 0x1f083754
call fcn.1f02a010
push 0x1f083758
call fcn.1f02a010
push 0x1f08375c
call fcn.1f02a010
push 0x1f083760
call fcn.1f02a010
push 0x1f08376c
call fcn.1f02a010
push 0x1f083780
call fcn.1f02a010
push 0x1f083784
call fcn.1f02a010
push 0x1f083788
call fcn.1f02a010
push 0x1f08378c
call fcn.1f02a010
push 0x1f083794
call fcn.1f02a010
push 0x1f08372c
call fcn.1f02a010
push 0x1f083790
call fcn.1f02a010
push 0x1f083774
call fcn.1f02a010
push 0x1f083778
call fcn.1f02a010
push 0x1f083798
call fcn.1f02a010
mov eax, dword [0x1f0837c0]
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
add esp, 0x40
push eax
call esi
mov ecx, dword [0x1f0837c4]
push ecx
call esi
mov edx, dword [0x1f0837c8]
push edx
call esi
push 0x1f083734
call fcn.1f02a010
add esp, 4
call fcn.1f0237d0
mov eax, dword [0x1f08377c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f08377c
call fcn.1f02a010
mov eax, dword [0x1f0837c4]
add esp, 4
pop esi
pop ebp
pop ebx
cmp eax, 0x40
jae 0x1f024b4e
mov ecx, dword [esp + 4]
push ecx
push eax
call fcn.1f001021
pop edi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
add esp, 0x248
ret
mov edx, dword [esp + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x240]
pop edi
mov dword fs:[0], ecx
add esp, 0x248
ret