Function at 0x401000
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x40d49b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00404660
push str.DeleteCWDFile___START
push 0x37
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x480], 0
call fcn.004041e0
cmp dword [esp + 0x480], 0x104
jl 0x401077
mov eax, dword [esp + 0x47c]
lea ecx, [esp + 0x10]
push eax
push 0x410108
push 0x41
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
call fcn.00404130
jmp 0x401436
mov ebp, dword [esp + 0x47c]
or ebx, 0xffffffff
mov edi, ebp
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + ebp - 1], 0x5c
je 0x40109f
push 0x410104
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x368]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x368]
push 0x410100
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x368]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x401104
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4100e0
push 0x54
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
lea ecx, [esp + 0x1c]
call fcn.004041e0
mov dword [esp + 0x474], ebx
jmp 0x401441
test byte [esp + 0x20], 0x10
je 0x4011f0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea edx, [esp + 0x4c]
push 0x4100dc
push edx
call esi
test eax, eax
je 0x4011f6
lea eax, [esp + 0x4c]
push 0x4100d8
push eax
call esi
test eax, eax
je 0x4011f6
mov edi, ebp
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x4c]
mov edx, ecx
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
cmp edx, 0x104
jbe 0x401190
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
push 0x4100c8
push 0x60
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
call fcn.00404130
lea ecx, [esp + 0x10]
mov dword [esp + 0x474], ebx
call fcn.00404690
xor eax, eax
jmp 0x40144f
lea ecx, [esp + 0x160]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x160]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [esp + 0x160]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x484]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
lea ecx, [esp + 0x168]
push ecx
call section..text
add esp, 0xc
test eax, eax
jne 0x4012a1
push 0x4100b0
push 0x6b
jmp 0x4014a7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ebx, dword [esp + 0x484]
lea edx, [esp + 0x4c]
push ebx
push edx
call fcn.00404910
add esp, 8
test eax, eax
jne 0x4012a1
lea eax, [esp + 0x4c]
push 0x4100ac
push eax
call fcn.00404910
add esp, 8
test eax, eax
je 0x4012a1
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x264]
lea edx, [esp + 0x264]
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x264]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x264]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40141e
test byte [esp + 0x20], 0x10
je 0x401362
lea eax, [esp + 0x4c]
push 0x4100dc
push eax
call esi
test eax, eax
je 0x401362
lea ecx, [esp + 0x4c]
push 0x4100d8
push ecx
call esi
test eax, eax
je 0x401362
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x4c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
cmp edx, 0x104
ja 0x401468
lea eax, [esp + 0x160]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x160]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [esp + 0x160]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x164]
push ecx
push eax
call section..text
add esp, 0xc
test eax, eax
je 0x40149d
jmp 0x401406
lea ecx, [esp + 0x4c]
push ebx
push ecx
call fcn.00404910
add esp, 8
test eax, eax
jne 0x401406
lea edx, [esp + 0x4c]
push 0x4100ac
push edx
call fcn.00404910
add esp, 8
test eax, eax
je 0x401406
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x264]
lea edx, [esp + 0x264]
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x264]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x264]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4012b9
push str.DeleteCWDFile___END
push 0xa8
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
lea ecx, [esp + 0x1c]
call fcn.004041e0
mov dword [esp + 0x474], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00404690
mov eax, 1
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x468
ret
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
push 0x4100c8
push 0x88
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
call fcn.00404130
lea ecx, [esp + 0x10]
mov dword [esp + 0x474], 0xffffffff
call fcn.00404690
xor eax, eax
jmp 0x40144f
push 0x4100b0
push 0x92
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
lea ecx, [esp + 0x1c]
call fcn.004041e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x474], 0xffffffff
call fcn.00404690
xor eax, eax
jmp 0x40144f