joyce8/EMBER2024-capa huggingface dataset:
Function at 0x13cb8
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x00023100]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r8d, 0x20
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.0001b210
mov r8d, 0x28
mov edx, 0xff
lea rcx, [rsp + 0x30]
call fcn.0001b210
mov dword [rsp + 0x58], 0xffffffff
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_IoCheckDesiredAccess]
mov dword [rsp + 0xb4], eax
mov rax, qword [0x00023598]
add rax, 0x4b96
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x20], 0
mov r9d, 0x1d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_IoAcquireRemoveLockEx]
xor eax, eax
mov word [rsp + 0xb0], ax
jmp 0x13d66
movzx eax, word [rsp + 0xb0]
add eax, 4
mov word [rsp + 0xb0], ax
movzx eax, word [rsp + 0xb0]
cmp eax, 0x1d8
jge 0x13e15
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlSetGroupSecurityDescriptor]
mov r11, qword [0x00023240]
mov al, byte [r11]
mov byte [0x000235a4], al
mov rax, qword [sym.imp.ntoskrnl.exe_IoSetShareAccess]
mov qword [0x00023570], rax
cmp dword [rsp + 0xb4], 0xc0000022
jne 0x13dc7
mov dword [rsp + 0xb8], 0xe4
jmp 0x13dd2
mov dword [rsp + 0xb8], 0x4b64
movzx ecx, byte [0x000235a4]
add ecx, dword [rsp + 0xb8]
mov rax, qword [rsp + 0x98]
mov byte [rax], cl
mov rax, qword [rsp + 0x98]
add rax, 1
mov qword [rsp + 0x98], rax
mov rax, qword [0x00023240]
add rax, 1
mov qword [0x00023240], rax
jmp 0x13d53
lea rdx, [0x000210c0]
mov ecx, 0xa719
call qword [sym.imp.ntoskrnl.exe_RtlCheckRegistryKey]
mov rax, qword [0x00023598]
add rax, 0x4c0c
mov qword [rsp + 0x60], rax
xor eax, eax
mov word [rsp + 0xb0], ax
jmp 0x13e58
movzx eax, word [rsp + 0xb0]
add eax, 4
mov word [rsp + 0xb0], ax
movzx eax, word [rsp + 0xb0]
cmp eax, 0x1dc
jge 0x13ed5
mov rax, qword [0x00023248]
mov al, byte [rax]
mov byte [0x000235a4], al
cmp dword [rsp + 0xb4], 0xc0000022
jne 0x13e90
mov dword [rsp + 0xbc], 0xdd
jmp 0x13e9b
mov dword [rsp + 0xbc], 0x1586
movzx ecx, byte [0x000235a4]
add ecx, dword [rsp + 0xbc]
mov rax, qword [rsp + 0x60]
mov byte [rax], cl
mov rax, qword [rsp + 0x60]
add rax, 1
mov qword [rsp + 0x60], rax
mov rax, qword [0x00023248]
add rax, 1
mov qword [0x00023248], rax
jmp 0x13e45
mov rax, qword [0x00023598]
add rax, 0x4c83
mov qword [rsp + 0x68], rax
xor eax, eax
mov word [rsp + 0xb0], ax
jmp 0x13f06
movzx eax, word [rsp + 0xb0]
add eax, 4
mov word [rsp + 0xb0], ax
movzx ecx, word [rsp + 0xb0]
mov eax, dword [0x00023584]
shl eax, 2
cmp ecx, eax
jae 0x13f68
mov rax, qword [0x00023250]
mov al, byte [rax]
mov byte [0x000235a4], al
movzx ecx, byte [0x000235a4]
mov eax, dword [rsp + 0xb4]
xor eax, 0xc0000007
sub ecx, eax
mov rax, qword [rsp + 0x68]
mov byte [rax], cl
mov rax, qword [rsp + 0x68]
add rax, 1
mov qword [rsp + 0x68], rax
mov rax, qword [0x00023250]
add rax, 1
mov qword [0x00023250], rax
jmp 0x13ef3
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.0001ae60
add rsp, 0xd8
ret
Function at 0x141b4c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141b4c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141b4c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b4c06f
add dl, dl
jne 0x141b4c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b4c0f6
xor eax, eax
add dl, dl
jne 0x141b4c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b4c1ad
add dl, dl
jne 0x141b4c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b4c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b4c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b4c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141b4c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141b4c07e
mov eax, 1
add dl, dl
jne 0x141b4c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b4c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b4c0fb
sub eax, ebx
mov ebx, 1
jne 0x141b4c14c
mov ecx, 1
add dl, dl
jne 0x141b4c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b4c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b4c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b4c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141b4c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b4c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b4c15d
cmp eax, 0x7d00
jae 0x141b4c19b
cmp eax, 0x500
jb 0x141b4c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b4c07e
cmp eax, 0x7f
ja 0x141b4c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b4c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141b4c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141b4c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400558b0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400558c0]
mov dword [rax], 1
mov rax, qword [0x1400558d0]
mov dword [rax], 1
mov rax, qword [0x140055860]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400558a0]
mov dword [0x14005800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140055980]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140055960]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140055810]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001553
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov rcx, rax
mov rax, qword [rbp + 0x18]
mov r8, rax
lea rax, str.____Tasked_to_resolve_hash:_0x_llx_n
mov rdx, rax
call sym.fprintf
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x88]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x40], rax
mov dword [rbp - 0xc], 0
jmp 0x1400016cc
mov eax, dword [rbp - 0xc]
lea rdx, [rax*4]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x48], rax
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x48]
mov rcx, rax
call sym.Hash
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
cmp rax, qword [rbp + 0x18]
jne 0x1400016c8
mov eax, dword [rbp - 0xc]
lea rdx, [rax + rax]
mov rax, qword [rbp - 0x38]
add rax, rdx
movzx eax, word [rax]
mov word [rbp - 0x52], ax
movzx eax, word [rbp - 0x52]
lea rdx, [rax*4]
mov rax, qword [rbp - 0x40]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp - 0x58], eax
mov edx, dword [rbp - 0x58]
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 8], rax
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov rcx, rax
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9, r8
mov r8, rdx
lea rax, str.___Found:__s__0x_llx__at_0x_llx_n_n
mov rdx, rax
call sym.fprintf
jmp 0x1400016dc
add dword [rbp - 0xc], 1
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rbp - 0xc], eax
jb 0x140001615
mov rax, qword [rbp - 8]
add rsp, 0x90
pop rbp
ret

Function at 0x140001da0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001e10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400580a4]
mov rbx, rcx
test esi, esi
jle 0x140001f40
mov rax, qword [0x1400580a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001e5b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001ee5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001e40
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001f62
mov rax, qword [0x1400580a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400580a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001f47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001ede
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001ef0
add dword [0x1400580a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400580a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001ede
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001e68
mov rax, qword [0x1400580a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400024d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140058100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400580e0]
test rbx, rbx
je 0x14000252c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002523
test rsi, rsi
je 0x140002523
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002508
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002740
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002758
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002760
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002770
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400027bd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400027b4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400027bf
add rax, 0x28
cmp rax, r9
jne 0x1400027a0
xor eax, eax
ret

Function at 0x1400027c0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002850
mov rdx, qword [0x140055860]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000283e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000283e
cmp word [rax + 0x18], 0x20b
jne 0x14000283e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002850
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002829
add rbx, 0x28
cmp rbx, rdi
je 0x140002850
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002820
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002860
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140055860]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002880
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002888
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002880
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400028dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400028d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002880
add rax, 0x28
cmp rax, r9
jne 0x1400028c0
xor eax, eax
ret

Function at 0x1400028e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140055860]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400028ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002908
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400028ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002920
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140055860]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002940
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002948
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002940
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002990
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002987
test rcx, rcx
je 0x140002940
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002978
xor eax, eax
ret
Function at 0x1400029a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140055860]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400029bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400029c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400029e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140055860]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002a00
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002a08
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002a00
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002a00
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002a54
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002a60
add rdx, 0x28
cmp r9, rdx
jne 0x140002a40
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002a70
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140055860]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002a92
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002aa0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002a92
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002a92
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002a92
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002af5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002b08
add rdx, 0x28
cmp rdx, r10
jne 0x140002ae0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002b17
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002b27
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002afe
test ecx, ecx
jg 0x140002b10
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x180007fe0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1801a8080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.1801023f0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18000805e
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x18000803e
mov rdx, qword [rbx]
lea rcx, [rsp + 0x4c]
call fcn.180104c68
mov rcx, rdi
test eax, eax
je 0x18000808a
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180008031
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800e2d00
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x180008069
Function at 0x180011210
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x850
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1801a8080]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x180011261
mov rcx, qword [rdx]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rsi, rax
mov rbp, qword [rdi + 0x18]
test rax, rax
jne 0x18001127f
mov rsi, rdi
cmp rbp, 8
jb 0x18001127f
mov rsi, qword [rdi]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x40]
call fcn.1801023f0
mov r9, qword [rdi + 0x10]
cmp rbp, 8
jb 0x18001129e
mov rdi, qword [rdi]
mov r8, rdi
mov edx, 0x3ff
lea rcx, [rsp + 0x40]
call fcn.180107fc8
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.MxStart.exe
mov rcx, rsi
call fcn.180104c68
test eax, eax
jne 0x18001132c
lea rdx, str.Maxthon.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800113f5
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x180011310
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18000c0b0
jmp 0x180011418
lea rdx, str.TSBrowserLauncher.exe
mov rcx, rsi
call fcn.180104c68
test eax, eax
jne 0x180011394
lea rdx, str.TSBrowser.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800113f5
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x180011380
lea rdx, [rsp + 0x40]
jmp 0x18001140f
lea rdx, str.DCBrowserLauncher.exe
mov rcx, rsi
call fcn.180104c68
test eax, eax
jne 0x1800113f5
lea rdx, str.DCBrowser.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800113f5
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x1800113e4
lea rdx, [rsp + 0x40]
jmp 0x18001140f
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
xor r8d, r8d
lea rdx, [0x180156244]
mov rcx, rbx
call fcn.18000c0b0
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1800e2d00
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180014cb0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1801a8080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
test rcx, rcx
je 0x180014e60
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov ecx, dword [rax + 0x90]
test ecx, ecx
je 0x180014e60
lea r14, [rsi + rcx]
cmp dword [r14], 0
je 0x180014e60
lea r12, [0x180158d88]
movabs r13, 0x8000000000000000
xor r15d, r15d
nop dword [rax + rax]
mov ebx, dword [r14 + 0xc]
add rbx, rsi
lea rcx, [0x180158d40]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd r8, eax
lea rdx, [0x180158d40]
mov rcx, rbx
call fcn.180117da0
test eax, eax
jne 0x180014e52
mov edi, dword [r14]
add rdi, rsi
mov rax, qword [rdi]
test rax, rax
je 0x180014e52
js 0x180014e42
cmp r12, r13
jae 0x180014e42
lea rbx, [rsi + 2]
add rbx, rax
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x180014da5
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1800121f0
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
mov rdx, r12
call fcn.18010f458
test eax, eax
jne 0x180014df7
mov dword [rbp - 0x40], r15d
lea r9, [rbp - 0x40]
lea r8d, [rax + 0x40]
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180014e8c
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180014e32
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014e2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180014ef4
call fcn.1800e2d24
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
add rdi, 8
mov rax, qword [rdi]
test rax, rax
jne 0x180014d70
add r14, 0x14
cmp dword [r14], 0
jne 0x180014d30
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800e2d00
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, str.kernel23
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.1801080d8
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180014ed7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014ed2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180014eee
call fcn.1800e2d24
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov al, 1
jmp 0x180014e62
call fcn.180107ee8
int3
call fcn.180107ee8
int3