Function at 0x67b869
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x6a1523
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x79b544]
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x30], edi
and dword [ebp - 4], 0
mov bl, 1
mov byte [ebp - 4], 2
mov byte [ebp - 0x11], bl
call fcn.00474f38
push eax
lea ecx, [ebp - 0x20]
call fcn.00451c1b
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0066f273
push 4
pop ebx
push 0x250
lea eax, [ebp]
mov byte [ebp - 4], bl
push 0
push eax
call fcn.00506c70
push 0x7538c8
push dword [ebp + 0x25c]
lea eax, [ebp - 0x20]
push 0x751814
push eax
call fcn.00452465
add esp, 0x1c
lea eax, [ebp]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2c], esi
jmp 0x67b91a
push 4
pop ebx
cmp esi, 0xffffffff
je 0x67bb5c
mov ecx, 0x7538cc
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x67b94f
test dx, dx
je 0x67b94b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x67b94f
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x67b92b
xor eax, eax
jmp 0x67b954
sbb eax, eax
or eax, 1
test eax, eax
je 0x67bb44
mov ecx, 0x7538d0
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x67b988
test dx, dx
je 0x67b984
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x67b988
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x67b964
xor eax, eax
jmp 0x67b98d
sbb eax, eax
or eax, 1
test eax, eax
je 0x67bb44
mov ecx, str.Fallback
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x67b9c1
test dx, dx
je 0x67b9bd
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x67b9c1
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x67b99d
xor eax, eax
jmp 0x67b9c6
sbb eax, eax
or eax, 1
test eax, eax
je 0x67bb44
mov ecx, 0x7538f8
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x67b9fa
test dx, dx
je 0x67b9f6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x67b9fa
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x67b9d6
xor eax, eax
jmp 0x67b9ff
sbb eax, eax
or eax, 1
test eax, eax
je 0x67bb44
mov ecx, str.UnAttended
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x67ba33
test dx, dx
je 0x67ba2f
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x67ba33
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x67ba0f
xor eax, eax
jmp 0x67ba38
sbb eax, eax
or eax, 1
test eax, eax
je 0x67bb44
call fcn.00474f38
push eax
lea ecx, [ebp - 0x1c]
call fcn.00451c1b
mov byte [ebp - 4], 5
call fcn.00474f38
push eax
lea ecx, [ebp - 0x18]
call fcn.00451c1b
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1c]
push dword [ebp + 0x260]
push 0x75575c
push eax
call fcn.00452465
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
push dword [ebp + 0x25c]
lea eax, [ebp - 0x18]
push 0x751814
push eax
call fcn.00452465
mov esi, dword [ebp - 0x18]
add esp, 0x10
mov al, byte [edi]
mov bl, byte [edi + 1]
mov byte [ebp - 0x28], al
cmp dword [esi - 4], 1
jle 0x67bab5
push dword [esi - 0xc]
lea ecx, [ebp - 0x18]
call fcn.00451ca4
mov esi, dword [ebp - 0x18]
push dword [ebp - 0x28]
mov dl, bl
mov ecx, esi
call fcn.0068a223
mov edi, dword [ebp - 0x1c]
pop ecx
test al, al
je 0x67bb25
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x34], esp
mov ebx, esp
push eax
mov dword [ebp - 0x24], ebx
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [ebx], eax
push ecx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 7
mov ebx, esp
push eax
mov dword [ebp - 0x24], ebx
call fcn.0045207b
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x44]
mov dword [ebx], eax
mov byte [ebp - 4], 6
call fcn.0066e2f9
test al, al
jne 0x67bb25
push edi
push esi
push str.RSUpdateRevertHandler::CopyFilesRecursively
push str._s_::_copy_failed_for_src:_s_and_dst:_s
call fcn.006778de
add esp, 0x10
xor bl, bl
mov byte [ebp - 0x11], bl
jmp 0x67bb28
mov bl, byte [ebp - 0x11]
lea ecx, [esi - 0x10]
call fcn.0044ec01
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 4
call fcn.0044ec01
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
jmp 0x67bb47
mov bl, byte [ebp - 0x11]
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x67b917
jmp 0x67bb5f
mov bl, byte [ebp - 0x11]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
movzx eax, bl
push eax
push dword [ebp + 0x260]
push dword [ebp + 0x25c]
push str.RSUpdateRevertHandler::CopyFilesRecursively
push str._s___src__s___dest__s___::_Result___d__error___d
call fcn.00677869
mov ecx, dword [ebp - 0x44]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
jmp 0x67bbc1
mov ecx, dword [ebp + 0x25c]
add ecx, 0xfffffff0
call fcn.0044ec01
mov ecx, dword [ebp + 0x260]
add ecx, 0xfffffff0
call fcn.0044ec01
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.0049b511
add ebp, 0x254
leave
ret 8