Function at 0x426b30
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6c40
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4db06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0xf38]
test edi, edi
js 0x426b73
call dword [sym.imp.KERNEL30.dll_GetCurrentThread]
mov edx, edi
mov ecx, eax
call fcn.004604c0
mov dword [esi + 0xc], 1
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 1
lea ebx, [esi + 0xf44]
mov dword [ebp - 4], 0
push ebx
call dword [sym.imp.KERNEL30.dll_EnterCriticalSection]
inc dword [esi + 0xf0c]
push ebx
call dword [sym.imp.KERNEL30.dll_LeaveCriticalSection]
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x34], 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
push eax
push dword [esi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movlpd qword [ebp - 0x50], xmm0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call dword [sym.imp.KERNEL30.dll_TlsSetValue]
cmp dword [esi + 0x7d4], 0
xorps xmm0, xmm0
mov eax, dword [esi + 0x8dc]
mov edi, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x10], 1
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jle 0x426c15
mov eax, dword [esi + 0x7d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
jmp 0x426c17
xor eax, eax
push 0
push 0x4c3278
push eax
call fcn.004917fd
add esp, 0xc
test eax, eax
je 0x426d78
movzx eax, word [eax]
cmp eax, 0x72
jne 0x426c4f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], eax
jmp 0x426cd8
cmp eax, 0x77
jne 0x426d78
push 0
push 0x4c327c
push 0
call fcn.004917fd
add esp, 0xc
test eax, eax
je 0x426d78
mov ecx, eax
call fcn.00426970
push 0
push 0x4c327c
push 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], edx
call fcn.004917fd
add esp, 0xc
test eax, eax
je 0x426d78
push eax
call fcn.00491116
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x426d78
push 0
push 0x4c327c
push 0
call fcn.004917fd
add esp, 0xc
test eax, eax
je 0x426d78
push eax
call fcn.00491116
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x426d78
push 0
push 0x4c327c
push 0
call fcn.004917fd
add esp, 0xc
test eax, eax
je 0x426d27
push 0x10
push 0
push eax
call fcn.00490ff8
add esp, 0xc
mov dword [esi + 8], eax
push 0
push 0x4c327c
push 0
call fcn.004917fd
add esp, 0xc
test eax, eax
je 0x426d27
push eax
call fcn.00491116
mov edi, eax
add esp, 4
test edi, edi
mov eax, 1
cmovle edi, eax
cmp dword [ebp - 0x10], 0
mov ecx, esi
push edi
je 0x426d43
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call fcn.00426e10
jmp 0x426d48
call fcn.00427a00
mov ecx, esi
call fcn.00419a90
call dword [sym.imp.KERNEL30.dll_GetTickCount]
push 0
push 0
push dword [esi + 0x70c]
mov dword [esi + 0xffc], eax
push dword [esi + 0x708]
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, 1
jmp 0x426db3
push 3
push 0
push str.format_err__wfile_size_n_dirs_n_files__opt_loop___r_opt_loop__
mov ecx, esi
call fcn.0041a620
mov ecx, esi
call fcn.00419a90
call dword [sym.imp.KERNEL30.dll_GetTickCount]
push 0
push 0
push dword [esi + 0x70c]
mov dword [esi + 0xffc], eax
push dword [esi + 0x708]
call dword [sym.imp.USER32.dll_PostMessageA]
xor edi, edi
push ebx
call dword [sym.imp.KERNEL30.dll_EnterCriticalSection]
dec dword [esi + 0xf0c]
push ebx
call dword [sym.imp.KERNEL30.dll_LeaveCriticalSection]
mov dword [esi + 0xc], 0
mov eax, edi
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret