Function at 0x42e970
Capabilities:
Create directory
Delete directory
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c448c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
add eax, 0x10
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 4
test edx, edx
jne 0x42ea23
xor eax, eax
jmp 0x42ea3f
mov eax, edx
lea edi, [eax + 2]
jmp 0x42ea30
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42ea30
sub eax, edi
sar eax, 1
push edx
lea ecx, [ebp - 0x10]
push ecx
mov ebx, eax
call fcn.00402e20
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebx - 0xc]
test edi, edi
jns 0x42ea5f
push 0x80070057
call fcn.004018d0
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x42ea7d
mov eax, edi
lea ecx, [ebp - 0x10]
call fcn.00401f90
mov ebx, dword [ebp - 0x10]
lea edx, [edi + 1]
push edx
push ebx
call fcn.00473d4c
add esp, 8
cmp edi, dword [ebx - 8]
jg 0x42ea55
xor eax, eax
mov dword [ebx - 0xc], edi
mov word [ebx + edi*2], ax
mov eax, dword [ebx - 0xc]
test eax, eax
js 0x42eaba
push str.prolasso.ini
push ebx
call fcn.00474087
add esp, 8
test eax, eax
je 0x42eaba
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42eb0e
mov esi, dword [ebp + 8]
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test esi, esi
jne 0x42ead0
xor eax, eax
jmp 0x42eae4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42ead5
sub eax, edx
sar eax, 1
push esi
lea ecx, [ebp - 0x14]
push ecx
mov ebx, eax
call fcn.00402e20
push str.prolasso.ini
push esi
push 0x4aade0
lea edi, [ebp - 0x20]
call fcn.004020e0
mov esi, dword [ebp - 0x14]
add esp, 0xc
jmp 0x42ebd9
mov edi, dword [ebp + 8]
test edi, edi
jne 0x42eb19
xor eax, eax
jmp 0x42eb2f
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42eb20
sub eax, edx
sar eax, 1
push edi
lea edx, [ebp - 0x20]
push edx
mov ebx, eax
call fcn.00402e20
lea ecx, [edi + 2]
mov edi, edi
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x42eb40
sub edi, ecx
sar edi, 1
je 0x42ebd9
mov edx, dword [ebp + 8]
movzx eax, word [edx + edi*2]
cmp eax, 0x2f
je 0x42eb66
cmp eax, 0x5c
jne 0x42ebd2
test edx, edx
jne 0x42eb6e
xor eax, eax
jmp 0x42eb82
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42eb73
sub eax, esi
sar eax, 1
push edx
lea ecx, [ebp - 0x14]
push ecx
mov ebx, eax
call fcn.00402e20
test edi, edi
js 0x42ea55
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x42ebb7
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.00401f90
mov esi, dword [ebp - 0x14]
cmp edi, dword [esi - 8]
jg 0x42ea55
xor edx, edx
push edx
push esi
mov dword [esi - 0xc], edi
push edx
mov word [esi + edi*2], dx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
dec edi
jne 0x42eb55
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x42ecd0
cmp eax, 0xffffffff
je 0x42ecd0
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], 0
jl 0x42ec1c
push str.prosuper.ini
push edi
call fcn.00474087
add esp, 8
test eax, eax
je 0x42ec1c
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x42ecd0
cmp dword [esi - 0xc], 0
je 0x42ecd0
push str.prolasso.ini
push edi
push 0x4aade0
lea edi, [ebp - 0x18]
call fcn.004020e0
push str.prolasso.ini2
push esi
push 0x4aade0
lea edi, [ebp - 0x1c]
call fcn.004020e0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0x18
push edi
push ecx
call ebx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x42ec9d
mov eax, dword [ebp - 0x18]
push eax
push edi
call ebx
cmp byte [0x4c7dce], 0
jne 0x42ecd0
push 0x1010
push str.ioloGovernor
push str.ERROR:_There_was_an_error_cleaning_up_the_global_path_of_Process_Lassos_configuration_file.
push 0
mov byte [0x4c7dce], 1
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42ecd0
push str.prolasso.ini2
push esi
push 0x4aade0
lea edi, [ebp - 0x18]
call fcn.004020e0
push str.prolasso.ini
push esi
push 0x4aade0
lea edi, [ebp - 0x1c]
call fcn.004020e0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add esp, 0x18
push ecx
push edx
call ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ecf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed13
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret