Function at 0x140043dc0
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 [0x14030c918]
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 0x140044319
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r8d, 3
lea rdx, [0x1402c24f8]
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 0x140044324
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 0x140043eb9
lea rax, [rbp + 0x1d0]
movzx edx, ax
lea rcx, [rsp + 0x28]
call fcn.140010ac0
jmp 0x140043ee2
lea rcx, [rbp + 0x1d0]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140043ec3
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 0x140043ef0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140005abc
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x14004432f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x3d0]
cmp rax, 0x10000
jae 0x140043f4f
lea rax, [rbp + 0x3d0]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140010ac0
jmp 0x140043f7f
lea rcx, [rbp + 0x3d0]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140043f60
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 0x140043f82
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 0x140044076
nop
test byte [rbp - 0x80], 0x10
je 0x140044061
mov qword [rsp + 0x58], r12
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x14004433a
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 0x140043ff6
mov r8d, eax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x60]
call fcn.140002aa8
nop
lea rcx, [rsp + 0x58]
call fcn.14006d5a0
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.14006d5a0
cmp rbx, rax
jbe 0x14004403e
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 0x14004405c
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 0x140043fc0
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 0x140044156
nop dword [rax + rax]
test byte [rbp - 0x80], 0x10
je 0x140044141
mov qword [rsp + 0x68], r12
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x14004433a
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 0x1400440d6
mov r8d, eax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x70]
call fcn.140002aa8
nop
lea rcx, [rsp + 0x68]
call fcn.14006d5a0
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.14006d5a0
cmp rbx, rax
jbe 0x14004411e
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 0x14004413c
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 0x1400440a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x14004433a
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 0x14004419f
movzx edx, dx
lea rcx, [rsp + 0x40]
call fcn.140010ac0
jmp 0x1400441c8
test rdx, rdx
jne 0x1400441a8
xor eax, eax
jmp 0x1400441ba
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400441b0
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 0x14004430e
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.14006aca0
mov rbx, qword [rsp + 0x50]
mov r9, rbx
xor r8d, r8d
mov edx, 0x117a6
mov rcx, qword [r14]
call fcn.14001da40
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004424f
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 0x14004426e
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 0x140044289
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 0x1400442a8
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 0x1400442c7
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 0x1400442e3
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.140212f90
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