Function at 0x1002a6e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x64]
push eax
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
push 0x250
lea eax, [ebp - 0x2b4]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.1008da10
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x60]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x4c], 8
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.10002b70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1002a7ed
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edx, 8
cmovae eax, ebx
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x1002a7ed
cmp eax, 0x2f
je 0x1002a7ed
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x1002a7cf
cmp edx, 8
lea esi, [ebp - 0x28]
push 2
cmovae esi, ebx
lea edi, [ecx + 1]
push 0x100ee8cc
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.1008e280
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1002a7ed
push 1
push 0x100ee8cc
mov byte [ebp - 0x2b8], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2b8]
push 1
call fcn.100129e0
xor eax, eax
mov dword [ebp - 0x48], vtable.LString.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push 0x100eecec
call fcn.10002b70
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.10011440
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2b4]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002a908
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
mov ecx, 0x100eeb18
lea eax, [ebp - 0x288]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002a8a6
test dx, dx
je 0x1002a8a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002a8a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002a880
xor eax, eax
jmp 0x1002a8ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002a8ef
mov eax, 0x100efc00
lea ecx, [ebp - 0x288]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1002a8e6
test dx, dx
je 0x1002a8e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1002a8e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x1002a8c0
xor eax, eax
jmp 0x1002a8eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1002a938
lea eax, [ebp - 0x2b4]
push eax
push esi
call edi
test eax, eax
jne 0x1002a870
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008bffe
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
jmp 0x1002a90a