Function at 0x1810e5ff
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x278], ebx
mov cl, byte [ebx]
call fcn.180b0f3b
cmp byte [ebx], 0
je 0x1810e643
call fcn.1801f853
lea eax, [ebp - 0x274]
push eax
call fcn.18020f77
xor edi, edi
inc edi
and dword [ebp - 0x10], 0
jmp 0x1810e65d
call fcn.1801f853
lea eax, [ebp - 0x270]
push eax
call fcn.1801fb8f
xor edi, edi
mov dword [ebp - 0x10], 2
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1800a0da
cmp dword [ebp - 0x10], 0
lea esi, [eax + 0x10]
je 0x1810e67e
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.18006f72
test edi, edi
je 0x1810e690
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx - 0x10]
call fcn.18006f72
xor edi, edi
cmp dword [esi - 0xc], edi
jne 0x1810e6a1
mov ebx, 0x8000ffff
jmp 0x1810e8c5
push 0x250
lea eax, [ebp - 0x268]
push edi
push eax
call fcn.181374a0
add esp, 0xc
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push esi
call fcn.180074fa
push 0x181a5604
lea ecx, [ebp - 0x14]
call fcn.1800f7f4
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x26c], eax
cmp eax, 0xffffffff
jne 0x1810e708
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1810e8ba
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1810e8ba
push str.MicrosoftEdgeUpdateDownload
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
call fcn.180074fa
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
push dword [eax - 0xc]
call fcn.180075b2
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
call fcn.18009ed8
push str.MicrosoftEdgeUpdateInstall
lea ecx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.180074fa
mov eax, dword [ebp - 8]
lea ecx, [ebp - 8]
push dword [eax - 0xc]
call fcn.180075b2
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.18009ed8
jmp 0x1810e76a
xor edi, edi
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
call fcn.180074fa
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x10]
call fcn.1800f7f4
test byte [ebp - 0x268], 0x10
lea eax, [ebp - 0x23c]
mov edi, dword [ebp - 0x10]
jne 0x1810e7aa
push str.MicrosoftEdgeUpdate.exe
push eax
call fcn.1813f018
pop ecx
pop ecx
test eax, eax
je 0x1810e824
jmp 0x1810e81d
push 0x181a560c
push eax
call fcn.1813ee72
pop ecx
pop ecx
test eax, eax
je 0x1810e824
lea eax, [ebp - 0x23c]
push 0x181a5598
push eax
call fcn.1813ee72
pop ecx
pop ecx
test eax, eax
je 0x1810e824
push dword [ebx + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.1813f018
pop ecx
pop ecx
test eax, eax
je 0x1810e824
push dword [ebp - 0xc]
lea eax, [ebp - 0x23c]
push eax
call fcn.1813f018
pop ecx
pop ecx
test eax, eax
je 0x1810e824
push dword [ebp - 8]
lea eax, [ebp - 0x23c]
push eax
call fcn.1813f018
pop ecx
pop ecx
test eax, eax
je 0x1810e824
test dword [ebp - 0x268], 0x400
jne 0x1810e824
mov ecx, edi
call fcn.1800d0cf
lea ecx, [edi - 0x10]
call fcn.18006f72
mov edi, dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1810e768
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
je 0x1810e864
test ebx, ebx
jle 0x1810e89d
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1810e89d
call fcn.1801f853
mov ebx, str.HKLMSoftwareMicrosoftEdgeUpdate_
mov edx, 0x181c2300
mov ecx, ebx
call fcn.1801ae61
call fcn.1801f853
mov eax, dword [ebp - 0x278]
cmp byte [eax], 0
jne 0x1810e88f
mov ebx, str.HKCUSoftwareMicrosoftEdgeUpdate_
mov edx, 0x181cc134
mov ecx, ebx
call fcn.1801ae61
xor ebx, ebx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f72
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [esi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret