Function at 0x1004179f
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 0x50
mov eax, 0x1013ac0d
call fcn.101018b2
mov esi, dword [ebp + 0x25c]
xor edi, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 3
call fcn.10040a9f
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
mov dword [esp], 0x10156f70
call fcn.1000587e
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 5
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 - 0x48]
mov dword [ebp - 0x3c], eax
sete bl
call fcn.100015d9
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.100015d9
test bl, bl
je 0x1004187b
push 0x10152f84
mov ecx, esi
call fcn.1000587e
lea ecx, [ebp - 0x24]
call fcn.100015d9
lea ecx, [ebp + 0x260]
call fcn.100015d9
lea ecx, [ebp + 0x264]
call fcn.100015d9
lea ecx, [ebp + 0x268]
call fcn.100015d9
lea ecx, [ebp + 0x26c]
call fcn.100015d9
mov eax, esi
jmp 0x10041bd1
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x101594f0
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100418af
cmp dx, di
je 0x100418ab
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100418af
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10041889
xor eax, eax
jmp 0x100418b4
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x10041b6f
mov ecx, 0x101594e8
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100418ea
cmp dx, di
je 0x100418e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100418ea
add eax, 4
add ecx, 4
cmp dx, di
jne 0x100418c4
xor eax, eax
jmp 0x100418ef
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x10041b6f
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000587e
push 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.1000e753
push 0x101594dc
push dword [eax]
call fcn.10002de4
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x40]
setne bl
call fcn.100015d9
test bl, bl
jne 0x10041b63
mov dword [ebp - 0x18], edi
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 7
call fcn.100058db
mov eax, dword [eax]
or dword [ebp - 0x14], 2
lea ecx, [ebp - 0x18]
push ecx
push eax
mov byte [ebp - 4], 8
call fcn.100e70df
pop ecx
test eax, eax
mov eax, dword [ebp - 0x18]
pop ecx
jl 0x10041971
cmp eax, edi
jne 0x10041973
mov bl, 1
test byte [ebp - 0x14], 2
mov dword [ebp - 4], 7
je 0x1004198f
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x58]
call fcn.100015d9
mov eax, dword [ebp - 0x18]
test bl, bl
jne 0x10041b55
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x10158d3c
push eax
mov byte [ebp - 4], 9
call dword [ecx + 0x94]
cmp dword [ebp - 0x10], edi
je 0x10041b52
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1003e484
cmp dword [ebp - 0x20], edi
je 0x10041b41
mov eax, dword [0x1019a028]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push str.site_text__
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xe
call fcn.100164bd
push dword [eax]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.100e76fb
add esp, 0xc
push dword [ebp - 0x50]
mov byte [ebp - 4], 0xe
call esi
push str.search_text__
lea ecx, [ebp - 0x44]
call fcn.100164bd
push dword [eax]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.100e76fb
add esp, 0xc
push dword [ebp - 0x44]
mov byte [ebp - 4], 0xe
call esi
push str.feed_text__
lea ecx, [ebp - 0x4c]
call fcn.100164bd
push dword [eax]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.100e76fb
add esp, 0xc
push dword [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x10041a76
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x101594f8
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x10], edi
je 0x10041abc
push 0x101594f4
lea ecx, [ebp - 0x54]
call fcn.100164bd
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push ecx
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 0x12
call fcn.100e7686
add esp, 0xc
push dword [ebp - 0x54]
mov byte [ebp - 4], 0xe
call esi
push dword [ebp - 0x38]
push dword [ebp + 0x260]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
jne 0x10041b10
push dword [ebp - 0x34]
push dword [ebp + 0x264]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
jne 0x10041b10
push dword [ebp - 0x30]
push dword [ebp + 0x268]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
jne 0x10041b10
push dword [ebp - 0x2c]
push dword [ebp + 0x26c]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
je 0x10041bf4
lea ecx, [ebp - 0x2c]
call fcn.100015d9
lea ecx, [ebp - 0x30]
call fcn.100015d9
lea ecx, [ebp - 0x34]
call fcn.100015d9
lea ecx, [ebp - 0x38]
call fcn.100015d9
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 9
je 0x10041b41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, edi
mov byte [ebp - 4], 7
je 0x10041b52
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, edi
mov byte [ebp - 4], 6
je 0x10041b63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.100015d9
lea eax, [ebp]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10041881
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x28]
push 0x10152f84
call fcn.1000587e
lea ecx, [ebp - 0x24]
call fcn.100015d9
lea ecx, [ebp + 0x260]
call fcn.100015d9
lea ecx, [ebp + 0x264]
call fcn.100015d9
lea ecx, [ebp + 0x268]
call fcn.100015d9
lea ecx, [ebp + 0x26c]
call fcn.100015d9
mov eax, dword [ebp - 0x28]
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
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000587e
push 0x101594dc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.1003e7b2
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.1000584b
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x2c]
call fcn.100015d9
lea ecx, [ebp - 0x30]
call fcn.100015d9
lea ecx, [ebp - 0x34]
call fcn.100015d9
lea ecx, [ebp - 0x38]
call fcn.100015d9
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 9
je 0x10041c56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, edi
mov byte [ebp - 4], 7
je 0x10041c67
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, edi
mov byte [ebp - 4], 6
je 0x10041c78
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x1c]
call fcn.100015d9
jmp 0x10041b9a