Function at 0x438300
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 0x4ca993
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 [0x4f3280]
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.004c39d6
test eax, eax
jne 0x438372
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0048c630
add esp, 4
test eax, eax
jne 0x438372
xor eax, eax
jmp 0x4389e8
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.00431e70
mov dword [ebp - 4], 0
lea edi, [ebp - 0x34]
call fcn.0048be70
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x58]
call fcn.00431e70
mov byte [ebp - 4], 1
lea edi, [ebp - 0x58]
call fcn.0048be70
lea ecx, [ebp - 0x64]
call fcn.00417ee0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00417ee0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00402fc0
mov byte [ebp - 4], 4
push 0x4de03c
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x2e0]
push eax
call fcn.0043adf0
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.004180d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2e0]
call fcn.00403050
mov dword [ebp - 0x2dc], 0xffffffff
mov esi, esp
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004636c0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0xffffffff
je 0x438999
mov ecx, dword [ebp - 0x2d4]
and ecx, 0x10
je 0x438593
push 0x4de044
lea edx, [ebp - 0x2a8]
push edx
call fcn.004a27fe
add esp, 8
test eax, eax
je 0x43858e
push 0x4de048
lea eax, [ebp - 0x2a8]
push eax
call fcn.004a27fe
add esp, 8
test eax, eax
je 0x43858e
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x2fc]
call fcn.00431e70
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x334]
call fcn.00431e70
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x58]
call fcn.0048bd10
push eax
lea ecx, [ebp - 0x318]
push ecx
call fcn.00431f30
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.0048bd10
push eax
lea ecx, [ebp - 0x350]
push ecx
call fcn.00431f30
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.0048bd10
push eax
mov ecx, dword [ebp - 0x4bc]
call fcn.0048bd10
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00438300
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x350]
call fcn.004069c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x318]
call fcn.004069c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x334]
call fcn.004069c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2fc]
call fcn.004069c0
jmp 0x4386d7
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x36c]
call fcn.00431e70
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0048bd10
push eax
lea edx, [ebp - 0x388]
push edx
call fcn.00431f30
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.0048bd10
push eax
lea ecx, [ebp - 0x64]
call fcn.00403080
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x388]
call fcn.004069c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x36c]
call fcn.004069c0
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x3a4]
call fcn.00431e70
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x3a4]
push edx
lea ecx, [ebp - 0x58]
call fcn.0048bd10
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.00431f30
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.0048bd10
push eax
lea ecx, [ebp - 0x70]
call fcn.00403080
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3c0]
call fcn.004069c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3a4]
call fcn.004069c0
mov esi, esp
push 1
lea ecx, [ebp - 0x70]
call fcn.004636c0
push eax
lea ecx, [ebp - 0x64]
call fcn.004636c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, esp
call fcn.004c39d6
test eax, eax
jne 0x4386d7
mov esi, esp
push 0
lea ecx, [ebp - 0x70]
call fcn.004636c0
push eax
lea ecx, [ebp - 0x64]
call fcn.004636c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.004c39d6
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.004c39d6
test eax, eax
je 0x438983
mov ecx, dword [ebp - 0x2d4]
and ecx, 0x10
je 0x43883a
push 0x4de050
lea edx, [ebp - 0x2a8]
push edx
call fcn.004a27fe
add esp, 8
test eax, eax
je 0x438835
push 0x4de054
lea eax, [ebp - 0x2a8]
push eax
call fcn.004a27fe
add esp, 8
test eax, eax
je 0x438835
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x3dc]
call fcn.00431e70
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x414]
call fcn.00431e70
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x58]
call fcn.0048bd10
push eax
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00431f30
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.0048bd10
push eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.00431f30
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.0048bd10
push eax
mov ecx, dword [ebp - 0x4dc]
call fcn.0048bd10
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00438300
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x430]
call fcn.004069c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3f8]
call fcn.004069c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x414]
call fcn.004069c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3dc]
call fcn.004069c0
jmp 0x43897e
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00431e70
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0048bd10
push eax
lea edx, [ebp - 0x468]
push edx
call fcn.00431f30
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.0048bd10
push eax
lea ecx, [ebp - 0x64]
call fcn.00403080
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x468]
call fcn.004069c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44c]
call fcn.004069c0
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x484]
call fcn.00431e70
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x484]
push edx
lea ecx, [ebp - 0x58]
call fcn.0048bd10
push eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.00431f30
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.0048bd10
push eax
lea ecx, [ebp - 0x70]
call fcn.00403080
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4a0]
call fcn.004069c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x484]
call fcn.004069c0
mov esi, esp
push 1
lea ecx, [ebp - 0x70]
call fcn.004636c0
push eax
lea ecx, [ebp - 0x64]
call fcn.004636c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, esp
call fcn.004c39d6
test eax, eax
jne 0x43897e
mov esi, esp
push 0
lea ecx, [ebp - 0x70]
call fcn.004636c0
push eax
lea ecx, [ebp - 0x64]
call fcn.004636c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.004c39d6
jmp 0x4386d7
mov esi, esp
mov edx, dword [ebp - 0x2dc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x4a4], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.00403050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00403050
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00403050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004069c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004069c0
mov eax, dword [ebp - 0x4a4]
push edx
mov ecx, ebp
push eax
lea edx, [0x438a24]
call fcn.004c39f9
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.004a1723
add esp, 0x4ec
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 8