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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56905e
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x5c3484]
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 0x484e03
xor eax, eax
jmp 0x48518e
push 0x210
lea eax, [ebp - 0x640]
push 0
push eax
call fcn.004c14d0
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 0x484e4e
movzx eax, word [esi + ecx]
test ax, ax
je 0x484e4e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x484e30
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.00488e80
test eax, eax
jne 0x484e7a
push 1
push edi
call fcn.004882a0
push 0x210
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.004c14d0
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.004882a0
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004c14d0
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 0x484f43
lea eax, [ebp - 0x220]
push eax
push 0x5885d0
call fcn.00434480
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 0x484fbf
push str.CreateSymbolicLinkW
xorps xmm0, xmm0
lea ecx, [ebp - 0x650]
push str.kernel32.dll
movlpd qword [ebp - 0x650], xmm0
call fcn.00485760
lea eax, [ebp - 0x650]
mov dword [ebp - 4], 0
push eax
call fcn.004857d0
test al, al
lea eax, [ebp - 0x220]
je 0x484f9f
push 1
push edi
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.00485740
jmp 0x484fa6
push edi
push eax
call fcn.00485330
lea ecx, [ebp - 0x650]
mov dword [ebp - 4], 0xffffffff
call fcn.004857b0
mov esi, 1
jmp 0x484fd5
lea eax, [ebp - 0x220]
push eax
push 0x58860c
call fcn.00434480
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 0x484fe0
mov ecx, dword [ebp - 0x648]
lea eax, [ebp - 0x430]
sub edx, edi
sar edx, 1
push edx
push eax
call fcn.0040ec60
lea edx, [ebp - 0x220]
lea edi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x485010
mov ecx, dword [ebp - 0x644]
lea eax, [ebp - 0x220]
sub edx, edi
sar edx, 1
push edx
push eax
call fcn.0040ec60
test esi, esi
je 0x48517d
lea eax, [ebp - 0x220]
push eax
call ebx
test eax, eax
je 0x48517d
cmp dword [0x5c3500], 0
mov edi, 1
je 0x4850ef
push 0x57b10c
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 0x4850e5
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4850c4
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 0x4850e5
mov eax, dword [0x5cd6c8]
mov ecx, edi
cmp dword [ebp - 0x648], 6
cmovae eax, ecx
mov dword [0x5cd6c8], eax
mov dword [0x5c3500], 0
cmp dword [0x5cd6c8], 0
je 0x485146
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 0x48515e
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.004882a0
jmp 0x48518c
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.0045fbca
mov esp, ebp
pop ebp
ret 0x18