joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c558
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x10], rdx
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
movabs r10, 0xcbf29ce484222325
xor r11d, r11d
movzx eax, byte [rsp + r11 + 0x10]
movabs rcx, 0x100000001b3
xor r10, rax
inc r11
imul r10, rcx
cmp r11, 8
jb 0x14002c581
mov r8, qword [rbx + 0x40]
mov rdx, qword [rbx + 0x18]
and r8, r10
mov r10, qword [rbx + 0x28]
add r8, r8
mov rax, qword [r10 + r8*8]
cmp qword [r10 + r8*8], rdx
jne 0x14002c5c2
mov rcx, rdx
jmp 0x14002c5ca
mov rcx, qword [r10 + r8*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14002c5da
cmp qword [rax + 0x10], rdi
je 0x14002c5dd
mov rax, qword [rax]
jmp 0x14002c5b7
mov rax, rdx
cmp rax, rdx
jne 0x14002c5e9
mov eax, 0x8007000e
jmp 0x14002c663
test r9, r9
je 0x14002c5f5
mov rcx, qword [rax + 0x18]
mov qword [r9], rcx
mov r9, qword [rsp + 0x28]
test r9, r9
je 0x14002c661
and qword [r9], 0
movsxd rcx, dword [rbx + 0xd8]
test ecx, ecx
je 0x14002c661
mov r10, rcx
mov rcx, qword [rbx + 0xd0]
mov rdx, qword [rcx + 8]
lea r11, [rdx + r10*8]
dec r10
lea r11, [r11 - 8]
mov r8, qword [r11]
cmp esi, 0xffffffff
je 0x14002c634
cmp dword [r8], esi
jne 0x14002c657
lea rcx, [r8 + 0x10]
cmp rcx, qword [rax + 0x18]
ja 0x14002c657
mov ecx, dword [r8 + 4]
lea rdx, [rcx + rcx*2]
shl rdx, 5
lea rcx, [r8 + 0x10]
add rcx, rdx
cmp qword [rax + 0x18], rcx
jb 0x14002c65e
test r10, r10
je 0x14002c661
jmp 0x14002c620
mov qword [r9], r8
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret

Function at 0x14002c81c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x14002c839
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14002c891
cmp qword [rcx + rdx*8], r8
jne 0x14002c886
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x14002c88a
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14002c89e
cmp qword [rcx + rdx*8], r8
jne 0x14002c89e
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002cca4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x14002ccdc
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x14002cd21
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x14002cd6b
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r9], rax
jne 0x14002cd24
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14002ce90
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x14002cda5
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14002cdc5
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14002cdf4
cmp rax, rdx
jne 0x14002cdd0
mov qword [r9 + r8*8], rbx
jmp 0x14002cdf4
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14002cdf4
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140046cb8]
test rax, rax
jns 0x14002ce15
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14002ce26
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14002ce85
cmp rdx, 0x200
jae 0x14002ce3e
shl rdx, 3
jmp 0x14002ce50
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14002ce50
add rdx, rdx
mov rcx, rsi
call fcn.14002c78c
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14002ce85
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002cca4
cmp rdi, r15
jne 0x14002ce65
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14002dbe4
Capabilities:
Get file system object information

Disassembly:
sub rsp, 0x38
mov edx, dword [rsp + 0x60]
test dl, 8
jne 0x14002dc20
xor r9d, r9d
test rcx, rcx
je 0x14002dc0e
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r9w
jne 0x14002dbfd
cmp eax, 0x104
jle 0x14002dc20
mov ecx, 0x62713071
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_154]
xor eax, eax
add rsp, 0x38
ret
mov dword [rsp + 0x60], edx
mov r9d, 0x2b8
mov edx, 0x80
add rsp, 0x38
jmp qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
Function at 0x14002ef60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0xd0]
mov r13, rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r8
call fcn.140009870
mov r15, qword [rsp + 0x50]
lea r11, [rsp + 0x38]
mov r10, qword [rsp + 0x48]
cmp r15, 8
mov r9, qword [rsp + 0x38]
movabs rcx, 0xcbf29ce484222325
cmovae r11, r9
xor edi, edi
mov edx, edi
lea r8, [r10 + r10]
test r8, r8
je 0x14002eff5
movzx eax, byte [rdx + r11]
movabs rbx, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, rbx
cmp rdx, r8
jb 0x14002efd7
mov r11, qword [r13 + 0xe0]
mov r12, qword [r13 + 0xc8]
and r11, rcx
mov rbp, qword [r13 + 0xb8]
add r11, r11
mov rbx, qword [r12 + r11*8]
cmp qword [r12 + r11*8], rbp
jne 0x14002f01f
mov rax, rbp
jmp 0x14002f027
mov rax, qword [r12 + r11*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14002f0f1
lea rax, [rbx + 0x10]
cmp r15, 8
mov r14, qword [rax + 0x18]
lea rcx, [rsp + 0x38]
mov rsi, qword [rax + 0x10]
cmovae rcx, r9
cmp r14, 8
jb 0x14002f052
mov rax, qword [rax]
cmp rsi, r10
jne 0x14002f090
mov rdi, rsi
test rsi, rsi
je 0x14002f098
movzx edx, word [rax]
movzx r8d, word [rcx]
cmp dx, r8w
jb 0x14002f090
sub rax, rcx
cmp dx, r8w
ja 0x14002f090
cmp rdi, 1
je 0x14002f098
add rcx, 2
dec rdi
movzx edx, word [rcx + rax]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x14002f073
mov rbx, qword [rbx]
jmp 0x14002f014
lea rax, [rbx + 0x10]
cmp r14, 8
jb 0x14002f0a5
mov rax, qword [rax]
cmp r15, 8
lea rcx, [rsp + 0x38]
cmovae rcx, r9
xor edi, edi
cmp r10, rsi
jne 0x14002f0f3
test r10, r10
je 0x14002f0f6
movzx edx, word [rcx]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x14002f0f3
sub rcx, rax
cmp dx, r8w
ja 0x14002f0f3
cmp r10, 1
je 0x14002f0f6
add rax, 2
dec r10
movzx edx, word [rcx + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14002f0d2
jmp 0x14002f0f3
xor edi, edi
mov rbx, rbp
cmp r15, 8
jb 0x14002f130
lea rax, [r15*2 + 2]
mov rcx, r9
cmp rax, 0x1000
jb 0x14002f127
mov r9, qword [r9 - 8]
sub rcx, r9
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14002f127
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], di
cmp rbx, qword [r13 + 0xb8]
jne 0x14002f150
xor al, al
jmp 0x14002f181
mov rdx, qword [rbx + 0x30]
or r9, 0xffffffffffffffff
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov qword [r8], rdx
mov rdx, qword [rbx + 0x38]
mov r8, qword [rsp + 0x28]
mov qword [r8], rdx
lea edx, [r9 + 0x51]
mov r8, qword [rbx + 0x48]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140039650
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400307b8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r11, r8
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x1400307d0
mov r8, qword [rbx + 0x30]
mov r10, qword [rbx + 0x18]
and r8, r9
add r8, r8
mov r9, qword [r10 + r8*8]
mov rcx, r9
cmp r9, qword [rbx + 8]
jne 0x140030810
mov rax, qword [rbx + 8]
jmp 0x140030818
mov rax, qword [r10 + r8*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14003082b
mov rax, qword [r11]
cmp qword [rcx + 0x10], rax
je 0x14003082f
mov rcx, qword [rcx]
jmp 0x140030804
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret

Function at 0x14003083c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r9, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + r9]
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
inc r8
cmp r8, 8
jb 0x14003086b
mov r8, qword [rsi + 0x30]
and r8, rcx
add r8, r8
mov r11, qword [rsi + 0x18]
mov rbx, qword [r11 + r8*8]
mov rdx, qword [rsi + 8]
mov r10, rbx
cmp qword [r11 + r8*8], rdx
jne 0x1400308ae
mov rax, rdx
jmp 0x1400308b6
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400308f4
mov rcx, qword [r9]
cmp qword [rbx + 0x10], rcx
je 0x1400308c9
mov rbx, qword [rbx]
jmp 0x1400308a0
mov rdi, rbx
cmp qword [r11 + r8*8], rdx
jne 0x1400308d7
mov rax, rdx
jmp 0x1400308df
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400308ef
cmp rcx, qword [rbx + 0x10]
jne 0x1400308ef
mov rbx, qword [rbx]
jmp 0x1400308cc
cmp r10, rbx
jne 0x1400308fa
mov rdi, rdx
mov rbx, rdx
mov rax, rdi
xor ebp, ebp
cmp rdi, rbx
je 0x140030912
inc rbp
mov rcx, qword [rax]
mov rax, rcx
cmp rcx, rbx
jne 0x140030904
mov rcx, qword [rdx]
cmp rdi, rcx
jne 0x140030969
cmp rbx, rdx
jne 0x140030969
mov qword [rdx], rdx
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
and qword [rsi + 0x10], 0
cmp rcx, qword [rsi + 8]
je 0x140030947
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
cmp rbx, qword [rsi + 8]
jne 0x140030935
mov edx, 8
mov rcx, rsi
call fcn.14002c78c
jmp 0x14003096e
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14002c81c
cmp rdi, rbx
jne 0x140030956
mov rax, rbp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140030df4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r9, [r8 + 0x10]
mov rdi, rdx
cmp qword [r9 + 0x18], 8
mov r10, rcx
mov rbx, qword [r9 + 0x10]
jb 0x140030e16
mov r9, qword [r9]
xor ecx, ecx
movabs r11, 0xcbf29ce484222325
add rbx, rbx
je 0x140030e45
movzx eax, byte [rcx + r9]
movabs rdx, 0x100000001b3
xor r11, rax
inc rcx
imul r11, rdx
cmp rcx, rbx
jb 0x140030e27
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, r11
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140030e7d
cmp qword [rcx + rdx*8], r8
jne 0x140030e72
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x140030e76
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140030e8a
cmp qword [rcx + rdx*8], r8
jne 0x140030e8a
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov rdx, r8
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
dec qword [r10 + 0x10]
call fcn.140030988
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140034aa0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov edx, 0x102
mov dword [rsp + 0x58], edx
lea rax, [0x140059cd8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
xor eax, eax
mov word [rsp + 0x60], ax
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x88]
call qword [case.0x14001c390.0]
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
cmp word [rcx], bx
je 0x140034b41
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp eax, 1
jne 0x140034b3c
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x140034b51
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1110]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140039650
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rbp
ret
Function at 0x140001150
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rsp + 0x20], 2
mov r10, rax
jl 0x1400011d5
mov r9, qword [rax + 8]
lea r11, str._uninstall
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
movzx r8d, word [r9 + rcx*2 + 2]
movzx edx, word [r11 + rcx*2 + 2]
sub r8d, edx
jne 0x1400011ca
add rcx, 2
cmp rcx, 0xb
je 0x1400011ca
movzx r8d, word [r9 + rcx*2]
movzx eax, word [r11 + rcx*2]
sub r8d, eax
je 0x1400011a0
test r8d, r8d
mov eax, 1
cmove ebx, eax
mov rcx, r10
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_GlobalFree]
test ebx, ebx
je 0x1400011f2
mov ecx, dword [0x7ffe02d8]
xor edx, edx
call fcn.14001bf20
jmp 0x140001227
lea rax, str.ASUSSwitch
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
lea rax, [0x140001240]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], rax
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_StartServiceCtrlDispatcherW]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001f4e0
add rsp, 0x50
pop rbx
ret
Function at 0x140002100
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x250
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edi, ecx
cmp ecx, 0xffffffff
je 0x1400022b8
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
call fcn.14001d3d0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140043ce0
lea r9, [0x140096fa0]
mov edx, 0x104
lea r8, str._sAsusSwitchAgent.exe
lea rcx, [rsp + 0x30]
call fcn.1400032c0
mov ecx, 0x61c
call fcn.14004a5f8
xor esi, esi
mov rbx, rax
test rax, rax
je 0x1400021f5
lea r8, str.ASUS_Switch_Agent_B2DAE423
mov edx, 0x104
mov rcx, rax
call fcn.140049578
lea rcx, [rbx + 0x208]
mov edx, 0x104
lea r8, [rsp + 0x30]
call fcn.140049578
lea rcx, [rbx + 0x410]
mov edx, 0x104
lea r8, [0x1400815c8]
call fcn.140049578
mov r9, rbx
mov qword [rsp + 0x28], rsi
lea r8, [0x140018840]
mov dword [rbx + 0x618], edi
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x1400021ed
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x1400021f5
mov rcx, rbx
call fcn.14004a040
lea r9, [0x140096fa0]
mov edx, 0x104
lea r8, str._sAsusSwitchNet.exe
lea rcx, [rsp + 0x30]
call fcn.1400032c0
mov ecx, 0x61c
call fcn.14004a5f8
mov rbx, rax
test rax, rax
je 0x1400022a1
lea r8, str.ASUS_Switch_Net_4751850D
mov edx, 0x104
mov rcx, rax
call fcn.140049578
lea rcx, [rbx + 0x208]
mov edx, 0x104
lea r8, [rsp + 0x30]
call fcn.140049578
lea rcx, [rbx + 0x410]
mov edx, 0x104
lea r8, [0x1400815c8]
call fcn.140049578
mov r9, rbx
mov qword [rsp + 0x28], rsi
lea r8, [0x140018840]
mov dword [rbx + 0x618], edi
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x140002299
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x1400022a1
mov rcx, rbx
call fcn.14004a040
mov rsi, qword [rsp + 0x268]
mov eax, 1
mov rbx, qword [rsp + 0x260]
jmp 0x1400022ba
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001f4e0
add rsp, 0x250
pop rdi
ret
Function at 0x140002e10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xe0]
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x50], rax
mov rbp, r9
mov rax, rdi
mov rbx, r8
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
inc rax
cmp word [r9 + rax*2], r15w
jne 0x140002e55
mov rcx, rdi
inc rcx
cmp word [rdx + rcx*2], r15w
jne 0x140002e62
add eax, ecx
mov rcx, rdi
inc rcx
cmp word [rsi + rcx*2], r15w
jne 0x140002e71
add eax, ecx
lea eax, [rax*2 + 0x18]
mov dword [rsp + 0x58], eax
test eax, eax
je 0x140003051
mov ecx, eax
mov qword [rsp + 0x78], r13
call fcn.14001f888
mov r13, rax
test rax, rax
je 0x14000302c
mov r9d, 0x10
mov qword [rsp + 0x80], r12
mov edx, r9d
mov r8, rbx
mov rcx, rax
call fcn.1400022e0
mov rbx, rdi
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r15w
jne 0x140002ed0
add ebx, ebx
lea rax, [r13 + 0x10]
test rax, rax
jne 0x140002ef7
call fcn.1400461c0
mov dword [rax], 0x16
call fcn.140046070
jmp 0x140002ef9
mov dword [rax], ebx
mov rax, rdi
nop dword [rax]
cmp word [r14 + rax*2 + 2], r15w
lea rax, [rax + 1]
jne 0x140002f00
lea r12d, [rax + rax]
lea rax, [r13 + 0x14]
test rax, rax
jne 0x140002f2b
call fcn.1400461c0
mov dword [rax], 0x16
call fcn.140046070
jmp 0x140002f2e
mov dword [rax], r12d
lea rcx, [r13 + 0x18]
mov r9, rbx
mov r8, rsi
mov rdx, rbx
call fcn.1400022e0
add ebx, 0x18
mov edx, r12d
mov ecx, ebx
mov r8, r14
add rcx, r13
mov r9d, r12d
call fcn.1400022e0
nop word [rax + rax]
inc rdi
cmp word [rbp + rdi*2], r15w
jne 0x140002f60
add edi, edi
lea ecx, [r12 + rbx]
mov edx, edi
add rcx, r13
mov r9d, edi
mov r8, rbp
call fcn.1400022e0
mov edx, dword [rsp + 0x58]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], r15
mov rcx, r13
mov dword [rsp + 0x40], r15d
call fcn.140002390
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x80]
test eax, eax
je 0x140003017
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call fcn.140006030
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140003017
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x58]
mov rdx, rdi
mov qword [rsp + 0x20], r15
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
mov ebx, r15d
mov ebp, 1
test eax, eax
mov rcx, rsi
cmovne ebx, ebp
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test ebx, ebx
cmovne r15d, ebp
test rdi, rdi
je 0x140003024
mov rcx, rdi
call fcn.14001f854
mov rcx, r13
call fcn.14001f854
mov r13, qword [rsp + 0x78]
mov eax, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001f4e0
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, r15d
jmp 0x140003034
Function at 0x140003060
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, qword [rsp + 0x110]
xor edi, edi
mov qword [rsp + 0x58], r9
mov r13, r8
mov qword [rsp + 0x50], rdx
xor r9d, r9d
mov qword [rsp + 0x48], rcx
mov edx, 0x80000000
lea r8d, [rdi + 3]
mov dword [rsp + 0x28], 0x80
mov rcx, rbx
mov dword [rsp + 0x20], 3
mov r14d, edi
mov r12d, edi
mov ebp, edi
call fcn.140006030
mov r15, rax
test rax, rax
je 0x14000328b
lea r8, [rsp + 0x68]
mov qword [rsp + 0xa8], rsi
mov rcx, rbx
call fcn.140006120
test eax, eax
je 0x140003158
mov eax, dword [rsp + 0x84]
mov edx, 0xfffffffd
mov esi, dword [rsp + 0x88]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x60], esi
mov rcx, qword [rsp + 0x60]
lea rax, [rcx - 1]
cmp rax, rdx
ja 0x140003158
call fcn.14001f888
mov rbx, rax
test rax, rax
je 0x140003158
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rdi
mov r8d, esi
mov rdx, rax
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x140003150
lea ebp, [rdi + 1]
mov r14, rbx
mov r12d, esi
jmp 0x140003158
mov rcx, rbx
call fcn.14001f854
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test ebp, ebp
je 0x140003276
lea r9, [rsp + 0x60]
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x60], edi
mov edx, r12d
mov rcx, r14
call fcn.140002980
mov rbx, qword [rsp + 0x40]
test eax, eax
je 0x140003269
cmp dword [rsp + 0x60], 0x10
jb 0x140003269
mov r9d, 0x10
mov r8, rbx
mov edx, r9d
mov rcx, r13
call fcn.1400022e0
cmp dword [rsp + 0x60], 0x18
jb 0x140003269
lea rbp, [rbx + 0x10]
test rbp, rbp
je 0x1400031cc
mov ebp, dword [rbp]
jmp 0x1400031dc
call fcn.1400461c0
mov dword [rax], 0x16
call fcn.140046070
lea rsi, [rbx + 0x14]
test rsi, rsi
je 0x1400031e9
mov esi, dword [rsi]
jmp 0x1400031f9
call fcn.1400461c0
mov dword [rax], 0x16
call fcn.140046070
lea eax, [rbp + 0x18]
add eax, esi
cmp eax, dword [rsp + 0x60]
ja 0x140003269
cmp ebp, 0x208
ja 0x140003269
cmp esi, 0x208
ja 0x140003269
mov rcx, qword [rsp + 0x48]
lea r8, [rbx + 0x18]
mov edx, ebp
mov r9d, ebp
call fcn.1400022e0
mov rcx, qword [rsp + 0x50]
add ebp, 0x18
mov r8d, ebp
add r8, rbx
mov edx, esi
mov r9d, esi
call fcn.1400022e0
mov edx, dword [rsp + 0x60]
add ebp, esi
sub edx, ebp
lea eax, [rdx - 1]
cmp eax, 0x207
ja 0x140003269
mov rcx, qword [rsp + 0x58]
mov r9d, edx
mov r8d, ebp
add r8, rbx
call fcn.1400022e0
mov edi, 1
test rbx, rbx
je 0x140003276
mov rcx, rbx
call fcn.14001f854
mov rsi, qword [rsp + 0xa8]
test r14, r14
je 0x14000328b
mov rcx, r14
call fcn.14001f854
mov eax, edi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14001f4e0
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret