Function at 0x180e3a19
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x1822b00c]
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.180865c5
cmp byte [ebx], 0
je 0x180e3a60
call fcn.1801c0e3
lea eax, [ebp - 0x270]
push eax
call fcn.1801d04f
xor edi, edi
inc edi
and dword [ebp - 0x25c], 0
jmp 0x180e3a7d
call fcn.1801c0e3
lea eax, [ebp - 0x26c]
push eax
call fcn.1801c34a
xor edi, edi
mov dword [ebp - 0x25c], 2
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.18009f92
cmp dword [ebp - 0x25c], 0
lea esi, [eax + 0x10]
je 0x180e3aa1
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.1800694d
test edi, edi
je 0x180e3ab3
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.1800694d
cmp dword [esi - 0xc], 0
jne 0x180e3ac3
mov ebx, 0x8000ffff
jmp 0x180e3d13
push 0x250
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.181757a0
add esp, 0xc
lea ecx, [ebp - 0x25c]
push esi
call fcn.18006e68
push 0x181f44d4
lea ecx, [ebp - 0x25c]
call fcn.1800e48e
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
jne 0x180e3b31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x180e3d05
movzx ebx, bx
or ebx, 0x80070000
jmp 0x180e3d05
push str.MicrosoftEdgeUpdateDownload
lea ecx, [ebp - 0x264]
call fcn.18006e68
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x264]
push dword [eax - 0xc]
call fcn.18006f27
mov edi, dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push eax
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x264]
call fcn.18009db6
push str.MicrosoftEdgeUpdateInstall
lea ecx, [ebp - 0x260]
call fcn.18006e68
mov eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x260]
push dword [eax - 0xc]
call fcn.18006f27
push eax
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x260]
call fcn.18009db6
push esi
lea ecx, [ebp - 0x268]
call fcn.18006e68
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x268]
call fcn.1800e48e
test byte [ebp - 0x258], 0x10
lea eax, [ebp - 0x22c]
mov edi, dword [ebp - 0x268]
jne 0x180e3be9
push str.MicrosoftEdgeUpdate.exe
push eax
call fcn.1817cb3d
pop ecx
pop ecx
test eax, eax
je 0x180e3c69
jmp 0x180e3c62
push 0x181f44dc
push eax
call fcn.1817c9a2
pop ecx
pop ecx
test eax, eax
je 0x180e3c69
lea eax, [ebp - 0x22c]
push 0x181f4480
push eax
call fcn.1817c9a2
pop ecx
pop ecx
test eax, eax
je 0x180e3c69
push dword [ebx + 4]
lea eax, [ebp - 0x22c]
push eax
call fcn.1817cb3d
pop ecx
pop ecx
test eax, eax
je 0x180e3c69
push dword [ebp - 0x264]
lea eax, [ebp - 0x22c]
push eax
call fcn.1817cb3d
pop ecx
pop ecx
test eax, eax
je 0x180e3c69
push dword [ebp - 0x260]
lea eax, [ebp - 0x22c]
push eax
call fcn.1817cb3d
pop ecx
pop ecx
test eax, eax
je 0x180e3c69
test dword [ebp - 0x258], 0x400
jne 0x180e3c69
mov ecx, edi
call fcn.1800c344
lea ecx, [edi - 0x10]
call fcn.1800694d
mov edi, dword [ebp - 0x274]
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180e3b9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
je 0x180e3ca9
test ebx, ebx
jle 0x180e3ce2
movzx ebx, bx
or ebx, 0x80070000
jmp 0x180e3ce2
call fcn.1801c0e3
mov ebx, str.HKLMSoftwareMicrosoftEdgeUpdate_
mov edx, 0x1820bd58
mov ecx, ebx
call fcn.180183b3
call fcn.1801c0e3
mov eax, dword [ebp - 0x278]
cmp byte [eax], 0
jne 0x180e3cd4
mov ebx, str.HKCUSoftwareMicrosoftEdgeUpdate_
mov edx, 0x18217b00
mov ecx, ebx
call fcn.180183b3
xor ebx, ebx
mov ecx, dword [ebp - 0x260]
lea ecx, [ecx - 0x10]
call fcn.1800694d
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.1800694d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx - 0x10]
call fcn.1800694d
lea ecx, [esi - 0x10]
call fcn.1800694d
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181605f4
leave
ret