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

Disassembly:
mov eax, 0x10089f54
call fcn.1008863c
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 0x1003e4a1
mov esi, dword [edx + 0x2c]
mov edi, dword [edx + 0x30]
cmp esi, edi
je 0x1003e447
mov ecx, esi
call fcn.1000b185
add esi, 0x18
cmp esi, edi
jne 0x1003e430
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x30], eax
xor ecx, ecx
mov al, byte [ecx + 0x1018b638]
mov byte [ecx + 0x1018b3a0], al
inc ecx
test al, al
jne 0x1003e449
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 0x1003e46a
lea edx, [ebp + 9]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003e47a
mov ebx, 0x1018b3a0
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003e48b
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 0x1003e701
test byte [ebp - 0x280], 0x10
je 0x1003e599
lea ecx, [ebp - 0x254]
cmp byte [ecx], 0x2e
jne 0x1003e4e1
movzx eax, byte [ecx + 1]
test al, al
je 0x1003e6e4
lea edx, [ebp - 0x254]
mov edi, 0x1009aba8
xor ecx, ecx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x1003e501
inc ecx
cmp ecx, 3
jne 0x1003e4ee
xor eax, eax
jmp 0x1003e506
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003e6e4
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 0x1003e518
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 0x1003e53f
lea edi, [ebp - 0x384]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003e54f
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 0x1003e56c
mov ax, word [0x1009ab90]
mov word [ecx], ax
mov al, byte [0x1009ab92]
mov byte [ecx + 2], al
lea eax, [ebp - 0x384]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.1003e407
jmp 0x1003e6e1
test byte [ebp - 0x280], 0x20
je 0x1003e6e4
mov ecx, 0x1018b638
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e5ae
sub ecx, edx
inc ecx
add ecx, ebx
cmp byte [ecx], 0x2a
je 0x1003e5ec
lea edx, [ebp - 0x140]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x1003e5c7
lea eax, [ebp - 0x140]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x1003e5f3
mov byte [eax + 1], 0
jmp 0x1003e5f3
mov byte [ebp - 0x140], 0
lea edx, [ebp - 0x254]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003e5fb
lea edi, [ebp - 0x140]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003e60b
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 0x1003e626
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 0x1003e623
mov byte [ebp - 0x1b], 0x7e
mov byte [ebp - 0x1a], 0x7c
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x7b
mov byte [ebp - 0x17], 0x68
mov byte [ebp - 0x16], 0x7c
mov byte [ebp - 0x15], 0x7d
mov byte [ebp - 0x14], 0x6a
mov byte [ebp - 0x13], 0x7d
mov byte [ebp - 0x12], 0x7c
mov byte [ebp - 0x11], 0x37
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x77
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0x1b]
xor eax, eax
sub byte [ebp + eax - 0x1b], 9
inc eax
cmp eax, 0xe
jb 0x1003e67c
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 0x1003e6e1
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000ae00
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 0x1003e6cc
mov ecx, eax
call fcn.1000adc7
add dword [esi + 0x30], 0x18
jmp 0x1003e6d5
push eax
lea ecx, [esi + 0x2c]
call fcn.1003f75a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.1000b185
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1003e4bd
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