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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1eed
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x4fe0c0]
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 0x45406a
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.0049ca7e
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 - 0x8f0]
mov dword [ebp - 4], 0
call fcn.00425670
push eax
lea ecx, [ebp - 0x63c]
mov byte [ebp - 4], 1
call fcn.004572e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x8dc]
cmp ecx, 7
jbe 0x453677
mov edx, dword [ebp - 0x8f0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45366d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45408c
push ecx
push edx
call fcn.0049caae
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.0049ca7e
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 - 0x8f0]
mov byte [ebp - 4], 2
call fcn.00425670
push eax
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 3
call fcn.004572e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8dc]
cmp ecx, 7
jbe 0x453740
mov edx, dword [ebp - 0x8f0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x453736
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454091
push ecx
push edx
call fcn.0049caae
add esp, 8
cmp dword [ebp - 0x62c], 0
je 0x453eb6
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 edi, dword [esi + eax*4]
mov eax, edi
movups xmmword [ebp - 0x680], xmm0
mov dword [ebp - 0x670], 0
mov dword [ebp - 0x66c], 0
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x8d4], edi
jbe 0x45379e
mov eax, dword [edi]
mov dword [ebp - 0x8d4], eax
mov edi, dword [edi + 0x10]
cmp edi, 0x7ffffffe
ja 0x45409b
mov dword [ebp - 0x66c], 7
cmp edi, 7
ja 0x4537ce
mov dword [ebp - 0x670], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x680], xmm0
jmp 0x453844
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4537e2
mov esi, SysReAllocString
jmp 0x4537ed
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x8d8], eax
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x680]
push eax
call fcn.00425b00
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x680], eax
push ecx
push dword [ebp - 0x8d4]
mov dword [ebp - 0x670], edi
push eax
mov dword [ebp - 0x66c], esi
call fcn.0049e2f0
mov edx, dword [ebp - 0x630]
add esp, 0x14
mov ecx, dword [ebp - 0x634]
mov esi, dword [ebp - 0x638]
dec ecx
mov byte [ebp - 4], 4
and ecx, edx
mov ecx, dword [esi + ecx*4]
call fcn.004257c0
sub dword [ebp - 0x62c], 1
jne 0x453868
mov dword [ebp - 0x630], 0
jmp 0x45386e
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 edi, dword [esi + eax*4]
mov eax, edi
movups xmmword [ebp - 0x668], xmm0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 0
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x8d4], edi
jbe 0x4538bc
mov eax, dword [edi]
mov dword [ebp - 0x8d4], eax
mov edi, dword [edi + 0x10]
cmp edi, 0x7ffffffe
ja 0x45409b
mov dword [ebp - 0x654], 7
cmp edi, 7
ja 0x4538ec
mov dword [ebp - 0x658], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x668], xmm0
jmp 0x453962
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x453900
mov esi, SysReAllocString
jmp 0x45390b
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x8d8], eax
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x668]
push eax
call fcn.00425b00
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x668], eax
push ecx
push dword [ebp - 0x8d4]
mov dword [ebp - 0x658], edi
push eax
mov dword [ebp - 0x654], esi
call fcn.0049e2f0
mov edx, dword [ebp - 0x644]
add esp, 0x14
mov ecx, dword [ebp - 0x648]
mov esi, dword [ebp - 0x64c]
dec ecx
mov byte [ebp - 4], 5
and ecx, edx
mov ecx, dword [esi + ecx*4]
call fcn.004257c0
sub dword [ebp - 0x640], 1
jne 0x453986
mov dword [ebp - 0x644], 0
jmp 0x45398c
inc dword [ebp - 0x644]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0049e870
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 0x4e7030
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x628]
push 0x4e7ea8
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8d0]
push 0
push eax
call fcn.0049e870
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 - 0x8f4], esi
cmp esi, 0xffffffff
je 0x453e08
nop dword [eax + eax]
cmp word [ebp - 0x8a4], 0x2e
je 0x453deb
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0049e870
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 0x4e7eb0
push eax
call edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049e870
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 0x4e7eb0
push eax
call edi
add esp, 0x38
test byte [ebp - 0x8d0], 0x10
je 0x453dd5
xorps xmm0, xmm0
mov dword [ebp - 0x8e0], 0
lea esi, [ebp - 0x420]
mov dword [ebp - 0x8dc], 0
movups xmmword [ebp - 0x8f0], xmm0
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x453ae0
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x45409b
cmp esi, 7
ja 0x453b35
mov dword [ebp - 0x8e0], esi
lea eax, [ebp - 0x420]
add esi, esi
mov dword [ebp - 0x8dc], 7
push esi
push eax
lea eax, [ebp - 0x8f0]
push eax
call fcn.0049e2f0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x8f0], ax
jmp 0x453ba6
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x453b48
mov eax, SysReAllocString
jmp 0x453b53
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x8d4], eax
inc eax
mov dword [ebp - 0x8d8], eax
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x8f0]
push eax
call fcn.00425b00
mov edi, eax
mov dword [ebp - 0x8e0], esi
mov eax, dword [ebp - 0x8d4]
add esi, esi
mov dword [ebp - 0x8dc], eax
lea eax, [ebp - 0x420]
push esi
push eax
push edi
mov dword [ebp - 0x8f0], edi
call fcn.0049e2f0
add esp, 0x14
xor eax, eax
mov word [esi + edi], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x62c]
mov ecx, dword [ebp - 0x634]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x453bd5
push ecx
lea ecx, [ebp - 0x63c]
call fcn.00457880
mov edx, dword [ebp - 0x62c]
mov ecx, dword [ebp - 0x634]
mov eax, dword [ebp - 0x630]
dec ecx
and eax, ecx
mov dword [ebp - 0x630], eax
add eax, edx
and ecx, eax
mov eax, dword [ebp - 0x638]
lea esi, [ecx*4]
cmp dword [esi + eax], 0
jne 0x453c14
push 0x18
call fcn.0049ca7e
mov ecx, dword [ebp - 0x638]
add esp, 4
mov dword [ecx + esi], eax
mov eax, dword [ebp - 0x638]
mov eax, dword [eax + esi]
lea esi, [ebp - 0x218]
movups xmm0, xmmword [ebp - 0x8f0]
lea ecx, [esi + 2]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x8e0]
movq qword [eax + 0x10], xmm0
xorps xmm0, xmm0
inc dword [ebp - 0x62c]
mov byte [ebp - 4], 5
movups xmmword [ebp - 0x8f0], xmm0
mov dword [ebp - 0x8e0], 0
mov dword [ebp - 0x8dc], 0
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x453c60
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x45409b
cmp esi, 7
ja 0x453cb5
mov dword [ebp - 0x8e0], esi
lea eax, [ebp - 0x218]
add esi, esi
mov dword [ebp - 0x8dc], 7
push esi
push eax
lea eax, [ebp - 0x8f0]
push eax
call fcn.0049e2f0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x8f0], ax
jmp 0x453d26
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x453cc8
mov eax, SysReAllocString
jmp 0x453cd3
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x8d4], eax
inc eax
mov dword [ebp - 0x8d8], eax
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x8f0]
push eax
call fcn.00425b00
mov edi, eax
mov dword [ebp - 0x8e0], esi
mov eax, dword [ebp - 0x8d4]
add esi, esi
mov dword [ebp - 0x8dc], eax
lea eax, [ebp - 0x218]
push esi
push eax
push edi
mov dword [ebp - 0x8f0], edi
call fcn.0049e2f0
add esp, 0x14
xor eax, eax
mov word [esi + edi], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x640]
mov ecx, dword [ebp - 0x648]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x453d55
push ecx
lea ecx, [ebp - 0x650]
call fcn.00457880
mov edx, dword [ebp - 0x640]
mov ecx, dword [ebp - 0x648]
mov eax, dword [ebp - 0x644]
dec ecx
and eax, ecx
mov dword [ebp - 0x644], eax
add eax, edx
and ecx, eax
mov eax, dword [ebp - 0x64c]
lea esi, [ecx*4]
cmp dword [esi + eax], 0
jne 0x453d94
push 0x18
call fcn.0049ca7e
mov ecx, dword [ebp - 0x64c]
add esp, 4
mov dword [ecx + esi], eax
mov eax, dword [ebp - 0x64c]
mov eax, dword [eax + esi]
movups xmm0, xmmword [ebp - 0x8f0]
push 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x8e0]
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 - 0x8f4]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x453deb
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 0x453a20
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x654]
cmp ecx, 7
jbe 0x453e4c
mov edx, dword [ebp - 0x668]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x453e42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45408c
push ecx
push edx
call fcn.0049caae
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 0x453ea9
mov edx, dword [ebp - 0x680]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x453e9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45408c
push ecx
push edx
call fcn.0049caae
add esp, 8
cmp dword [ebp - 0x62c], 0
jne 0x453750
mov ecx, dword [ebp - 0x640]
test ecx, ecx
je 0x453efb
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.004257c0
mov ecx, dword [ebp - 0x640]
sub ecx, 1
mov dword [ebp - 0x640], ecx
jne 0x453ec0
mov dword [ebp - 0x644], 0
mov ecx, dword [ebp - 0x64c]
test ecx, ecx
je 0x453f5f
mov esi, dword [ebp - 0x648]
test esi, esi
je 0x453f34
nop
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x453f2a
push 0x18
push eax
call fcn.0049caae
mov ecx, dword [ebp - 0x64c]
add esp, 8
test esi, esi
jne 0x453f10
mov esi, dword [ebp - 0x648]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x453f55
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454096
push esi
push ecx
call fcn.0049caae
add esp, 8
mov eax, dword [ebp - 0x650]
push 8
push eax
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x650], 0
call fcn.0049caae
mov ecx, dword [ebp - 0x62c]
add esp, 8
test ecx, ecx
je 0x453fdb
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.004257c0
mov ecx, dword [ebp - 0x62c]
sub ecx, 1
mov dword [ebp - 0x62c], ecx
jne 0x453fa0
mov dword [ebp - 0x630], 0
mov ecx, dword [ebp - 0x638]
test ecx, ecx
je 0x45403b
mov esi, dword [ebp - 0x634]
test esi, esi
je 0x454014
nop
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45400a
push 0x18
push eax
call fcn.0049caae
mov ecx, dword [ebp - 0x638]
add esp, 8
test esi, esi
jne 0x453ff0
mov esi, dword [ebp - 0x634]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x454031
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454096
push esi
push ecx
call fcn.0049caae
add esp, 8
mov eax, dword [ebp - 0x63c]
push 8
push eax
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x63c], 0
call fcn.0049caae
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.0049cdfb
mov esp, ebp
pop ebp
ret 8
call fcn.004a1e4f
call fcn.004a1e4f
call fcn.004a1e4f
call fcn.00424d80
int3