Function at 0x45de20
Capabilities:
Create directory
Create process on windows
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adbe0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push 0x38
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 2
push ebx
push eax
mov dword [ebp - 0x88], ebx
call fcn.00586b50
add esp, 0xc
call fcn.00464b17
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45de8f
push 0x80004005
call fcn.00403a80
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
call fcn.00464b17
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45debc
push 0x80004005
call fcn.00403a80
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
call fcn.00464b17
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45dee9
push 0x80004005
call fcn.00403a80
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], eax
push 0x20
lea edx, [ebp + 8]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00433920
add esp, 4
lea ecx, [ebp + 0xc]
mov edx, eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00433780
lea ecx, [ebp - 0x20]
add esp, 4
cmp eax, ecx
je 0x45df31
mov ebx, dword [eax]
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x45df31
inc dword [ebx - 4]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x45df69
dec dword [eax - 4]
lea edx, [eax - 0xc]
jne 0x45df62
mov ecx, dword [edx + 4]
mov eax, edx
add ecx, 0xd
je 0x45df59
lea ebx, [ebx]
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x45df50
push edx
call fcn.00582cf0
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x45df9b
dec dword [eax - 4]
lea edx, [eax - 0xc]
jne 0x45df94
mov ecx, dword [edx + 4]
mov eax, edx
add ecx, 0xd
je 0x45df8b
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x45df82
push edx
call fcn.00582cf0
add esp, 4
mov dword [ebp - 0x28], 0
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x1000
or eax, ecx
jge 0x45dfbf
push 0x1000
lea ecx, [ebp - 0x10]
call fcn.004037a0
mov edi, dword [ebp - 0x10]
push edi
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [edi - 8]
push edi
call fcn.00582f38
add esp, 8
test eax, eax
js 0x45e387
cmp eax, dword [edi - 8]
jg 0x45e387
mov dword [edi - 0xc], eax
lea ecx, [ebp - 0x2c]
mov byte [eax + edi], 0
call fcn.0045cfb0
mov byte [ebp - 4], 6
mov edx, 0x5ef390
mov eax, dword [eax]
test eax, eax
cmovne edx, eax
mov ecx, edx
lea edi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e010
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00407970
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x45e059
dec dword [eax - 4]
lea edx, [eax - 0xc]
jne 0x45e052
mov ecx, dword [edx + 4]
mov eax, edx
add ecx, 0xd
je 0x45e049
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x45e040
push edx
call fcn.00582cf0
add esp, 4
mov dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0x10]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
or edx, 0xffffffff
test eax, eax
jne 0x45e074
mov dword [ebp - 0x1c], eax
jmp 0x45e20e
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x1000
or eax, ecx
jge 0x45e098
push 0x1000
lea ecx, [ebp - 0x14]
call fcn.004037a0
mov esi, dword [ebp - 0x14]
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [esi - 8]
push esi
call fcn.00582f38
add esp, 8
test eax, eax
js 0x45e387
cmp eax, dword [esi - 8]
jg 0x45e387
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.00584a3c
add esp, 8
test eax, eax
je 0x45e0ec
sub eax, esi
js 0x45e0ec
inc eax
lea ecx, [ebp - 0x14]
push eax
push 0
call fcn.00420c50
mov esi, dword [ebp - 0x14]
push 0x5c
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.004219f0
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00426b10
add esp, 0xc
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.004054a0
mov byte [ebp - 4], 7
or ecx, 0xffffffff
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e13f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or ecx, 0xffffffff
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e160
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x4c]
call fcn.00474c0b
push 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
push 0x1001
push eax
mov dword [ebp - 0x18], eax
call fcn.00475131
test eax, eax
je 0x45e1f8
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
push dword [eax + 0xe8]
push dword [eax + 0xe4]
call fcn.00475492
lea ecx, [ebp - 0x4c]
call fcn.00474eeb
mov eax, dword [ebp - 0x18]
test ebx, ebx
mov dword [ebp - 0x78], eax
mov eax, 0x5ef390
cmovne eax, ebx
mov dword [ebp - 0x88], 0x3c
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x84], 0x540
mov dword [ebp - 0x7c], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x45e31b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.00474c81
or edx, 0xffffffff
mov byte [ebp - 4], 4
mov ecx, edx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x18], eax
add eax, 0xc
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e237
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
or edx, 0xffffffff
add esi, 0xfffffff0
mov byte [ebp - 4], 3
mov ecx, edx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e257
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or edx, 0xffffffff
add edi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edi + 0xc]
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x45e272
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x45e2a1
add ebx, 0xfffffff4
dec dword [ebx + 8]
jne 0x45e29a
mov ecx, dword [ebx + 4]
mov eax, ebx
add ecx, 0xd
je 0x45e291
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x45e288
push ebx
call fcn.00582cf0
add esp, 4
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x45e2d9
dec dword [eax - 4]
lea edx, [eax - 0xc]
jne 0x45e2d2
mov ecx, dword [edx + 4]
mov eax, edx
add ecx, 0xd
je 0x45e2c9
lea ebx, [ebx]
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x45e2c0
push edx
call fcn.00582cf0
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45e304
add eax, 0xfffffff4
dec dword [eax + 8]
jne 0x45e304
mov edx, dword [eax + 4]
mov ecx, eax
add edx, 0xd
je 0x45e2fb
mov byte [ecx], 0
lea ecx, [ecx + 1]
dec edx
jne 0x45e2f2
push eax
call fcn.00582cf0
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x50]
push 4
mov dword [ecx + 0xf4], eax
call fcn.00464219
add esp, 4
test eax, eax
je 0x45e341
push dword [ebp - 0x18]
mov ecx, eax
call fcn.00433170
jmp 0x45e343
xor eax, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xf8
push eax
call fcn.0045e940
push 4
call fcn.00464219
add esp, 4
test eax, eax
je 0x45e36a
push edi
mov ecx, eax
call fcn.00433170
jmp 0x45e36c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
push eax
lea ecx, [ecx + 0xf8]
call fcn.0045e940
mov dword [ebp - 0x1c], 1
jmp 0x45e1ff
push 0x80070057
call fcn.00403a80
int3