Function at 0x14000d25c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x270
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x140045380]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rdx
mov rbx, rcx
xor r14d, r14d
mov qword [rdx], r14
mov esi, r14d
lea edi, [r14 + 7]
mov qword [r11 - 0x158], rdi
mov qword [r11 - 0x160], r14
mov word [r11 - 0x170], r14w
mov qword [r11 - 0x1f8], rdi
mov qword [r11 - 0x200], r14
mov word [r11 - 0x210], r14w
mov qword [r11 - 0x1d0], rdi
mov qword [r11 - 0x1d8], r14
mov word [r11 - 0x1e8], r14w
lea rdx, [0x14003a618]
lea rcx, [r11 - 0x1f0]
call fcn.14000c3b0
nop
mov rdx, rbx
lea rcx, [rsp + 0xf8]
call fcn.140012340
nop
lea rdx, [rbx + 0x28]
lea rcx, [rsp + 0xd0]
call fcn.140012340
nop
cmp qword [rsp + 0xe8], r14
je 0x14000d334
lea rcx, [rsp + 0xd0]
call fcn.140012290
cmp qword [rsp + 0x110], r14
je 0x14000d34b
lea rcx, [rsp + 0xf8]
call fcn.140012290
lea r8, str.AMSdat_
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x58]
call fcn.14000c848
nop
or r12, 0xffffffffffffffff
mov r9, r12
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14000c2d0
nop
lea r15d, [r12 + 9]
cmp qword [rsp + 0x78], r15
jb 0x14000d396
mov rcx, qword [rsp + 0x60]
call fcn.140017280
lea rdx, str.AMQuarantine_
lea rcx, [rsp + 0xd0]
call fcn.14000c900
lea r8, str.AMSwinx64
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x58]
call fcn.14000c848
nop
mov r9, r12
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.14000c2d0
nop
cmp qword [rsp + 0x78], r15
jb 0x14000d3ec
mov rcx, qword [rsp + 0x60]
call fcn.140017280
lea rdx, [rsp + 0x150]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x58]
call fcn.140010734
cmp qword [rax + 0x20], 0x10
jb 0x14000d41e
mov rcx, qword [rax + 8]
jmp 0x14000d422
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp qword [rsp + 0x78], 0x10
jb 0x14000d43a
mov rcx, qword [rsp + 0x60]
call fcn.140017280
lea rcx, str.MalwareAPI.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp], rax
cmp rax, r14
je 0x14000d7ac
lea rdx, str.CreateMalwareSDK
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
cmp rax, r14
jne 0x14000d559
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
cmp qword [rsp + 0xf0], r15
jb 0x14000d492
mov rcx, qword [rsp + 0xd8]
call fcn.140017280
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xe8], r14
mov word [rsp + 0xd8], r14w
cmp qword [rsp + 0x118], r15
jb 0x14000d4c2
mov rcx, qword [rsp + 0x100]
call fcn.140017280
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x110], r14
mov word [rsp + 0x100], r14w
cmp qword [rsp + 0xc8], r15
jb 0x14000d4f2
mov rcx, qword [rsp + 0xb0]
call fcn.140017280
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xc0], r14
mov word [rsp + 0xb0], r14w
cmp qword [rsp + 0xa0], r15
jb 0x14000d522
mov rcx, qword [rsp + 0x88]
call fcn.140017280
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x98], r14
mov word [rsp + 0x88], r14w
cmp qword [rsp + 0x140], r15
jb 0x14000d552
mov rcx, qword [rsp + 0x128]
call fcn.140017280
xor eax, eax
jmp 0x14000d894
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r14
mov byte [rsp + 0x60], r14b
lea rcx, str.__xml_version_1.0__encoding_UTF_8__standalone_no_____enabledScanType_value_0___dsig:Signature_xmlns:dsig_http:__www.w3.org_2000_09_xmldsig___r_n_dsig:SignedInfo__r_n_dsig:CanonicalizationMethod_Algorithm_http:__www.w3.org_2001_10_xml_exc_c14nWithComments____r_n_dsig:SignatureMethod_Algorithm_http:__www.w3.org_2001_04_xmldsig_morersa_sha512____r_n_dsig:Reference_URI____r_n_dsig:Transforms__r_n_dsig:Transform_Algorithm_http:__www.w3.org_2000_09_xmldsigenveloped_signature____r_n__dsig:Transforms__r_n_dsig:DigestMethod_Algorithm_http:__www.w3.org_2000_09_xmldsigsha1____r_n_dsig:DigestValue_5zcfD5_k8PZe7LezoiYUY4eyFc__dsig:DigestValue__r_n__dsig:Reference__r_n__dsig:SignedInfo__r_n_dsig:SignatureValue_ocawCXUVIIjkSnh9t48vihlRl4tXo3tehlQIHQ4MBtVBk3zEkT_oT2veJ9SPRDd_r_nldUOD9xYgr7qvuKnJkmXoIMODrB1wXcOLRDU0O9dzkJVJcnEPDUooX7v7fxcbHlG_r_nA66kjrIxg6zZoggizFU0JyE3qd3PQKvVoQr1zenU1mTyeMEUcrJPCRl1RY8EdQi_r_nINUgng4xTjDqoOc_sbJKkOez9i584LVGf6BUwEYpVfTHL7MwqInGsyZQ2s1tzc6p_r_n23XRo7kWHqEONccHoXJ65VTD_DoAWg1zBQgGzyq5VAnqK97DSxGZLK0jFE1Y0t4_r_nvV7bkGCVVi7cLIJYMRht1w__dsig:SignatureValue__r_n_dsig:KeyInfo__r_n_dsig:KeyValue__r_n_dsig:RSAKeyValue__r_n_dsig:Modulus_uWQ_ZQEsEwN6YYkQ0nMyzHPhPmB3JlA90CcJVd3qTUICG_FoXq3F3F8KaUS4qXhgz24_yWTSe1h_r_nrC8wZN2UXdqj1B4tO3CFtQUM3Meq3FSoXzMfKqrdEmrB6tntvulTO7NbdrgDoheIJ6EiDKzM7sq_r_nXg2Tm3ZiMNorr0OZbiT3CoDdH_hAlEW3OwObndCPOkSIy7htN1qnmvssEnXM5iypNXyjNLUXuc_r_nAgOuxdDaNOCx_2GFcMseFJHdDEc3QwN0MsKSxK4USA14dcwx14gRKyTGQjv8Tk82TsscBMYaN_r_nHOYfY2s4gKaT2DbXNgcps3vVfloYz5DzrEKQHw__dsig:Modulus__r_n_dsig:Exponent_AQAB__dsig:Exponent__r_n__dsig:RSAKeyValue__r_n__dsig:KeyValue__r_n__dsig:KeyInfo__r_n__dsig:Signature___enabledScanType_
call fcn.140019300
mov r8, rax
lea rdx, str.__xml_version_1.0__encoding_UTF_8__standalone_no_____enabledScanType_value_0___dsig:Signature_xmlns:dsig_http:__www.w3.org_2000_09_xmldsig___r_n_dsig:SignedInfo__r_n_dsig:CanonicalizationMethod_Algorithm_http:__www.w3.org_2001_10_xml_exc_c14nWithComments____r_n_dsig:SignatureMethod_Algorithm_http:__www.w3.org_2001_04_xmldsig_morersa_sha512____r_n_dsig:Reference_URI____r_n_dsig:Transforms__r_n_dsig:Transform_Algorithm_http:__www.w3.org_2000_09_xmldsigenveloped_signature____r_n__dsig:Transforms__r_n_dsig:DigestMethod_Algorithm_http:__www.w3.org_2000_09_xmldsigsha1____r_n_dsig:DigestValue_5zcfD5_k8PZe7LezoiYUY4eyFc__dsig:DigestValue__r_n__dsig:Reference__r_n__dsig:SignedInfo__r_n_dsig:SignatureValue_ocawCXUVIIjkSnh9t48vihlRl4tXo3tehlQIHQ4MBtVBk3zEkT_oT2veJ9SPRDd_r_nldUOD9xYgr7qvuKnJkmXoIMODrB1wXcOLRDU0O9dzkJVJcnEPDUooX7v7fxcbHlG_r_nA66kjrIxg6zZoggizFU0JyE3qd3PQKvVoQr1zenU1mTyeMEUcrJPCRl1RY8EdQi_r_nINUgng4xTjDqoOc_sbJKkOez9i584LVGf6BUwEYpVfTHL7MwqInGsyZQ2s1tzc6p_r_n23XRo7kWHqEONccHoXJ65VTD_DoAWg1zBQgGzyq5VAnqK97DSxGZLK0jFE1Y0t4_r_nvV7bkGCVVi7cLIJYMRht1w__dsig:SignatureValue__r_n_dsig:KeyInfo__r_n_dsig:KeyValue__r_n_dsig:RSAKeyValue__r_n_dsig:Modulus_uWQ_ZQEsEwN6YYkQ0nMyzHPhPmB3JlA90CcJVd3qTUICG_FoXq3F3F8KaUS4qXhgz24_yWTSe1h_r_nrC8wZN2UXdqj1B4tO3CFtQUM3Meq3FSoXzMfKqrdEmrB6tntvulTO7NbdrgDoheIJ6EiDKzM7sq_r_nXg2Tm3ZiMNorr0OZbiT3CoDdH_hAlEW3OwObndCPOkSIy7htN1qnmvssEnXM5iypNXyjNLUXuc_r_nAgOuxdDaNOCx_2GFcMseFJHdDEc3QwN0MsKSxK4USA14dcwx14gRKyTGQjv8Tk82TsscBMYaN_r_nHOYfY2s4gKaT2DbXNgcps3vVfloYz5DzrEKQHw__dsig:Modulus__r_n_dsig:Exponent_AQAB__dsig:Exponent__r_n__dsig:RSAKeyValue__r_n__dsig:KeyValue__r_n__dsig:KeyInfo__r_n__dsig:Signature___enabledScanType_
lea rcx, [rsp + 0x58]
call fcn.14000828c
nop
mov ecx, 0x66c
call fcn.140016530
mov rdi, rax
xor edx, edx
mov r8d, 0x66c
mov rcx, rax
call fcn.140017b10
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8d, 0x66a
mov rcx, rdi
call fcn.140019d50
lea r11, [rsp + 0xd8]
cmp qword [rsp + 0xf0], r15
cmovae r11, qword [rsp + 0xd8]
lea rax, [rsp + 0xb0]
cmp qword [rsp + 0xc8], r15
cmovae rax, qword [rsp + 0xb0]
lea r9, [rsp + 0x88]
cmp qword [rsp + 0xa0], r15
cmovae r9, qword [rsp + 0x88]
lea r8, [rsp + 0x128]
cmp qword [rsp + 0x140], r15
cmovae r8, qword [rsp + 0x128]
add rbx, 0x50
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], rax
lea rax, [0x14003a618]
mov qword [rsp + 0x20], rax
mov edx, 0x66a
mov rcx, rdi
call r12
mov r12d, eax
mov rcx, rdi
call fcn.140018fd0
cmp qword [rbx], r14
jne 0x14000d783
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
cmp qword [rsp + 0x78], 0x10
jb 0x14000d68d
mov rcx, qword [rsp + 0x60]
call fcn.140017280
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r14
mov byte [rsp + 0x60], r14b
cmp qword [rsp + 0xf0], r15
jb 0x14000d6b7
mov rcx, qword [rsp + 0xd8]
call fcn.140017280
mov ebx, 7
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xe8], r14
mov word [rsp + 0xd8], r14w
cmp qword [rsp + 0x118], r15
jb 0x14000d6ec
mov rcx, qword [rsp + 0x100]
call fcn.140017280
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x110], r14
mov word [rsp + 0x100], r14w
cmp qword [rsp + 0xc8], r15
jb 0x14000d71c
mov rcx, qword [rsp + 0xb0]
call fcn.140017280
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xc0], r14
mov word [rsp + 0xb0], r14w
cmp qword [rsp + 0xa0], r15
jb 0x14000d74c
mov rcx, qword [rsp + 0x88]
call fcn.140017280
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x98], r14
mov word [rsp + 0x88], r14w
cmp qword [rsp + 0x140], r15
jb 0x14000d77c
mov rcx, qword [rsp + 0x128]
call fcn.140017280
xor eax, eax
jmp 0x14000d894
mov eax, 1
cmp r12d, r14d
cmove esi, eax
cmp qword [rsp + 0x78], 0x10
jb 0x14000d7a7
mov rcx, qword [rsp + 0x60]
call fcn.140017280
mov edi, 7
jmp 0x14000d7ac
mov edi, 7
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
nop
cmp qword [rsp + 0xf0], r15
jb 0x14000d7d2
mov rcx, qword [rsp + 0xd8]
call fcn.140017280
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xe8], r14
mov word [rsp + 0xd8], r14w
cmp qword [rsp + 0x118], r15
jb 0x14000d802
mov rcx, qword [rsp + 0x100]
call fcn.140017280
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x110], r14
mov word [rsp + 0x100], r14w
cmp qword [rsp + 0xc8], r15
jb 0x14000d832
mov rcx, qword [rsp + 0xb0]
call fcn.140017280
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xc0], r14
mov word [rsp + 0xb0], r14w
cmp qword [rsp + 0xa0], r15
jb 0x14000d862
mov rcx, qword [rsp + 0x88]
call fcn.140017280
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x98], r14
mov word [rsp + 0x88], r14w
cmp qword [rsp + 0x140], r15
jb 0x14000d892
mov rcx, qword [rsp + 0x128]
call fcn.140017280
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140018080
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret