Function at 0x4177be
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x417a73
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x4178d9
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x417866
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
jmp 0x4178d4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x417888
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jg 0x4178d4
mov dword [ebp - 0xc], 0x7d8cf4c5
mov dword [ebp - 0x30], 1
mov dword [ebp - 0xc], 0
jmp 0x4178ae
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jg 0x4178d2
push 0xa62
push 1
push 0
push 0xdfc
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.0041e3b6
add esp, 0x18
jmp 0x4178a7
jmp 0x41787d
jmp 0x417a6e
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x417990
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x417971
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], 2
jge 0x41798b
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.0042713b
and dword [eax], 0
jmp 0x417966
jmp 0x417a6e
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x417a0c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 4
jge 0x417a6e
mov dword [ebp - 0x8c], 9
push dword [ebp - 0x7c]
push 1
push 0
push dword [ebp - 0x84]
push 0x38e1
push 1
push 0
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
push dword [ebp - 0xa4]
push 0x4cee
push 0
push dword [ebp - 0xac]
push 0x63af
push 0x5432
call fcn.004172a7
add esp, 0x40
jmp 0x417a01
jmp 0x417af6
lea eax, [ebp + 0x34]
mov dword [ebp - 0xbc], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x417ace
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
test eax, eax
je 0x417ac1
push 0xb00
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x417acc
push 0x25fb
call dword [sym.imp.KERNEL32.dll_TlsFree]
jmp 0x417af6
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
push 0x6fd3
push 0
push dword [ebp - 0xd4]
push 0
push 0x22f4
call fcn.004167b9
add esp, 0x14
mov esp, ebp
pop ebp
ret