Function at 0x426ab0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get common file path
Move file
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463a50
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x47a4a4]
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
xor edi, edi
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x46c], edi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x468]
push eax
push 0x467700
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x470], eax
cmp eax, 0xffffffff
jne 0x426b3b
mov byte [ebp - 4], 0
cmp dword [ebp + 0x20], 8
jb 0x426b26
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043ff5a
add esp, 4
xor edx, edx
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], edi
mov word [ebp + 0xc], dx
jmp 0x426e94
test byte [ebp - 0x468], 0x10
mov esi, 7
je 0x426d8c
xor eax, eax
mov word [ebp - 0x490], ax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x47c], esi
mov dword [ebp - 0x480], edi
lea edx, [eax + 2]
jmp 0x426b70
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x426b70
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x494]
call fcn.004073d0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x480]
or dword [ebp - 0x46c], 1
push 1
push 0x4669d8
push edx
push edi
lea ecx, [ebp - 0x494]
call fcn.004027b0
test eax, eax
je 0x426c32
xor eax, eax
mov word [ebp - 0x4ac], ax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x498], esi
mov dword [ebp - 0x49c], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x426be0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x4b0]
call fcn.004073d0
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x49c]
or dword [ebp - 0x46c], 2
push 2
push 0x4676f8
push edx
push edi
lea ecx, [ebp - 0x4b0]
call fcn.004027b0
test eax, eax
je 0x426c32
mov bl, 1
jmp 0x426c34
xor bl, bl
mov dword [ebp - 4], 3
test byte [ebp - 0x46c], 2
je 0x426c78
and dword [ebp - 0x46c], 0xfffffffd
cmp dword [ebp - 0x498], 8
jb 0x426c63
mov eax, dword [ebp - 0x4ac]
push eax
call fcn.0043ff5a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x498], esi
mov dword [ebp - 0x49c], edi
mov word [ebp - 0x4ac], cx
mov dword [ebp - 4], 1
test byte [ebp - 0x46c], 1
je 0x426cbc
and dword [ebp - 0x46c], 0xfffffffe
cmp dword [ebp - 0x47c], 8
jb 0x426ca7
mov edx, dword [ebp - 0x490]
push edx
call fcn.0043ff5a
add esp, 4
xor eax, eax
mov dword [ebp - 0x47c], esi
mov dword [ebp - 0x480], edi
mov word [ebp - 0x490], ax
test bl, bl
je 0x426e45
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea edx, [ebp - 0x43c]
push edx
call ebx
sub esp, 0x20
mov ecx, esp
lea eax, [ebp + 0x28]
mov dword [ebp - 0x4d0], esp
push eax
mov dword [ebp - 0x474], ecx
call fcn.004266c0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x24]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x18], esi
xor edx, edx
lea eax, [ebp - 0x43c]
mov dword [ecx + 0x14], edi
mov dword [ebp - 0x474], esp
mov word [ecx + 4], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x426d27
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.004073d0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x478]
call fcn.00426ab0
lea ecx, [ebp - 0x218]
push ecx
call ebx
lea edx, [ebp - 0x43c]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x426e45
cmp dword [ebp + 0x24], edi
je 0x426e45
push 4
push edi
lea eax, [ebp - 0x43c]
push eax
jmp 0x426e3f
xor ecx, ecx
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x4b4], esi
mov dword [ebp - 0x4b8], edi
mov word [ebp - 0x4c8], cx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x426db0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x43c]
push edx
lea ecx, [ebp - 0x4cc]
call fcn.004073d0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x4cc]
push eax
lea ecx, [ebp + 0x28]
call fcn.004269c0
cmp dword [eax], edi
sete bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4b4], 8
jb 0x426e06
mov ecx, dword [ebp - 0x4c8]
push ecx
call fcn.0043ff5a
add esp, 4
xor edx, edx
mov dword [ebp - 0x4b4], esi
mov dword [ebp - 0x4b8], edi
mov word [ebp - 0x4c8], dx
test bl, bl
je 0x426e45
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x426e45
cmp dword [ebp + 0x24], edi
je 0x426e45
push 4
push edi
lea ecx, [ebp - 0x43c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x470]
lea edx, [ebp - 0x468]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x426b3b
mov ecx, dword [ebp - 0x470]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
cmp dword [ebp + 0x20], 8
jb 0x426e84
mov edx, dword [ebp + 0xc]
push edx
call fcn.0043ff5a
add esp, 4
xor eax, eax
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], edi
mov word [ebp + 0xc], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.00415fd0
mov eax, 1
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.00440721
mov esp, ebp
pop ebp
ret 0x40