Function at 0x1008ec13
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x3c
mov eax, 0x101867bd
call fcn.10145d80
mov eax, dword [ebp + 0x25c]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x34], eax
je 0x1008ee58
lea eax, [ebp - 0x1c]
push eax
call fcn.1005c0e2
mov dword [esp], str..xml
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], esi
call fcn.10007b6e
push 0x24c
lea eax, [ebp + 4]
push esi
push eax
mov byte [ebp - 4], 1
mov dword [ebp], esi
call fcn.10146c80
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x30], eax
je 0x1008ee48
mov dword [ebp - 0x2c], esi
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10007b6e
push 4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.10011776
push 0x101a71f0
push dword [eax]
call fcn.10005373
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x38]
inc bl
call fcn.10003b75
test bl, bl
je 0x1008ee12
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.10126d24
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
je 0x1008ee7d
cmp eax, esi
jl 0x1008ee7d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1005bf3d
pop ecx
pop ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x101a6a40
push eax
mov byte [ebp - 4], 5
call dword [ecx + 0x94]
cmp dword [ebp - 0x14], esi
jne 0x1008ed62
lea ecx, [ebp - 0x18]
call fcn.10003b75
mov eax, dword [ebp - 0x10]
cmp eax, esi
mov byte [ebp - 4], 2
je 0x1008ee12
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1008ee12
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.10056fc1
cmp dword [ebp - 0x24], esi
mov byte [ebp - 4], 6
jne 0x1008ed89
mov eax, dword [ebp - 0x14]
cmp eax, esi
mov byte [ebp - 4], 4
je 0x1008ed40
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1008ed40
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
mov word [ebp - 0x48], si
call fcn.10014b08
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x101a50f4
push eax
mov byte [ebp - 4], 7
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xb4]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push 0
push dword [ebp - 0x24]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x24]
test eax, eax
mov byte [ebp - 4], 5
je 0x1008ede6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 4
je 0x1008edf7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
call fcn.10003b75
mov eax, dword [ebp - 0x10]
test eax, eax
mov byte [ebp - 4], 2
je 0x1008ee10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, esi
jne 0x1008ee2a
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.10003b75
cmp dword [ebp - 0x2c], esi
je 0x1008ec9f
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.10003b75
lea ecx, [ebp - 0x1c]
call fcn.10003b75
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x254
leave
ret 4
cmp ecx, esi
mov byte [ebp - 4], 2
je 0x1008ee12
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1008ee12