Function at 0x455160
Capabilities:
Create directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd696
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4fa008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ecx, dword [esi + 0x48]
mov dword [ebp - 0x70], esi
test ecx, ecx
je 0x4551a7
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x48], 0
mov dword [ebp - 0x64], vtable.StringStorage.0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cd35c
push ecx
call fcn.0049af00
mov dword [ebp - 4], 1
lea eax, [ebp - 0x64]
push dword [esi + 0x38]
push dword [esi + 0x28]
push str._s_s.log
push eax
call fcn.004038a0
add esp, 0x1c
cmp byte [esi + 0x45], 0
je 0x45548c
push dword [esi + 0x28]
lea ecx, [ebp - 0x44]
call fcn.0044bf20
push 0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], vtable.StringStorage.0
call fcn.004039a0
mov byte [esi + 0x45], 0
mov dword [ebp - 0x44], vtable.StringStorage.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cd35c
push ecx
call fcn.0049af00
add esp, 0xc
mov dword [ebp - 0x54], vtable.StringStorage.0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 4
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cd35c
push ecx
call fcn.0049af00
add esp, 0xc
mov byte [ebp - 4], 5
mov edi, 4
movups xmm0, xmmword [str._s_s._d.log]
mov ax, word [0x4dba0c]
mov word [ebp - 0x18], ax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x68], edi
movq xmm0, qword [0x4dba04]
movq qword [ebp - 0x20], xmm0
nop
push edi
push dword [esi + 0x38]
lea eax, [ebp - 0x30]
push dword [esi + 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004038a0
lea eax, [edi + 1]
push eax
push dword [esi + 0x38]
lea eax, [ebp - 0x30]
push dword [esi + 0x28]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004038a0
mov edi, dword [ebp - 0x50]
add esp, 0x28
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edi, dword [ebp - 0x68]
dec edi
mov dword [ebp - 0x68], edi
test edi, edi
jg 0x455300
push dword [esi + 0x38]
lea eax, [ebp - 0x44]
push dword [esi + 0x28]
push str._s_s.log
push eax
call fcn.004038a0
push 1
push dword [esi + 0x38]
lea eax, [ebp - 0x30]
push dword [esi + 0x28]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004038a0
mov edi, dword [ebp - 0x50]
add esp, 0x24
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], vtable.StringStorage.0
call fcn.004039a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], vtable.StringStorage.0
call fcn.004039a0
push 0x18
call fcn.00497cd4
add esp, 4
mov dword [ebp - 0x34], eax
push 1
push 1
push 2
mov byte [ebp - 4], 6
mov ecx, eax
push dword [ebp - 0x60]
call fcn.0044ba20
mov ecx, esi
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 8
call fcn.00455500
mov eax, dword [esi + 0x4c]
lea edi, [esi + 0x4c]
mov ecx, edi
mov dword [ebp - 0x6c], vtable.AutoLock.0
mov dword [ebp - 0x68], edi
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, 0x66666667
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x455425
mov ecx, esi
call fcn.00453ff0
jmp 0x455471
cmp byte [esi + 4], 0
je 0x455471
xor edi, edi
nop dword [eax]
mov ecx, dword [esi + 0xc]
mov eax, 0x66666667
sub ecx, dword [esi + 8]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x45546e
mov ecx, dword [esi + 8]
lea eax, [edi + edi*4]
push dword [ecx + eax*8 + 0x18]
mov edx, dword [esi]
lea ecx, [ecx + eax*8]
push dword [ecx + 0x10]
lea eax, [ecx + 8]
push eax
push dword [ecx + 4]
push dword [ecx]
mov ecx, esi
call dword [edx + 4]
inc edi
jmp 0x455430
mov edi, dword [ebp - 0x68]
mov byte [ebp - 4], 0xa
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
jmp 0x4554b0
push 0x18
call fcn.00497cd4
add esp, 4
mov dword [ebp - 0x70], eax
push 1
push 0
push 2
mov byte [ebp - 4], 7
mov ecx, eax
push dword [ebp - 0x60]
call fcn.0044ba20
mov dword [esi + 0x48], eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x64], vtable.StringStorage.0
call fcn.004039a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004977bb
mov esp, ebp
pop ebp
ret