Function at 0x1003e865
Capabilities:
Contain obfuscated stackstrings
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x1008a80a
call fcn.10088f8c
sub esp, 0x378
push ebx
mov ebx, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x20], edx
push esi
push edi
test ebx, ebx
jne 0x1003e8ff
mov esi, dword [edx + 0x2c]
mov edi, dword [edx + 0x30]
cmp esi, edi
je 0x1003e8a5
mov ecx, esi
call fcn.1000b1b1
add esi, 0x18
cmp esi, edi
jne 0x1003e88e
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x30], eax
xor ecx, ecx
mov al, byte [ecx + 0x10188678]
mov byte [ecx + 0x101883e0], al
inc ecx
test al, al
jne 0x1003e8a7
mov byte [ebp + 9], 0x64
mov byte [ebp + 0xa], 0x32
mov byte [ebp + 0xb], al
mov al, byte [ebp + 9]
xor eax, eax
sub byte [ebp + eax + 9], 8
inc eax
cmp eax, 2
jb 0x1003e8c8
lea edx, [ebp + 9]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003e8d8
mov ebx, 0x101883e0
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003e8e9
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x280]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, 0xffffffff
je 0x1003eb5f
test byte [ebp - 0x280], 0x10
je 0x1003e9f7
lea ecx, [ebp - 0x254]
cmp byte [ecx], 0x2e
jne 0x1003e93f
movzx eax, byte [ecx + 1]
test al, al
je 0x1003eb42
lea edx, [ebp - 0x254]
mov edi, 0x1009ab40
xor ecx, ecx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x1003e95f
inc ecx
cmp ecx, 3
jne 0x1003e94c
xor eax, eax
jmp 0x1003e964
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003eb42
lea edx, [ebp - 0x384]
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x1003e976
lea eax, [ebp - 0x384]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
lea edx, [ebp - 0x254]
pop ecx
mov byte [eax + 1], 0
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003e99d
lea edi, [ebp - 0x384]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003e9ad
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x384]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1003e9ca
mov ax, word [0x1009ab44]
mov word [ecx], ax
mov al, byte [0x1009ab46]
mov byte [ecx + 2], al
lea eax, [ebp - 0x384]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.1003e865
jmp 0x1003eb3f
test byte [ebp - 0x280], 0x20
je 0x1003eb42
mov ecx, 0x10188678
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ea0c
sub ecx, edx
inc ecx
add ecx, ebx
cmp byte [ecx], 0x2a
je 0x1003ea4a
lea edx, [ebp - 0x140]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x1003ea25
lea eax, [ebp - 0x140]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x1003ea51
mov byte [eax + 1], 0
jmp 0x1003ea51
mov byte [ebp - 0x140], 0
lea edx, [ebp - 0x254]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003ea59
lea edi, [ebp - 0x140]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003ea69
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1003ea84
mov byte [eax], 0x2f
lea eax, [ebp - 0x140]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strchr]
pop ecx
pop ecx
test eax, eax
jne 0x1003ea81
mov byte [ebp - 0x1b], 0x80
mov byte [ebp - 0x1a], 0x7e
mov byte [ebp - 0x19], 0x70
mov byte [ebp - 0x18], 0x7d
mov byte [ebp - 0x17], 0x6a
mov byte [ebp - 0x16], 0x7e
mov byte [ebp - 0x15], 0x7f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x7f
mov byte [ebp - 0x12], 0x7e
mov byte [ebp - 0x11], 0x39
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x79
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0x1b]
xor eax, eax
sub byte [ebp + eax - 0x1b], 0xb
inc eax
cmp eax, 0xe
jb 0x1003eada
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp - 0x140]
push eax
call sub.msvcrt.dll__stricmp
pop ecx
pop ecx
test eax, eax
je 0x1003eb3f
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000ade5
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
and dword [ebp - 4], 0
push ecx
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
je 0x1003eb2a
mov ecx, eax
call fcn.1000adac
add dword [esi + 0x30], 0x18
jmp 0x1003eb33
push eax
lea ecx, [esi + 0x2c]
call fcn.1003fbaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.1000b1b1
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1003e91b
push esi
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