Function at 0x10002290
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a092
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x1000e380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1b8], 0
push 0xc
call fcn.1000861e
add esp, 4
mov dword [ebp - 0x18c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18c], 0
je 0x10002314
xor eax, eax
mov ecx, dword [ebp - 0x18c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 1
push 0x1000bd90
push 0x80000001
mov ecx, dword [ebp - 0x18c]
call fcn.10001480
mov dword [ebp - 0x198], eax
jmp 0x1000231e
mov dword [ebp - 0x198], 0
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0
je 0x10002534
push 0
push str.HomeDir
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x194]
call fcn.100014d0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
jne 0x10002379
mov dword [ebp - 0x19c], 1
jmp 0x10002383
mov dword [ebp - 0x19c], 0
mov dl, byte [ebp - 0x19c]
mov byte [ebp - 0x181], dl
movzx eax, byte [ebp - 0x181]
test eax, eax
jne 0x100024c5
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 - 0x1d0]
push eax
call fcn.10004e90
add esp, 0xc
mov dword [ebp - 0x1a4], eax
push 0
push 0
push 0
lea ecx, [ebp - 0x180]
push ecx
push 0
mov ecx, dword [ebp - 0x1a4]
call fcn.10003ef0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExA]
mov dword [ebp - 0x190], eax
lea ecx, [ebp - 0x1d0]
call fcn.100016c0
nop
cmp dword [ebp - 0x190], 0xffffffff
je 0x100024c5
push 0x1000bdb0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1e8]
push eax
call fcn.10004e90
add esp, 0xc
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.10004f40
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e8]
call fcn.100016c0
nop
push 0
push str.mineagen
lea ecx, [ebp - 0x40]
call fcn.10003e30
cmp eax, 0xffffffff
jne 0x1000248e
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10002160
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100016c0
nop
lea ecx, [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x190]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10002412
mov eax, dword [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x188], ecx
cmp dword [ebp - 0x188], 0
je 0x1000251a
mov ecx, dword [ebp - 0x188]
call fcn.100014b0
mov edx, 1
and edx, 1
je 0x10002500
push 0xc
mov eax, dword [ebp - 0x188]
push eax
call fcn.10008653
add esp, 8
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], edx
jmp 0x10002524
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016c0
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008610
mov esp, ebp
pop ebp
ret