Function at 0x10014ba6
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x10043eb5
call fcn.100321c8
sub esp, 0xd54
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x27e8]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], 5
je 0x10014bc4
push ebx
call eax
pop ecx
mov edi, dword [esi + 0x27e0]
cmp edi, ebx
je 0x10014be2
mov ecx, edi
call fcn.100017c9
push edi
call fcn.100324d3
pop ecx
mov dword [esi + 0x27e0], ebx
mov eax, dword [esi + 0x27d8]
lea edi, [esi + 0x27d8]
cmp eax, ebx
je 0x10014bfb
push eax
call fcn.100324d3
pop ecx
mov dword [edi], ebx
mov eax, dword [esi + 0x27dc]
lea edi, [esi + 0x27dc]
cmp eax, ebx
je 0x10014c14
push eax
call fcn.100324d3
pop ecx
mov dword [edi], ebx
lea edi, [esi + 0xdbc]
mov dword [ebp - 0x10], 0x200
mov eax, dword [edi]
cmp eax, ebx
je 0x10014c30
push eax
call fcn.10032915
pop ecx
mov dword [edi], ebx
add edi, 4
dec dword [ebp - 0x10]
jne 0x10014c21
mov eax, dword [esi + 0x2e14]
mov ecx, dword [esi + 0x2e10]
lea ebx, [esi + 0x2e0c]
push eax
push ecx
mov ecx, ebx
call fcn.10020d4f
mov eax, dword [esi + 0x2e24]
mov edx, dword [esi + 0x2e20]
lea ecx, [esi + 0x2e1c]
push eax
push edx
call fcn.10020df8
mov eax, dword [esi + 0x2e34]
mov edx, dword [esi + 0x2e30]
lea ecx, [esi + 0x2e2c]
push eax
push edx
call fcn.10020ea1
call fcn.100019db
mov eax, dword [esi]
test word [eax + 0x10], 0x1110
jne 0x10014db7
lea eax, [esi + 0x15d0]
mov edi, 0x400
push eax
lea eax, [ebp - 0xd60]
push edi
push eax
call fcn.1000180e
lea eax, [esi + 0x15d0]
push eax
lea eax, [ebp - 0x960]
push edi
push eax
call fcn.10014b70
push str.patch.exe
lea eax, [ebp - 0xd60]
push edi
push eax
call fcn.100020b4
push str.patch.dll
lea eax, [ebp - 0x960]
push edi
push eax
call fcn.100020b4
lea eax, [ebp - 0xd60]
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x10014da2
lea eax, [ebp - 0x134]
push eax
lea eax, [esi + 0x15d0]
push eax
push str._spatch_s
lea eax, [ebp - 0x560]
push edi
push eax
call fcn.100046c9
lea eax, [ebp - 0x560]
push 1
push eax
call fcn.1000336b
add esp, 0x1c
test eax, eax
je 0x10014d8a
lea eax, [ebp - 0x560]
lea ecx, [esi + 0xda0]
push eax
call fcn.100011c7
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x10014d8a
lea eax, [ebp - 0x560]
push eax
call fcn.100032ea
pop ecx
lea eax, [ebp - 0x560]
push dword [ebp - 0x1c]
push eax
push str._AhnUpDoIt2__pautoup__codesign_check_error__deleting_:__s_err_0x_x_
push 1
call fcn.1000b21a
add esp, 0x10
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10014d0c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
add dword [ebp - 0x10], edi
dec dword [ebp - 0x18]
jne 0x10014cf9
lea edi, [esi + 0xda0]
mov ecx, edi
call fcn.10001411
lea ecx, [esi + 0x29110]
mov byte [ebp - 4], 4
call fcn.100122ea
lea ecx, [esi + 0x2e2c]
mov byte [ebp - 4], 3
call fcn.10020c31
lea ecx, [esi + 0x2e1c]
mov byte [ebp - 4], 2
call fcn.10020bcb
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.10020b0b
and byte [ebp - 4], 0
mov ecx, edi
call fcn.1000101d
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x28]
call fcn.10020adf
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret