Function at 0x1005cde2
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 0x50
mov eax, 0x10182382
call fcn.10145d80
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.1005c0e2
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
mov dword [esp], 0x101a4288
call fcn.10007b11
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 5
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 - 0x48]
mov dword [ebp - 0x3c], eax
sete bl
call fcn.10003b75
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.10003b75
test bl, bl
je 0x1005cebe
push 0x1019f188
mov ecx, esi
call fcn.10007b11
lea ecx, [ebp - 0x24]
call fcn.10003b75
lea ecx, [ebp + 0x260]
call fcn.10003b75
lea ecx, [ebp + 0x264]
call fcn.10003b75
lea ecx, [ebp + 0x268]
call fcn.10003b75
lea ecx, [ebp + 0x26c]
call fcn.10003b75
mov eax, esi
jmp 0x1005d214
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x101a7204
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005cef2
cmp dx, di
je 0x1005ceee
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005cef2
add eax, 4
add ecx, 4
cmp dx, di
jne 0x1005cecc
xor eax, eax
jmp 0x1005cef7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x1005d1b2
mov ecx, 0x101a71fc
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005cf2d
cmp dx, di
je 0x1005cf29
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005cf2d
add eax, 4
add ecx, 4
cmp dx, di
jne 0x1005cf07
xor eax, eax
jmp 0x1005cf32
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x1005d1b2
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007b11
push 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.10011776
push 0x101a71f0
push dword [eax]
call fcn.10005373
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x40]
setne bl
call fcn.10003b75
test bl, bl
jne 0x1005d1a6
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.10007b6e
mov eax, dword [eax]
or dword [ebp - 0x14], 2
lea ecx, [ebp - 0x18]
push ecx
push eax
mov byte [ebp - 4], 8
call fcn.10126d24
pop ecx
test eax, eax
mov eax, dword [ebp - 0x18]
pop ecx
jl 0x1005cfb4
cmp eax, edi
jne 0x1005cfb6
mov bl, 1
test byte [ebp - 0x14], 2
mov dword [ebp - 4], 7
je 0x1005cfd2
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x58]
call fcn.10003b75
mov eax, dword [ebp - 0x18]
test bl, bl
jne 0x1005d198
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x101a6a40
push eax
mov byte [ebp - 4], 9
call dword [ecx + 0x94]
cmp dword [ebp - 0x10], edi
je 0x1005d195
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.10059ae6
cmp dword [ebp - 0x20], edi
je 0x1005d184
mov eax, dword [0x101f3028]
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.1002939e
push dword [eax]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.10127348
add esp, 0xc
push dword [ebp - 0x50]
mov byte [ebp - 4], 0xe
call esi
push str.search_text__
lea ecx, [ebp - 0x44]
call fcn.1002939e
push dword [eax]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.10127348
add esp, 0xc
push dword [ebp - 0x44]
mov byte [ebp - 4], 0xe
call esi
push str.feed_text__
lea ecx, [ebp - 0x4c]
call fcn.1002939e
push dword [eax]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.10127348
add esp, 0xc
push dword [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x1005d0b9
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 str.custombuttons_button_IPopupWebMenu
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x10], edi
je 0x1005d0ff
push 0x101a7208
lea ecx, [ebp - 0x54]
call fcn.1002939e
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push ecx
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 0x12
call fcn.101272d3
add esp, 0xc
push dword [ebp - 0x54]
mov byte [ebp - 4], 0xe
call esi
push dword [ebp - 0x38]
push dword [ebp + 0x260]
call fcn.1014631e
test eax, eax
pop ecx
pop ecx
jne 0x1005d153
push dword [ebp - 0x34]
push dword [ebp + 0x264]
call fcn.1014631e
test eax, eax
pop ecx
pop ecx
jne 0x1005d153
push dword [ebp - 0x30]
push dword [ebp + 0x268]
call fcn.1014631e
test eax, eax
pop ecx
pop ecx
jne 0x1005d153
push dword [ebp - 0x2c]
push dword [ebp + 0x26c]
call fcn.1014631e
test eax, eax
pop ecx
pop ecx
je 0x1005d237
lea ecx, [ebp - 0x2c]
call fcn.10003b75
lea ecx, [ebp - 0x30]
call fcn.10003b75
lea ecx, [ebp - 0x34]
call fcn.10003b75
lea ecx, [ebp - 0x38]
call fcn.10003b75
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 9
je 0x1005d184
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, edi
mov byte [ebp - 4], 7
je 0x1005d195
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, edi
mov byte [ebp - 4], 6
je 0x1005d1a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.10003b75
lea eax, [ebp]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1005cec4
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x28]
push 0x1019f188
call fcn.10007b11
lea ecx, [ebp - 0x24]
call fcn.10003b75
lea ecx, [ebp + 0x260]
call fcn.10003b75
lea ecx, [ebp + 0x264]
call fcn.10003b75
lea ecx, [ebp + 0x268]
call fcn.10003b75
lea ecx, [ebp + 0x26c]
call fcn.10003b75
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.10145d71
add ebp, 0x254
leave
ret
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10007b11
push 0x101a71f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.10059df5
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.10007ade
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x2c]
call fcn.10003b75
lea ecx, [ebp - 0x30]
call fcn.10003b75
lea ecx, [ebp - 0x34]
call fcn.10003b75
lea ecx, [ebp - 0x38]
call fcn.10003b75
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 9
je 0x1005d299
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, edi
mov byte [ebp - 4], 7
je 0x1005d2aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, edi
mov byte [ebp - 4], 6
je 0x1005d2bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x1c]
call fcn.10003b75
jmp 0x1005d1dd