Function at 0x41fd7e
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x41fe67
lea eax, [ebp + 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x41fe38
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x41fe2b
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x41fe29
push 0x250a
push 0x1abb
push 0x1843
push 0xca8
push 0xe81
push 0x3b5
push 0x239f
push 0x2a5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Arc]
jmp 0x41fe36
push 0x1054
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x41fe62
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x40], eax
push 0x3b84
push 1
push 1
push dword [ebp - 0x40]
push dword [ebp - 0x68]
push 0xd8d
push 1
call fcn.0040e1bf
add esp, 0x1c
jmp 0x41ffa7
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x41ff81
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x41ff37
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41feff
mov eax, dword [ebp - 8]
cmp dword [eax], 1
ja 0x41fef6
xor eax, eax
je 0x41feff
mov dword [ebp - 0xc], 1
jmp 0x41ff03
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jl 0x41ff14
mov dword [ebp - 0x10], 1
jmp 0x41ff18
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x41ff29
mov dword [ebp - 0x14], 1
jmp 0x41ff2d
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x41ff7f
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x41ff65
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x41ff7f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x7c]
call fcn.00437a47
and dword [eax], 0
jmp 0x41ff5a
jmp 0x41ffa7
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
push 0x2536
push dword [ebp - 0x8c]
push 0x5486
push 0
call fcn.0041f591
add esp, 0x10
mov esp, ebp
pop ebp
ret