Function at 0x46ab00
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 0x57bfd0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5c
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [0x5fead0], ecx
test cl, 2
je 0x46ad36
cmp dword [0x5f6d78], 0xffffffff
jne 0x46ad74
push str.SYSTEMDRIVE
call fcn.005594c6
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 0x46ab81
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0044b730
push 5
push str._temp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00452f50
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 0x5e0f64
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
call fcn.004544e0
push 0x5f6d60
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.004543a0
mov esi, eax
add esp, 8
cmp esi, 0x5f6d7c
je 0x46ac28
mov ecx, 0x5f6d7c
call fcn.00449920
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x5f6d7c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5f6d8c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x46ac62
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ac58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46adaa
push edx
push ecx
call fcn.00536ae6
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 0x46acb0
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46aca6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46adaf
push edx
push ecx
call fcn.00536ae6
add esp, 8
cmp dword [0x5f6d90], 8
mov eax, 0x5f6d7c
push 0
cmovae eax, dword [0x5f6d7c]
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 [0x5f6d78], 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 0x46ad74
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ad2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46adb4
push edx
push ecx
call fcn.00536ae6
add esp, 8
jmp 0x46ad74
mov eax, dword [0x5f6d78]
cmp eax, 0xffffffff
je 0x46ad74
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5fc936], 0
mov dword [0x5f6d78], 0xffffffff
je 0x46ad74
cmp dword [0x5f6d90], 8
mov eax, 0x5f6d7c
cmovae eax, dword [0x5f6d7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x5fead0], 0
mov ecx, 0x5feaec
je 0x46ad89
mov eax, 1
jmp 0x46ad8b
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.005368a5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552581
call fcn.00552581
call fcn.00552581
int3