Function at 0x10038886
Capabilities:
Encode data using xor
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x1008b2aa
call fcn.1008a85c
sub esp, 0x37c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x1003890f
mov esi, dword [edi + 0x2c]
mov ebx, dword [edi + 0x30]
cmp esi, ebx
je 0x100388c0
mov ecx, esi
call fcn.10006f06
add esi, 0x18
cmp esi, ebx
jne 0x100388ac
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x30], eax
push 0x100e24f0
mov esi, 0x100e23e8
push esi
call dword [sym.imp.msvcrt.dll_strcpy]
mov dword [ebp - 0x28], 0x1a
xor edx, edx
mov byte [ebp - 0x24], 0x46
pop ecx
mov byte [ebp - 0x23], 0x30
mov al, byte [ebp - 0x24]
pop ecx
mov byte [ebp - 0x22], 0
mov al, byte [ebp + edx - 0x24]
mov ecx, dword [ebp - 0x28]
xor cl, al
mov byte [ebp + edx - 0x24], cl
inc edx
cmp edx, 2
jb 0x100388eb
lea eax, [ebp - 0x24]
mov byte [ebp - 0x22], 0
push eax
push esi
call dword [sym.imp.msvcrt.dll_strcat]
pop ecx
pop ecx
lea eax, [ebp - 0x284]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x10038b96
test byte [ebp - 0x284], 0x10
je 0x100389cd
lea eax, [ebp - 0x258]
push 0x100a200c
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10038b79
lea eax, [ebp - 0x258]
push 0x100a2008
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10038b79
lea eax, [ebp - 0x388]
push esi
push eax
call dword [sym.imp.msvcrt.dll_strcpy]
lea eax, [ebp - 0x388]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
mov byte [eax + 1], 0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x388]
push eax
call dword [sym.imp.msvcrt.dll_strcat]
lea eax, [ebp - 0x388]
push 0x100a1ffc
push eax
call dword [sym.imp.msvcrt.dll_strcat]
add esp, 0x20
lea eax, [ebp - 0x388]
mov ecx, edi
push eax
call fcn.10038886
jmp 0x10038b79
test byte [ebp - 0x284], 0x20
je 0x10038b79
push 0x100e24f0
call dword [sym.imp.msvcrt.dll_strlen]
pop ecx
cmp byte [eax + esi + 1], 0x2a
je 0x10038a25
push 0x100e24f0
call dword [sym.imp.msvcrt.dll_strlen]
inc eax
add eax, esi
push eax
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.msvcrt.dll_strcpy]
lea eax, [ebp - 0x144]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
add esp, 0x14
test eax, eax
je 0x10038a2c
mov byte [eax + 1], 0
jmp 0x10038a2c
mov byte [ebp - 0x144], 0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.msvcrt.dll_strcat]
lea eax, [ebp - 0x144]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strchr]
add esp, 0x10
jmp 0x10038a68
mov byte [eax], 0x2f
lea eax, [ebp - 0x144]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strchr]
pop ecx
pop ecx
test eax, eax
jne 0x10038a54
mov dword [ebp - 0x20], 0x72
mov eax, dword [ebp - 0x20]
xor al, 0x75
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x20]
inc al
xor al, 0x73
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x20]
add al, 2
xor al, 0x65
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x20]
add al, 3
xor al, 0x72
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x20]
add al, 4
xor al, 0x5f
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x20]
add al, 5
xor al, 0x73
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x20]
add al, 6
xor al, 0x74
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x20]
add al, 7
xor al, 0x61
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x20]
add al, 8
xor al, 0x74
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x20]
add al, 9
xor al, 0x73
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x20]
add al, 0xa
xor al, 0x2e
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x20]
add al, 0xb
xor al, 0x69
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x20]
add al, 0xc
xor al, 0x6e
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x20]
add al, 0xd
mov byte [ebp - 0xe], 0
xor al, 0x69
xor edx, edx
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x1c]
mov al, byte [ebp + edx - 0x1c]
mov ecx, dword [ebp - 0x20]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x1c], cl
inc edx
cmp edx, 0xe
jb 0x10038b06
lea eax, [ebp - 0x1c]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0x144]
push eax
call sub.msvcrt.dll__stricmp
pop ecx
pop ecx
test eax, eax
je 0x10038b79
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x40]
call fcn.10006b5d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
mov eax, dword [edi + 0x30]
push ecx
cmp eax, dword [edi + 0x34]
je 0x10038b61
mov ecx, eax
call fcn.10006b36
add dword [edi + 0x30], 0x18
jmp 0x10038b6a
push eax
lea ecx, [edi + 0x2c]
call fcn.10039bbf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10006f06
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x284]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1003892b
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4