Function at 0x140044c40
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [0x140313918]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov r14, rcx
lea r12, vtable.srl::Version.0
mov qword [rsp + 0x30], r12
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140045199
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r8d, 3
lea rdx, [0x1402c8078]
lea rcx, [rsp + 0x38]
call fcn.140002aa8
nop
mov r8d, 0xff
lea rdx, [rbp + 0x1d0]
lea rcx, str._PROGRAMFILES_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8d, 0xff
lea rdx, [rbp + 0x3d0]
lea rcx, str._PROGRAMFILES_X86__
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400451a4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov rdi, 0xffffffffffffffff
cmp rax, 0x10000
jae 0x140044d39
lea rax, [rbp + 0x1d0]
movzx edx, ax
lea rcx, [rsp + 0x28]
call fcn.140010ac0
jmp 0x140044d62
lea rcx, [rbp + 0x1d0]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140044d43
mov r8d, eax
lea rdx, [rbp + 0x1d0]
lea rcx, [rsp + 0x28]
call fcn.140002aa8
nop
lea rbx, str.dotnet_sharedMicrosoft.WindowsDesktop.App
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140044d70
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140005abc
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400451af
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x3d0]
cmp rax, 0x10000
jae 0x140044dcf
lea rax, [rbp + 0x3d0]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140010ac0
jmp 0x140044dff
lea rcx, [rbp + 0x3d0]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140044de0
mov r8d, eax
lea rdx, [rbp + 0x3d0]
lea rcx, [rsp + 0x20]
call fcn.140002aa8
nop
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140044e02
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140005abc
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
lea r15, vtable.srl::Value.0
cmp rax, 0xffffffffffffffff
je 0x140044ef6
nop
test byte [rbp - 0x80], 0x10
je 0x140044ee1
mov qword [rsp + 0x58], r12
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400451ba
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x54]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140044e76
mov r8d, eax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x60]
call fcn.140002aa8
nop
lea rcx, [rsp + 0x58]
call fcn.14006ebd0
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.14006ebd0
cmp rbx, rax
jbe 0x140044ebe
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140002bd8
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044edc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x58], r15
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140044e40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140044fd6
nop dword [rax + rax]
test byte [rbp - 0x80], 0x10
je 0x140044fc1
mov qword [rsp + 0x68], r12
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400451ba
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x54]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140044f56
mov r8d, eax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x70]
call fcn.140002aa8
nop
lea rcx, [rsp + 0x68]
call fcn.14006ebd0
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.14006ebd0
cmp rbx, rax
jbe 0x140044f9e
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140002bd8
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044fbc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x68], r15
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140044f20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400451ba
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja 0x14004501f
movzx edx, dx
lea rcx, [rsp + 0x40]
call fcn.140010ac0
jmp 0x140045048
test rdx, rdx
jne 0x140045028
xor eax, eax
jmp 0x14004503a
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140045030
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140002aa8
nop
mov rsi, qword [rsp + 0x40]
lea rcx, [rsi - 0x18]
call fcn.140002c68
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x14004518e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140002bd8
mov edx, 0x2c
lea rcx, [rsp + 0x50]
call fcn.140042580
mov rbx, qword [rsp + 0x50]
mov r9, rbx
xor r8d, r8d
mov edx, 0x117a6
mov rcx, qword [r14]
call fcn.14001da60
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400450cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400450ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, edi
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x140045109
mov rcx, qword [rsi - 0x18]
mov rax, qword [rcx]
lea rdx, [rsi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140045128
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140045147
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140045163
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.140215e10
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
int3