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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eefa4
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x676580]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
push str..
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040bb50
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x274], 0
push 0x24c
push 0
lea edx, [ebp - 0x270]
push edx
call fcn.00524800
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x18]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x497eb0
mov byte [ebp - 0x275], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00403270
mov al, byte [ebp - 0x275]
jmp 0x4980a1
lea ecx, [ebp - 0x20]
call fcn.00403290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00403290
mov byte [ebp - 4], 2
mov byte [ebp - 0x19], 1
lea ecx, [ebp - 0x274]
push ecx
mov ecx, dword [ebp - 0x290]
call fcn.004980c0
movzx edx, al
test edx, edx
je 0x498032
push 0x63bf54
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.0040bb50
add esp, 0xc
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x298], edx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x298]
push ecx
lea edx, [ebp - 0x280]
push edx
call fcn.0040bb50
add esp, 0xc
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2a0]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040ca60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x280]
call fcn.00403270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27c]
call fcn.00403270
push 0x63bf54
mov edx, dword [ebp - 0x290]
add edx, 4
push edx
lea eax, [ebp - 0x284]
push eax
call fcn.0040bb50
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], ecx
mov byte [ebp - 4], 5
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.0040bb50
add esp, 0xc
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ca60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x288]
call fcn.00403270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x284]
call fcn.00403270
push 0
lea ecx, [ebp - 0x10]
call fcn.00493020
push eax
lea ecx, [ebp - 0x20]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x498032
mov byte [ebp - 0x19], 0
jmp 0x498061
push 0x250
push 0
lea ecx, [ebp - 0x274]
push ecx
call fcn.00524800
add esp, 0xc
lea edx, [ebp - 0x274]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x497ecc
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dl, byte [ebp - 0x19]
mov byte [ebp - 0x289], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00403270
mov al, byte [ebp - 0x289]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.005236f2
mov esp, ebp
pop ebp
ret