Function at 0x180dcfe0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x1820f00c]
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.18081787
cmp byte [ebx], 0
je 0x180dd027
call fcn.1801a8a4
lea eax, [ebp - 0x270]
push eax
call fcn.1801b759
xor edi, edi
inc edi
and dword [ebp - 0x25c], 0
jmp 0x180dd044
call fcn.1801a8a4
lea eax, [ebp - 0x26c]
push eax
call fcn.1801aace
xor edi, edi
mov dword [ebp - 0x25c], 2
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.18009e91
cmp dword [ebp - 0x25c], 0
lea esi, [eax + 0x10]
je 0x180dd068
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.1800687d
test edi, edi
je 0x180dd07a
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.1800687d
cmp dword [esi - 0xc], 0
jne 0x180dd08a
mov ebx, 0x8000ffff
jmp 0x180dd2da
push 0x250
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.181620e0
add esp, 0xc
lea ecx, [ebp - 0x25c]
push esi
call fcn.18006d98
push 0x181dc16c
lea ecx, [ebp - 0x25c]
call fcn.1800da27
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 0x180dd0f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x180dd2cc
movzx ebx, bx
or ebx, 0x80070000
jmp 0x180dd2cc
push str.MicrosoftEdgeUpdateDownload
lea ecx, [ebp - 0x264]
call fcn.18006d98
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x264]
push dword [eax - 0xc]
call fcn.18006e57
mov edi, dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push eax
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x264]
call fcn.18009cb5
push str.MicrosoftEdgeUpdateInstall
lea ecx, [ebp - 0x260]
call fcn.18006d98
mov eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x260]
push dword [eax - 0xc]
call fcn.18006e57
push eax
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x260]
call fcn.18009cb5
push esi
lea ecx, [ebp - 0x268]
call fcn.18006d98
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x268]
call fcn.1800da27
test byte [ebp - 0x258], 0x10
lea eax, [ebp - 0x22c]
mov edi, dword [ebp - 0x268]
jne 0x180dd1b0
push str.MicrosoftEdgeUpdate.exe
push eax
call fcn.1816947d
pop ecx
pop ecx
test eax, eax
je 0x180dd230
jmp 0x180dd229
push 0x181dc174
push eax
call fcn.181692e2
pop ecx
pop ecx
test eax, eax
je 0x180dd230
lea eax, [ebp - 0x22c]
push 0x181dc118
push eax
call fcn.181692e2
pop ecx
pop ecx
test eax, eax
je 0x180dd230
push dword [ebx + 4]
lea eax, [ebp - 0x22c]
push eax
call fcn.1816947d
pop ecx
pop ecx
test eax, eax
je 0x180dd230
push dword [ebp - 0x264]
lea eax, [ebp - 0x22c]
push eax
call fcn.1816947d
pop ecx
pop ecx
test eax, eax
je 0x180dd230
push dword [ebp - 0x260]
lea eax, [ebp - 0x22c]
push eax
call fcn.1816947d
pop ecx
pop ecx
test eax, eax
je 0x180dd230
test dword [ebp - 0x258], 0x400
jne 0x180dd230
mov ecx, edi
call fcn.1800c240
lea ecx, [edi - 0x10]
call fcn.1800687d
mov edi, dword [ebp - 0x274]
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180dd166
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
je 0x180dd270
test ebx, ebx
jle 0x180dd2a9
movzx ebx, bx
or ebx, 0x80070000
jmp 0x180dd2a9
call fcn.1801a8a4
mov ebx, str.HKLMSoftwareMicrosoftEdgeUpdate_
mov edx, 0x181f13f8
mov ecx, ebx
call fcn.18016e35
call fcn.1801a8a4
mov eax, dword [ebp - 0x278]
cmp byte [eax], 0
jne 0x180dd29b
mov ebx, str.HKCUSoftwareMicrosoftEdgeUpdate_
mov edx, 0x181fc350
mov ecx, ebx
call fcn.18016e35
xor ebx, ebx
mov ecx, dword [ebp - 0x260]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.1800687d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx - 0x10]
call fcn.1800687d
lea ecx, [esi - 0x10]
call fcn.1800687d
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1814cf3d
leave
ret