Function at 0x562ed0
Capabilities:
Delete directory
Get file attributes
Set current directory
Set file attributes

Disassembly:
sub esp, 0x370
mov eax, dword [esp + 0x378]
push ebx
mov ebx, dword [esp + 0x380]
push ebp
push esi
push edi
mov ebp, dword [ebx + 0xd94]
push 4
push 2
xor edi, edi
mov dword [esp + 0x1c], ebp
mov dword [ebx + 0xd94], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x563140
push edi
push esi
call fcn.0055ffa0
mov edx, dword [esp + 0x38c]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.005635e0
lea eax, [esp + 0x28]
push eax
call fcn.00564360
add esp, 0x14
test eax, eax
je 0x562f48
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esp + eax + 0x17], 0
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, 1
lea edx, [esp + 0x18]
lea eax, [esp + 0x12c]
push edx
push eax
call ebp
lea ecx, [esp + 0x18]
push ebx
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x38c]
lea eax, [esp + 0x248]
push edx
push eax
push ecx
call fcn.005629e0
add esp, 0x14
test eax, eax
je 0x563012
lea edx, [esp + 0x18]
push edx
push esi
call fcn.00560000
add esp, 8
test eax, eax
je 0x562fa3
mov esi, eax
jmp 0x562fa5
xor edi, edi
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
test edi, edi
je 0x563002
lea edx, [esp + 0x18]
push ebx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x248]
push eax
push ecx
call fcn.00562b20
add esp, 0x10
test eax, eax
je 0x563002
lea edx, [esp + 0x18]
push edx
push esi
call fcn.00560000
add esp, 8
test eax, eax
je 0x562fed
mov esi, eax
jmp 0x562fef
xor edi, edi
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
test edi, edi
jne 0x562fb8
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x563012
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.0055d6a0
push ebx
call fcn.0055c4c0
add esp, 8
test eax, eax
jne 0x563139
mov edx, dword [esp + 0x388]
push ebx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00562d00
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jle 0x5630f7
push 0x601e28
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [esp + 0x388]
mov ebx, eax
and eax, edx
test al, 7
je 0x563087
and ebx, 0xfffffff8
lea ecx, [esp + 0x18]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test bl, 7
jne 0x5630dc
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x5630dc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x12c]
push eax
push ecx
call ebp
lea edx, [esp + 0x18]
push edx
push esi
call fcn.00560090
add esp, 8
test eax, eax
je 0x563114
lea eax, [esp + 0x12c]
push eax
push esi
call fcn.00560000
add esp, 8
test eax, eax
je 0x563112
mov ebx, dword [esp + 0x38c]
mov esi, eax
jmp 0x563109
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.00560090
add esp, 8
test eax, eax
je 0x563114
mov ebx, dword [esp + 0x38c]
jmp 0x563109
lea edx, [esp + 0x18]
push edx
push esi
call fcn.00560090
add esp, 8
test eax, eax
je 0x56311b
test edi, edi
je 0x56311b
jmp 0x562f53
xor edi, edi
mov ebx, dword [esp + 0x38c]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0xd94], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x370
ret
mov edi, 1
jmp 0x56311b
mov eax, edi
pop edi
mov dword [ebx + 0xd94], ebp
pop esi
pop ebp
pop ebx
add esp, 0x370
ret