Function at 0x4143d0
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x487978
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414413
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], 0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414445
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
test esi, esi
mov byte [esp + 0x28], 1
jne 0x414462
xor eax, eax
jmp 0x414472
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x414467
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.004068a0
mov ebp, dword [esp + 0x14]
or ebx, 0xffffffff
cmp dword [ebp - 0xc], 0
jge 0x414494
push 0x80070057
call fcn.00401db0
mov cl, byte [ebp]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
push edx
call fcn.00413fb0
add esp, 4
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + 1]
test eax, eax
jl 0x4145ec
cmp eax, ecx
jg 0x4145ec
add eax, ebp
push 0x494a8c
push eax
call fcn.0046a65b
add esp, 8
test eax, eax
je 0x4145ec
sub eax, ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4145ec
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040a080
mov byte [esp + 0x28], 2
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x414555
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x414543
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x414543
push eax
call fcn.00406990
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x414536
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], edi
jmp 0x414555
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004068a0
mov edi, dword [esp + 0x18]
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41457a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41458e
test al, 0x10
jne 0x4144a8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41464a
mov eax, dword [edi - 0xc]
cmp eax, 0x10
jge 0x4144a8
test eax, eax
jl 0x4144a8
push str.RECYCLER88
push edi
call fcn.0046a65b
add esp, 8
test eax, eax
je 0x4144a8
sub eax, edi
cmp eax, 0xffffffff
je 0x4144a8
cmp dword [edi - 0xc], 0
jle 0x4144a8
push 6
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x4144a8
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41460d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414631
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41466b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41468f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret