Function at 0x414ff0
Capabilities:
Create directory
Create thread
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x214]
push ebx
mov ebx, dword fs:[0x18]
sub esp, 0x230
mov dword [esp + 4], edi
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x16f
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
lea esi, [ebp - 0x110]
mov dword [esp + 8], eax
mov dword [esp + 4], str.GetTempPathA_error:__ld_n
call fcn.00414890
mov dword [esp + 0xc], esi
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x589baa
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
sub esp, 0x10
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x172
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.GetTempFileNameA_error:__ld_n
call fcn.00414890
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov dword [esp], esi
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
sub esp, 8
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x176
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.CreateDirectoryA_error:__ld_n
call fcn.00414890
mov dword [esp], esi
mov dword [esp + 8], 3
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_FindFirstChangeNotificationA]
sub esp, 0xc
mov dword [ebp - 0x21c], eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x17c
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.FindFirstChangeNotification_error:__ld_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebp - 0x21c], 0xffffffff
setne al
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x224]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x21c]
mov dword [esp + 8], 0x414d80
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
mov dword [ebp - 0x218], eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x184
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.CreateThread_error:__ld_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x218]
xor eax, eax
test edx, edx
setne al
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x21c]
mov dword [esp + 0xc], 0x1388
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 2
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
sub esp, 0x10
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x187
mov eax, dword [ebx + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
xor eax, eax
cmp edi, 1
setbe al
mov dword [esp + 4], str.WaitForMultipleObjects_status__ld_error__ld_n
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x188
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x218]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeThread]
sub esp, 8
mov dword [esp + 4], str.Could_not_retrieve_thread_exit_code_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x18c
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 4], str.failed_to_remove_dir_n
mov dword [esp], eax
call fcn.00414890
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret