Function at 0x446620
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.004f7350
mov eax, dword [0x639ac0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1004]
mov esi, ecx
push str.InitVars_start
push eax
mov dword [ebp - 0x1020], esi
call fcn.00438870
lea eax, [ebp - 0x1004]
push eax
call fcn.004397c0
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0xc
xor edi, edi
add esi, 0xf3324
mov eax, dword [esi]
test eax, eax
je 0x4466b2
push 0
push eax
call ebx
test eax, eax
je 0x4466aa
push edi
lea eax, [ebp - 0x1004]
push str.Terminating_GetSMARTInfoThread_for_Device__d
push eax
call fcn.00438870
lea eax, [ebp - 0x1004]
push eax
call fcn.004397c0
add esp, 0x10
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
inc edi
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
add esi, 0x1c
cmp edi, 0x64
jl 0x446670
cmp byte [ebp + 8], 0
mov ecx, dword [ebp - 0x1020]
mov dword [ecx + 0x18], 0
jne 0x446704
mov eax, dword [0x63b830]
cmp eax, dword [0x63b834]
je 0x4466f2
mov dword [0x63b834], eax
mov eax, dword [0x63b840]
cmp eax, dword [0x63b844]
je 0x446704
mov dword [0x63b844], eax
lea eax, [ecx + 0xe6548]
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x1018], eax
lea edx, [ecx + 0x133f0]
lea eax, [ecx + 0x13648]
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x1014], eax
lea ebx, [ecx + 0x132c4]
lea eax, [ecx + 0x1ac]
mov dword [ebp - 0x1008], edx
mov dword [ebp - 0x1010], eax
lea edi, [ecx + 0x1c]
lea eax, [ecx + 0xe6b24]
mov dword [ebp - 0x101c], 0x64
mov dword [ebp - 0x100c], eax
mov esi, 0x63b854
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x44677a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1008]
cmp byte [ebp + 8], 0
mov dword [edi], 0xffffffff
mov byte [ebx - 0x64], 0
mov byte [ebx], 0
jne 0x446796
mov eax, dword [esi - 4]
cmp eax, dword [esi]
je 0x446796
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x1349c], 0
push 0x200
push eax
push dword [ebp - 0x100c]
mov word [edx - 0xc8], ax
mov word [edx], ax
call fcn.004ff750
mov eax, dword [ebp - 0x1010]
xorps xmm0, xmm0
push 0x21c0
push 0
push dword [ebp - 0x1014]
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
call fcn.004ff750
mov ecx, dword [ebp - 0x1018]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x1008]
add esp, 0x18
add dword [ebp - 0x100c], 0x200
add edx, 2
add dword [ebp - 0x1010], 0x18
add edi, 4
add dword [ebp - 0x1014], 0x21c0
inc ebx
movq qword [ecx], xmm0
add esi, 0xc
mov dword [ecx + 8], 0
mov word [ecx + 0xc], 0
mov byte [ecx + 0xe], 0
add ecx, 0xf
sub dword [ebp - 0x101c], 1
mov dword [ebp - 0x1008], edx
mov dword [ebp - 0x1018], ecx
jne 0x446766
mov esi, dword [ebp - 0x1020]
mov ebx, 0x7e
add esi, 0xcbc
nop dword [eax]
push 0xab
mov dword [esi - 0x1ac], 0
lea eax, [esi + 1]
xorps xmm0, xmm0
push 0
movq qword [esi - 0x1a4], xmm0
push eax
mov dword [esi - 0x198], 0
call fcn.004ff750
or eax, 0xffffffff
mov byte [esi], 0
lea edi, [esi - 0x190]
mov dword [esi - 0x1a8], 0xffffffff
mov dword [esi - 0x19c], 0xffffffff
lea esi, [esi + 0x258]
mov dword [esi - 0x3ec], 0
mov ecx, 0x64
rep stosd dword es:[edi], eax
add esp, 0xc
mov dword [esi - 0x254], eax
mov dword [esi - 0x250], eax
mov dword [esi - 0x244], eax
mov dword [esi - 0x240], eax
sub ebx, 1
jne 0x446860
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f66cd
mov esp, ebp
pop ebp
ret 4