Function at 0x46e830
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcbc
mov eax, dword [0x608554]
xor eax, esp
mov dword [esp + 0xcb8], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push ecx
push str.OperateFile::CopyFileWithWildCard
lea ecx, [esp + 0x18]
call fcn.0040a480
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46e8e8
test byte [ecx + 0x1c], 1
je 0x46e8ab
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cecd4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6b
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x46e8e8
test byte [ecx + 0x1c], 1
je 0x46e8e8
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push edi
push esi
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6c
call fcn.0040c1c0
add esp, 0x18
push 0x208
lea eax, [esp + 0xabc]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x8b0]
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x6a8]
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x298]
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x4a0]
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x48]
push 0x250
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x298]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
call esi
push edi
lea eax, [esp + 0x4a4]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x298]
push eax
call esi
lea eax, [esp + 0x4a0]
push eax
call esi
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x29c]
push eax
lea eax, [esp + 0xac0]
push 0x5c70f4
push eax
call ebx
add esp, 0x10
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xabc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46eae4
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop word [eax + eax]
test byte [esp + 0x48], 0x10
jne 0x46eac9
push 0x5cafc8
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
je 0x46eac9
push 0x5cafcc
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
je 0x46eac9
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x29c]
push eax
lea eax, [esp + 0x8b8]
push 0x5c70f4
push eax
call ebx
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x4b4]
push eax
lea eax, [esp + 0x6c0]
push 0x5c70f4
push eax
call ebx
add esp, 0x20
lea eax, [esp + 0x6a8]
push 1
push eax
lea eax, [esp + 0x8b8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46eac9
test byte [ecx + 0x1c], 4
je 0x46eac9
cmp dword [0x608f68], 8
lea edx, [esp + 0x6a8]
push edx
lea edx, [esp + 0x8b4]
mov eax, 0x608f54
cmovae eax, dword [0x608f54]
push edx
push eax
push dword [ecx + 0x14]
mov edx, 0x5cecd4
push dword [ecx + 0x10]
mov ecx, 0x6d
call fcn.00430170
add esp, 0x14
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46e9f0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x14], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46eb2b
test byte [ecx + 0x1c], 1
je 0x46eb2b
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 1
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6e
call fcn.004018a0
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0040a570
mov ecx, dword [esp + 0xcc4]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 0xc