Function at 0x469d60
Capabilities:
Copy file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d788d
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a8], ecx
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x284]
mov esi, dword [ebp + 8]
push 0x250
push 0
push eax
mov dword [ebp - 0x2ac], edi
call fcn.004a73c0
mov ecx, dword [esi]
add esp, 0xc
sub ecx, 0x10
call fcn.0041c6e0
lea ebx, [eax + 0x10]
mov dword [ebp - 0x294], ebx
mov dword [ebp - 4], 0
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.0041c6e0
add eax, 0x10
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 1
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x469dfc
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x469e23
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2a0], edi
push 1
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x294]
call fcn.0041c100
mov ecx, str.0s
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x469e76
test dx, dx
je 0x469e72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x469e76
add eax, 4
add ecx, 4
test dx, dx
jne 0x469e50
xor eax, eax
jmp 0x469e7b
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x28c]
test eax, eax
setne byte [ebp - 0x285]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469ea4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x285], 0
je 0x469ec5
push 1
push str.0s
lea ecx, [ebp - 0x294]
call fcn.0041c4b0
mov ebx, dword [ebp - 0x294]
push 1
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0041c100
mov ecx, str.0s
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x469f06
test dx, dx
je 0x469f02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x469f06
add eax, 4
add ecx, 4
test dx, dx
jne 0x469ee0
xor eax, eax
jmp 0x469f0b
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x28c]
test eax, eax
mov eax, esi
setne byte [ebp - 0x285]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469f31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x285], 0
je 0x469f4c
push 1
push str.0s
lea ecx, [ebp - 0x29c]
call fcn.0041c4b0
push 0x4ec44c
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x28c]
call fcn.0041c030
add esp, 4
push eax
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 4
call fcn.0041c740
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469f96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x284]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x28c], eax
cmp eax, 0xffffffff
jne 0x469fd7
push ebx
push 0x4f3bdc
push 0x515408
call fcn.0048be90
add esp, 0xc
mov dword [ebp - 0x298], 0
jmp 0x46a305
mov dword [ebp - 0x298], 1
test byte [ebp - 0x284], 0x12
jne 0x46a2b7
lea eax, [ebp - 0x258]
push 0x2e
push eax
call fcn.004a6ff1
add esp, 8
test eax, eax
je 0x46a29e
mov ecx, str..dll
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46a036
test dx, dx
je 0x46a032
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46a036
add eax, 4
add ecx, 4
test dx, dx
jne 0x46a010
xor eax, eax
jmp 0x46a03b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x46a29e
mov eax, dword [ebp - 0x2ac]
push dword [eax]
lea eax, [ebp - 0x258]
push eax
push 0x4f3c28
push 0x515408
call fcn.0048be90
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x2b0]
call fcn.0041c030
add esp, 0x14
push eax
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 5
call fcn.0041c740
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov edx, dword [ebp - 0x2b0]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a0b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x2b4]
call fcn.0041c030
add esp, 4
push eax
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.0041c740
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x2b4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a0fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x10], 0
mov edi, dword [ebp - 0x2a0]
push 0
push edi
je 0x46a254
call fcn.004ae3cc
mov esi, dword [ebp - 0x290]
add esp, 8
test eax, eax
je 0x46a144
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x46a2b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push 0x4f87c8
jmp 0x46a2e2
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x46a2b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x46a221
mov eax, dword [ebp - 0x2a8]
cmp dword [eax + 0x54], 2
jne 0x46a221
mov ecx, eax
mov dword [eax + 0x5c], 1
call fcn.00468910
test eax, eax
je 0x46a221
xor eax, eax
mov dword [ebp - 0x30], str.ucrtbase.dll
mov dword [ebp - 0x2c], str.msvcp140.dll
mov dword [ebp - 0x28], str.vcamp140.dll
mov dword [ebp - 0x24], str.vccorlib140.dll
mov dword [ebp - 0x20], str.vcomp140.dll
mov dword [ebp - 0x1c], str.vcruntime140.dll
mov dword [ebp - 0x18], str.concrt140.dll
mov dword [ebp - 0x2a4], eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp + eax*4 - 0x30]
lea ecx, [ebp - 0x258]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x46a206
test dx, dx
je 0x46a202
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x46a206
add ecx, 4
add eax, 4
test dx, dx
jne 0x46a1e0
xor eax, eax
jmp 0x46a20b
sbb eax, eax
or eax, 1
test eax, eax
je 0x46a246
mov eax, dword [ebp - 0x2a4]
inc eax
mov dword [ebp - 0x2a4], eax
cmp eax, 7
jb 0x46a1d0
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x46a2b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push esi
push 0x4f88e0
jmp 0x46a2e2
lea eax, [ebp - 0x258]
push eax
push str._vc_runtime__FFile_ws.
jmp 0x46a2aa
mov esi, dword [ebp - 0x290]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x46a2b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x46a288
cmp eax, 0x20
jne 0x46a2d4
mov eax, dword [ebp - 0x2a8]
cmp dword [eax + 0x54], 1
jne 0x46a288
mov dword [eax + 0x58], 1
push esi
push edi
push 0x4f8948
push 0x515408
call fcn.0048be90
add esp, 0x10
jmp 0x46a2b7
lea eax, [ebp - 0x258]
push eax
push 0x4f3c08
push 0x515408
call fcn.0048be90
add esp, 0xc
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x469fe1
jmp 0x46a2f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push 0x4f8918
push 0x515408
call fcn.0048be90
add esp, 0x14
mov dword [ebp - 0x298], 0
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46a321
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46a33f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x29c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a360
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x46a37c
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x298]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 0xc