Function at 0x551290
Capabilities:
Create thread
Get common file path
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b89a2
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x63b404]
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
cmp dword [0x648c40], 0
jne 0x551551
mov dword [0x648c48], 3
test ecx, ecx
je 0x5512e9
push ecx
mov ecx, 0x648cd8
call fcn.00546210
jmp 0x55144d
push 0x1a
mov dword [ebp - 0x224], 0
mov esi, 0xc
call fcn.0056f8a6
push 0xffffffffffffffff
push str.explorer.exe
push 0xd
push eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x224]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x220]
call fcn.0054f950
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x551357
push 2
push eax
call fcn.0056f898
add esp, 8
lea eax, [ebp - 0x218]
push eax
test esi, esi
je 0x5513d8
push 0
push esi
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x55144d
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 9
push ecx
mov ecx, eax
call fcn.00545630
push str.Temp
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.005455a0
push eax
mov ecx, esi
mov dword [ebp - 4], 0xa
call fcn.00546600
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00500b70
jmp 0x551415
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x55144d
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0xb
push ecx
mov ecx, eax
call fcn.00545630
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x55144d
push esi
mov ecx, 0x648cd8
call fcn.00546210
mov eax, dword [esi]
test eax, eax
je 0x55143b
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056f898
add esp, 8
push 0x18
call fcn.0056f5ce
mov edi, eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 4], 0x13
mov esi, 0xc
push 0x1a
mov dword [ebp - 0x234], 0
call fcn.0056f8a6
push 0xffffffffffffffff
push str.ODebugThread
mov ebx, eax
lea eax, [ebp - 0x234]
push 0xd
push ebx
push eax
mov dword [ebp - 0x228], ebx
call fcn.00585d85
xor ecx, ecx
add esp, 0x1c
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x230]
call fcn.005456c0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [edi + 0x10]
mov dword [edi], vtable.OThread.0
call fcn.00545740
mov eax, dword [ebp - 0x230]
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0xfffffffe
test eax, eax
je 0x5514ff
push 2
push eax
call fcn.0056f898
add esp, 8
test ebx, ebx
je 0x55150e
push 2
push ebx
call fcn.0056f898
add esp, 8
mov dword [edi], vtable.ODebugThread.0
mov eax, dword [edi + 4]
mov dword [0x648c40], edi
mov byte [edi + 9], 1
test eax, eax
jne 0x55154a
push eax
push 4
push edi
push 0x550410
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [edi + 0xc]
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [edi + 4]
test eax, eax
je 0x551551
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
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.0056f3c2
mov esp, ebp
pop ebp
ret