Function at 0x10071920
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bace1
mov eax, dword fs:[0]
push eax
sub esp, 0x93c
mov eax, dword [0x10248f44]
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 ebx, ecx
mov dword [ebp - 0x928], ebx
mov dword [ebp - 0x480], 0
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
mov dword [ebp - 4], 1
cmp dword [ebx + 0x54], eax
je 0x10071c41
cmp dword [ebx + 0x58], 0x10
lea edx, [ebx + 0x44]
jb 0x10071998
mov edx, dword [edx]
lea ecx, [ebp - 0x468]
call fcn.1008a440
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x480]
call fcn.10073410
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x100719f5
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100719eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100720cb
push edx
push ecx
call fcn.1018a765
add esp, 8
cmp dword [ebp - 0x470], 0
je 0x10071c01
mov dword [ebp - 0x450], 0
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push 0x10230988
lea edx, [ebp - 0x480]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x468]
call fcn.100736e0
add esp, 4
lea ecx, [ebp - 0x450]
push eax
call fcn.10073410
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x10071aaf
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10071aa5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100720d0
push edx
push ecx
call fcn.1018a765
add esp, 8
push 0x10230984
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x468]
call fcn.100736e0
add esp, 4
lea ecx, [ebp - 0x438]
push eax
call fcn.10073410
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x10071b14
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10071b0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100720d5
push edx
push ecx
call fcn.1018a765
add esp, 8
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x6d0]
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x92c], esi
cmp esi, 0xffffffff
jne 0x10071c5d
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x10071b87
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10071b7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100720cb
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp edx, 8
jb 0x10071be4
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10071bda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100720cb
push edx
push ecx
call fcn.1018a765
add esp, 8
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov edx, dword [ebp - 0x46c]
cmp edx, 8
jb 0x10071c41
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10071c37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100720cb
push edx
push ecx
call fcn.1018a765
add esp, 8
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.1018a722
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
test byte [ebp - 0x6d0], 0x10
jne 0x10071d6a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1018f2e0
add esp, 0xc
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.1019deda
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
call edi
mov ecx, 0x102309a0
lea eax, [ebp - 0x420]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10071ce8
test dx, dx
je 0x10071ce4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10071ce8
add eax, 4
add ecx, 4
test dx, dx
jne 0x10071cc2
xor eax, eax
jmp 0x10071ced
sbb eax, eax
or eax, 1
test eax, eax
je 0x10071d6a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1018f2e0
add esp, 0xc
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1019deda
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1019df3e
add esp, 0xc
lea eax, [ebp - 0x920]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x930], eax
cmp eax, 0xffffffff
jne 0x10071d86
lea eax, [ebp - 0x6d0]
push eax
push dword [ebp - 0x92c]
call esi
test eax, eax
jne 0x10071c70
jmp 0x10071fcb
mov eax, dword [ebx + 0x94]
lea ecx, [ebp - 0x218]
cmp eax, ecx
je 0x10071e11
test eax, eax
je 0x10071dad
push eax
call fcn.1019be4e
add esp, 4
mov dword [ebx + 0x94], 0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10071db6
sub ecx, edx
sar ecx, 1
je 0x10071e11
lea esi, [ecx*2 + 2]
push esi
call fcn.1019ce70
add esp, 4
mov dword [ebx + 0x94], eax
test eax, eax
je 0x10071e11
push esi
push 0
push eax
call fcn.1018f2e0
mov edx, dword [ebx + 0x94]
lea ecx, [ebp - 0x218]
add esp, 0xc
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x10071e00
mov dword [ebp - 0x948], 0
xor eax, eax
mov dword [ebp - 0x938], 0
lea ecx, [ebp - 0x6a4]
mov dword [ebp - 0x934], 7
mov word [ebp - 0x948], ax
lea edx, [ecx + 2]
mov byte [ebp - 4], 5
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10071e45
sub ecx, edx
lea eax, [ebp - 0x6a4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x948]
call fcn.10073560
lea eax, [ebp - 0x948]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x438]
lea ecx, [ebp - 0x468]
call fcn.100737e0
mov edx, dword [ebp - 0x934]
add esp, 4
cmp edx, 8
jb 0x10071ec6
mov ecx, dword [ebp - 0x948]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10071ebc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100720da
push edx
push ecx
call fcn.1018a765
add esp, 8
mov ebx, dword [ebp - 0x454]
lea esi, [ebp - 0x468]
mov eax, dword [ebp - 0x928]
cmp ebx, 8
mov edi, dword [ebp - 0x468]
cmovae esi, edi
setae byte [ebp - 0x921]
mov eax, dword [eax + 0x98]
cmp eax, esi
je 0x10071f87
test eax, eax
je 0x10071f16
push eax
call fcn.1019be4e
mov eax, dword [ebp - 0x928]
add esp, 4
mov dword [eax + 0x98], 0
test esi, esi
je 0x10071f87
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10071f20
sub ecx, edx
sar ecx, 1
je 0x10071f87
lea ebx, [ecx*2 + 2]
push ebx
call fcn.1019ce70
mov ecx, dword [ebp - 0x928]
add esp, 4
mov dword [ecx + 0x98], eax
test eax, eax
je 0x10071f81
push ebx
push 0
push eax
call fcn.1018f2e0
mov eax, dword [ebp - 0x928]
add esp, 0xc
mov ecx, dword [eax + 0x98]
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10071f70
mov ebx, dword [ebp - 0x454]
push dword [ebp - 0x930]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x921], 0
je 0x10071fcb
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10071fc1
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100720df
push ecx
push edi
call fcn.1018a765
add esp, 8
push dword [ebp - 0x92c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x10072017
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007200d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100720cb
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp edx, 8
jb 0x10072070
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10072066
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100720cb
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x46c]
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
cmp edx, 8
jb 0x10071c41
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10071c37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10071c37
call fcn.1019291f
call fcn.1019291f
call fcn.1019291f
call fcn.1019291f
call fcn.1019291f
int3