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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0b3d
mov eax, dword fs:[0]
push eax
sub esp, 0x8e0
mov eax, dword [0x5020a8]
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 0x455782
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.0049fda7
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 0x454ed3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x668]
call fcn.00426ab0
lea eax, [ebp - 0x668]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x63c]
call fcn.004588b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x654]
cmp edx, 8
jb 0x454f49
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454f3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4557a4
push edx
push ecx
call fcn.0049fdd7
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.0049fda7
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 0x454fe0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x668]
call fcn.00426ab0
lea eax, [ebp - 0x668]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x650]
call fcn.004588b0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x654]
cmp edx, 8
jb 0x455056
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45504c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4557a4
push edx
push ecx
call fcn.0049fdd7
add esp, 8
cmp dword [ebp - 0x62c], 0
je 0x4555be
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 0x4550ac
mov edi, dword [edi]
cmp eax, 8
jae 0x4550c7
movups xmm0, xmmword [edi]
mov dword [ebp - 0x654], 7
movups xmmword [ebp - 0x668], xmm0
jmp 0x455125
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.00426e90
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x668], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004a16b0
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.00426a50
sub dword [ebp - 0x62c], 1
jne 0x45514f
mov dword [ebp - 0x630], 0
jmp 0x455155
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 0x45519e
mov edi, dword [edi]
cmp eax, 8
jae 0x4551b9
movups xmm0, xmmword [edi]
mov dword [ebp - 0x66c], 7
movups xmmword [ebp - 0x680], xmm0
jmp 0x455217
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.00426e90
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x680], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004a16b0
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.00426a50
sub dword [ebp - 0x640], 1
jne 0x455241
mov dword [ebp - 0x644], 0
jmp 0x455247
inc dword [ebp - 0x644]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004a1c30
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 0x4e9598
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x628]
push 0x4ea1c8
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8d0]
push 0
push eax
call fcn.004a1c30
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 0x455510
nop dword [eax]
cmp word [ebp - 0x8a4], 0x2e
je 0x4554f3
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a1c30
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 0x4ea1d0
push eax
call edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a1c30
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 0x4ea1d0
push eax
call edi
add esp, 0x38
test byte [ebp - 0x8d0], 0x10
je 0x4554dd
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 0x4553a0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8ec]
call fcn.00426ab0
lea eax, [ebp - 0x8ec]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x63c]
call fcn.004588b0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x8d8]
cmp edx, 8
jb 0x45541c
mov ecx, dword [ebp - 0x8ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455412
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4557a4
push edx
push ecx
call fcn.0049fdd7
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 0x455450
sub eax, edx
lea ecx, [ebp - 0x8ec]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00426ab0
lea eax, [ebp - 0x8ec]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x650]
call fcn.004588b0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x8d8]
cmp edx, 8
jb 0x4554cc
mov ecx, dword [ebp - 0x8ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4554c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4557a4
push edx
push ecx
call fcn.0049fdd7
add esp, 8
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4554f3
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 0x4552d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x66c]
cmp edx, 8
jb 0x455554
mov ecx, dword [ebp - 0x680]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45554a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4557a4
push edx
push ecx
call fcn.0049fdd7
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 0x4555b1
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4555a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4557a4
push edx
push ecx
call fcn.0049fdd7
add esp, 8
cmp dword [ebp - 0x62c], 0
jne 0x455063
mov eax, dword [ebp - 0x640]
test eax, eax
je 0x455611
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.00426a50
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 0x4555d0
mov esi, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x64c]
test esi, esi
je 0x455645
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45563b
push 0x18
push eax
call fcn.0049fdd7
mov ecx, dword [ebp - 0x64c]
add esp, 8
test esi, esi
jne 0x455621
mov esi, dword [ebp - 0x648]
test ecx, ecx
je 0x455674
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x45566a
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4557a4
push esi
push ecx
call fcn.0049fdd7
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.0049fdd7
mov eax, dword [ebp - 0x62c]
add esp, 8
test eax, eax
je 0x4556f4
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.00426a50
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 0x4556b3
mov esi, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x638]
test esi, esi
je 0x455728
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45571e
push 0x18
push eax
call fcn.0049fdd7
mov ecx, dword [ebp - 0x638]
add esp, 8
test esi, esi
jne 0x455704
mov esi, dword [ebp - 0x634]
test ecx, ecx
je 0x455753
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x455749
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4557a4
push esi
push ecx
call fcn.0049fdd7
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.0049fdd7
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.004a024d
mov esp, ebp
pop ebp
ret 8
call fcn.004a495f
int3