Function at 0x457a90
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x27d8
call fcn.00499730
sub rsp, rax
mov qword [rsp + 0x27d0], rbx
mov qword [rsp + 0x27c8], rsi
mov qword [rsp + 0x27c0], rdi
mov rbx, rdx
mov qword [rsp + 0x68], 0xfffffffffffffffe
call fcn.004545a0
test eax, eax
je 0x457b41
xor r8d, r8d
lea rdx, str.CPrepareInstall_::_KillAnyProcessDefinedInINF_n
lea rcx, [rsp + 0xf0]
call fcn.00486850
movabs rdx, 0x203a5952544e45
mov qword [rsp + 0x230], rdx
lea rdi, [rsp + 0x230]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xf0]
xor ecx, ecx
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x457b10
call fcn.004546e0
mov rcx, rax
call fcn.004545b0
call fcn.004546e0
mov rcx, rax
lea rdx, [rsp + 0x230]
call fcn.004548a0
mov edx, 0xa
lea rcx, [rsp + 0xb0]
call fcn.0049a7a0
nop
mov rax, qword [0x004dfd00]
mov qword [rsp + 0x20], rax
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x457f8e
xor esi, esi
nop
lea rdx, str..INF
lea rcx, [rsp + 0x50]
call fcn.0049b290
nop
mov rdx, rbx
test rbx, rbx
je 0x457f88
mov rbx, qword [rbx]
add rdx, 0x10
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.0049b804
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.0049b31c
nop
lea rcx, [rsp + 0x58]
call fcn.0049b1dc
nop
lea rcx, [rsp + 0x50]
call fcn.0049b1dc
mov edx, 0xa
lea rcx, [rsp + 0x70]
call fcn.0049a7a0
nop
mov rax, qword [0x004dfd00]
mov qword [rsp + 0x30], rax
mov dl, 0x5c
lea rcx, [rsp + 0x20]
call fcn.00499914
inc eax
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.00499e24
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.0049b31c
nop
lea rcx, [rsp + 0x60]
call fcn.0049b1dc
mov rdx, qword [0x004dfd00]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x457cf8
nop
nop
nop
lea rdx, [rsp + 0x11c]
lea rcx, [rsp + 0x28]
call fcn.0049b398
lea rdx, [0x004a9cd4]
mov rcx, qword [rsp + 0x28]
call fcn.00485fd0
test eax, eax
je 0x457cd5
lea rdx, [0x004a9cd0]
mov rcx, qword [rsp + 0x28]
call fcn.00485fd0
test eax, eax
je 0x457cd5
lea r8, [rsp + 0x11c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.0049b8ec
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.0049b31c
nop
lea rcx, [rsp + 0x48]
call fcn.0049b1dc
lea rcx, [rsp + 0x28]
call fcn.0049b664
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.0049a8fc
lea rdx, [rsp + 0xf0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x457c50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x28]
call fcn.0049b1dc
nop
lea rcx, [rsp + 0x30]
call fcn.0049b1dc
nop
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x457f73
nop
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.004012d0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.0049b31c
nop
lea rcx, [rsp + 0x40]
call fcn.0049b1dc
mov qword [rsp + 0x14d0], rsi
mov qword [rsp + 0x14e0], rsi
mov qword [rsp + 0x14e8], rsi
mov qword [rsp + 0x14f8], rsi
mov qword [rsp + 0x1618], rsi
mov r8d, 0x1f4
mov edx, 0x4b
lea rcx, [rsp + 0x1620]
call fcn.00499630
lea rax, [rsp + 0x1818]
mov ecx, 0x3e
nop
nop
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
add rax, 0x40
mov qword [rax - 0x28], rsi
mov qword [rax - 0x20], rsi
mov qword [rax - 0x18], rsi
mov qword [rax - 0x10], rsi
mov qword [rax - 8], rsi
dec rcx
jne 0x457db0
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov rax, qword [rsp + 0x20]
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x20]
call fcn.0049b550
mov rdx, rax
lea rcx, [rsp + 0x14d0]
call fcn.00428550
nop
mov qword [rsp + 0x330], rsi
mov r8d, 0x1f4
mov edx, 0x4b
lea rcx, [rsp + 0x338]
call fcn.00499630
lea rax, [rsp + 0x530]
mov ecx, 0x3e
nop
nop
nop
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
add rax, 0x40
mov qword [rax - 0x28], rsi
mov qword [rax - 0x20], rsi
mov qword [rax - 0x18], rsi
mov qword [rax - 0x10], rsi
mov qword [rax - 8], rsi
dec rcx
jne 0x457e40
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x14d0]
call fcn.00427910
mov r11, qword [rsp + 0x330]
test r11, r11
je 0x457f28
lea rdi, [rsp + 0x338]
jmp 0x457eb8
mov r11, qword [rsp + 0x330]
test rdi, rdi
je 0x457ef6
lea rax, [rsp + 0x338]
sub rdi, rax
inc rdi
mov rcx, rdi
lea rax, [rdi - 1]
cmp rax, 0x1f3
ja 0x457ef6
cmp rdi, r11
jae 0x457ee9
lea rdi, [rsp + rdi + 0x338]
jmp 0x457eec
mov rdi, rsi
dec rcx
cmp rcx, r11
jae 0x457f0b
jmp 0x457efb
mov rdi, rsi
jmp 0x457f0b
cmp rcx, 0xffffffffffffffff
je 0x457f0b
mov rdx, qword [rsp + rcx*8 + 0x530]
jmp 0x457f0e
mov rdx, rsi
lea rcx, [rsp + 0xb0]
call fcn.0049aaa4
test rdi, rdi
jne 0x457eb0
mov r11, qword [rsp + 0x330]
mov rdi, rsi
test r11, r11
je 0x457f5a
mov rcx, qword [rsp + rdi*8 + 0x530]
test rcx, rcx
je 0x457f52
call fcn.0049bb84
mov qword [rsp + rdi*8 + 0x530], rsi
mov r11, qword [rsp + 0x330]
inc rdi
cmp rdi, r11
jb 0x457f30
lea rcx, [rsp + 0x14d0]
call fcn.00424740
cmp qword [rsp + 0x38], 0
jne 0x457d30
lea rcx, [rsp + 0x70]
call fcn.0049a80c
test rbx, rbx
jne 0x457b70
jmp 0x457f8e
call fcn.004998f0
nop
mov rdi, qword [rsp + 0xb8]
test rdi, rdi
je 0x457fdc
nop
nop
mov rdx, rdi
test rdi, rdi
je 0x457fd7
mov rdi, qword [rdi]
add rdx, 0x10
lea rcx, [rsp + 0x20]
call fcn.0049b31c
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.0049b680
mov rcx, rax
call fcn.00480050
test rdi, rdi
jne 0x457fa0
jmp 0x457fdc
call fcn.004998f0
call fcn.004545a0
test eax, eax
je 0x458062
xor r8d, r8d
lea rdx, str.CPrepareInstall_::_KillAnyProcessDefinedInINF_n
lea rcx, [rsp + 0xf0]
call fcn.00486850
movabs rdx, 0x20203a54495845
mov qword [rsp + 0x230], rdx
lea rdi, [rsp + 0x230]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xf0]
xor ecx, ecx
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x458030
call fcn.004546e0
mov rcx, rax
lea rdx, [rsp + 0x230]
call fcn.004548a0
call fcn.004546e0
mov rcx, rax
call fcn.004545c0
nop
lea rcx, [rsp + 0x20]
call fcn.0049b1dc
nop
lea rcx, [rsp + 0xb0]
call fcn.0049a80c
mov rbx, qword [rsp + 0x27d0]
mov rsi, qword [rsp + 0x27c8]
mov rdi, qword [rsp + 0x27c0]
add rsp, 0x27d8
ret