Function at 0x1005c713
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 0x70
mov eax, 0x1018229d
call fcn.10145d80
mov esi, dword [ebp + 0x25c]
xor edi, edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x28], edi
mov eax, dword [0x101f3028]
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.10126d24
test eax, eax
pop ecx
pop ecx
jl 0x1005cd53
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x1005cd53
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x101a6a40
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x10], edi
je 0x1005cd53
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.10059ae6
push str.site_text__
lea ecx, [ebp - 0x18]
call fcn.1002939e
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.10127348
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.1002939e
push dword [eax]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.10127348
add esp, 0xc
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
call esi
push str.feed_text__
lea ecx, [ebp - 0x18]
call fcn.1002939e
push dword [eax]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.10127348
add esp, 0xc
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x1005c847
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 str.custombuttons_button_IPopupWebMenu
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x10], edi
je 0x1005c88d
push 0x101a7208
lea ecx, [ebp - 0x18]
call fcn.1002939e
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.101272d3
add esp, 0xc
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
call esi
lea eax, [ebp - 0x44]
push eax
call fcn.1005c0e2
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xc
mov dword [esp], 0x101a4288
call fcn.10007b11
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xd
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 - 0x68]
mov dword [ebp - 0x18], eax
sete bl
call fcn.10003b75
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xc
call fcn.10003b75
test bl, bl
je 0x1005c964
mov ecx, dword [ebp - 0x48]
push 0x1019f188
call fcn.10007b11
lea ecx, [ebp - 0x44]
call fcn.10003b75
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov byte [ebp - 4], 6
je 0x1005c90f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, edi
mov byte [ebp - 4], 5
je 0x1005c920
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, edi
mov byte [ebp - 4], 4
je 0x1005c931
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x34]
call fcn.10003b75
lea ecx, [ebp - 0x38]
call fcn.10003b75
lea ecx, [ebp - 0x40]
call fcn.10003b75
lea ecx, [ebp - 0x3c]
call fcn.10003b75
lea ecx, [ebp + 0x260]
call fcn.10003b75
mov eax, dword [ebp - 0x48]
jmp 0x1005cdbf
mov ecx, 0x101a7204
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005c992
cmp dx, di
je 0x1005c98e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005c992
add eax, 4
add ecx, 4
cmp dx, di
jne 0x1005c96c
xor eax, eax
jmp 0x1005c997
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x1005cc9f
mov ecx, 0x101a71fc
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005c9cd
cmp dx, di
je 0x1005c9c9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005c9cd
add eax, 4
add ecx, 4
cmp dx, di
jne 0x1005c9a7
xor eax, eax
jmp 0x1005c9d2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x1005cc9f
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10007b11
push 4
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.10011776
push 0x101a71f0
push dword [eax]
call fcn.10005373
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x70]
setne bl
call fcn.10003b75
test bl, bl
jne 0x1005cc93
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10007b6e
push dword [eax]
push dword [ebp + 0x260]
call fcn.10005373
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x5c]
inc bl
call fcn.10003b75
test bl, bl
jne 0x1005cc93
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.10007b6e
mov eax, dword [eax]
or dword [ebp - 0x28], 2
lea ecx, [ebp - 0x20]
push ecx
push eax
mov byte [ebp - 4], 0x12
call fcn.10126d24
test eax, eax
pop ecx
pop ecx
jl 0x1005ca90
cmp dword [ebp - 0x20], edi
jne 0x1005ca92
mov bl, 1
test byte [ebp - 0x28], 2
mov dword [ebp - 4], 0x11
je 0x1005caab
and dword [ebp - 0x28], 0xfffffffd
lea ecx, [ebp - 0x78]
call fcn.10003b75
test bl, bl
jne 0x1005cc60
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x101a6a40
push eax
call dword [ecx + 0x94]
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
jne 0x1005cafa
mov eax, dword [ebp - 0x24]
cmp eax, edi
mov byte [ebp - 4], 0x10
je 0x1005cae3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
mov byte [ebp - 4], 0xf
je 0x1005cc82
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1005cc82
push ecx
lea ecx, [ebp - 0x24]
call fcn.10059ae6
cmp dword [ebp - 0x24], edi
je 0x1005cc71
mov eax, dword [0x101f3028]
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.1002939e
push dword [eax]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x17
call fcn.10127348
add esp, 0xc
push dword [ebp - 0x60]
mov byte [ebp - 4], 0x16
call esi
push str.search_text__
lea ecx, [ebp - 0x64]
call fcn.1002939e
push dword [eax]
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x18
call fcn.10127348
add esp, 0xc
push dword [ebp - 0x64]
mov byte [ebp - 4], 0x16
call esi
push str.feed_text__
lea ecx, [ebp - 0x6c]
call fcn.1002939e
push dword [eax]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x19
call fcn.10127348
add esp, 0xc
push dword [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call esi
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x1005cbb2
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 str.custombuttons_button_IPopupWebMenu
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x14], edi
je 0x1005cbf8
push 0x101a7208
lea ecx, [ebp - 0x74]
call fcn.1002939e
mov eax, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x1a
call fcn.101272d3
add esp, 0xc
push dword [ebp - 0x74]
mov byte [ebp - 4], 0x16
call esi
push dword [ebp - 0x3c]
push dword [ebp - 0x58]
call fcn.1014631e
test eax, eax
pop ecx
pop ecx
jne 0x1005cc40
push dword [ebp - 0x40]
push dword [ebp - 0x54]
call fcn.1014631e
test eax, eax
pop ecx
pop ecx
jne 0x1005cc40
push dword [ebp - 0x38]
push dword [ebp - 0x50]
call fcn.1014631e
test eax, eax
pop ecx
pop ecx
jne 0x1005cc40
push dword [ebp - 0x34]
push dword [ebp - 0x4c]
call fcn.1014631e
test eax, eax
pop ecx
pop ecx
je 0x1005ccc2
lea ecx, [ebp - 0x4c]
call fcn.10003b75
lea ecx, [ebp - 0x50]
call fcn.10003b75
lea ecx, [ebp - 0x54]
call fcn.10003b75
lea ecx, [ebp - 0x58]
call fcn.10003b75
mov eax, dword [ebp - 0x24]
cmp eax, edi
mov byte [ebp - 4], 0x10
je 0x1005cc71
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 0xf
je 0x1005cc82
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 0xe
je 0x1005cc93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.10003b75
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1005c964
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1005c8e9
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007b11
push 0x101a71f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
call fcn.10059df5
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
push eax
call fcn.10007ade
lea ecx, [ebp - 0x28]
call fcn.10003b75
lea ecx, [ebp - 0x4c]
call fcn.10003b75
lea ecx, [ebp - 0x50]
call fcn.10003b75
lea ecx, [ebp - 0x54]
call fcn.10003b75
lea ecx, [ebp - 0x58]
call fcn.10003b75
mov eax, dword [ebp - 0x24]
cmp eax, edi
mov byte [ebp - 4], 0x10
je 0x1005cd24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 0xf
je 0x1005cd35
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 0xe
je 0x1005cd46
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
call fcn.10003b75
jmp 0x1005c8f6
push 0x1019f188
mov ecx, esi
call fcn.10007b11
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov byte [ebp - 4], 6
je 0x1005cd70
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, edi
mov byte [ebp - 4], 5
je 0x1005cd81
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, edi
mov byte [ebp - 4], 4
je 0x1005cd92
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x34]
call fcn.10003b75
lea ecx, [ebp - 0x38]
call fcn.10003b75
lea ecx, [ebp - 0x40]
call fcn.10003b75
lea ecx, [ebp - 0x3c]
call fcn.10003b75
lea ecx, [ebp + 0x260]
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