Function at 0x455de0
Capabilities:
Copy file
Create directory
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d69dd
mov eax, dword fs:[0]
push eax
sub esp, 0x8e4
mov eax, dword [0x5060c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4568ca
xorps xmm0, xmm0
mov dword [ebp - 0x62c], eax
movups xmmword [ebp - 0x63c], xmm0
push 8
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x634], eax
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], eax
call fcn.004a2383
lea ecx, [ebp - 0x63c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x63c], eax
mov dword [eax], ecx
push esi
lea ecx, [ebp - 0x8ec]
mov dword [ebp - 4], 0
call fcn.00425cf0
push eax
lea ecx, [ebp - 0x63c]
mov byte [ebp - 4], 1
call fcn.00459b60
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x8d8]
cmp ecx, 7
jbe 0x455ed7
mov edx, dword [ebp - 0x8ec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x455ecd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4568ec
push ecx
push edx
call fcn.004a23b3
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x640], 0
movups xmmword [ebp - 0x650], xmm0
push 8
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x640], 0
call fcn.004a2383
lea ecx, [ebp - 0x650]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x650], eax
mov dword [eax], ecx
push edi
lea ecx, [ebp - 0x8ec]
mov byte [ebp - 4], 2
call fcn.00425cf0
push eax
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 3
call fcn.00459b60
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8d8]
cmp ecx, 7
jbe 0x455fa0
mov edx, dword [ebp - 0x8ec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x455f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4568f1
push ecx
push edx
call fcn.004a23b3
add esp, 8
cmp dword [ebp - 0x62c], 0
je 0x456710
nop dword [eax]
mov ecx, dword [ebp - 0x634]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x630]
mov esi, dword [ebp - 0x638]
lea eax, [ecx - 1]
and eax, edx
mov esi, dword [esi + eax*4]
mov edi, esi
movups xmmword [ebp - 0x680], xmm0
mov dword [ebp - 0x670], 0
mov dword [ebp - 0x66c], 0
cmp dword [esi + 0x14], 7
jbe 0x455ff2
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x4568fb
cmp esi, 7
ja 0x456022
mov dword [ebp - 0x670], esi
mov dword [ebp - 0x66c], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x680], xmm0
jmp 0x45608f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x456035
mov eax, SysReAllocString
jmp 0x456040
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x8d4], eax
lea eax, [ebp - 0x8d4]
push eax
lea eax, [ebp - 0x680]
push eax
call fcn.00426130
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x66c], ecx
lea ecx, [esi*2 + 2]
push ecx
push edi
push eax
mov dword [ebp - 0x680], eax
mov dword [ebp - 0x670], esi
call fcn.004a3d80
mov edx, dword [ebp - 0x630]
add esp, 0x14
mov ecx, dword [ebp - 0x634]
dec ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x638]
and ecx, edx
mov ecx, dword [eax + ecx*4]
call fcn.00425e10
sub dword [ebp - 0x62c], 1
jne 0x4560b9
mov dword [ebp - 0x630], 0
jmp 0x4560bf
inc dword [ebp - 0x630]
mov ecx, dword [ebp - 0x648]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x644]
mov esi, dword [ebp - 0x64c]
lea eax, [ecx - 1]
and eax, edx
mov esi, dword [esi + eax*4]
mov edi, esi
movups xmmword [ebp - 0x668], xmm0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 0
cmp dword [esi + 0x14], 7
jbe 0x456101
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x4568fb
cmp esi, 7
ja 0x456131
mov dword [ebp - 0x658], esi
mov dword [ebp - 0x654], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x668], xmm0
jmp 0x45619e
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x456144
mov eax, SysReAllocString
jmp 0x45614f
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x8d4], eax
lea eax, [ebp - 0x8d4]
push eax
lea eax, [ebp - 0x668]
push eax
call fcn.00426130
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x654], ecx
lea ecx, [esi*2 + 2]
push ecx
push edi
push eax
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x658], esi
call fcn.004a3d80
mov edx, dword [ebp - 0x644]
add esp, 0x14
mov ecx, dword [ebp - 0x648]
dec ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x64c]
and ecx, edx
mov ecx, dword [eax + ecx*4]
call fcn.00425e10
sub dword [ebp - 0x640], 1
jne 0x4561c8
mov dword [ebp - 0x644], 0
jmp 0x4561ce
inc dword [ebp - 0x644]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004a4300
cmp dword [ebp - 0x66c], 7
lea eax, [ebp - 0x680]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
cmova eax, dword [ebp - 0x680]
push eax
lea eax, [ebp - 0x628]
push 0x4ed148
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x628]
push 0x4ee244
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8d0]
push 0
push eax
call fcn.004a4300
add esp, 0xc
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x8f0], esi
cmp esi, 0xffffffff
je 0x456662
nop word [eax + eax]
cmp word [ebp - 0x8a4], 0x2e
je 0x456645
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a4300
cmp dword [ebp - 0x66c], 7
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x680]
cmova eax, dword [ebp - 0x680]
push eax
lea eax, [ebp - 0x420]
push 0x4ee24c
push eax
call edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a4300
cmp dword [ebp - 0x654], 7
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x668]
cmova eax, dword [ebp - 0x668]
push eax
lea eax, [ebp - 0x218]
push 0x4ee24c
push eax
call edi
add esp, 0x38
test byte [ebp - 0x8d0], 0x10
je 0x45662f
xorps xmm0, xmm0
mov dword [ebp - 0x8dc], 0
lea esi, [ebp - 0x420]
mov dword [ebp - 0x8d8], 0
movups xmmword [ebp - 0x8ec], xmm0
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x456320
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x4568fb
cmp esi, 7
ja 0x456375
mov dword [ebp - 0x8dc], esi
lea eax, [ebp - 0x420]
add esi, esi
mov dword [ebp - 0x8d8], 7
push esi
push eax
lea eax, [ebp - 0x8ec]
push eax
call fcn.004a3d80
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x8ec], ax
jmp 0x4563df
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x456388
mov eax, SysReAllocString
jmp 0x456393
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x8d4], eax
lea eax, [ebp - 0x8d4]
push eax
lea eax, [ebp - 0x8ec]
push eax
call fcn.00426130
mov ecx, dword [ebp - 0x8d4]
mov edi, eax
mov dword [ebp - 0x8dc], esi
lea eax, [ebp - 0x420]
add esi, esi
mov dword [ebp - 0x8ec], edi
push esi
push eax
push edi
mov dword [ebp - 0x8d8], ecx
call fcn.004a3d80
add esp, 0x14
xor eax, eax
mov word [edi + esi], ax
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x62c]
mov edx, dword [ebp - 0x634]
lea eax, [esi + 1]
cmp edx, eax
ja 0x45640e
push ecx
lea ecx, [ebp - 0x63c]
call fcn.0045a030
mov esi, dword [ebp - 0x62c]
mov edx, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x630]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x630], ecx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x638]
and eax, edi
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x456459
push 0x18
call fcn.004a2383
mov ecx, dword [ebp - 0x638]
add esp, 4
mov dword [esi + ecx], eax
mov edx, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x638]
movups xmm0, xmmword [ebp - 0x8ec]
lea eax, [edx - 1]
and eax, edi
lea esi, [ebp - 0x218]
mov eax, dword [ecx + eax*4]
lea ecx, [esi + 2]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x8dc]
movq qword [eax + 0x10], xmm0
xorps xmm0, xmm0
inc dword [ebp - 0x62c]
mov byte [ebp - 4], 5
movups xmmword [ebp - 0x8ec], xmm0
mov dword [ebp - 0x8dc], 0
mov dword [ebp - 0x8d8], 0
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4564b0
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x4568fb
cmp esi, 7
ja 0x456505
mov dword [ebp - 0x8dc], esi
lea eax, [ebp - 0x218]
add esi, esi
mov dword [ebp - 0x8d8], 7
push esi
push eax
lea eax, [ebp - 0x8ec]
push eax
call fcn.004a3d80
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x8ec], ax
jmp 0x45656f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x456518
mov eax, SysReAllocString
jmp 0x456523
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x8d4], eax
lea eax, [ebp - 0x8d4]
push eax
lea eax, [ebp - 0x8ec]
push eax
call fcn.00426130
mov ecx, dword [ebp - 0x8d4]
mov edi, eax
mov dword [ebp - 0x8dc], esi
lea eax, [ebp - 0x218]
add esi, esi
mov dword [ebp - 0x8ec], edi
push esi
push eax
push edi
mov dword [ebp - 0x8d8], ecx
call fcn.004a3d80
add esp, 0x14
xor eax, eax
mov word [esi + edi], ax
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x640]
mov edx, dword [ebp - 0x648]
lea eax, [esi + 1]
cmp edx, eax
ja 0x45659e
push ecx
lea ecx, [ebp - 0x650]
call fcn.0045a030
mov esi, dword [ebp - 0x640]
mov edx, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x644]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x644], ecx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x64c]
and eax, edi
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x4565e9
push 0x18
call fcn.004a2383
mov ecx, dword [ebp - 0x64c]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x64c]
movups xmm0, xmmword [ebp - 0x8ec]
lea eax, [edx - 1]
and eax, edi
push 0
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x8dc]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x218]
inc dword [ebp - 0x640]
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [ebp - 0x8f0]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x456645
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x8d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x456260
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x654]
cmp ecx, 7
jbe 0x4566a6
mov edx, dword [ebp - 0x668]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45669c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4568ec
push ecx
push edx
call fcn.004a23b3
add esp, 8
mov byte [ebp - 4], 2
xor eax, eax
mov ecx, dword [ebp - 0x66c]
mov word [ebp - 0x668], ax
mov dword [ebp - 0x654], 7
mov dword [ebp - 0x658], eax
cmp ecx, 7
jbe 0x456703
mov edx, dword [ebp - 0x680]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4566f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4568ec
push ecx
push edx
call fcn.004a23b3
add esp, 8
cmp dword [ebp - 0x62c], 0
jne 0x455fb0
mov ecx, dword [ebp - 0x640]
test ecx, ecx
je 0x45675b
nop word [eax + eax]
mov eax, dword [ebp - 0x644]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x648]
dec eax
and ecx, eax
mov eax, dword [ebp - 0x64c]
mov ecx, dword [eax + ecx*4]
call fcn.00425e10
mov ecx, dword [ebp - 0x640]
sub ecx, 1
mov dword [ebp - 0x640], ecx
jne 0x456720
mov dword [ebp - 0x644], 0
mov ecx, dword [ebp - 0x64c]
test ecx, ecx
je 0x4567d3
mov esi, dword [ebp - 0x648]
test esi, esi
jle 0x456794
nop
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45678a
push 0x18
push eax
call fcn.004a23b3
mov ecx, dword [ebp - 0x64c]
add esp, 8
test esi, esi
jg 0x456770
mov esi, dword [ebp - 0x648]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x4567b5
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4568f6
push esi
push ecx
call fcn.004a23b3
add esp, 8
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
mov eax, dword [ebp - 0x650]
push 8
push eax
mov dword [ebp - 0x650], 0
call fcn.004a23b3
mov ecx, dword [ebp - 0x62c]
add esp, 8
test ecx, ecx
je 0x45683b
nop dword [eax + eax]
mov eax, dword [ebp - 0x630]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x634]
dec eax
and ecx, eax
mov eax, dword [ebp - 0x638]
mov ecx, dword [eax + ecx*4]
call fcn.00425e10
mov ecx, dword [ebp - 0x62c]
sub ecx, 1
mov dword [ebp - 0x62c], ecx
jne 0x456800
mov dword [ebp - 0x630], 0
mov ecx, dword [ebp - 0x638]
test ecx, ecx
je 0x4568af
mov esi, dword [ebp - 0x634]
test esi, esi
jle 0x456874
nop
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45686a
push 0x18
push eax
call fcn.004a23b3
mov ecx, dword [ebp - 0x638]
add esp, 8
test esi, esi
jg 0x456850
mov esi, dword [ebp - 0x634]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x456891
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4568f6
push esi
push ecx
call fcn.004a23b3
add esp, 8
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x634], 0
mov eax, dword [ebp - 0x63c]
push 8
push eax
mov dword [ebp - 0x63c], 0
call fcn.004a23b3
add esp, 8
mov eax, 1
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.004a2700
mov esp, ebp
pop ebp
ret 8
call fcn.004a78df
call fcn.004a78df
call fcn.004a78df
call fcn.004253f0
int3