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

Disassembly:
push 0x2ec
mov eax, 0x4b4420
call fcn.0047a6c1
mov ebx, ecx
mov dword [ebp - 0x2f4], ebx
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov esi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x43e3ed
mov ecx, dword [edi]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43e3f7
mov eax, dword [esi]
push ecx
push eax
call fcn.00489d2e
pop ecx
pop ecx
test eax, eax
jne 0x43e45c
cmp dword [edi + 0x14], 8
jb 0x43e40c
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x43e414
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x88]
push str.FilePatch::MoveFolder__strSourcePath_s__strDestPath_s
push eax
call fcn.00432c76
add esp, 0x10
lea esi, [ebx + 8]
mov ecx, esi
push eax
call fcn.00409f50
lea ecx, [ebp - 0x88]
call fcn.00411fa2
cmp dword [esi + 0x14], 8
jb 0x43e448
mov esi, dword [esi]
push esi
push 0x4c4248
call fcn.004336ac
pop ecx
pop ecx
xor eax, eax
jmp 0x43e90a
xor ebx, ebx
lea ecx, [ebp - 0x70]
push esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.00411e48
lea eax, [ebp - 0x70]
mov dword [ebp - 4], ebx
push eax
call fcn.004341aa
pop ecx
push edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.00411e48
lea eax, [ebp - 0x58]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.004341aa
lea eax, [ebp - 0x58]
push eax
call fcn.0043109c
pop ecx
pop ecx
test eax, eax
jne 0x43e4b5
lea eax, [ebp - 0x58]
push eax
call fcn.00434620
pop ecx
push 0x250
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.0047bc10
push 0x4c0fd4
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00414703
add esp, 0x18
push 8
pop edi
cmp dword [ebp - 0x8c], edi
lea ecx, [ebp - 0x2f0]
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2f8], eax
push 7
pop edx
cmp eax, 0xffffffff
jne 0x43e587
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x8c], edi
lea ecx, [ebp - 0xa0]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [esi + 0x14], edi
jb 0x43e536
mov esi, dword [esi]
push eax
push ecx
push esi
lea eax, [ebp - 0x88]
push str.FilePatch::MoveFolder__strSourcePath_s__strFileFilter_s__ErrorCode_d
push eax
call fcn.00432c76
mov esi, dword [ebp - 0x2f4]
add esp, 0x14
add esi, 8
mov ecx, esi
push eax
call fcn.00409f50
lea ecx, [ebp - 0x88]
call fcn.00411fa2
cmp dword [esi + 0x14], edi
jb 0x43e570
mov esi, dword [esi]
push esi
push 0x4c4248
call fcn.004336ac
pop ecx
pop ecx
push 7
xor ebx, ebx
pop esi
jmp 0x43e854
xor ecx, ecx
mov dword [ebp - 0x2c], edx
xor eax, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
mov esi, dword [ebp - 0x2f4]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00414703
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x43e5e2
mov ecx, eax
call fcn.00411fa2
push edi
lea ecx, [ebp - 0x40]
call fcn.00411ee1
lea ecx, [ebp - 0x88]
call fcn.00411fa2
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00414703
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x43e620
mov ecx, eax
call fcn.00411fa2
push edi
lea ecx, [ebp - 0x28]
call fcn.00411ee1
lea ecx, [ebp - 0x88]
call fcn.00411fa2
test byte [ebp - 0x2f0], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x43e683
lea eax, [ebp - 0x2c4]
push 0x4c0fdc
push eax
call fcn.00489d2e
pop ecx
pop ecx
test eax, eax
je 0x43e679
lea eax, [ebp - 0x2c4]
push 0x4c0dbc
push eax
call fcn.00489d2e
pop ecx
pop ecx
test eax, eax
je 0x43e679
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043e3c6
mov ebx, eax
test ebx, ebx
je 0x43e768
jmp 0x43e6eb
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 3
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov ebx, eax
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ebx
push dword [ebp - 0x2f0]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
push dword [esi + 0x28]
push str.FilePatch::MoveFolder____d___strExistFilePath_s__strNewFilePath_s__dwFileAttributes0x_X__bResult_d
call fcn.004336ac
add esp, 0x18
test ebx, ebx
je 0x43e708
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
inc edx
mov dword [esi + 0x28], edx
test ecx, ecx
je 0x43e6eb
mov eax, dword [ecx]
push edx
call dword [eax]
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43e5af
jmp 0x43e768
call edi
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
push eax
push dword [ebp - 0x2f0]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x88]
push edx
cmovae ecx, dword [ebp - 0x40]
push ecx
push str.FilePatch::MoveFolder__strExistFilePath_s__strNewFilePath_s__dwFileAttributes0x_X__ErrorCode_d
push eax
call fcn.00432c76
add esp, 0x18
add esi, 8
mov ecx, esi
push eax
call fcn.00409f50
lea ecx, [ebp - 0x88]
call fcn.00411fa2
cmp dword [esi + 0x14], 8
jb 0x43e75b
mov esi, dword [esi]
push esi
push 0x4c4248
call fcn.004336ac
pop ecx
pop ecx
call edi
push dword [ebp - 0x2f8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 8
pop edi
cmp dword [ebp - 0x5c], edi
lea ecx, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
push ebx
push str.FilePatch::MoveFolder__Leave__bResult_d__dwLastError_d
call fcn.004336ac
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, edi
jb 0x43e7e9
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, 0x1000
jb 0x43e7e0
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x2f8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f4]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
and dword [ebp - 0x18], 0
xor eax, eax
push 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
pop esi
mov dword [ebp - 0x14], esi
cmp eax, edi
jb 0x43e847
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, 0x1000
jb 0x43e83e
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x2f8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f4]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
and dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0xa0]
call fcn.00411fa2
mov eax, dword [ebp - 0x44]
cmp eax, edi
jb 0x43e8ad
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, 0x1000
jb 0x43e8a4
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x2f8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f4]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
and dword [ebp - 0x48], 0
xor eax, eax
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], esi
cmp eax, edi
jb 0x43e908
mov ecx, dword [ebp - 0x70]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, 0x1000
jb 0x43e8ff
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x2f8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2f4]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
mov eax, ebx
call fcn.0047a67f
ret 8