Function at 0x181227b7
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x734
mov eax, dword [0x181c7008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x718], ebx
mov cl, byte [ebx]
call fcn.180b7d1d
cmp byte [ebx], 0
je 0x181227f9
call fcn.180b2023
lea eax, [ebp - 0x724]
push eax
call fcn.180b2b33
xor esi, esi
inc esi
xor ebx, ebx
jmp 0x1812280f
call fcn.180b2023
lea eax, [ebp - 0x720]
push eax
call fcn.180b2247
push 2
xor esi, esi
pop ebx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.18006e74
lea edi, [eax + 0x10]
test ebx, ebx
je 0x1812282e
mov ecx, dword [ebp - 0x720]
lea ecx, [ecx - 0x10]
call fcn.18004637
test esi, esi
je 0x18122840
mov ecx, dword [ebp - 0x724]
lea ecx, [ecx - 0x10]
call fcn.18004637
cmp dword [edi - 0xc], 0
jne 0x18122850
mov ebx, 0x8000ffff
jmp 0x18122c53
push 0x250
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.18144340
add esp, 0xc
lea ecx, [ebp - 0x714]
push edi
call fcn.18006abf
push 0x181a2da8
lea ecx, [ebp - 0x714]
call fcn.18009baa
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x714]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x72c], esi
cmp esi, 0xffffffff
jne 0x181228c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18122c45
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18122c45
push 0x181b46c4
lea ecx, [ebp - 0x708]
call fcn.18006abf
mov eax, dword [ebp - 0x708]
lea ecx, [ebp - 0x708]
push dword [eax - 0xc]
call fcn.18006ced
mov ebx, dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x708]
call fcn.18006b1a
push str.GoogleUpdateInstall
lea ecx, [ebp - 0x704]
call fcn.18006abf
mov eax, dword [ebp - 0x704]
lea ecx, [ebp - 0x704]
push dword [eax - 0xc]
call fcn.18006ced
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x704]
call fcn.18006b1a
mov ebx, dword [ebp - 0x718]
push edi
lea ecx, [ebp - 0x700]
call fcn.18006abf
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x700]
call fcn.18009baa
test byte [ebp - 0x258], 0x10
lea eax, [ebp - 0x22c]
jne 0x18122986
push str.GoogleUpdate.exe
push eax
call fcn.1814e5c3
pop ecx
pop ecx
test eax, eax
je 0x18122ba9
mov ecx, dword [ebp - 0x700]
call fcn.18008eaa
jmp 0x18122ba9
push 0x181a2db0
push eax
call fcn.1814e6c4
pop ecx
pop ecx
test eax, eax
je 0x18122ba9
lea eax, [ebp - 0x22c]
push 0x181a2d54
push eax
call fcn.1814e6c4
pop ecx
pop ecx
test eax, eax
je 0x18122ba9
push dword [ebx + 4]
lea eax, [ebp - 0x22c]
push eax
call fcn.1814e5c3
pop ecx
pop ecx
test eax, eax
je 0x18122ba9
push dword [ebp - 0x708]
lea eax, [ebp - 0x22c]
push eax
call fcn.1814e5c3
pop ecx
pop ecx
test eax, eax
je 0x18122ba9
push dword [ebp - 0x704]
lea eax, [ebp - 0x22c]
push eax
call fcn.1814e5c3
pop ecx
pop ecx
test eax, eax
je 0x18122ba9
test dword [ebp - 0x258], 0x400
jne 0x18122ba9
mov esi, dword [ebp - 0x700]
add esi, 0xfffffff0
mov ecx, esi
mov dword [ebp - 0x70c], esi
call fcn.18006e74
add eax, 0x10
lea ecx, [ebp - 0x710]
push str.npGoogleOneClick.dll
mov dword [ebp - 0x710], eax
call fcn.18009baa
push 0x250
lea eax, [ebp - 0x4a8]
push 0
push eax
call fcn.18144340
add esp, 0xc
lea eax, [ebp - 0x4a8]
push eax
push dword [ebp - 0x710]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x728], eax
inc eax
neg eax
sbb eax, eax
and eax, 0x18004a03
je 0x18122abe
mov ecx, esi
call fcn.18006e74
add eax, 0x10
lea ecx, [ebp - 0x6fc]
mov dword [ebp - 0x6fc], eax
lea eax, [ebp - 0x47c]
push eax
call fcn.18009baa
mov esi, dword [ebp - 0x6fc]
mov ecx, esi
call fcn.18008f95
lea ecx, [esi - 0x10]
call fcn.18004637
mov esi, dword [ebp - 0x70c]
mov ecx, esi
call fcn.18006e74
add eax, 0x10
lea ecx, [ebp - 0x6fc]
push str.npGoogleUpdate.dll
mov dword [ebp - 0x6fc], eax
call fcn.18009baa
push 0x250
lea eax, [ebp - 0x6f8]
push 0
push eax
call fcn.18144340
add esp, 0xc
lea eax, [ebp - 0x6f8]
push eax
push dword [ebp - 0x6fc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x71c], esi
lea eax, [esi + 1]
neg eax
sbb eax, eax
and eax, 0x18004a03
je 0x18122b5e
mov ecx, dword [ebp - 0x70c]
call fcn.18006e74
add eax, 0x10
lea ecx, [ebp - 0x70c]
mov dword [ebp - 0x70c], eax
lea eax, [ebp - 0x6cc]
push eax
call fcn.18009baa
mov esi, dword [ebp - 0x70c]
mov ecx, esi
call fcn.18008f95
lea ecx, [esi - 0x10]
call fcn.18004637
mov esi, dword [ebp - 0x71c]
mov ecx, dword [ebp - 0x700]
call fcn.18008eaa
cmp esi, 0xffffffff
je 0x18122b75
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x6fc]
lea ecx, [ecx - 0x10]
call fcn.18004637
mov eax, dword [ebp - 0x728]
cmp eax, 0xffffffff
je 0x18122b95
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x710]
lea ecx, [ecx - 0x10]
call fcn.18004637
mov esi, dword [ebp - 0x72c]
mov ecx, dword [ebp - 0x700]
lea ecx, [ecx - 0x10]
call fcn.18004637
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18122934
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
je 0x18122be9
test ebx, ebx
jle 0x18122c22
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18122c22
call fcn.180b2023
mov ebx, str.HKLMSoftwareGoogleUpdate_
mov edx, 0x181c039c
mov ecx, ebx
call fcn.18012f74
call fcn.180b2023
mov eax, dword [ebp - 0x718]
cmp byte [eax], 0
jne 0x18122c14
mov ebx, str.HKCUSoftwareGoogleUpdate_
mov edx, 0x181c03c8
mov ecx, ebx
call fcn.18012f74
xor ebx, ebx
mov ecx, dword [ebp - 0x704]
lea ecx, [ecx - 0x10]
call fcn.18004637
mov ecx, dword [ebp - 0x708]
lea ecx, [ecx - 0x10]
call fcn.18004637
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x714]
lea ecx, [ecx - 0x10]
call fcn.18004637
lea ecx, [edi - 0x10]
call fcn.18004637
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18141824
leave
ret