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

Disassembly:
push 0xea8
mov eax, 0x10b4d32
call fcn.010aac9f
xor ebx, ebx
push ebx
push 0x1007260
lea ecx, [ebp - 0xeb4]
call fcn.010ab83f
mov esi, 0x1007254
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x104
push esi
lea eax, [ebp - 0x224]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x103e906
push esi
lea eax, [ebp - 0x224]
push eax
push esi
lea eax, [ebp - 0xa44]
push eax
call fcn.0103d8a8
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x224]
cmp eax, ecx
je 0x103e906
mov eax, ecx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x103e64f
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [ebp - 0x1c]
lea edi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x103e665
sub eax, edi
sar eax, 1
lea eax, [eax + edx + 9]
cmp eax, esi
jae 0x103e906
push 0x1006b10
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0103d8f7
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0103d8f7
push ebx
push esi
lea eax, [ebp - 0x634]
push eax
call fcn.01076b5d
cmp eax, ebx
jl 0x103e906
push ebx
lea eax, [ebp - 0x634]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0xea8]
push eax
push esi
lea eax, [ebp - 0xc4c]
push eax
mov dword [ebp - 0xea8], ebx
call fcn.010761bd
cmp eax, ebx
mov dword [ebp - 0xea0], eax
jl 0x103e906
cmp dword [ebp - 0xea8], ebx
je 0x103e716
push 0x9cd1
lea eax, [ebp - 0xa44]
push eax
lea eax, [ebp - 0xc4c]
push eax
call dword [sym.imp.SHELL32.dll_SHSetLocalizedName]
mov dword [ebp - 0xea0], eax
cmp dword [ebp - 0xea0], ebx
jl 0x103e906
push 0x24c
lea eax, [ebp - 0xe98]
push ebx
push eax
mov dword [ebp - 0xe9c], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xe9c]
push eax
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0xeac], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xea4], eax
cmp eax, 0xffffffff
jne 0x103e8e5
mov dword [ebp - 0xea0], 0x80004005
jmp 0x103e8e5
cmp dword [ebp - 0xeac], ebx
jne 0x103e8f1
test byte [ebp - 0xe9c], 0x10
jne 0x103e8b9
lea eax, [ebp - 0x224]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x103e797
sub eax, edx
sar eax, 1
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x224]
push eax
push esi
lea eax, [ebp - 0x83c]
push eax
call fcn.0103d8a8
lea eax, [ebp - 0xe70]
push eax
push esi
lea eax, [ebp - 0x83c]
push eax
call fcn.0103d8f7
push esi
lea eax, [ebp - 0x634]
push eax
push esi
lea eax, [ebp - 0x42c]
push eax
call fcn.0103d8a8
push 0x10021d4
push esi
lea eax, [ebp - 0x42c]
push eax
call fcn.0103d8f7
lea eax, [ebp - 0xe70]
push eax
push esi
lea eax, [ebp - 0x42c]
push eax
call fcn.0103d8f7
push 1
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x103e877
cmp dword [ebp - 0xea8], ebx
je 0x103e8b9
xor edi, edi
push dword [edi*8 + 0x10c97d8]
lea eax, [ebp - 0xe70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x103e854
inc edi
cmp edi, 0xb
jb 0x103e834
jmp 0x103e8b9
push dword [edi*8 + 0x10c97dc]
lea eax, [ebp - 0xa44]
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHELL32.dll_SHSetLocalizedName]
mov dword [ebp - 0xea0], eax
jmp 0x103e8b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x103e8b9
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x103e8b9
test byte [ecx + 0x1c], 8
je 0x103e8b9
cmp eax, ebx
jle 0x103e8a6
and eax, 0xffff
or eax, 0x80070000
push eax
push 0x1005ec8
push 0x1b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01079051
lea eax, [ebp - 0xe9c]
push eax
push dword [ebp - 0xea4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x103e8e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x103e8f1
mov dword [ebp - 0xeac], 1
cmp dword [ebp - 0xea0], ebx
jge 0x103e775
cmp dword [ebp - 0xea4], 0xffffffff
je 0x103e906
push dword [ebp - 0xea4]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.010ab886
call fcn.010aad31
ret