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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1f05624e
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push edi
xor edi, edi
cmp dword [0x1f083748], edi
jne 0x1f024aba
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 0x1f024573
call section..text
jmp 0x1f024579
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 0x1f024592
call fcn.1f001021
jmp 0x1f024598
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [0x1f083718]
cmp ecx, edi
je 0x1f02464a
call fcn.1f01ffa0
cmp dword [esp + 0x25c], edi
je 0x1f02463e
push 0x408
call fcn.1f03e832
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x254], edi
cmp eax, edi
je 0x1f0245e4
push 0x1f082c10
mov ecx, eax
call fcn.1f02f050
mov esi, eax
jmp 0x1f0245e6
xor esi, esi
mov dword [esp + 0x254], 0xffffffff
mov ecx, esi
mov dword [esp + 0x18], 0x26
call fcn.1f02f090
push 0x234
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.1f02f110
mov ecx, esi
call fcn.1f02f0d0
cmp esi, edi
je 0x1f02462c
mov ecx, esi
call fcn.1f02f170
push esi
call fcn.1f03e80c
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 0x1f02467e
push 0xbb8
call fcn.1f02f4c0
mov ecx, dword [0x1f08370c]
mov esi, ecx
cmp ecx, edi
je 0x1f024678
call fcn.1f02f560
push esi
call fcn.1f03e80c
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 0x1f0246b0
mov eax, dword [esp + 0x25c]
push 0x1388
push eax
call fcn.1f009930
cmp dword [0x1f083768], edi
jbe 0x1f0246f1
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 0x1f0246e9
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.1f020690
cmp eax, 6
jne 0x1f0246f1
cmp dword [0x1f083768], edi
ja 0x1f0246c0
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.1f015ee0
mov ecx, dword [0x1f08371c]
test ecx, ecx
je 0x1f02472f
cmp dword [esp + 0x25c], 0
jne 0x1f02472f
call fcn.1f0277f0
mov edx, dword [0x1f083728]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x1f0837a4]
test eax, eax
je 0x1f0247eb
push eax
call edi
mov edi, eax
cmp edi, 0x7fffffff
jne 0x1f024758
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 0x1f024783
mov ecx, dword [0x1f0837a4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1f0247cd
cmp dword [0x1f08374c], 0
jne 0x1f0247cd
xor esi, esi
mov edi, edi
cmp dword [0x1f08374c], 0
jne 0x1f0247cd
mov eax, dword [0x1f083700]
test eax, eax
je 0x1f0247cd
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.1f02d9f0
test eax, eax
jbe 0x1f0247cd
mov eax, dword [0x1f0837a4]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1f0247cd
inc esi
cmp esi, 0x3c
jb 0x1f024790
mov ecx, dword [0x1f0837a4]
push edi
push ecx
call ebx
push 0xf
call ebp
push eax
call ebx
push 0x1f0837a4
call fcn.1f029f80
add esp, 4
cmp dword [0x1f08374c], 0
jne 0x1f02482c
mov eax, dword [0x1f0837d0]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.1f02da70
mov eax, dword [0x1f0837cc]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.1f02da70
mov eax, dword [0x1f083700]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.1f02da70
call fcn.1f01d3d0
push 0x1f083730
call fcn.1f029f80
mov ecx, dword [0x1f083718]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x1f02485b
mov esi, ecx
call fcn.1f020120
push esi
call fcn.1f03e80c
add esp, 4
mov dword [0x1f083718], edi
mov ecx, dword [0x1f08371c]
cmp ecx, edi
je 0x1f02487b
mov esi, ecx
call fcn.1f0279e0
push esi
call fcn.1f03e80c
add esp, 4
mov dword [0x1f08371c], edi
mov ecx, dword [0x1f083720]
cmp ecx, edi
je 0x1f0248b7
mov eax, dword [esp + 0x25c]
push 0x3e8
push eax
call fcn.1f009930
mov ecx, dword [0x1f083720]
mov esi, ecx
cmp ecx, edi
je 0x1f0248b1
call fcn.1f0093a0
push esi
call fcn.1f03e80c
add esp, 4
mov dword [0x1f083720], edi
mov eax, dword [0x1f0836f4]
cmp eax, edi
je 0x1f0248d6
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 0x1f0248f5
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 0x1f024914
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 0x1f024933
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 0x1f024952
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 0x1f024972
mov esi, ecx
call fcn.1f02f170
push esi
call fcn.1f03e80c
add esp, 4
mov dword [0x1f083708], edi
mov ecx, dword [0x1f083714]
cmp ecx, edi
je 0x1f024992
mov esi, ecx
call fcn.1f0265f0
push esi
call fcn.1f03e80c
add esp, 4
mov dword [0x1f083714], edi
push 0x1f083750
call fcn.1f029f80
push 0x1f083754
call fcn.1f029f80
push 0x1f083758
call fcn.1f029f80
push 0x1f08375c
call fcn.1f029f80
push 0x1f083760
call fcn.1f029f80
push 0x1f08376c
call fcn.1f029f80
push 0x1f083780
call fcn.1f029f80
push 0x1f083784
call fcn.1f029f80
push 0x1f083788
call fcn.1f029f80
push 0x1f08378c
call fcn.1f029f80
push 0x1f083794
call fcn.1f029f80
push 0x1f08372c
call fcn.1f029f80
push 0x1f083790
call fcn.1f029f80
push 0x1f083774
call fcn.1f029f80
push 0x1f083778
call fcn.1f029f80
push 0x1f083798
call fcn.1f029f80
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.1f029f80
add esp, 4
call fcn.1f023740
mov eax, dword [0x1f08377c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f08377c
call fcn.1f029f80
mov eax, dword [0x1f0837c4]
add esp, 4
pop esi
pop ebp
pop ebx
cmp eax, 0x40
jae 0x1f024aae
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