Function at 0x4384d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7e2d
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x5603e8]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x4e0], edi
mov dword [ebp - 0x4e4], esi
cmp edi, ebx
je 0x438a75
cmp esi, ebx
je 0x438a75
push 0x24c
lea eax, [ebp - 0x4d4]
push ebx
push eax
mov dword [ebp - 0x4d8], ebx
call sub.MSVCR100.dll_memset
xor ecx, ecx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], cx
lea edx, [ebp - 0x26c]
push edi
push edx
mov dword [ebp - 4], ebx
call fcn.00437f20
add esp, 0x14
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.00405d20
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x258], edi
jb 0x438595
mov eax, dword [ebp - 0x26c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4385a0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x250]
call fcn.00409380
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], edi
jae 0x4385d0
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x4d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4dc], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4385f5
cmp eax, 0xffffffff
jne 0x43868f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
je 0x43865b
cmp eax, 3
je 0x43865b
call esi
cmp eax, ebx
jle 0x438617
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push str.FindFirstFile_Failed:_0x_08x.
push str.DeleteDirMatchFiles
push 0x4b8
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomiscksomisc_funcs.cpp
push ebx
call fcn.00487a00
mov eax, dword [ebp - 0x4dc]
add esp, 0x18
cmp eax, 0xffffffff
je 0x438649
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x250]
call fcn.004a9f30
mov eax, esi
jmp 0x438a97
cmp dword [ebp - 0x4dc], 0xffffffff
je 0x438671
mov edx, dword [ebp - 0x4dc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x23c], edi
jb 0x438688
mov eax, dword [ebp - 0x250]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x438a97
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4e0]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.00437f20
add esp, 8
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.00405d20
mov byte [ebp - 4], 3
cmp dword [ebp - 0x258], edi
jb 0x4386f3
mov ecx, dword [ebp - 0x26c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp - 0x4ac]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x438700
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x4ac]
push edx
lea ecx, [ebp - 0x234]
call fcn.00409380
test byte [ebp - 0x4d8], 0x10
je 0x4387ec
mov ecx, 0x4c7bb8
lea eax, [ebp - 0x4ac]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438766
cmp dx, bx
je 0x438762
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438766
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x438740
xor eax, eax
jmp 0x43876b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x438922
mov ecx, 0x4c7bb0
lea eax, [ebp - 0x4ac]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4387a6
cmp dx, bx
je 0x4387a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4387a6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x438780
xor eax, eax
jmp 0x4387ab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x438922
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], edi
jae 0x4387c7
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0x4e4]
push ecx
push eax
call fcn.004384d0
mov esi, eax
add esp, 8
cmp esi, ebx
jl 0x438981
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x438922
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], edi
jae 0x438800
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x438922
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x10
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR100.dll__ltow_s]
push 0x4d1ea8
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.0040ca60
lea ecx, [ebp - 0x218]
push ecx
push eax
lea edx, [ebp - 0x288]
push edx
mov byte [ebp - 4], 5
call fcn.0040ca00
add esp, 0x28
mov byte [ebp - 4], 7
cmp dword [ebp - 0x258], edi
jb 0x438896
mov eax, dword [ebp - 0x26c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov word [ebp - 0x26c], cx
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], ebx
cmp dword [ebp - 0x274], edi
jae 0x4388c3
lea ecx, [ebp - 0x288]
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], edi
jae 0x4388d7
lea eax, [ebp - 0x234]
push 1
push ecx
push eax
call esi
test eax, eax
je 0x438998
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x4388f9
lea eax, [ebp - 0x288]
push 4
push ebx
push eax
call esi
test eax, eax
je 0x438998
mov byte [ebp - 4], 3
cmp dword [ebp - 0x274], edi
jb 0x438922
mov edx, dword [ebp - 0x288]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x4dc]
lea eax, [ebp - 0x4d8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4386b2
mov eax, dword [ebp - 0x4e4]
mov ecx, 0x4c8920
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438a02
cmp dx, bx
je 0x43897a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438a02
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x438950
xor eax, eax
jmp 0x438a07
lea ecx, [ebp - 0x234]
call fcn.004a9f30
mov edx, dword [ebp - 0x4dc]
push edx
jmp 0x438643
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4389ac
and eax, 0xffff
or eax, 0x80070000
push eax
push str.DeleteFile_Failed:_0x_08x.
push str.DeleteDirMatchFiles
push 0x4d7
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomiscksomisc_funcs.cpp
push ebx
call fcn.00487a00
add esp, 0x18
lea ecx, [ebp - 0x288]
call fcn.004a9f30
lea ecx, [ebp - 0x234]
call fcn.004a9f30
mov eax, dword [ebp - 0x4dc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x250]
call fcn.004a9f30
mov eax, 0x80004005
jmp 0x438a97
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x438a4e
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x438a4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x438a30
and eax, 0xffff
or eax, 0x80070000
push eax
push str.Failed_RemoveDirectory:_0x_08x.
push str.DeleteDirMatchFiles
push 0x4de
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomiscksomisc_funcs.cpp
push ebx
call fcn.00487a00
add esp, 0x18
lea ecx, [ebp - 0x234]
call fcn.004a9f30
mov edx, dword [ebp - 0x4dc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x250]
call fcn.004a9f30
xor eax, eax
jmp 0x438a97
push str.Invalid_Args.
push str.DeleteDirMatchFiles
push 0x4a4
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomiscksomisc_funcs.cpp
push ebx
call fcn.00487a00
add esp, 0x14
mov eax, 0x80070057
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.004b12f6
mov esp, ebp
pop ebp
ret