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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070f1d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x8e8
mov eax, dword [0x10089040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
push eax
push esi
mov dword [ebp - 0x8dc], eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1000ec5d
xorps xmm0, xmm0
mov dword [ebp - 0x634], eax
movups xmmword [ebp - 0x644], xmm0
push 8
mov dword [ebp - 0x644], eax
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x634], eax
call fcn.10043901
lea ecx, [ebp - 0x644]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x644], eax
mov dword [eax], ecx
push esi
lea ecx, [ebp - 0x670]
mov dword [ebp - 4], 0
call fcn.1000c540
mov esi, eax
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x634]
mov edx, dword [ebp - 0x63c]
lea ecx, [edi + 1]
cmp edx, ecx
ja 0x1000e44e
push ecx
lea ecx, [ebp - 0x644]
call fcn.10012190
mov edi, dword [ebp - 0x634]
mov edx, dword [ebp - 0x63c]
mov ecx, dword [ebp - 0x638]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x638], ecx
add ecx, edi
and eax, ecx
mov dword [ebp - 0x8e0], ecx
mov ecx, dword [ebp - 0x640]
lea edi, [eax*4]
cmp dword [edi + ecx], 0
jne 0x1000e49e
push 0x18
call fcn.10043901
mov ecx, dword [ebp - 0x640]
add esp, 4
mov dword [edi + ecx], eax
mov edx, dword [ebp - 0x63c]
mov ecx, dword [ebp - 0x640]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x8e0]
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
inc dword [ebp - 0x634]
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x65c]
cmp ecx, 7
jbe 0x1000e52a
mov edx, dword [ebp - 0x670]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000e520
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ec82
push ecx
push edx
call fcn.100438c7
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x648], 0
movups xmmword [ebp - 0x658], xmm0
push 8
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
call fcn.10043901
lea ecx, [ebp - 0x658]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x658], eax
mov dword [eax], ecx
push dword [ebp - 0x8dc]
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 2
call fcn.1000c540
mov esi, eax
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x648]
mov edx, dword [ebp - 0x650]
lea ecx, [edi + 1]
cmp edx, ecx
ja 0x1000e5d5
push ecx
lea ecx, [ebp - 0x658]
call fcn.10012190
mov edi, dword [ebp - 0x648]
mov edx, dword [ebp - 0x650]
mov ecx, dword [ebp - 0x64c]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x64c], ecx
add ecx, edi
and eax, ecx
mov dword [ebp - 0x8dc], ecx
mov ecx, dword [ebp - 0x654]
lea edi, [eax*4]
cmp dword [edi + ecx], 0
jne 0x1000e625
push 0x18
call fcn.10043901
mov ecx, dword [ebp - 0x654]
add esp, 4
mov dword [ecx + edi], eax
mov edx, dword [ebp - 0x650]
mov ecx, dword [ebp - 0x654]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x8dc]
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
inc dword [ebp - 0x648]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x65c]
cmp ecx, 7
jbe 0x1000e6b2
mov edx, dword [ebp - 0x670]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000e6a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ec87
push ecx
push edx
call fcn.100438c7
add esp, 8
cmp dword [ebp - 0x634], 0
je 0x1000ec11
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
nop word [eax + eax]
mov ecx, dword [ebp - 0x63c]
mov eax, dword [ebp - 0x640]
dec ecx
and ecx, dword [ebp - 0x638]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x670]
call fcn.10011d10
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x63c]
mov eax, dword [ebp - 0x640]
dec ecx
and ecx, dword [ebp - 0x638]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x1000e744
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1000e73a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ec82
mov eax, edx
push ecx
push eax
call fcn.100438c7
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
sub dword [ebp - 0x634], 1
jne 0x1000e768
mov dword [ebp - 0x638], eax
jmp 0x1000e76e
inc dword [ebp - 0x638]
mov ecx, dword [ebp - 0x650]
mov eax, dword [ebp - 0x654]
dec ecx
and ecx, dword [ebp - 0x64c]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x688]
call fcn.10011d10
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x650]
mov eax, dword [ebp - 0x654]
dec ecx
and ecx, dword [ebp - 0x64c]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x1000e7e2
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1000e7d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ec82
mov eax, edx
push ecx
push eax
call fcn.100438c7
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
sub dword [ebp - 0x648], 1
jne 0x1000e806
mov dword [ebp - 0x64c], eax
jmp 0x1000e80c
inc dword [ebp - 0x64c]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.10045390
add esp, 0xc
lea eax, [ebp - 0x670]
cmp dword [ebp - 0x65c], 7
cmova eax, dword [ebp - 0x670]
push eax
lea eax, [ebp - 0x428]
push 0x1007e420
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x1007e2f4
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8d8]
push 0
push eax
call fcn.10045390
add esp, 0xc
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x8e0], esi
cmp esi, 0xffffffff
je 0x1000eb63
nop word [eax + eax]
cmp word [ebp - 0x8ac], 0x2e
je 0x1000eb46
push 0x208
lea eax, [ebp - 0x630]
push 0
push eax
call fcn.10045390
add esp, 0xc
lea ecx, [ebp - 0x8ac]
cmp dword [ebp - 0x65c], 7
lea eax, [ebp - 0x670]
cmova eax, dword [ebp - 0x670]
push ecx
push eax
lea eax, [ebp - 0x630]
push 0x1007e428
push eax
call edi
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10045390
add esp, 0x1c
lea ecx, [ebp - 0x8ac]
cmp dword [ebp - 0x674], 7
lea eax, [ebp - 0x688]
cmova eax, dword [ebp - 0x688]
push ecx
push eax
lea eax, [ebp - 0x220]
push 0x1007e428
push eax
call edi
add esp, 0x10
test byte [ebp - 0x8d8], 0x10
je 0x1000eb30
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0x8f8]
call fcn.1000c540
mov edi, eax
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x634]
mov edx, dword [ebp - 0x63c]
lea ecx, [esi + 1]
cmp edx, ecx
ja 0x1000e981
push ecx
lea ecx, [ebp - 0x644]
call fcn.10012190
mov esi, dword [ebp - 0x634]
mov edx, dword [ebp - 0x63c]
mov ecx, dword [ebp - 0x638]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x638], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x8dc], ecx
mov ecx, dword [ebp - 0x640]
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x1000e9d1
push 0x18
call fcn.10043901
mov ecx, dword [ebp - 0x640]
add esp, 4
mov dword [esi + ecx], eax
mov edx, dword [ebp - 0x63c]
mov ecx, dword [ebp - 0x640]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x8dc]
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
inc dword [ebp - 0x634]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x8e4]
cmp ecx, 7
jbe 0x1000ea5e
mov edx, dword [ebp - 0x8f8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ea54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ec82
push ecx
push edx
call fcn.100438c7
add esp, 8
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x8f8]
call fcn.1000c540
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x648]
mov edx, dword [ebp - 0x650]
lea eax, [esi + 1]
cmp edx, eax
ja 0x1000ea9f
push ecx
lea ecx, [ebp - 0x658]
call fcn.10012190
mov esi, dword [ebp - 0x648]
mov edx, dword [ebp - 0x650]
mov ecx, dword [ebp - 0x64c]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x64c], ecx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x654]
and eax, edi
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x1000eaea
push 0x18
call fcn.10043901
mov ecx, dword [ebp - 0x654]
add esp, 4
mov dword [esi + ecx], eax
mov edx, dword [ebp - 0x650]
mov ecx, dword [ebp - 0x654]
movups xmm0, xmmword [ebp - 0x8f8]
lea eax, [edx - 1]
and eax, edi
push 0
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x8e8]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x220]
inc dword [ebp - 0x648]
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [ebp - 0x8e0]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1000eb46
push 0
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x8d8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000e8a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x674]
cmp ecx, 7
jbe 0x1000eba7
mov edx, dword [ebp - 0x688]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000eb9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ec82
push ecx
push edx
call fcn.100438c7
add esp, 8
mov byte [ebp - 4], 2
xor eax, eax
mov ecx, dword [ebp - 0x65c]
mov word [ebp - 0x688], ax
mov dword [ebp - 0x674], 7
mov dword [ebp - 0x678], eax
cmp ecx, 7
jbe 0x1000ec04
mov edx, dword [ebp - 0x670]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ebfa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ec82
push ecx
push edx
call fcn.100438c7
add esp, 8
cmp dword [ebp - 0x634], 0
jne 0x1000e6d0
lea ecx, [ebp - 0x658]
call fcn.10011f30
mov eax, dword [ebp - 0x658]
push 8
push eax
mov dword [ebp - 0x658], 0
call fcn.100438c7
add esp, 8
lea ecx, [ebp - 0x644]
call fcn.10011f30
mov eax, dword [ebp - 0x644]
push 8
push eax
mov dword [ebp - 0x644], 0
call fcn.100438c7
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 - 0x14]
xor ecx, ebp
call fcn.10043277
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.10047224
call fcn.10047224
int3