Function at 0x18103a2a
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x181c600c]
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.180ab95b
cmp byte [ebx], 0
je 0x18103a6e
call fcn.1801f60c
lea eax, [ebp - 0x274]
push eax
call fcn.18020bdb
xor edi, edi
inc edi
and dword [ebp - 0x10], 0
jmp 0x18103a88
call fcn.1801f60c
lea eax, [ebp - 0x270]
push eax
call fcn.1801f8fc
xor edi, edi
mov dword [ebp - 0x10], 2
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1800a175
cmp dword [ebp - 0x10], 0
lea esi, [eax + 0x10]
je 0x18103aa9
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.18007012
test edi, edi
je 0x18103abb
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx - 0x10]
call fcn.18007012
xor edi, edi
cmp dword [esi - 0xc], edi
jne 0x18103acc
mov ebx, 0x8000ffff
jmp 0x18103cf0
push 0x250
lea eax, [ebp - 0x268]
push edi
push eax
call fcn.1812c700
add esp, 0xc
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push esi
call fcn.1800759a
push 0x1819806c
lea ecx, [ebp - 0x14]
call fcn.1800f521
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 0x18103b33
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18103ce5
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18103ce5
push str.MicrosoftEdgeUpdateDownload
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
call fcn.1800759a
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
push dword [eax - 0xc]
call fcn.18007652
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
call fcn.18009f73
push str.MicrosoftEdgeUpdateInstall
lea ecx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.1800759a
mov eax, dword [ebp - 8]
lea ecx, [ebp - 8]
push dword [eax - 0xc]
call fcn.18007652
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.18009f73
jmp 0x18103b95
xor edi, edi
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
call fcn.1800759a
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x10]
call fcn.1800f521
test byte [ebp - 0x268], 0x10
lea eax, [ebp - 0x23c]
mov edi, dword [ebp - 0x10]
jne 0x18103bd5
push str.MicrosoftEdgeUpdate.exe
push eax
call fcn.18134278
pop ecx
pop ecx
test eax, eax
je 0x18103c4f
jmp 0x18103c48
push 0x18198074
push eax
call fcn.181340d2
pop ecx
pop ecx
test eax, eax
je 0x18103c4f
lea eax, [ebp - 0x23c]
push 0x18198018
push eax
call fcn.181340d2
pop ecx
pop ecx
test eax, eax
je 0x18103c4f
push dword [ebx + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.18134278
pop ecx
pop ecx
test eax, eax
je 0x18103c4f
push dword [ebp - 0xc]
lea eax, [ebp - 0x23c]
push eax
call fcn.18134278
pop ecx
pop ecx
test eax, eax
je 0x18103c4f
push dword [ebp - 8]
lea eax, [ebp - 0x23c]
push eax
call fcn.18134278
pop ecx
pop ecx
test eax, eax
je 0x18103c4f
test dword [ebp - 0x268], 0x400
jne 0x18103c4f
mov ecx, edi
call fcn.1800d069
lea ecx, [edi - 0x10]
call fcn.18007012
mov edi, dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18103b93
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
je 0x18103c8f
test ebx, ebx
jle 0x18103cc8
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18103cc8
call fcn.1801f60c
mov ebx, str.HKLMSoftwareMicrosoftEdgeUpdate_
mov edx, 0x181b21a8
mov ecx, ebx
call fcn.1801aae1
call fcn.1801f60c
mov eax, dword [ebp - 0x278]
cmp byte [eax], 0
jne 0x18103cba
mov ebx, str.HKCUSoftwareMicrosoftEdgeUpdate_
mov edx, 0x181bb7a0
mov ecx, ebx
call fcn.1801aae1
xor ebx, ebx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18007012
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18007012
lea ecx, [esi - 0x10]
call fcn.18007012
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18117a58
leave
ret