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

Disassembly:
push 0xea8
mov eax, 0x10b4d24
call fcn.010aac8f
xor ebx, ebx
push ebx
push 0x1007260
lea ecx, [ebp - 0xeb4]
call fcn.010ab82f
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 0x103e8f5
push esi
lea eax, [ebp - 0x224]
push eax
push esi
lea eax, [ebp - 0xa44]
push eax
call fcn.0103d897
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 0x103e8f5
mov eax, ecx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x103e63e
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 0x103e654
sub eax, edi
sar eax, 1
lea eax, [eax + edx + 9]
cmp eax, esi
jae 0x103e8f5
push 0x1006b10
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0103d8e6
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0103d8e6
push ebx
push esi
lea eax, [ebp - 0x634]
push eax
call fcn.01076b4d
cmp eax, ebx
jl 0x103e8f5
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.010761ad
cmp eax, ebx
mov dword [ebp - 0xea0], eax
jl 0x103e8f5
cmp dword [ebp - 0xea8], ebx
je 0x103e705
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
test dword [eax - 0xf], esp
invalid
invalid
cmp dword [ebp - 0xea0], ebx
jl 0x103e8f5
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 0x103e8d4
mov dword [ebp - 0xea0], 0x80004005
jmp 0x103e8d4
cmp dword [ebp - 0xeac], ebx
jne 0x103e8e0
test byte [ebp - 0xe9c], 0x10
jne 0x103e8a8
lea eax, [ebp - 0x224]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x103e786
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.0103d897
lea eax, [ebp - 0xe70]
push eax
push esi
lea eax, [ebp - 0x83c]
push eax
call fcn.0103d8e6
push esi
lea eax, [ebp - 0x634]
push eax
push esi
lea eax, [ebp - 0x42c]
push eax
call fcn.0103d897
push 0x10021d4
push esi
lea eax, [ebp - 0x42c]
push eax
call fcn.0103d8e6
lea eax, [ebp - 0xe70]
push eax
push esi
lea eax, [ebp - 0x42c]
push eax
call fcn.0103d8e6
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 0x103e866
cmp dword [ebp - 0xea8], ebx
je 0x103e8a8
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 0x103e843
inc edi
cmp edi, 0xb
jb 0x103e823
jmp 0x103e8a8
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 0x103e8a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x103e8a8
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x103e8a8
test byte [ecx + 0x1c], 8
je 0x103e8a8
cmp eax, ebx
jle 0x103e895
and eax, 0xffff
or eax, 0x80070000
push eax
push 0x1005ec8
push 0x1b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01079041
lea eax, [ebp - 0xe9c]
push eax
push dword [ebp - 0xea4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x103e8d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x103e8e0
mov dword [ebp - 0xeac], 1
cmp dword [ebp - 0xea0], ebx
jge 0x103e764
cmp dword [ebp - 0xea4], 0xffffffff
je 0x103e8f5
push dword [ebp - 0xea4]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.010ab876
call fcn.010aad21
ret