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

Disassembly:
mov eax, 0x1008b0aa
call fcn.1008a65c
sub esp, 0x37c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x100387ab
mov esi, dword [edi + 0x2c]
mov ebx, dword [edi + 0x30]
cmp esi, ebx
je 0x10038750
mov ecx, esi
call fcn.10006b4b
add esi, 0x18
cmp esi, ebx
jne 0x1003873c
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x30], eax
push 0x100e2660
mov esi, 0x100e23c8
push esi
call dword [sym.imp.msvcrt.dll_strcpy]
mov dword [ebp - 0x28], 0x2a
mov eax, dword [ebp - 0x28]
xor al, 0x5c
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x28]
inc al
mov byte [ebp - 0x22], 0
xor al, 0x2a
xor edx, edx
pop ecx
mov byte [ebp - 0x23], al
mov al, byte [ebp - 0x24]
pop ecx
mov al, byte [ebp + edx - 0x24]
mov ecx, dword [ebp - 0x28]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x24], cl
inc edx
cmp edx, 2
jb 0x10038785
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 0x10038a32
test byte [ebp - 0x284], 0x10
je 0x10038869
lea eax, [ebp - 0x258]
push 0x100a1fd4
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10038a15
lea eax, [ebp - 0x258]
push 0x100a1fdc
push eax
call dword [sym.imp.msvcrt.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10038a15
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 0x100a1fd8
push eax
call dword [sym.imp.msvcrt.dll_strcat]
add esp, 0x20
lea eax, [ebp - 0x388]
mov ecx, edi
push eax
call fcn.10038716
jmp 0x10038a15
test byte [ebp - 0x284], 0x20
je 0x10038a15
push 0x100e2660
call dword [sym.imp.msvcrt.dll_strlen]
pop ecx
cmp byte [eax + esi + 1], 0x2a
je 0x100388c1
push 0x100e2660
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 0x100388c8
mov byte [eax + 1], 0
jmp 0x100388c8
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 0x10038904
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 0x100388f0
mov dword [ebp - 0x20], 0x15
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 0x100389a2
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 0x10038a15
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x40]
call fcn.100067a2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
mov eax, dword [edi + 0x30]
push ecx
cmp eax, dword [edi + 0x34]
je 0x100389fd
mov ecx, eax
call fcn.1000677b
add dword [edi + 0x30], 0x18
jmp 0x10038a06
push eax
lea ecx, [edi + 0x2c]
call fcn.10039a83
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10006b4b
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x284]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100387c7
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