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

Disassembly:
mov eax, 0x1008b7af
call fcn.10089edc
sub esp, 0x374
push ebx
mov ebx, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x20], edx
push esi
push edi
test ebx, ebx
jne 0x1003edeb
mov esi, dword [edx + 0x2c]
mov edi, dword [edx + 0x30]
cmp esi, edi
je 0x1003ed91
mov ecx, esi
call fcn.1000b300
add esi, 0x18
cmp esi, edi
jne 0x1003ed7a
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x30], eax
xor ecx, ecx
mov al, byte [ecx + 0x1018e738]
mov byte [ecx + 0x1018e4a0], al
inc ecx
test al, al
jne 0x1003ed93
mov byte [ebp + 9], 0x63
mov byte [ebp + 0xa], 0x31
mov byte [ebp + 0xb], al
mov al, byte [ebp + 9]
xor eax, eax
sub byte [ebp + eax + 9], 7
inc eax
cmp eax, 2
jb 0x1003edb4
lea edx, [ebp + 9]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003edc4
mov ebx, 0x1018e4a0
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003edd5
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 - 0x27c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp + 8], esi
cmp esi, 0xffffffff
je 0x1003f04b
test byte [ebp - 0x27c], 0x10
je 0x1003eee3
lea ecx, [ebp - 0x250]
cmp byte [ecx], 0x2e
jne 0x1003ee2b
movzx eax, byte [ecx + 1]
test al, al
je 0x1003f02e
lea edx, [ebp - 0x250]
mov edi, 0x1009bc74
xor ecx, ecx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x1003ee4b
inc ecx
cmp ecx, 3
jne 0x1003ee38
xor eax, eax
jmp 0x1003ee50
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003f02e
lea edx, [ebp - 0x380]
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x1003ee62
lea eax, [ebp - 0x380]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
lea edx, [ebp - 0x250]
pop ecx
mov byte [eax + 1], 0
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003ee89
lea edi, [ebp - 0x380]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003ee99
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 - 0x380]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1003eeb6
mov ax, word [0x1009bc5c]
mov word [ecx], ax
mov al, byte [0x1009bc5e]
mov byte [ecx + 2], al
lea eax, [ebp - 0x380]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.1003ed51
jmp 0x1003f02b
test byte [ebp - 0x27c], 0x20
je 0x1003f02e
mov ecx, 0x1018e738
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003eef8
sub ecx, edx
inc ecx
add ecx, ebx
cmp byte [ecx], 0x2a
je 0x1003ef36
lea edx, [ebp - 0x13c]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x1003ef11
lea eax, [ebp - 0x13c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x1003ef3d
mov byte [eax + 1], 0
jmp 0x1003ef3d
mov byte [ebp - 0x13c], 0
lea edx, [ebp - 0x250]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003ef45
lea edi, [ebp - 0x13c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003ef55
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 0x1003ef70
mov byte [eax], 0x2f
lea eax, [ebp - 0x13c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strchr]
pop ecx
pop ecx
test eax, eax
jne 0x1003ef6d
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 0x1003efc6
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp - 0x13c]
push eax
call sub.msvcrt.dll__stricmp
pop ecx
pop ecx
test eax, eax
je 0x1003f02b
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x38]
call fcn.1000b0e7
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
and dword [ebp - 4], 0
push ecx
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
je 0x1003f016
mov ecx, eax
call fcn.1000b0ae
add dword [esi + 0x30], 0x18
jmp 0x1003f01f
push eax
lea ecx, [esi + 0x2c]
call fcn.10040048
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.1000b300
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x27c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1003ee07
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