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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caf8d
mov eax, dword fs:[0]
push eax
sub esp, 0x8e0
mov eax, dword [0x4fa0a8]
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 0x454592
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.0049a537
lea ecx, [ebp - 0x63c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x63c], eax
mov dword [eax], ecx
mov ecx, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x668], 0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 7
mov word [ebp - 0x668], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453ce3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x668]
call fcn.00426980
lea eax, [ebp - 0x668]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x63c]
call fcn.004576e0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x654]
cmp edx, 8
jb 0x453d59
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453d4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4545b4
push edx
push ecx
call fcn.0049a567
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.0049a537
lea ecx, [ebp - 0x650]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x650], eax
mov dword [eax], ecx
mov ecx, edi
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x668], 0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 7
mov word [ebp - 0x668], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453df0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x668]
call fcn.00426980
lea eax, [ebp - 0x668]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x650]
call fcn.004576e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x654]
cmp edx, 8
jb 0x453e66
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453e5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4545b4
push edx
push ecx
call fcn.0049a567
add esp, 8
cmp dword [ebp - 0x62c], 0
je 0x4543ce
mov ecx, dword [ebp - 0x634]
mov edx, dword [ebp - 0x630]
mov esi, dword [ebp - 0x638]
lea eax, [ecx - 1]
and eax, edx
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x668], 0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x8d4], eax
jb 0x453ebc
mov edi, dword [edi]
cmp eax, 8
jae 0x453ed7
movups xmm0, xmmword [edi]
mov dword [ebp - 0x654], 7
movups xmmword [ebp - 0x668], xmm0
jmp 0x453f35
mov esi, eax
lea ecx, [ebp - 0x668]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00426d60
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x668], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.0049be40
mov eax, dword [ebp - 0x8d4]
add esp, 0xc
mov edx, dword [ebp - 0x630]
mov ecx, dword [ebp - 0x634]
mov dword [ebp - 0x654], esi
mov esi, dword [ebp - 0x638]
mov dword [ebp - 0x658], eax
dec ecx
mov byte [ebp - 4], 4
and ecx, edx
mov ecx, dword [esi + ecx*4]
call fcn.00426920
sub dword [ebp - 0x62c], 1
jne 0x453f5f
mov dword [ebp - 0x630], 0
jmp 0x453f65
inc dword [ebp - 0x630]
mov ecx, dword [ebp - 0x648]
mov edx, dword [ebp - 0x644]
mov esi, dword [ebp - 0x64c]
lea eax, [ecx - 1]
and eax, edx
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x680], 0
mov dword [ebp - 0x670], 0
mov dword [ebp - 0x66c], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x8d4], eax
jb 0x453fae
mov edi, dword [edi]
cmp eax, 8
jae 0x453fc9
movups xmm0, xmmword [edi]
mov dword [ebp - 0x66c], 7
movups xmmword [ebp - 0x680], xmm0
jmp 0x454027
mov esi, eax
lea ecx, [ebp - 0x680]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00426d60
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x680], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.0049be40
mov eax, dword [ebp - 0x8d4]
add esp, 0xc
mov edx, dword [ebp - 0x644]
mov ecx, dword [ebp - 0x648]
mov dword [ebp - 0x66c], esi
mov esi, dword [ebp - 0x64c]
mov dword [ebp - 0x670], eax
dec ecx
mov byte [ebp - 4], 5
and ecx, edx
mov ecx, dword [esi + ecx*4]
call fcn.00426920
sub dword [ebp - 0x640], 1
jne 0x454051
mov dword [ebp - 0x644], 0
jmp 0x454057
inc dword [ebp - 0x644]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0049c3c0
cmp dword [ebp - 0x654], 8
lea eax, [ebp - 0x668]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
cmovae eax, dword [ebp - 0x668]
push eax
lea eax, [ebp - 0x628]
push 0x4e2c70
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x628]
push 0x4e3a30
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8d0]
push 0
push eax
call fcn.0049c3c0
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
cmp esi, 0xffffffff
je 0x454320
nop dword [eax]
cmp word [ebp - 0x8a4], 0x2e
je 0x454303
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0049c3c0
cmp dword [ebp - 0x654], 8
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x668]
cmovae eax, dword [ebp - 0x668]
push eax
lea eax, [ebp - 0x420]
push 0x4e3a38
push eax
call edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049c3c0
cmp dword [ebp - 0x66c], 8
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x680]
cmovae eax, dword [ebp - 0x680]
push eax
lea eax, [ebp - 0x218]
push 0x4e3a38
push eax
call edi
add esp, 0x38
test byte [ebp - 0x8d0], 0x10
je 0x4542ed
xor eax, eax
mov dword [ebp - 0x8ec], 0
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x8dc], 0
mov dword [ebp - 0x8d8], 7
lea edx, [ecx + 2]
mov word [ebp - 0x8ec], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4541b0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8ec]
call fcn.00426980
lea eax, [ebp - 0x8ec]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x63c]
call fcn.004576e0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x8d8]
cmp edx, 8
jb 0x45422c
mov ecx, dword [ebp - 0x8ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454222
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4545b4
push edx
push ecx
call fcn.0049a567
add esp, 8
xor eax, eax
mov dword [ebp - 0x8ec], 0
mov word [ebp - 0x8ec], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x8dc], 0
lea edx, [eax + 2]
mov dword [ebp - 0x8d8], 7
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454260
sub eax, edx
lea ecx, [ebp - 0x8ec]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00426980
lea eax, [ebp - 0x8ec]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x650]
call fcn.004576e0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x8d8]
cmp edx, 8
jb 0x4542dc
mov ecx, dword [ebp - 0x8ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4542d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4545b4
push edx
push ecx
call fcn.0049a567
add esp, 8
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x454303
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 0x4540e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x66c]
cmp edx, 8
jb 0x454364
mov ecx, dword [ebp - 0x680]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45435a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4545b4
push edx
push ecx
call fcn.0049a567
add esp, 8
mov byte [ebp - 4], 2
xor eax, eax
mov edx, dword [ebp - 0x654]
mov word [ebp - 0x680], ax
mov dword [ebp - 0x66c], 7
mov dword [ebp - 0x670], eax
cmp edx, 8
jb 0x4543c1
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4543b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4545b4
push edx
push ecx
call fcn.0049a567
add esp, 8
cmp dword [ebp - 0x62c], 0
jne 0x453e73
mov eax, dword [ebp - 0x640]
test eax, eax
je 0x454421
mov ecx, dword [ebp - 0x644]
nop
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.00426920
mov eax, dword [ebp - 0x640]
mov edx, 0
mov ecx, dword [ebp - 0x644]
sub eax, 1
mov dword [ebp - 0x640], eax
cmove ecx, edx
mov dword [ebp - 0x644], ecx
test eax, eax
jne 0x4543e0
mov esi, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x64c]
test esi, esi
je 0x454455
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45444b
push 0x18
push eax
call fcn.0049a567
mov ecx, dword [ebp - 0x64c]
add esp, 8
test esi, esi
jne 0x454431
mov esi, dword [ebp - 0x648]
test ecx, ecx
je 0x454484
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x45447a
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4545b4
push esi
push ecx
call fcn.0049a567
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.0049a567
mov eax, dword [ebp - 0x62c]
add esp, 8
test eax, eax
je 0x454504
mov ecx, 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.00426920
mov eax, dword [ebp - 0x62c]
mov edx, 0
mov ecx, dword [ebp - 0x630]
sub eax, 1
mov dword [ebp - 0x62c], eax
cmove ecx, edx
mov dword [ebp - 0x630], ecx
test eax, eax
jne 0x4544c3
mov esi, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x638]
test esi, esi
je 0x454538
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45452e
push 0x18
push eax
call fcn.0049a567
mov ecx, dword [ebp - 0x638]
add esp, 8
test esi, esi
jne 0x454514
mov esi, dword [ebp - 0x634]
test ecx, ecx
je 0x454563
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x454559
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4545b4
push esi
push ecx
call fcn.0049a567
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.0049a567
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.0049a9dd
mov esp, ebp
pop ebp
ret 8
call fcn.0049f0ef
int3