Function at 0x48de00
Capabilities:
Create directory
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f11e
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x5cb464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x648], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x644], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x654], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x658], eax
test ebx, ebx
jne 0x48de63
xor eax, eax
jmp 0x48e1ee
push 0x210
lea eax, [ebp - 0x640]
push 0
push eax
call fcn.004cc090
lea ecx, [ebp - 0x640]
mov esi, edi
mov eax, ecx
add esp, 0xc
mov edx, 0x108
sub esi, eax
nop word [eax + eax]
lea eax, [edx + 0x7ffffef6]
test eax, eax
je 0x48deae
movzx eax, word [esi + ecx]
test ax, ax
je 0x48deae
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x48de90
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push edi
call fcn.00491ee0
test eax, eax
jne 0x48deda
push 1
push edi
call fcn.00491300
push 0x210
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.004cc090
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x640]
add esp, 0xc
push ebx
push eax
lea eax, [ebp - 0x430]
push eax
call esi
push 0
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x92
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
lea eax, [ebp - 0x430]
push eax
call fcn.00491300
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004cc090
add esp, 0xc
lea eax, [ebp - 0x640]
push ebx
push eax
lea eax, [ebp - 0x220]
push eax
call esi
push str.WorkDir
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea eax, [ebp - 0x220]
push eax
call ebx
test eax, eax
je 0x48dfa3
lea eax, [ebp - 0x220]
push eax
push 0x5903c8
call fcn.00435810
add esp, 8
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x220]
push eax
call ebx
test eax, eax
jne 0x48e01f
push str.CreateSymbolicLinkW
xorps xmm0, xmm0
lea ecx, [ebp - 0x650]
push str.kernel32.dll
movlpd qword [ebp - 0x650], xmm0
call fcn.0048e7c0
lea eax, [ebp - 0x650]
mov dword [ebp - 4], 0
push eax
call fcn.0048e830
test al, al
lea eax, [ebp - 0x220]
je 0x48dfff
push 1
push edi
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.0048e7a0
jmp 0x48e006
push edi
push eax
call fcn.0048e390
lea ecx, [ebp - 0x650]
mov dword [ebp - 4], 0xffffffff
call fcn.0048e810
mov esi, 1
jmp 0x48e035
lea eax, [ebp - 0x220]
push eax
push 0x590404
call fcn.00435810
add esp, 8
xor esi, esi
lea edx, [ebp - 0x430]
lea edi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x48e040
mov ecx, dword [ebp - 0x648]
lea eax, [ebp - 0x430]
sub edx, edi
sar edx, 1
push edx
push eax
call fcn.0040fb90
lea edx, [ebp - 0x220]
lea edi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x48e070
mov ecx, dword [ebp - 0x644]
lea eax, [ebp - 0x220]
sub edx, edi
sar edx, 1
push edx
push eax
call fcn.0040fb90
test esi, esi
je 0x48e1dd
lea eax, [ebp - 0x220]
push eax
call ebx
test eax, eax
je 0x48e1dd
cmp dword [0x5cb4e0], 0
mov edi, 1
je 0x48e14f
push 0x58110c
mov dword [ebp - 0x648], 0
xor ebx, ebx
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x644], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x48e145
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48e124
lea ecx, [ebp - 0x644]
push ecx
lea ecx, [ebp - 0x64c]
push ecx
lea ecx, [ebp - 0x648]
push ecx
call eax
movzx eax, word [ebp - 0x644]
mov ebx, edi
mov dword [ebp - 0x644], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x48e145
mov eax, dword [0x5d4628]
mov ecx, edi
cmp dword [ebp - 0x648], 6
cmovae eax, ecx
mov dword [0x5d4628], eax
mov dword [0x5cb4e0], 0
cmp dword [0x5d4628], 0
je 0x48e1a6
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
lea eax, [ebp - 0x220]
push 0
push 0x6200000
push 3
push 0
push 7
push 0x80
push eax
call esi
mov ecx, dword [ebp - 0x658]
push 0
push 0x6200000
push 3
push 0
push 7
mov dword [ecx], eax
lea eax, [ebp - 0x430]
push 0x80
push eax
call esi
mov ecx, dword [ebp - 0x654]
mov dword [ecx], eax
jmp 0x48e1be
mov ecx, dword [ebp - 0x654]
mov dword [ecx], 0xffffffff
mov ecx, dword [ebp - 0x658]
mov dword [ecx], 0xffffffff
push 0x12
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 3
lea eax, [ebp - 0x430]
push eax
call fcn.00491300
jmp 0x48e1ec
lea eax, [ebp - 0x430]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046997a
mov esp, ebp
pop ebp
ret 0x18