Function at 0x10015470
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085c21
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x100b618c]
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 dword [ebp - 0x2b0], ecx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 4], 0
call dword [eax + 0xc]
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
jne 0x1001552e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10007e70
lea ecx, [ebp - 0x1c]
call fcn.10018740
mov eax, ebx
jmp 0x1001585d
push 4
push 0x1008f114
lea ecx, [ebp - 0x34]
call fcn.100188a0
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x284]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x288], eax
cmp eax, 0xffffffff
jne 0x10015574
mov eax, dword [ebp - 0x1c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
jmp 0x10015502
call fcn.10015a10
mov ecx, eax
call fcn.10022b60
mov ebx, dword [ebp - 0x288]
mov edi, eax
mov dword [ebp - 0x290], edi
nop
cmp word [ebp - 0x258], 0x2e
je 0x10015802
test byte [ebp - 0x284], 0x10
je 0x10015802
call fcn.100089e0
test eax, eax
je 0x1001587b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28c]
call fcn.1000cd50
test al, al
jne 0x10015612
lea ecx, [ebp - 0x258]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100155f0
sub ecx, edx
lea eax, [ebp - 0x258]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28c]
call fcn.1000e820
mov esi, dword [ebp - 0x28c]
mov ecx, str.Temp
mov byte [ebp - 4], 3
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10015649
test dx, dx
je 0x10015645
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10015649
add eax, 4
add ecx, 4
test dx, dx
jne 0x10015623
xor eax, eax
jmp 0x1001564e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015677
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10015802
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10015802
xor eax, eax
mov dword [ebp - 0x29c], 0
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100156a0
sub ecx, edx
lea eax, [ebp - 0x258]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2ac]
call fcn.100094b0
mov ebx, dword [edi]
mov eax, ebx
mov dword [ebp - 0x294], eax
mov edi, dword [ebx + 4]
cmp byte [edi + 0xd], 0
jne 0x10015711
mov esi, dword [ebp - 0x290]
nop dword [eax + eax]
lea eax, [ebp - 0x2ac]
mov ecx, esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10011480
test al, al
je 0x100156fb
mov edi, dword [edi + 8]
jmp 0x100156ff
mov ebx, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x100156e0
mov esi, dword [ebp - 0x28c]
mov eax, dword [ebp - 0x294]
mov edi, dword [ebp - 0x290]
cmp ebx, eax
je 0x10015737
lea eax, [ebx + 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.10011480
test al, al
je 0x10015739
mov eax, dword [ebp - 0x294]
mov ebx, eax
lea ecx, [ebp - 0x2ac]
call fcn.10007e70
cmp ebx, dword [edi]
je 0x10015778
mov ecx, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2ac]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
lea eax, [ebx + 0x28]
push eax
call fcn.1000ff60
add esp, 8
lea ecx, [ebp - 0x2ac]
mov bl, al
call fcn.10007e70
test bl, bl
jne 0x100157e0
xor eax, eax
mov dword [ebp - 0x29c], 0
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100157a0
sub ecx, edx
lea eax, [ebp - 0x258]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2ac]
call fcn.100094b0
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1c]
call fcn.10018bf0
lea ecx, [ebp - 0x2ac]
call fcn.10007e70
or eax, 0xffffffff
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100157fc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x288]
lea eax, [ebp - 0x284]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10015590
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10007e70
lea ecx, [ebp - 0x1c]
call fcn.10018740
mov eax, esi
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.10047a96
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000cd30
int3