Function at 0x41e860
Capabilities:
Check if file exists
Copy file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5653
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
push esi
push edi
push ecx
lea edi, [ebp - 0x4ec]
mov ecx, 0x138
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4c6280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.0049f8de
test eax, eax
jne 0x41e8d2
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0045b100
add esp, 4
test eax, eax
jne 0x41e8d2
xor eax, eax
jmp 0x41ef48
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.00419660
mov dword [ebp - 4], 0
lea edi, [ebp - 0x34]
call fcn.0045e640
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x58]
call fcn.00419660
mov byte [ebp - 4], 1
lea edi, [ebp - 0x58]
call fcn.0045e640
lea ecx, [ebp - 0x64]
call fcn.0040fcf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0040fcf0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0040ff10
mov byte [ebp - 4], 4
push 0x4b64ec
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x2e0]
push eax
call fcn.00421030
add esp, 0xc
mov dword [ebp - 0x4a8], eax
mov ecx, dword [ebp - 0x4a8]
mov dword [ebp - 0x4ac], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4ac]
push edx
lea ecx, [ebp - 0x7c]
call fcn.0040ffa0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2e0]
call fcn.0040fde0
mov dword [ebp - 0x2dc], 0xffffffff
mov esi, esp
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00410760
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.0049f8de
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0xffffffff
je 0x41eef9
mov ecx, dword [ebp - 0x2d4]
and ecx, 0x10
je 0x41eaf3
push 0x4b64f4
lea edx, [ebp - 0x2a8]
push edx
call fcn.0047f224
add esp, 8
test eax, eax
je 0x41eaee
push 0x4b64f8
lea eax, [ebp - 0x2a8]
push eax
call fcn.0047f224
add esp, 8
test eax, eax
je 0x41eaee
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x2fc]
call fcn.00419660
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x334]
call fcn.00419660
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x58]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x318]
push ecx
call fcn.00419720
add esp, 0xc
mov dword [ebp - 0x4b0], eax
mov edx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4b4], edx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x334]
push eax
lea ecx, [ebp - 0x34]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x350]
push ecx
call fcn.00419720
add esp, 0xc
mov dword [ebp - 0x4b8], eax
mov edx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4bc], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4b4]
call fcn.0045e4f0
push eax
mov ecx, dword [ebp - 0x4bc]
call fcn.0045e4f0
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0041e860
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x350]
call fcn.00419810
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x318]
call fcn.00419810
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x334]
call fcn.00419810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2fc]
call fcn.00419810
jmp 0x41ec37
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x36c]
call fcn.00419660
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0045e4f0
push eax
lea edx, [ebp - 0x388]
push edx
call fcn.00419720
add esp, 0xc
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebp - 0x4c0]
mov dword [ebp - 0x4c4], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x4c4]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040ffd0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x388]
call fcn.00419810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x36c]
call fcn.00419810
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x3a4]
call fcn.00419660
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x3a4]
push edx
lea ecx, [ebp - 0x58]
call fcn.0045e4f0
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.00419720
add esp, 0xc
mov dword [ebp - 0x4c8], eax
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4cc], ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x4cc]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x70]
call fcn.0040ffd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3c0]
call fcn.00419810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3a4]
call fcn.00419810
mov esi, esp
push 1
lea ecx, [ebp - 0x70]
call fcn.00410760
push eax
lea ecx, [ebp - 0x64]
call fcn.00410760
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, esp
call fcn.0049f8de
test eax, eax
jne 0x41ec37
mov esi, esp
push 0
lea ecx, [ebp - 0x70]
call fcn.00410760
push eax
lea ecx, [ebp - 0x64]
call fcn.00410760
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.0049f8de
mov esi, esp
lea edx, [ebp - 0x2d4]
push edx
mov eax, dword [ebp - 0x2dc]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp esi, esp
call fcn.0049f8de
test eax, eax
je 0x41eee3
mov ecx, dword [ebp - 0x2d4]
and ecx, 0x10
je 0x41ed9a
push 0x4b6500
lea edx, [ebp - 0x2a8]
push edx
call fcn.0047f224
add esp, 8
test eax, eax
je 0x41ed95
push 0x4b6504
lea eax, [ebp - 0x2a8]
push eax
call fcn.0047f224
add esp, 8
test eax, eax
je 0x41ed95
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x3dc]
call fcn.00419660
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x414]
call fcn.00419660
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x58]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00419720
add esp, 0xc
mov dword [ebp - 0x4d0], eax
mov edx, dword [ebp - 0x4d0]
mov dword [ebp - 0x4d4], edx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x34]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.00419720
add esp, 0xc
mov dword [ebp - 0x4d8], eax
mov edx, dword [ebp - 0x4d8]
mov dword [ebp - 0x4dc], edx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x4d4]
call fcn.0045e4f0
push eax
mov ecx, dword [ebp - 0x4dc]
call fcn.0045e4f0
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0041e860
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x430]
call fcn.00419810
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3f8]
call fcn.00419810
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x414]
call fcn.00419810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3dc]
call fcn.00419810
jmp 0x41eede
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00419660
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0045e4f0
push eax
lea edx, [ebp - 0x468]
push edx
call fcn.00419720
add esp, 0xc
mov dword [ebp - 0x4e0], eax
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x4e4], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x4e4]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040ffd0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x468]
call fcn.00419810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44c]
call fcn.00419810
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x484]
call fcn.00419660
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x484]
push edx
lea ecx, [ebp - 0x58]
call fcn.0045e4f0
push eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.00419720
add esp, 0xc
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4e8]
mov dword [ebp - 0x4ec], ecx
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x4ec]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x70]
call fcn.0040ffd0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4a0]
call fcn.00419810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x484]
call fcn.00419810
mov esi, esp
push 1
lea ecx, [ebp - 0x70]
call fcn.00410760
push eax
lea ecx, [ebp - 0x64]
call fcn.00410760
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, esp
call fcn.0049f8de
test eax, eax
jne 0x41eede
mov esi, esp
push 0
lea ecx, [ebp - 0x70]
call fcn.00410760
push eax
lea ecx, [ebp - 0x64]
call fcn.00410760
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.0049f8de
jmp 0x41ec37
mov esi, esp
mov edx, dword [ebp - 0x2dc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.0049f8de
mov dword [ebp - 0x4a4], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.0040fde0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0040fde0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0040fde0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00419810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00419810
mov eax, dword [ebp - 0x4a4]
push edx
mov ecx, ebp
push eax
lea edx, [0x41ef84]
call fcn.0049f901
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047f404
add esp, 0x4ec
cmp ebp, esp
call fcn.0049f8de
mov esp, ebp
pop ebp
ret 8