joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1de13bef0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
mov r12, rcx
push rbp
mov rdx, r12
push rdi
push rsi
xor esi, esi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x1de142e30
mov rdx, r12
mov ebx, eax
add rbx, r12
mov ecx, dword [rbx + 0x20]
call 0x1de142e30
mov ecx, dword [rbx + 0x24]
mov rdx, r12
mov ebp, eax
call 0x1de142e30
mov r15d, dword [rbx + 0x18]
add rbp, r12
mov edi, eax
add rdi, r12
lea r14, [rsi + rsi]
add r14, rdi
cmp r15, rsi
je 0x1de13bfb1
mov ecx, dword [rbp + rsi*4]
mov rdx, r12
call 0x1de142e30
mov r13d, eax
add r13, r12
mov rcx, r13
call fcn.1de13c4a0
cmp eax, 0xa6caa1c5
jne 0x1de13bf9d
mov ecx, dword [rbx + 0x1c]
mov rdx, r12
call 0x1de142e30
movzx edx, word [r14]
mov eax, eax
add rax, r12
mov ecx, dword [rax + rdx*4]
add rsp, 0x28
mov rdx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x1de142e30
mov rcx, r13
inc rsi
call fcn.1de13c4a0
cmp eax, 0xffe885ef
jne 0x1de13bf41
jmp 0x1de13bf6e
add rsp, 0x28
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp dword [rdx + 0x14], eax
ja 0x1de142e7a
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x1de142e78
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x1de142e70
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp r10d, eax
jbe 0x1de142e70
add eax, dword [rdx + 0x14]
sub eax, r8d
ret
inc ecx
add rdx, 0x28
jmp 0x1de142e4e
xor eax, eax
ret

Function at 0x1de13c020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [0x1de14a170]
push r12
xor r8d, r8d
push rbp
push rdi
push rsi
push rbx
mov rbx, qword [rax]
mov rax, qword [rbx + 0x852]
test rax, rax
je 0x1de13c0d5
mov r8d, dword [rbx + 0x808]
test r8d, r8d
jne 0x1de13c0d5
movsxd rdx, dword [rax + 0x3c]
xor ecx, ecx
mov edx, dword [rax + rdx + 0x88]
add rdx, rax
mov edi, dword [rdx + 0x20]
mov r10d, dword [rdx + 0x1c]
mov esi, dword [rdx + 0x24]
mov ebp, dword [rdx + 0x18]
xor edx, edx
add r10, rax
add rdi, rax
add rsi, rax
cmp ebp, ecx
jbe 0x1de13c0ce
mov r9d, dword [rdi + rcx*4]
cmp word [rax + r9], 0x775a
jne 0x1de13c0c9
test rdx, rdx
movzx r9d, word [rsi + rcx*2]
jne 0x1de13c09f
mov edx, dword [r10 + r9*4]
add rdx, rax
jmp 0x1de13c0c9
mov r9d, dword [r10 + r9*4]
mov r11, rdx
add r9, rax
mov r12, r9
sub r11, r9
sub r12, rdx
cmp rdx, r9
mov r9d, r12d
cmova r9d, r11d
test r8d, r8d
je 0x1de13c0c6
cmp r8d, r9d
jbe 0x1de13c0c9
mov r8d, r9d
inc rcx
jmp 0x1de13c07b
mov dword [rbx + 0x808], r8d
pop rbx
mov eax, r8d
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1de13c450
Capabilities:
Hash data using djb2

Disassembly:
xor eax, eax
test rcx, rcx
je 0x1de13c49d
mov r10, rcx
mov eax, 0x1505
mov r9b, byte [r10]
test edx, edx
jne 0x1de13c46c
test r9b, r9b
jne 0x1de13c47f
ret
mov r11, r10
sub r11, rcx
cmp edx, r11d
jbe 0x1de13c49d
cmp r9b, 1
adc r10, 0
cmp r9b, 0x60
jbe 0x1de13c48e
test r8d, r8d
je 0x1de13c48e
sub r9d, 0x20
imul eax, eax, 0x21
movzx r9d, r9b
inc r10
add eax, r9d
jmp 0x1de13c45f
ret
Function at 0x1de13c4a0
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
movsx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1de13c4b6
imul eax, eax, 0x21
add eax, edx
jmp 0x1de13c4a5
ret

Function at 0x1de13dfb0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rsi
xor eax, eax
push rbx
mov r8b, byte [rdx + rax]
mov byte [rcx + rax], r8b
mov r8b, byte [rdx + rax + 1]
mov byte [rcx + rax + 1], r8b
mov r8b, byte [rdx + rax + 2]
mov byte [rcx + rax + 2], r8b
mov r8b, byte [rdx + rax + 3]
mov byte [rcx + rax + 3], r8b
add rax, 4
cmp rax, 0x20
jne 0x1de13dfb4
mov r11d, 8
lea r10, str.cw
lea rbx, [0x1de14a1c0]
mov esi, r11d
movzx r9d, byte [rcx + 0x1c]
movzx r8d, byte [rcx + 0x1d]
movzx edx, byte [rcx + 0x1e]
movzx eax, byte [rcx + 0x1f]
and esi, 7
jne 0x1de13e032
mov sil, byte [r10 + r8]
mov r8b, byte [r10 + rdx]
mov dl, byte [r10 + rax]
mov al, byte [r10 + r9]
mov r9d, r11d
shr r9d, 3
xor sil, byte [rbx + r9]
mov r9d, esi
jmp 0x1de13e047
cmp esi, 4
jne 0x1de13e047
mov r9b, byte [r10 + r9]
mov r8b, byte [r10 + r8]
mov dl, byte [r10 + rdx]
mov al, byte [r10 + rax]
xor r9b, byte [rcx]
xor r8b, byte [rcx + 1]
inc r11d
add rcx, 4
xor dl, byte [rcx - 2]
xor al, byte [rcx - 1]
mov byte [rcx + 0x1c], r9b
mov byte [rcx + 0x1d], r8b
mov byte [rcx + 0x1e], dl
mov byte [rcx + 0x1f], al
cmp r11d, 0x3c
jne 0x1de13dff8
pop rbx
pop rsi
ret

Function at 0x1de13e560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
test rcx, rcx
je 0x1de13e596
mov esi, edx
test edx, edx
jne 0x1de13e59d
xor eax, eax
jmp 0x1de13e68a
movsxd rax, dword [rcx + 0x3c]
mov r12, rcx
xor ebx, ebx
add rax, rcx
mov r9d, dword [rax + 0x88]
mov eax, dword [rax + 0x8c]
lea r15, [rcx + r9]
mov dword [rsp + 0x28], eax
mov eax, dword [r15 + 0x18]
mov r14d, dword [r15 + 0x20]
mov ebp, dword [r15 + 0x1c]
mov r13d, dword [r15 + 0x24]
mov dword [rsp + 0x2c], eax
add r14, rcx
cmp dword [rsp + 0x2c], ebx
jbe 0x1de13e596
mov edi, dword [r14 + rbx*4]
mov r8d, 1
xor edx, edx
add rdi, r12
mov rcx, rdi
call fcn.1de13c450
mov r8d, eax
lea rax, [rbx + 1]
cmp r8d, esi
jne 0x1de13e682
add rbx, rbx
add rbx, r12
movzx eax, word [rbx + r13]
lea rax, [r12 + rax*4]
mov eax, dword [rax + rbp]
add rax, r12
mov qword [rsp + 0x38], rax
cmp rax, r15
jae 0x1de13e628
mov rax, qword [rsp + 0x38]
jmp 0x1de13e68a
mov esi, dword [rsp + 0x28]
add rsi, r12
add rsi, r15
cmp rax, rsi
jae 0x1de13e621
call fcn.1de143b20
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x40], ax
inc eax
mov word [rsp + 0x42], ax
mov rax, qword [0x1de14a170]
mov rax, qword [rax]
mov rax, qword [rax + 0x138]
test rax, rax
je 0x1de13e596
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x38]
mov rcx, r12
call rax
test eax, eax
jns 0x1de13e621
jmp 0x1de13e596
mov rbx, rax
jmp 0x1de13e5d5
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1de142e30
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
mov r12, rcx
push rbp
mov rdx, r12
push rdi
push rsi
xor esi, esi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x1de142e30
mov rdx, r12
mov ebx, eax
add rbx, r12
mov ecx, dword [rbx + 0x20]
call 0x1de142e30
mov ecx, dword [rbx + 0x24]
mov rdx, r12
mov ebp, eax
call 0x1de142e30
mov r15d, dword [rbx + 0x18]
add rbp, r12
mov edi, eax
add rdi, r12
lea r14, [rsi + rsi]
add r14, rdi
cmp r15, rsi
je 0x1de13bfb1
mov ecx, dword [rbp + rsi*4]
mov rdx, r12
call 0x1de142e30
mov r13d, eax
add r13, r12
mov rcx, r13
call fcn.1de13c4a0
cmp eax, 0xa6caa1c5
jne 0x1de13bf9d
mov ecx, dword [rbx + 0x1c]
mov rdx, r12
call 0x1de142e30
movzx edx, word [r14]
mov eax, eax
add rax, r12
mov ecx, dword [rax + rdx*4]
add rsp, 0x28
mov rdx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x1de142e30
mov rcx, r13
inc rsi
call fcn.1de13c4a0
cmp eax, 0xffe885ef
jne 0x1de13bf41
jmp 0x1de13bf6e
add rsp, 0x28
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp dword [rdx + 0x14], eax
ja 0x1de142e7a
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x1de142e78
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x1de142e70
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp r10d, eax
jbe 0x1de142e70
add eax, dword [rdx + 0x14]
sub eax, r8d
ret
inc ecx
add rdx, 0x28
jmp 0x1de142e4e
xor eax, eax
ret
Function at 0x140040124
Capabilities:
Create thread
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x1e0
lea rdx, [0x1402004c8]
xor ecx, ecx
call fcn.140046740
mov ecx, 0x18561c
mov dword [0x140205d38], 0x40e5a
call fcn.1400402e0
mov ebx, 0x81cb6
mov qword [0x140205d48], rax
mov ecx, ebx
call fcn.1400402e0
movsxd rcx, dword [0x140205d38]
mov qword [0x140205d40], rax
call fcn.1400402e0
mov rcx, qword [0x140205d40]
mov r8d, ebx
xor edx, edx
mov qword [0x140205d50], rax
call fcn.1400420a0
mov rcx, qword [0x140205d48]
call section..text
call fcn.14003fdd0
xor ebp, ebp
cmp dword [0x140205d38], ebp
mov esi, ebp
jle 0x1400401f6
mov rbx, qword [0x140205d50]
mov rdi, qword [0x140205d40]
movzx eax, word [rdi]
lea rcx, [rsp + 0x30]
xor edx, edx
mov byte [rsp + 0x32], bpl
mov word [rsp + 0x30], ax
lea r8d, [rdx + 0x10]
call fcn.14004879c
mov byte [rbx], al
lea rdi, [rdi + 2]
inc rbx
inc esi
cmp esi, dword [0x140205d38]
jl 0x1400401c6
mov rcx, qword [0x140205d48]
call fcn.14004029c
mov rcx, qword [0x140205d40]
call fcn.14004029c
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], ebp
mov qword [rsp + 0x28], rax
lea r8, [0x1400400c4]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
test rax, rax
je 0x140040255
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov rdx, qword [0x140205d30]
mov r9d, 8
mov rcx, rax
mov word [rsp + 0x20], bp
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_EnumResourceTypesExW]
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140040ac8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x140040b12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140040b12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140040b12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140040b12
cmp dword [rcx + 0x84], 0xe
jbe 0x140040b12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140040b14
xor al, al
add rsp, 0x28
ret

Function at 0x140049418
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140049244

Function at 0x14005a230
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005a258
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14005a258
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000e030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x14000e1c4
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x14000e1c4
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x14000e0cb
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x14000e1eb
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14000e0e2
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x14000e0e2
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x14000e0f5
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x14000e142
mov r8d, eax
cmp eax, 0x800
jae 0x14000e10f
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x14000e142
cmp eax, 0x10000
jae 0x14000e129
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x14000e142
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x14000e1c4
add qword [r14], 2
test sil, sil
jne 0x14000e163
cmp r10d, 3
jae 0x14000e16f
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x14000e1a1
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x14000e180
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x14000e07f
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x14000e1d2
Function at 0x14000f8f0
Capabilities:
Read http header

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x40
mov rax, qword [0x14010b010]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov rsi, rdx
mov dword [rsp + 0x30], 0
mov rbp, rcx
lea rax, [rsp + 0x30]
mov rcx, qword [rcx + 0x38]
xor r8d, r8d
lea edx, [r9 + 0x16]
mov qword [rsp + 0x20], rax
xor bl, bl
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000f9ba
mov ecx, dword [rsp + 0x30]
mov qword [rsp + 0x70], rdi
call fcn.140061318
mov rcx, qword [rbp + 0x38]
mov rdi, rax
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14000f9ad
mov rdx, qword [rsi]
mov rcx, rsi
mov qword [rsi + 8], rdx
call fcn.14000fae0
mov r9d, dword [rsp + 0x30]
mov r8, rdi
mov rdx, qword [rsi + 8]
add r9, rdi
mov rcx, rsi
call fcn.14000fe80
mov bl, 1
mov rcx, rdi
call fcn.140061310
mov rdi, qword [rsp + 0x70]
movzx eax, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400612f0
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
Function at 0x140010480
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], rax
mov qword [rcx + 0x60], rax
mov qword [rcx + 0x68], rax
mov qword [rcx + 0x70], rax
mov qword [rcx + 0x78], rax
mov qword [rcx + 0x80], rax
mov qword [rcx + 0x88], rax
lea rcx, str.setupapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
je 0x1400105ea
lea rdx, str.SetupDiGetINFClassW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiCreateDeviceInfoList
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiCreateDeviceInfoW
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiSetDeviceRegistryPropertyW
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiCallClassInstaller
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiDestroyDeviceInfoList
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetClassDevsExW
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiEnumDeviceInfo
mov qword [rbx + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiSetClassInstallParamsW
mov qword [rbx + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetDeviceInstallParamsW
mov qword [rbx + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupUninstallOEMInfW
mov qword [rbx + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov qword [rbx + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetDeviceInstanceIdW
mov qword [rbx + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x78], rax
lea rcx, str.newdev.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
je 0x140010617
lea rdx, str.UpdateDriverForPlugAndPlayDevicesW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x80], rax
lea rcx, str.Bthprops.cpl
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140010644
lea rdx, str.BluetoothSetLocalServiceInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x88], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140010650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2d0
mov rax, qword [0x14010b010]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xor sil, sil
mov rdi, rdx
cmp qword [rcx + 0x18], 0
mov rbx, rcx
je 0x140010839
cmp qword [rcx + 0x20], 0
je 0x140010839
cmp qword [rcx + 0x28], 0
je 0x140010839
cmp qword [rcx + 0x30], 0
je 0x140010839
cmp qword [rcx + 0x38], 0
je 0x140010839
cmp qword [rcx + 0x40], 0
je 0x140010839
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010833
xor edx, edx
mov qword [rsp + 0x300], rbp
mov r8d, 0x208
lea rcx, [rsp + 0xb0]
call fcn.14008d8a0
lea rcx, str.SWCAsusAppComponent
mov r8d, 0x100
lea rax, [rsp + 0xb0]
sub rcx, rax
lea rdx, [rsp + 0xb0]
nop word [rax + rax]
lea rax, [r8 + 0x7ffffefe]
test rax, rax
je 0x140010732
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140010732
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x140010710
test r8, r8
lea rax, [rdx - 2]
cmovne rax, rdx
xor ebp, ebp
mov word [rax], bp
test r8, r8
je 0x14001082b
lea r9d, [rbp + 0x20]
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x70]
mov rcx, rdi
lea rdx, [rsp + 0x40]
call qword [rbx + 0x18]
test eax, eax
je 0x14001082b
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [rbx + 0x20]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001082b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x308], r14
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov r14d, 1
mov dword [rsp + 0x50], 0x20
mov dword [rsp + 0x28], r14d
lea rdx, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x20], rbp
mov rcx, rdi
call qword [rbx + 0x28]
test eax, eax
je 0x14001081d
lea rcx, [rsp + 0xb0]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x1400107d3
lea eax, [rax*2 + 4]
mov r8d, r14d
lea r9, [rsp + 0xb0]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [rbx + 0x30]
test eax, eax
je 0x14001081d
lea r8, [rsp + 0x50]
mov rdx, rdi
mov ecx, 0x19
call qword [rbx + 0x38]
test eax, eax
movzx esi, sil
cmovne esi, r14d
mov rcx, rdi
call qword [rbx + 0x40]
mov r14, qword [rsp + 0x308]
mov rbp, qword [rsp + 0x300]
movzx eax, sil
jmp 0x14001083b
xor al, al
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400612f0
add rsp, 0x2d0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140015610
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14010b010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140110c50], eax
jle 0x140015734
lea rcx, [0x140110c50]
call fcn.1400614b0
cmp dword [0x140110c50], 0xffffffff
jne 0x140015734
cmp qword [0x14010bea0], 0
mov rax, qword [0x14010be88]
movups xmm0, xmmword [rax - 0x10]
movups xmmword [rsp + 0x20], xmm0
je 0x14001567d
mov ecx, 5
int 0x29
xorps xmm0, xmm0
lea r9, [0x14010bea0]
lea r8, [0x14010be80]
lea rdx, section..text
lea rcx, [rsp + 0x20]
movdqu xmmword [0x14010bea8], xmm0
call qword [sym.imp.ADVAPI32.dll_EventRegister]
test eax, eax
jne 0x1400156c7
mov r8, qword [0x14010be88]
lea edx, [rax + 2]
mov rcx, qword [0x14010bea0]
movzx r9d, word [r8]
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
lea r8, [0x1400dae00]
xor edx, edx
call fcn.140015800
lea r9, [0x1400dae28]
lea r8, [0x1400dae28]
lea rdx, str.C:ProgramDataASUSASUS_System_Control_Interface_hs_hs.log
lea rcx, [0x140111510]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [0x140111510]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001571c
lea rcx, [0x140111720]
mov byte [0x140111718], 1
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1400c7a00]
call fcn.140061834
lea rcx, [0x140110c50]
call fcn.140061450
lea rax, [0x140110c44]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400612f0
add rsp, 0x48
ret
Function at 0x14002dd30
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14002dd52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14002ddcc
mov rdi, r14
mov rcx, rbx
call fcn.1400140a0
test rax, rax
jle 0x14002dda4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14008dbb0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14002ddbc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14002ddc4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14002dd66
sub r14, rdi
jmp 0x14002deb9
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14002dde3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002dde5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002de1a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14008dbb0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14002deb6
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x14002de55
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14002de91
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400a3da4
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14002decf
cmp rbp, rax
ja 0x14002de61
mov r8, rdi
test rdi, rdi
je 0x14002deb6
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400a3da4
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x14002deb9