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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov r12, rcx
xor r15d, r15d
mov r8d, 0xff
lea rdx, [rbp + 0x1e0]
lea rcx, str._PROGRAMFILES_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8d, 0xff
lea rdx, [rbp + 0x3e0]
lea rcx, str._PROGRAMFILES_X86__
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x1400446fa
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1e0]
lea rdi, [r15 - 1]
cmp rax, 0x10000
lea rax, [rbp + 0x1e0]
jae 0x1400441cb
movzx edx, ax
lea rcx, [rsp + 0x28]
call fcn.140010ab0
jmp 0x1400441ed
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400441d0
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x28]
call fcn.140002a9c
nop
lea rbx, str.dotnet_sharedMicrosoft.WindowsDesktop.App
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140044200
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140005af4
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x140044705
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x3e0]
cmp rax, 0x10000
lea rax, [rbp + 0x3e0]
jae 0x14004425d
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140010ab0
jmp 0x14004427d
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140044260
lea rdx, [rbp + 0x3e0]
lea rcx, [rsp + 0x20]
call fcn.140002a9c
nop
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140044280
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140005af4
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
lea rsi, vtable.srl::Version.0
lea r13, vtable.srl::Value.0
cmp rax, 0xffffffffffffffff
je 0x140044492
test byte [rbp - 0x70], 0x10
je 0x140044474
mov qword [rsp + 0x60], rsi
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x1400446ef
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x44]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140044300
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x68]
call fcn.140002a9c
nop
call fcn.140010254
test rax, rax
je 0x14004471b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x68]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja 0x14004435a
movzx edx, dx
lea rcx, [rsp + 0x30]
call fcn.140010ab0
jmp 0x140044386
test rdx, rdx
jne 0x140044364
xor r8d, r8d
jmp 0x14004437b
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140044370
lea rcx, [rsp + 0x30]
call fcn.140002a9c
nop
mov rsi, qword [rsp + 0x30]
lea rcx, [rsi - 0x18]
call fcn.140002c5c
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x140044710
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140002bcc
mov edx, 0x2c
lea rcx, [rsp + 0x48]
call fcn.140041bd0
mov rbx, qword [rsp + 0x48]
mov r9, rbx
mov r8d, r15d
mov edx, 0x117a6
mov rcx, qword [r12]
call fcn.14001e730
inc r15d
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044410
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004442f
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 0x14004444a
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 + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044468
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x60], r13
lea rsi, vtable.srl::Version.0
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400442c2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rbp - 0x70]
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14004467f
test byte [rbp - 0x70], 0x10
je 0x14004465d
mov qword [rsp + 0x70], rsi
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x1400446ef
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x44]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400444f0
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x78]
call fcn.140002a9c
nop
call fcn.140010254
test rax, rax
je 0x140044731
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x78]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja 0x14004454a
movzx edx, dx
lea rcx, [rsp + 0x38]
call fcn.140010ab0
jmp 0x140044576
test rdx, rdx
jne 0x140044554
xor r8d, r8d
jmp 0x14004456b
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140044560
lea rcx, [rsp + 0x38]
call fcn.140002a9c
nop
mov rsi, qword [rsp + 0x38]
lea rcx, [rsi - 0x18]
call fcn.140002c5c
add rax, 0x18
mov qword [rsp + 0x50], rax
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x140044726
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140002bcc
mov edx, 0x2c
lea rcx, [rsp + 0x58]
call fcn.140041bd0
mov rbx, qword [rsp + 0x58]
mov r9, rbx
mov r8d, r15d
mov edx, 0x117a6
mov rcx, qword [r12]
call fcn.14001e730
inc r15d
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044600
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004461f
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 0x14004463a
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 + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044658
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x70], r13
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14004467a
lea rsi, vtable.srl::Version.0
jmp 0x1400444b1
mov rbx, qword [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400446a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400446bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.1402202b0
lea r11, [rsp + 0x6f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002d6c
nop
mov ecx, 0x80004005
call fcn.140002d6c
nop
mov ecx, 0x80004005
call fcn.140002d6c
nop
mov ecx, 0x80004005
call fcn.140002d6c
nop
mov ecx, 0x80004005
call fcn.140002d6c
nop
mov ecx, 0x80004005
call fcn.140002d6c
nop
mov ecx, 0x80004005
call fcn.140002d6c
int3