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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x140045380]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
xor r13d, r13d
mov qword [r8], r13
mov dil, r13b
mov qword [r11 - 0x168], 0xf
mov qword [r11 - 0x170], r13
mov byte [r11 - 0x180], r13b
lea rdx, [r11 - 0x1b0]
call fcn.14000b2a8
nop
lea r14d, [r13 + 7]
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], r13w
lea r12, [0x14003a618]
mov rdx, r12
lea rcx, [rsp + 0x80]
call fcn.14000c3b0
nop
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
mov rdx, r12
lea rcx, [rsp + 0xd0]
call fcn.14000c3b0
nop
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x138], r13
mov word [rsp + 0x128], r13w
mov rdx, r12
lea rcx, [rsp + 0x120]
call fcn.14000c3b0
nop
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xc0], r13
mov word [rsp + 0xb0], r13w
mov rdx, r12
lea rcx, [rsp + 0xa8]
call fcn.14000c3b0
nop
mov qword [rsp + 0x118], r14
mov qword [rsp + 0x110], r13
mov word [rsp + 0x100], r13w
mov rdx, r12
lea rcx, [rsp + 0xf8]
call fcn.14000c3b0
nop
cmp qword [rsp + 0x160], r13
je 0x14000b9e4
lea rcx, [rsp + 0x148]
call fcn.14000b250
lea r8, [rsp + 0x148]
lea rdx, [rsp + 0x58]
mov rcx, rbp
call fcn.14000afa0
nop
or r15, 0xffffffffffffffff
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14000c2d0
nop
lea r12d, [r15 + 9]
cmp qword [rsp + 0x78], r12
jb 0x14000ba2a
mov rcx, qword [rsp + 0x60]
call fcn.140017280
lea r8, str.core
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000c848
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14000c2d0
nop
cmp qword [rsp + 0x78], r12
jb 0x14000ba6c
mov rcx, qword [rsp + 0x60]
call fcn.140017280
lea r8, [0x14003a630]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000c848
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14000c2d0
nop
cmp qword [rsp + 0x78], r12
jb 0x14000baae
mov rcx, qword [rsp + 0x60]
call fcn.140017280
lea rdx, [rsp + 0x58]
mov rcx, rbp
call fcn.14000b2a8
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.140006ca0
nop
mov r15d, 0x10
cmp qword [rsp + 0x78], r15
jb 0x14000baea
mov rcx, qword [rsp + 0x60]
call fcn.140017280
cmp qword [rsp + 0x188], r13
je 0x14000bb01
lea rcx, [rsp + 0x170]
call fcn.14000b250
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x170]
call fcn.140009698
lea rdx, [rsp + 0x1a0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rsp + 0x150]
cmp qword [rsp + 0x168], r15
cmovae rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp qword [rbx + 0x20], r15
jb 0x14000bb56
mov rcx, qword [rbx + 8]
jmp 0x14000bb5a
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsi], rax
cmp rax, r13
je 0x14000bfa1
lea rdx, str.CreateMalwareSDK
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
cmp rax, r13
jne 0x14000bcd3
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
cmp qword [rsp + 0x118], r12
jb 0x14000bba9
mov rcx, qword [rsp + 0x100]
call fcn.140017280
mov qword [rsp + 0x118], r14
mov qword [rsp + 0x110], r13
mov word [rsp + 0x100], r13w
cmp qword [rsp + 0xc8], r12
jb 0x14000bbd9
mov rcx, qword [rsp + 0xb0]
call fcn.140017280
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xc0], r13
mov word [rsp + 0xb0], r13w
cmp qword [rsp + 0x140], r12
jb 0x14000bc09
mov rcx, qword [rsp + 0x128]
call fcn.140017280
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x138], r13
mov word [rsp + 0x128], r13w
cmp qword [rsp + 0xf0], r12
jb 0x14000bc39
mov rcx, qword [rsp + 0xd8]
call fcn.140017280
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
cmp qword [rsp + 0xa0], r12
jb 0x14000bc69
mov rcx, qword [rsp + 0x88]
call fcn.140017280
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], r13w
cmp qword [rsp + 0x168], r15
jb 0x14000bc99
mov rcx, qword [rsp + 0x150]
call fcn.140017280
mov qword [rsp + 0x168], 0xf
mov qword [rsp + 0x160], r13
mov byte [rsp + 0x150], r13b
cmp qword [rsp + 0x190], r15
jb 0x14000bccc
mov rcx, qword [rsp + 0x178]
call fcn.140017280
xor al, al
jmp 0x14000c0ed
mov dword [0x140048598], 0x66a
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x60], r13b
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, dword [0x140048598]
add ecx, 2
call fcn.140016530
mov rbx, rax
mov r8d, dword [0x140048598]
add r8d, 2
xor edx, edx
mov rcx, rax
call fcn.140017b10
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], r15
cmovae rdx, qword [rsp + 0x60]
mov r8d, dword [0x140048598]
mov rcx, rbx
call fcn.140019d50
lea r11, [rsp + 0xb0]
cmp qword [rsp + 0xc8], r12
cmovae r11, qword [rsp + 0xb0]
lea rcx, [rsp + 0x128]
cmp qword [rsp + 0x140], r12
cmovae rcx, qword [rsp + 0x128]
lea rax, [rsp + 0x100]
cmp qword [rsp + 0x118], r12
cmovae rax, qword [rsp + 0x100]
lea r9, [rsp + 0xd8]
cmp qword [rsp + 0xf0], r12
cmovae r9, qword [rsp + 0xd8]
lea r8, [rsp + 0x88]
cmp qword [rsp + 0xa0], r12
cmovae r8, qword [rsp + 0x88]
mov dword [rsp + 0x40], r13d
lea rdx, [0x140048590]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov edx, dword [0x140048598]
mov rcx, rbx
call rbp
mov ebp, eax
mov rcx, rbx
call fcn.140018fd0
cmp qword [0x140048590], r13
jne 0x14000bf81
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
cmp qword [rsp + 0x78], r15
jb 0x14000be30
mov rcx, qword [rsp + 0x60]
call fcn.140017280
mov ebx, 0xf
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x60], r13b
cmp qword [rsp + 0x118], r12
jb 0x14000be5b
mov rcx, qword [rsp + 0x100]
call fcn.140017280
mov qword [rsp + 0x118], r14
mov qword [rsp + 0x110], r13
mov word [rsp + 0x100], r13w
cmp qword [rsp + 0xc8], r12
jb 0x14000be8b
mov rcx, qword [rsp + 0xb0]
call fcn.140017280
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xc0], r13
mov word [rsp + 0xb0], r13w
cmp qword [rsp + 0x140], r12
jb 0x14000bebb
mov rcx, qword [rsp + 0x128]
call fcn.140017280
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x138], r13
mov word [rsp + 0x128], r13w
cmp qword [rsp + 0xf0], r12
jb 0x14000beeb
mov rcx, qword [rsp + 0xd8]
call fcn.140017280
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
cmp qword [rsp + 0xa0], r12
jb 0x14000bf1b
mov rcx, qword [rsp + 0x88]
call fcn.140017280
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], r13w
cmp qword [rsp + 0x168], r15
jb 0x14000bf4b
mov rcx, qword [rsp + 0x150]
call fcn.140017280
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x160], r13
mov byte [rsp + 0x150], r13b
cmp qword [rsp + 0x190], r15
jb 0x14000bf7a
mov rcx, qword [rsp + 0x178]
call fcn.140017280
xor al, al
jmp 0x14000c0ed
movzx edi, dil
mov eax, 1
cmp ebp, r13d
cmove edi, eax
cmp qword [rsp + 0x78], r15
jb 0x14000bfa1
mov rcx, qword [rsp + 0x60]
call fcn.140017280
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
nop
cmp qword [rsp + 0x118], r12
jb 0x14000bfc7
mov rcx, qword [rsp + 0x100]
call fcn.140017280
mov qword [rsp + 0x118], r14
mov qword [rsp + 0x110], r13
mov word [rsp + 0x100], r13w
cmp qword [rsp + 0xc8], r12
jb 0x14000bff7
mov rcx, qword [rsp + 0xb0]
call fcn.140017280
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xc0], r13
mov word [rsp + 0xb0], r13w
cmp qword [rsp + 0x140], r12
jb 0x14000c027
mov rcx, qword [rsp + 0x128]
call fcn.140017280
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x138], r13
mov word [rsp + 0x128], r13w
cmp qword [rsp + 0xf0], r12
jb 0x14000c057
mov rcx, qword [rsp + 0xd8]
call fcn.140017280
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
cmp qword [rsp + 0xa0], r12
jb 0x14000c087
mov rcx, qword [rsp + 0x88]
call fcn.140017280
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], r13w
cmp qword [rsp + 0x168], r15
jb 0x14000c0b7
mov rcx, qword [rsp + 0x150]
call fcn.140017280
mov qword [rsp + 0x168], 0xf
mov qword [rsp + 0x160], r13
mov byte [rsp + 0x150], r13b
cmp qword [rsp + 0x190], r15
jb 0x14000c0ea
mov rcx, qword [rsp + 0x178]
call fcn.140017280
mov al, dil
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140018080
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret