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

Disassembly:
mov eax, 0x1008a76a
call fcn.10088eec
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 0x1003e8e1
mov esi, dword [edx + 0x2c]
mov edi, dword [edx + 0x30]
cmp esi, edi
je 0x1003e887
mov ecx, esi
call fcn.1000b19f
add esi, 0x18
cmp esi, edi
jne 0x1003e870
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x30], eax
xor ecx, ecx
mov al, byte [ecx + 0x1018b670]
mov byte [ecx + 0x1018b3d8], al
inc ecx
test al, al
jne 0x1003e889
mov byte [ebp + 9], 0x61
mov byte [ebp + 0xa], 0x2f
mov byte [ebp + 0xb], al
mov al, byte [ebp + 9]
xor eax, eax
sub byte [ebp + eax + 9], 5
inc eax
cmp eax, 2
jb 0x1003e8aa
lea edx, [ebp + 9]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003e8ba
mov ebx, 0x1018b3d8
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003e8cb
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 0x1003eb41
test byte [ebp - 0x280], 0x10
je 0x1003e9d9
lea ecx, [ebp - 0x254]
cmp byte [ecx], 0x2e
jne 0x1003e921
movzx eax, byte [ecx + 1]
test al, al
je 0x1003eb24
lea edx, [ebp - 0x254]
mov edi, 0x1009ab40
xor ecx, ecx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x1003e941
inc ecx
cmp ecx, 3
jne 0x1003e92e
xor eax, eax
jmp 0x1003e946
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003eb24
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 0x1003e958
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 0x1003e97f
lea edi, [ebp - 0x384]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003e98f
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 0x1003e9ac
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.1003e847
jmp 0x1003eb21
test byte [ebp - 0x280], 0x20
je 0x1003eb24
mov ecx, 0x1018b670
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e9ee
sub ecx, edx
inc ecx
add ecx, ebx
cmp byte [ecx], 0x2a
je 0x1003ea2c
lea edx, [ebp - 0x140]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x1003ea07
lea eax, [ebp - 0x140]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x1003ea33
mov byte [eax + 1], 0
jmp 0x1003ea33
mov byte [ebp - 0x140], 0
lea edx, [ebp - 0x254]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003ea3b
lea edi, [ebp - 0x140]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003ea4b
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 0x1003ea66
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 0x1003ea63
mov byte [ebp - 0x1b], 0x7f
mov byte [ebp - 0x1a], 0x7d
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x7c
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x7d
mov byte [ebp - 0x15], 0x7e
mov byte [ebp - 0x14], 0x6b
mov byte [ebp - 0x13], 0x7e
mov byte [ebp - 0x12], 0x7d
mov byte [ebp - 0x11], 0x38
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x78
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0x1b]
xor eax, eax
sub byte [ebp + eax - 0x1b], 0xa
inc eax
cmp eax, 0xe
jb 0x1003eabc
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 0x1003eb21
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000add3
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 0x1003eb0c
mov ecx, eax
call fcn.1000ad9a
add dword [esi + 0x30], 0x18
jmp 0x1003eb15
push eax
lea ecx, [esi + 0x2c]
call fcn.1003fb7c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.1000b19f
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1003e8fd
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