Function at 0x100410d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x70
mov eax, 0x1013ab28
call fcn.101018b2
mov esi, dword [ebp + 0x25c]
xor edi, edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x28], edi
mov eax, dword [0x1019a028]
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x260]
mov byte [ebp - 4], 7
call fcn.100e70df
test eax, eax
pop ecx
pop ecx
jl 0x10041710
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x10041710
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x10158d3c
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x10], edi
je 0x10041710
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.1003e484
push str.site_text__
lea ecx, [ebp - 0x18]
call fcn.100164bd
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.100e76fb
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 0xc
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
call esi
push str.search_text__
lea ecx, [ebp - 0x18]
call fcn.100164bd
push dword [eax]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.100e76fb
add esp, 0xc
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
call esi
push str.feed_text__
lea ecx, [ebp - 0x18]
call fcn.100164bd
push dword [eax]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.100e76fb
add esp, 0xc
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x10041204
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x101594f8
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x10], edi
je 0x1004124a
push 0x101594f4
lea ecx, [ebp - 0x18]
call fcn.100164bd
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.100e7686
add esp, 0xc
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
call esi
lea eax, [ebp - 0x44]
push eax
call fcn.10040a9f
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xc
mov dword [esp], 0x10156f70
call fcn.1000587e
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xd
call fcn.1000c751
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x18], eax
sete bl
call fcn.100015d9
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xc
call fcn.100015d9
test bl, bl
je 0x10041321
mov ecx, dword [ebp - 0x48]
push 0x10152f84
call fcn.1000587e
lea ecx, [ebp - 0x44]
call fcn.100015d9
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov byte [ebp - 4], 6
je 0x100412cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, edi
mov byte [ebp - 4], 5
je 0x100412dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, edi
mov byte [ebp - 4], 4
je 0x100412ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x34]
call fcn.100015d9
lea ecx, [ebp - 0x38]
call fcn.100015d9
lea ecx, [ebp - 0x40]
call fcn.100015d9
lea ecx, [ebp - 0x3c]
call fcn.100015d9
lea ecx, [ebp + 0x260]
call fcn.100015d9
mov eax, dword [ebp - 0x48]
jmp 0x1004177c
mov ecx, 0x101594f0
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1004134f
cmp dx, di
je 0x1004134b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1004134f
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10041329
xor eax, eax
jmp 0x10041354
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x1004165c
mov ecx, 0x101594e8
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1004138a
cmp dx, di
je 0x10041386
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1004138a
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10041364
xor eax, eax
jmp 0x1004138f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x1004165c
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000587e
push 4
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.1000e753
push 0x101594dc
push dword [eax]
call fcn.10002de4
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x70]
setne bl
call fcn.100015d9
test bl, bl
jne 0x10041650
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100058db
push dword [eax]
push dword [ebp + 0x260]
call fcn.10002de4
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x5c]
inc bl
call fcn.100015d9
test bl, bl
jne 0x10041650
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], edi
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x11
call fcn.100058db
mov eax, dword [eax]
or dword [ebp - 0x28], 2
lea ecx, [ebp - 0x20]
push ecx
push eax
mov byte [ebp - 4], 0x12
call fcn.100e70df
test eax, eax
pop ecx
pop ecx
jl 0x1004144d
cmp dword [ebp - 0x20], edi
jne 0x1004144f
mov bl, 1
test byte [ebp - 0x28], 2
mov dword [ebp - 4], 0x11
je 0x10041468
and dword [ebp - 0x28], 0xfffffffd
lea ecx, [ebp - 0x78]
call fcn.100015d9
test bl, bl
jne 0x1004161d
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x10158d3c
push eax
call dword [ecx + 0x94]
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
jne 0x100414b7
mov eax, dword [ebp - 0x24]
cmp eax, edi
mov byte [ebp - 4], 0x10
je 0x100414a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
mov byte [ebp - 4], 0xf
je 0x1004163f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1004163f
push ecx
lea ecx, [ebp - 0x24]
call fcn.1003e484
cmp dword [ebp - 0x24], edi
je 0x1004162e
mov eax, dword [0x1019a028]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
push str.site_text__
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x16
call fcn.100164bd
push dword [eax]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x17
call fcn.100e76fb
add esp, 0xc
push dword [ebp - 0x60]
mov byte [ebp - 4], 0x16
call esi
push str.search_text__
lea ecx, [ebp - 0x64]
call fcn.100164bd
push dword [eax]
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x18
call fcn.100e76fb
add esp, 0xc
push dword [ebp - 0x64]
mov byte [ebp - 4], 0x16
call esi
push str.feed_text__
lea ecx, [ebp - 0x6c]
call fcn.100164bd
push dword [eax]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x19
call fcn.100e76fb
add esp, 0xc
push dword [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call esi
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x1004156f
mov dword [ebp - 0x14], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x101594f8
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x14], edi
je 0x100415b5
push 0x101594f4
lea ecx, [ebp - 0x74]
call fcn.100164bd
mov eax, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x1a
call fcn.100e7686
add esp, 0xc
push dword [ebp - 0x74]
mov byte [ebp - 4], 0x16
call esi
push dword [ebp - 0x3c]
push dword [ebp - 0x58]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
jne 0x100415fd
push dword [ebp - 0x40]
push dword [ebp - 0x54]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
jne 0x100415fd
push dword [ebp - 0x38]
push dword [ebp - 0x50]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
jne 0x100415fd
push dword [ebp - 0x34]
push dword [ebp - 0x4c]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
je 0x1004167f
lea ecx, [ebp - 0x4c]
call fcn.100015d9
lea ecx, [ebp - 0x50]
call fcn.100015d9
lea ecx, [ebp - 0x54]
call fcn.100015d9
lea ecx, [ebp - 0x58]
call fcn.100015d9
mov eax, dword [ebp - 0x24]
cmp eax, edi
mov byte [ebp - 4], 0x10
je 0x1004162e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 0xf
je 0x1004163f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 0xe
je 0x10041650
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.100015d9
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10041321
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100412a6
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000587e
push 0x101594dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
call fcn.1003e7b2
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
push eax
call fcn.1000584b
lea ecx, [ebp - 0x28]
call fcn.100015d9
lea ecx, [ebp - 0x4c]
call fcn.100015d9
lea ecx, [ebp - 0x50]
call fcn.100015d9
lea ecx, [ebp - 0x54]
call fcn.100015d9
lea ecx, [ebp - 0x58]
call fcn.100015d9
mov eax, dword [ebp - 0x24]
cmp eax, edi
mov byte [ebp - 4], 0x10
je 0x100416e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 0xf
je 0x100416f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 0xe
je 0x10041703
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
call fcn.100015d9
jmp 0x100412b3
push 0x10152f84
mov ecx, esi
call fcn.1000587e
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov byte [ebp - 4], 6
je 0x1004172d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, edi
mov byte [ebp - 4], 5
je 0x1004173e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, edi
mov byte [ebp - 4], 4
je 0x1004174f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x34]
call fcn.100015d9
lea ecx, [ebp - 0x38]
call fcn.100015d9
lea ecx, [ebp - 0x40]
call fcn.100015d9
lea ecx, [ebp - 0x3c]
call fcn.100015d9
lea ecx, [ebp + 0x260]
call fcn.100015d9
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.101018a3
add ebp, 0x254
leave
ret