joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140195b50
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x60
movzx edi, dx
mov rsi, rcx
mov edx, 0x2710
lea rcx, [0x1403e2b68]
call fcn.1401d7ef0
test al, al
je 0x140195bfb
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
lea r14, str.ASUSSystemAnalysis
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140195bee
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rsi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], r9w
mov qword [rsp + 0x20], rdx
xor r9d, r9d
movzx edx, di
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea rcx, [0x1403e2b68]
call fcn.1401d8040
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop r14
ret
Function at 0x14019a520
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x460
mov rax, qword [0x1403debe8]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x14019a61e
mov r8d, 0xf003f
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14019a615
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r9, [rsp + 0x30]
mov edx, 0x104
lea r8, str.__s__129
lea rcx, [rsp + 0x240]
call fcn.14019a640
lea rax, [rsp + 0x240]
mov edx, 1
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x14019a60c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SERVICE_CONFIG_DESCRIPTION_failed_w_err_0x_08lx_n
call fcn.140131570
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14020c3e0
mov rbx, qword [rsp + 0x478]
add rsp, 0x460
pop rdi
ret
Function at 0x14019f4e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1403debe8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [r8 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xor esi, esi
cmp rdx, r8
jae 0x14019f540
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], SafeArrayLock
mov byte [rbx], sil
jmp 0x14019f670
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], SafeArrayLock
mov byte [rsp + 0x28], sil
test rdx, rdx
jne 0x14019f568
mov qword [rsp + 0x38], rdx
mov byte [rsp + rdx + 0x28], dl
jmp 0x14019f578
lfence
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.1400f8600
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
lea r8, [r14 + rdi]
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp r14, 3
jl 0x14019f60a
nop word [rax + rax]
movzx ecx, byte [rdi]
shr rcx, 2
movzx ecx, byte [rcx + r9]
mov byte [rax], cl
movzx edx, byte [rdi]
and edx, 3
shl rdx, 4
movzx ecx, byte [rdi + 1]
shr rcx, 4
or rdx, rcx
movzx ecx, byte [rdx + r9]
mov byte [rax + 1], cl
movzx edx, byte [rdi + 1]
and edx, 0xf
shl rdx, 2
movzx ecx, byte [rdi + 2]
shr rcx, 6
or rdx, rcx
movzx ecx, byte [rdx + r9]
mov byte [rax + 2], cl
movzx ecx, byte [rdi + 2]
and ecx, 0x3f
movzx ecx, byte [rcx + r9]
mov byte [rax + 3], cl
add rax, 4
add rdi, 3
sub r14, 3
cmp r14, 3
jge 0x14019f5a0
sub r8, rdi
je 0x14019f65f
movzx ecx, byte [rdi]
shr rcx, 2
movzx ecx, byte [rcx + r9]
mov byte [rax], cl
movzx edx, byte [rdi]
and edx, 3
shl rdx, 4
cmp r8, 1
jne 0x14019f639
movzx ecx, byte [rdx + r9]
mov byte [rax + 1], cl
mov cl, 0x3d
jmp 0x14019f658
movzx ecx, byte [rdi + 1]
shr rcx, 4
or rcx, rdx
movzx ecx, byte [rcx + r9]
mov byte [rax + 1], cl
movzx ecx, byte [rdi + 1]
and ecx, 0xf
movzx ecx, byte [r9 + rcx*4]
mov byte [rax + 2], cl
mov byte [rax + 3], 0x3d
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14020c3e0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x1401cf020
Capabilities:
Initialize winhttp library
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebp, ebp
mov qword [rcx], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 7
mov word [rcx], bp
lea r8d, [rbp + 0x73]
lea rdx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_89.0.4389.128_Safari_537.36
call fcn.1400f8950
nop
mov byte [rdi + 0x20], bpl
mov qword [rdi + 0x28], rbp
mov qword [rdi + 0x30], rbp
mov qword [rdi + 0x38], rbp
mov dword [rdi + 0x40], 0x7530
mov dword [rdi + 0x44], 0x7530
mov dword [rdi + 0x48], 0x7530
mov qword [rdi + 0x50], rbp
mov qword [rdi + 0x58], rbp
mov qword [rdi + 0x60], rbp
lea rsi, [rdi + 0x68]
mov qword [rsi + 0x38], rbp
lea rbx, [rdi + 0xb0]
mov qword [rsp + 0x58], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
lfence
lea ecx, [rbp + 0x28]
call fcn.14020be48
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rcx, [rdi + 0xc0]
call fcn.1401cea40
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], rax
mov byte [rdi + 0xa8], al
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1401cf103
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x1400e3a85.0]
mov qword [rsi + 0x38], rbp
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401cf110
mov rcx, qword [rdi]
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, rax
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x1401cf137
mov dword [rdi + 0x60], 2
jmp 0x1401cf14f
mov eax, dword [rdi + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 0x44]
mov r8d, dword [rdi + 0x40]
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401cfec0
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
movzx r15d, r9b
mov rsi, r8
mov r14, rdx
mov r13, rcx
mov dword [rsp + 0x48], 0
lea rdi, [rcx + 0xc0]
mov qword [rsp + 0x70], rdi
test rdi, rdi
je 0x1401cff13
mov rcx, rdi
call fcn.1401cea90
nop
mov rcx, r14
call fcn.1401d5640
mov dword [rsp + 0x48], 1
xor ebx, ebx
mov qword [rsp + 0x60], rbx
xor eax, eax
mov r12d, 0x4000
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
mov rcx, r13
call fcn.1401d0b70
mov rcx, r14
call fcn.1401d7000
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x30], rax
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.1401d0280
test al, al
je 0x1401d0116
lea rdx, [r14 + 8]
mov rcx, r13
call fcn.1401d0a80
test al, al
je 0x1401cffe8
mov rcx, r14
call fcn.1401d5970
lea r8, [r14 + 0x80]
cmp qword [r14 + 0x98], 8
jb 0x1401cffab
mov r8, qword [r14 + 0x80]
cmp qword [r14 + 0x90], 3
jne 0x1401d0148
mov edx, 3
lea rcx, [0x1402e3258]
sub r8, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1401d0148
add rcx, 2
sub rdx, 1
jne 0x1401cffd0
test r15b, r15b
jne 0x1401d004b
mov rcx, r12
call fcn.14020c67c
mov rbx, rax
mov qword [rsp + 0x60], rax
mov r8, r12
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movzx esi, byte [rsp + 0xd0]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x40]
mov rcx, qword [r13 + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1401d012f
mov r8d, dword [rsp + 0x40]
test r8d, r8d
jne 0x1401d0050
mov byte [r14], 1
xor eax, eax
mov dword [r13 + 0x60], eax
jmp 0x1401d00da
cmp r8d, r12d
jbe 0x1401d008c
mov rcx, r8
call fcn.14020c67c
mov r15, rax
mov rcx, rbx
mov rbx, rax
mov qword [rsp + 0x60], rax
test rcx, rcx
je 0x1401d0075
call fcn.14020c5fc
mov r12d, dword [rsp + 0x40]
mov r8d, r12d
xor edx, edx
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x44]
mov rdx, rbx
mov rcx, qword [r13 + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1401d0161
lea rcx, [r14 + 0x20]
mov r9d, dword [rsp + 0x44]
add r9, rbx
mov rdx, qword [rcx + 8]
mov byte [rsp + 0x20], sil
mov r8, rbx
call fcn.1401ced60
jmp 0x1401d0020
test rbx, rbx
je 0x1401d00e8
mov rcx, rbx
call fcn.14020c5fc
nop
test rdi, rdi
je 0x1401d00f6
mov rcx, rdi
call fcn.1401ceaa0
nop
mov rax, r14
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov dword [rsp + 0x4c], 2
lea rdx, [0x14033dfb8]
lea rcx, [rsp + 0x4c]
call fcn.14024304c
mov dword [rsp + 0x54], 9
lea rdx, [0x14033dfb8]
lea rcx, [rsp + 0x54]
call fcn.14024304c
mov dword [rsp + 0x50], 6
lea rdx, [0x14033dfb8]
lea rcx, [rsp + 0x50]
call fcn.14024304c
mov dword [rsp + 0x58], 9
lea rdx, [0x14033dfb8]
lea rcx, [rsp + 0x58]
call fcn.14024304c
int3
Function at 0x1401d01b0
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x1401d01c3
mov rcx, qword [rcx]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx + 0x28], rax
mov rcx, rax
test rax, rax
jne 0x1401d01f2
mov dword [rbx + 0x60], 2
add rsp, 0x30
pop rbx
ret
mov eax, dword [rbx + 0x48]
xor edx, edx
mov r9d, dword [rbx + 0x44]
mov r8d, dword [rbx + 0x40]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x1401d0a80
Capabilities:
Read http header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov rbx, rdx
mov dword [rsp + 0x40], 0
mov rbp, rcx
lea rax, [rsp + 0x40]
mov rcx, qword [rcx + 0x38]
xor r8d, r8d
lea edx, [r9 + 0x16]
mov qword [rsp + 0x20], rax
xor dil, dil
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401d0b57
mov ecx, dword [rsp + 0x40]
mov qword [rsp + 0x48], rsi
call fcn.14020c67c
mov rcx, qword [rbp + 0x38]
mov rsi, rax
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov r9, rsi
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1401d0b4a
mov rdx, qword [rbx]
mov qword [rbx + 8], rdx
cmp rdx, qword [rbx + 0x10]
je 0x1401d0b2b
mov rcx, rbx
call fcn.1401d1a50
mov rdx, qword [rbx + 8]
mov r9d, dword [rsp + 0x40]
mov r8, rsi
movzx eax, byte [rsp + 0x40]
add r9, rsi
mov rcx, rbx
mov byte [rsp + 0x20], al
call fcn.1401ced60
mov dil, 1
mov rcx, rsi
call fcn.14020c5fc
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
movzx eax, dil
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1401d26a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov qword [rsp + 0x20], rcx
jb 0x1401d26b8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401d26d7
test al, 0x10
jne 0x1401d26d7
mov rcx, rbx
call fcn.1401156c0
mov al, 1
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
call fcn.1401156c0
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x1401d2720
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov qword [rsp + 0x20], rcx
jb 0x1401d2738
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401d2757
test al, 0x10
je 0x1401d2757
mov rcx, rbx
call fcn.1401156c0
mov al, 1
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
call fcn.1401156c0
xor al, al
add rsp, 0x30
pop rbx
ret
Function at 0x1401d3e40
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rsi, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov qword [rcx], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 7
mov word [rcx], bp
mov dword [rsp + 0x30], 1
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], 7
lea r8d, [rbp + 0x15]
lea rdx, str.Drives_Bitmap:_0x_08x
lea rcx, [rsp + 0x38]
call fcn.1400f8950
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.1401953a0
mov ecx, reloc.OLEAUT32.dll_SafeArrayPutElement
nop dword [rax + rax]
mov eax, 1
shl eax, cl
test edi, eax
je 0x1401d3ed5
sub ecx, 1
jns 0x1401d3ec0
jmp 0x1401d3f91
mov dword [rsi], eax
add cl, 0x41
movsx edx, cl
mov qword [rbx + 0x10], 1
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d3ef2
mov rax, qword [rbx]
mov word [rax], dx
mov word [rax + 2], bp
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rax, r8
sub rax, rcx
cmp rax, 2
jb 0x1401d3f2e
lea rdx, [rcx + 2]
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp r8, 8
jb 0x1401d3f21
mov rax, qword [rbx]
mov dword [rax + rcx*2], 0x5c003a
mov word [rax + rdx*2], bp
jmp 0x1401d3f50
lfence
mov qword [rsp + 0x20], 2
lea r9, [0x1402e38fc]
xor r8d, r8d
lea edx, [r8 + 2]
mov rcx, rbx
call fcn.140122920
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], 7
mov r8d, 0x1b
lea rdx, str.Available_volume_label___s_
lea rcx, [rsp + 0x58]
call fcn.1400f8950
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d3f87
mov rdx, qword [rbx]
lea rcx, [rsp + 0x58]
call fcn.1401953a0
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401d3fb0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1403debe8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x49], rdx
cmp qword [rdx + 0x18], 8
jb 0x1401d3fea
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x1401d3ff4
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
jne 0x1401d4170
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0x91
jne 0x1401d412a
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d4022
mov rcx, qword [rbx]
mov r8d, 0x34
lea rdx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1401d4092
xor eax, eax
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 7
lea r8d, [rax + 0x57]
lea rdx, str._s______Path___s__has_already_been_mounted__but_its_volume_name_could_not_be_retrieved.
lea rcx, [rbp - 0x79]
call fcn.1400f8950
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d4069
mov r8, qword [rbx]
lea rdx, str.asus::winhttp::FileSystem::MountVolume
lea rcx, [rbp - 0x79]
call fcn.140195940
nop
mov rcx, rbx
call fcn.1401156c0
nop
mov rcx, rdi
call fcn.1401156c0
xor eax, eax
jmp 0x1401d4186
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401d409f
mov rax, qword [rdi]
lea r8, [rbp - 0x39]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1401d40c4
add rax, 2
test ecx, ecx
jne 0x1401d40b0
test edx, edx
je 0x1401d4170
xor eax, eax
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 7
lea r8d, [rax + 0x60]
lea rdx, str._s______Path___s__has_already_been_mounted__but_volume_name___s__doesnt_match_as_expected___s_.
lea rcx, [rbp - 0x79]
call fcn.1400f8950
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401d40ff
mov rax, qword [rdi]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d410c
mov r8, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x39]
lea rdx, str.asus::winhttp::FileSystem::MountVolume
lea rcx, [rbp - 0x79]
call fcn.140195940
jmp 0x1401d407a
xor eax, eax
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 7
lea r8d, [rax + 0x35]
lea rdx, str._s______Fail_to_mount___s__to___s_._Error_code0x_08x
lea rcx, [rbp - 0x79]
call fcn.1400f8950
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d415d
mov r9, qword [rbx]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401d416a
mov r8, qword [rdi]
mov dword [rsp + 0x20], esi
jmp 0x1401d4115
mov rcx, rbx
call fcn.1401156c0
nop
mov rcx, rdi
call fcn.1401156c0
mov eax, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14020c3e0
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401d7ef0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [rcx + 0x10], 0
mov rbx, rcx
jne 0x1401d7f07
xor al, al
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rsi
mov esi, 0xffffffff
mov qword [rsp + 0x58], rdi
xor edi, edi
test edx, edx
cmove edx, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401d7fa1
cmp eax, 0x80
jne 0x1401d7fa6
mov rax, qword [rbx + 8]
cmp word [rax], di
je 0x1401d7fa6
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401d7f51
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov dword [rsp + 0x20], SafeArrayPutElement
lea r8, [rsp + 0x28]
mov dword [rsp + 0x30], edi
lea rcx, str.D:_A__GA___AN__A__GA___WD_
lea edx, [r9 + 1]
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
mov r8, qword [rbx + 8]
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, qword [rsp + 0x50]
mov qword [rbx], rax
movzx eax, dil
mov rdi, qword [rsp + 0x58]
mov byte [rbx + 0x10], 1
add rsp, 0x40
pop rbx
ret
mov edi, 1
mov rsi, qword [rsp + 0x50]
movzx eax, dil
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rbx
ret
Function at 0x1401dc3a0
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub rsp, 0x48
mov eax, dword [0x1402e4bb8]
lea rcx, [rsp + 0x20]
movsd xmm0, qword [str.checkNewtWork]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x1402e4bbc]
mov byte [rsp + 0x2c], al
mov qword [rsp + 0x38], SafeArrayLock
mov qword [rsp + 0x30], SafeArrayLock
movsd qword [rsp + 0x20], xmm0
mov byte [rsp + 0x2d], 0
call fcn.140195010
xor edx, edx
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
setne al
add rsp, 0x48
ret
Function at 0x1401dd190
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1403debe8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x50], rdx
xor esi, esi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
xor r8d, r8d
lea rdx, [0x1402cf868]
lea rcx, [rbp - 0x48]
call fcn.1400f8950
nop
mov qword [rbp - 0x50], rsi
cmp qword [rdi + 0x10], rsi
je 0x1401dd240
mov rdx, rdi
mov rcx, rbx
call fcn.1400eabe0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1401dd344
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401dd236
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dd369
call fcn.14020be84
jmp 0x1401dd344
lea r9, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1402efe50]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x1401dd2e6
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov rdx, qword [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401dd280
lea rcx, [rbp - 0x28]
call fcn.1400f8950
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1401dd2d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401dd2cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401dd363
call fcn.14020be84
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbp - 0x38], xmm0
jmp 0x1401dd2ea
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x28], xmm0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1401dd301
call qword [sym.imp.OLE32.dll_CoTaskMemFree]
mov qword [rbp - 0x50], rsi
movups xmm1, xmmword [rbp - 0x28]
movq r8, xmm1
test r8, r8
je 0x1401dd339
lea rax, [rbp - 0x48]
cmp rdi, rax
je 0x1401dd339
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov rcx, rdi
call fcn.1400f8950
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmm0
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14020c3e0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
Function at 0x1401dd590
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rdi, r8
mov qword [rsp + 0x20], rdx
mov rbx, rdx
mov qword [rsp + 0x20], r8
jb 0x1401dd5b4
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x1401dd5be
mov rdx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
mov rcx, rbx
test eax, eax
jne 0x1401dd5e8
call fcn.1400ebe10
mov rcx, rdi
call fcn.1400ebe10
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.1400ebe10
mov rcx, rdi
call fcn.1400ebe10
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1401dd610
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rbx, rdx
mov qword [rsp + 0x20], rdx
jb 0x1401dd628
mov rdx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, rbx
test eax, eax
jne 0x1401dd645
call fcn.1400ebe10
mov eax, 1
add rsp, 0x30
pop rbx
ret
call fcn.1400ebe10
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1401dd660
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rdi, r8
mov qword [rsp + 0x20], rdx
mov rbx, rdx
mov qword [rsp + 0x20], r8
jb 0x1401dd684
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x1401dd68e
mov rdx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
mov rcx, rbx
test eax, eax
jne 0x1401dd6b8
call fcn.1400ebe10
mov rcx, rdi
call fcn.1400ebe10
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.1400ebe10
mov rcx, rdi
call fcn.1400ebe10
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rdi
ret