Function at 0x417370
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ae41
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x6a73e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ecx]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x417607
cmp byte [ebx + 4], 0
je 0x417482
push 0x78
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.005fc2a0
mov eax, dword [esi]
lea ecx, [ebp - 0x74]
movq xmm0, qword [esi + 8]
add esp, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x78], eax
lea eax, [esi + 0x20]
push eax
movq qword [ebp - 0x8c], xmm0
call fcn.0041c7d0
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 1
push eax
push eax
call fcn.00419650
mov edi, dword [ebp - 0x30]
add esp, 8
test edi, edi
je 0x417461
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x417461
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x417461
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4175e9
mov edx, dword [ecx]
lea eax, [ebp - 0x5c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x4175e9
mov eax, dword [ebx]
lea ecx, [ebp - 0x114]
push esi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x9c], eax
call fcn.0041be90
push dword [0x6b1224]
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4174b8
mov eax, dword [eax + 4]
jmp 0x4174ba
xor eax, eax
push 0x88
push eax
push dword [ebp - 0x9c]
call fcn.004148f0
mov esi, eax
mov dword [ebp - 0x14], 0
add esp, 0xc
mov dword [ebp - 0x18], esi
mov dword [esi], 0x433cd0
mov ecx, dword [ebp - 0x114]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x28]
mov eax, dword [ebp - 0x110]
mov dword [esi + 0xc], eax
movq xmm0, qword [ebp - 0x10c]
movq qword [esi + 0x10], xmm0
mov eax, dword [ebp - 0x104]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x100]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0xfc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xf8]
mov dword [esi + 0x24], eax
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 3
call fcn.0041c7d0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 0xa8]
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 0xa4]
mov dword [esi + 0x78], eax
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x18], 0
call fcn.0044d090
mov edi, dword [ebp - 0xb0]
test edi, edi
je 0x417591
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x417591
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x417591
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x4175b8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0xdc]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0xb8], 0
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 4
push eax
mov ecx, ebx
call dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 4], 5
test eax, eax
je 0x4175e9
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bb391
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x1c]
call fcn.0041e770
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call fcn.0041ab00
int3