Function at 0x46add0
Capabilities:
Create directory
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c2c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5c
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [0x5ffad4], ecx
test cl, 2
je 0x46b006
cmp dword [0x5f7d90], 0xffffffff
jne 0x46b044
push str.SYSTEMDRIVE
call fcn.00559786
mov edx, eax
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0x18], 7
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ae51
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0044b740
push 5
push str._temp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00452fa0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5e1f64
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
call fcn.00454530
push 0x5f7d78
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.004543f0
mov esi, eax
add esp, 8
cmp esi, 0x5f7d94
je 0x46aef8
mov ecx, 0x5f7d94
call fcn.00449930
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x5f7d94], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5f7da4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x46af32
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46af28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b07a
push edx
push ecx
call fcn.00536da7
add esp, 8
mov edx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x46af80
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46af76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b07f
push edx
push ecx
call fcn.00536da7
add esp, 8
cmp dword [0x5f7da8], 8
mov eax, 0x5f7d94
push 0
cmovae eax, dword [0x5f7d94]
push SysReAllocString
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
xorps xmm0, xmm0
mov dword [0x5f7d90], eax
movq qword [ebp - 0x38], xmm0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x46b044
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46affa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b084
push edx
push ecx
call fcn.00536da7
add esp, 8
jmp 0x46b044
mov eax, dword [0x5f7d90]
cmp eax, 0xffffffff
je 0x46b044
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5fd935], 0
mov dword [0x5f7d90], 0xffffffff
je 0x46b044
cmp dword [0x5f7da8], 8
mov eax, 0x5f7d94
cmovae eax, dword [0x5f7d94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x5ffad4], 0
mov ecx, 0x5ffaf0
je 0x46b059
mov eax, 1
jmp 0x46b05b
xor eax, eax
xchg dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552841
call fcn.00552841
call fcn.00552841
int3