Function at 0x101307d4
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 0x90
mov eax, 0x10198455
call fcn.10145d80
mov eax, dword [ebp + 0x25c]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x260]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1005c0e2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x80]
mov dword [esp], 0x101a4288
call fcn.10007b11
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 1
call fcn.100100f8
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x4c], eax
sete bl
call fcn.10003b75
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.10003b75
test bl, bl
je 0x101308a1
mov esi, 0x80004005
lea ecx, [ebp - 0x1c]
call fcn.10003b75
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 + 0x250]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x254
leave
ret 8
mov ecx, 0x101a7204
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x101308cf
test dx, dx
je 0x101308cb
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x101308cf
add eax, 4
add ecx, 4
test dx, dx
jne 0x101308a9
xor eax, eax
jmp 0x101308d4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10130d22
mov ecx, 0x101a71fc
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1013090a
test dx, dx
je 0x10130906
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1013090a
add eax, 4
add ecx, 4
test dx, dx
jne 0x101308e4
xor eax, eax
jmp 0x1013090f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10130d22
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.10007b11
push 4
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.10011776
push 0x101a71f0
push dword [eax]
call fcn.10005373
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x78]
setne bl
call fcn.10003b75
test bl, bl
jne 0x10130d16
and dword [ebp - 0x18], 0
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 3
call fcn.10007b6e
mov eax, dword [eax]
or dword [ebp - 0x24], 1
lea ecx, [ebp - 0x18]
push ecx
push eax
mov byte [ebp - 4], 4
call fcn.10126d24
test eax, eax
pop ecx
pop ecx
jl 0x10130991
cmp dword [ebp - 0x18], 0
jne 0x10130993
mov bl, 1
test byte [ebp - 0x24], 1
mov dword [ebp - 4], 3
je 0x101309ac
and dword [ebp - 0x24], 0xfffffffe
lea ecx, [ebp - 0x64]
call fcn.10003b75
test bl, bl
je 0x101309ba
mov eax, dword [ebp - 0x18]
test eax, eax
jmp 0x10130d0a
lea ecx, [ebp - 0x90]
call fcn.101390d6
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 5
call fcn.10007b6e
push dword [eax]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.101387c0
lea ecx, [ebp - 0x70]
call fcn.10003b75
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x101a6a40
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0x94]
cmp dword [ebp - 0x10], esi
jne 0x10130a2f
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.10138686
mov eax, dword [ebp - 0x18]
cmp eax, esi
jmp 0x10130d0a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
call fcn.10056fc1
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 8
call fcn.10007b6e
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 9
call fcn.1005bf3d
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.10003b75
push 0x1019f188
lea ecx, [ebp - 0x2c]
call fcn.10007b11
mov eax, dword [ebp - 0x10]
cmp eax, esi
mov byte [ebp - 4], 0xc
je 0x10130a8c
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x18]
push 0x101a6a1c
lea ecx, [ebp - 0x74]
call fcn.1002939e
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x10]
push edx
push eax
push esi
mov byte [ebp - 4], 0xd
call dword [ecx + 0x94]
push dword [ebp - 0x74]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xc
call esi
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
je 0x10130af1
push dword [ebp - 0x10]
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x90]
call fcn.10138e77
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.10007845
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xc
call fcn.10003b75
lea eax, [ebp - 0x34]
push eax
push 0x101f7ee8
lea eax, [ebp - 0x50]
push eax
call fcn.100100f8
mov dword [ebp - 0x14], ebx
push 1
push 1
push 1
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x94], esp
push eax
mov byte [ebp - 4], 0x10
call fcn.10007ade
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x34]
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push eax
mov byte [ebp - 4], 0x11
call fcn.10007ade
push ecx
lea eax, [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0x9c], esp
push eax
mov byte [ebp - 4], 0x12
call fcn.10007ade
mov byte [ebp - 4], 0x10
call fcn.10059ecc
add esp, 0x20
cmp dword [ebp - 0x14], ebx
je 0x10130cab
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
call fcn.1003da00
cmp dword [ebp - 0x38], ebx
mov byte [ebp - 4], 0x13
je 0x10130bba
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10007b6e
push dword [eax]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x14
call fcn.10005f82
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x16
call fcn.10003b75
mov eax, dword [ebp - 0x38]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
push dword [ebp - 0x44]
call esi
push dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.1000d8ac
cmp dword [ebp - 0x30], ebx
je 0x10130bfb
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.1000d8ac
mov eax, dword [ebp - 0x48]
cmp eax, ebx
mov byte [ebp - 4], 0x18
je 0x10130bed
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x14]
mov eax, dword [ebp - 0x48]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x10130bfb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], ebx
call fcn.1000d8ac
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x19
je 0x10130c79
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
push dword [ebp - 0x3c]
mov ecx, 0x101f84e8
mov ebx, eax
add esi, 0x48
call fcn.100511d1
push eax
push ebx
call dword [esi]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
call fcn.1000d8ac
mov eax, dword [ebp - 0x54]
test eax, eax
mov byte [ebp - 4], 0x1a
je 0x10130c68
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x14]
mov eax, dword [ebp - 0x54]
test eax, eax
mov byte [ebp - 4], 0x19
je 0x10130c76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
xor ebx, ebx
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x10130c89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 0x13
je 0x10130c9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
cmp eax, ebx
mov byte [ebp - 4], 0x10
je 0x10130cab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x10130cbc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x50]
call fcn.10003b75
lea ecx, [ebp - 0x2c]
call fcn.10003b75
lea ecx, [ebp - 0x34]
call fcn.10003b75
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x10130ce5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x10130cf6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.10138686
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x10130d16
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.10003b75
lea eax, [ebp]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101308a1
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
jmp 0x10130872