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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd99d
mov eax, dword fs:[0]
push eax
sub esp, 0x8e0
mov eax, dword [0x4fe0a8]
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 0x454522
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.0049cf37
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 0x453c73
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x668]
call fcn.00426a30
lea eax, [ebp - 0x668]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x63c]
call fcn.00457670
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x654]
cmp edx, 8
jb 0x453ce9
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453cdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454544
push edx
push ecx
call fcn.0049cf67
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.0049cf37
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 0x453d80
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x668]
call fcn.00426a30
lea eax, [ebp - 0x668]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x650]
call fcn.00457670
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x654]
cmp edx, 8
jb 0x453df6
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453dec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454544
push edx
push ecx
call fcn.0049cf67
add esp, 8
cmp dword [ebp - 0x62c], 0
je 0x45435e
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 0x453e4c
mov edi, dword [edi]
cmp eax, 8
jae 0x453e67
movups xmm0, xmmword [edi]
mov dword [ebp - 0x654], 7
movups xmmword [ebp - 0x668], xmm0
jmp 0x453ec5
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.00426e10
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x668], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.0049e840
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.004269d0
sub dword [ebp - 0x62c], 1
jne 0x453eef
mov dword [ebp - 0x630], 0
jmp 0x453ef5
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 0x453f3e
mov edi, dword [edi]
cmp eax, 8
jae 0x453f59
movups xmm0, xmmword [edi]
mov dword [ebp - 0x66c], 7
movups xmmword [ebp - 0x680], xmm0
jmp 0x453fb7
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.00426e10
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x680], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.0049e840
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.004269d0
sub dword [ebp - 0x640], 1
jne 0x453fe1
mov dword [ebp - 0x644], 0
jmp 0x453fe7
inc dword [ebp - 0x644]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0049edc0
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 0x4e6358
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x628]
push 0x4e6f04
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8d0]
push 0
push eax
call fcn.0049edc0
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 0x4542b0
nop dword [eax]
cmp word [ebp - 0x8a4], 0x2e
je 0x454293
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0049edc0
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 0x4e6f0c
push eax
call edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049edc0
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 0x4e6f0c
push eax
call edi
add esp, 0x38
test byte [ebp - 0x8d0], 0x10
je 0x45427d
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 0x454140
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8ec]
call fcn.00426a30
lea eax, [ebp - 0x8ec]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x63c]
call fcn.00457670
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x8d8]
cmp edx, 8
jb 0x4541bc
mov ecx, dword [ebp - 0x8ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4541b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454544
push edx
push ecx
call fcn.0049cf67
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 0x4541f0
sub eax, edx
lea ecx, [ebp - 0x8ec]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00426a30
lea eax, [ebp - 0x8ec]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x650]
call fcn.00457670
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x8d8]
cmp edx, 8
jb 0x45426c
mov ecx, dword [ebp - 0x8ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454262
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454544
push edx
push ecx
call fcn.0049cf67
add esp, 8
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x454293
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 0x454070
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x66c]
cmp edx, 8
jb 0x4542f4
mov ecx, dword [ebp - 0x680]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4542ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454544
push edx
push ecx
call fcn.0049cf67
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 0x454351
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454347
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454544
push edx
push ecx
call fcn.0049cf67
add esp, 8
cmp dword [ebp - 0x62c], 0
jne 0x453e03
mov eax, dword [ebp - 0x640]
test eax, eax
je 0x4543b1
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.004269d0
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 0x454370
mov esi, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x64c]
test esi, esi
je 0x4543e5
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x4543db
push 0x18
push eax
call fcn.0049cf67
mov ecx, dword [ebp - 0x64c]
add esp, 8
test esi, esi
jne 0x4543c1
mov esi, dword [ebp - 0x648]
test ecx, ecx
je 0x454414
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x45440a
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454544
push esi
push ecx
call fcn.0049cf67
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.0049cf67
mov eax, dword [ebp - 0x62c]
add esp, 8
test eax, eax
je 0x454494
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.004269d0
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 0x454453
mov esi, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x638]
test esi, esi
je 0x4544c8
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x4544be
push 0x18
push eax
call fcn.0049cf67
mov ecx, dword [ebp - 0x638]
add esp, 8
test esi, esi
jne 0x4544a4
mov esi, dword [ebp - 0x634]
test ecx, ecx
je 0x4544f3
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x4544e9
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454544
push esi
push ecx
call fcn.0049cf67
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.0049cf67
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.0049d3dd
mov esp, ebp
pop ebp
ret 8
call fcn.004a1aef
int3