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

Disassembly:
test rax, rax
jmp 0x14046c796
jmp 0x14047a518
lea rsp, [rsp + 0x20]
je 0x14048fd3e
jmp 0x14048a397
Function at 0x140003050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x70
cmp qword [rcx + 0xe30], 0
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm1
movaps xmmword [rsp + 0x50], xmm7
movaps xmm7, xmm2
jne 0x140003091
mov r8d, 0x614
lea rdx, [0x140046820]
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x38c9], 0
mov rbp, qword [rbx + 0xe30]
je 0x140003260
movss xmm1, dword [0x140054610]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x90], r14
jbe 0x1400030e5
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x1400030de
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x1400030dc
je 0x1400030de
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x14000310a
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140003103
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140003101
je 0x140003103
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
lea r14, [rbp + 0x3f78]
mov qword [rsp + 0x88], rdi
mov ebx, dword [r14]
sub ebx, 1
movsxd rsi, ebx
js 0x140003161
imul rdi, rsi, 0x1c
cmp ebx, dword [r14]
jl 0x140003147
mov r8d, 0x793
lea rdx, [0x1400465e0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 8]
cmp dword [rdi + rax], 1
je 0x1400031f7
dec ebx
sub rdi, 0x1c
sub rsi, 1
jns 0x140003128
movsd xmm0, qword [rbp + 0xe40]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x14000319f
jne 0x14000319f
ucomiss xmm1, xmm7
jp 0x14000319f
je 0x140003258
mov eax, dword [rbp + 0x3f9c]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rbp + 0x3f9c], eax
mov ecx, dword [r14]
mov r8d, dword [r14 + 4]
mov eax, dword [rbp + 0x3f98]
movss dword [rsp + 0x3c], xmm6
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], eax
cmp ecx, r8d
jne 0x14000322d
inc ecx
test r8d, r8d
je 0x140003219
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000321e
movss xmm0, dword [rdi + rax + 0xc]
movss xmm1, dword [rdi + rax + 0x10]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140003174
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.140020050
movsxd rax, dword [r14]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
imul rcx, rax, 0x1c
mov rax, qword [r14 + 8]
movups xmmword [rcx + rax], xmm0
movsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], 0
inc dword [r14]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop rbp
ret
Function at 0x140003750
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400037ad
lea rbx, [0x14004c0a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003794
cmp r10, 2
jb 0x140003794
cmp byte [r9], r8b
jne 0x140003794
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003770
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400037ef
lea rbx, [0x14004c0a0]
cmp r8b, 0x23
jne 0x1400037d3
cmp byte [r9], r8b
jne 0x1400037d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400037c0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140003990
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x1400039c5
mov r8d, 0x837
lea rdx, [0x140046820]
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x1400039d0
mov qword [rsi], r14
lea rdx, [0x14004b868]
mov rcx, rbx
call fcn.140003800
mov rbx, rax
test rax, rax
jne 0x1400039f8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003b22
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003b22
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003b22
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003b22
cmp rdi, 0xffffffffffffffff
je 0x140003b22
mov rcx, rdi
call fcn.140007d80
mov rbp, rax
test rax, rax
je 0x140003b22
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140003b0f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14005b1d0]
test r8, r8
je 0x140003b04
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003af9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003b2b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003b1d
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003b2d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140012440
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x100], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x14001247c
mov r8d, 0x79c
lea rdx, [0x1400465e0]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x108]
lea rdx, [0x14004c0a0]
movsxd r8, dword [rsi + 0x100]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x1400124f7
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001e8f0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400175c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14005b1d0]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140017612
cmp byte [rbx + 0x4d4e], 0
jne 0x140017612
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003550
test dil, 2
je 0x14001773f
jmp 0x14001769b
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400545ac]
xor eax, eax
mulss xmm1, dword [0x1400545a0]
addss xmm0, dword [rbx + 0xe40]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x140054518]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
movsx r9d, word [rbx + 0x5eb8]
call fcn.140003550
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400176f0
lea r11, [0x14004c0a0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400176d3
cmp byte [r8], r9b
jne 0x1400176d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400176c0
not ecx
call fcn.14000b5a0
test rax, rax
je 0x14001773f
cmp byte [rax + 0xbe], 0
je 0x14001773f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.140003550
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000e740
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001d0f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6010], 0
lea rbx, [rcx + 0x6018]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001d197
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001d14a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001fc20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004140
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6020]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14005b1c8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001d19f
mov rcx, rbx
call fcn.140004140
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d4e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x14005b1d0]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x14001d5dc
cmp dword [rbx + 0x5f90], ebp
je 0x14001d527
mov r8d, 0x349d
lea rdx, [0x140046820]
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001d5d5
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003990
mov rdi, rax
test rax, rax
je 0x14001d5d5
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001d561
mov rcx, rax
call fcn.14001d730
mov r8, qword [0x14005b1d0]
test r8, r8
je 0x14001d5cc
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001d5c1
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001d679
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x14001d679
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001d667
mov rax, qword [0x14005b1d0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.14001d9b0
lea rdx, [0x14004b86c]
mov rcx, rdi
mov rsi, rax
call fcn.140003800
mov rdi, rax
test rax, rax
je 0x14001d66e
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001d66e
mov byte [rbx + 0xce], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d690
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14005b1d0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001d6f3
mov qword [rsp], rbx
lea rbx, [0x14004c0a0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001d6d3
cmp byte [r8], r9b
jne 0x14001d6d3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001d6c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001d71f
cmp dword [r8 + 8], eax
je 0x14001d726
add r8, 0x48
cmp r8, rcx
jne 0x14001d710
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003e350
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov r10d, 0xffffffff
movaps xmmword [rsp + 0x30], xmm6
mov ecx, r10d
lea r8, [0x14004b771]
movaps xmm6, xmm3
lea rbx, [0x14004c0a0]
mov r11, rdx
mov r9b, 0x23
nop
cmp r9b, 0x23
jne 0x14003e393
cmp byte [r8], r9b
jne 0x14003e393
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14003e380
not ecx
call fcn.14000b5a0
xor edi, edi
test rax, rax
je 0x14003e3ca
cmp word [rax + 0xcc], di
jne 0x14003e499
test r11, r11
jne 0x14003e402
mov rbx, qword [0x14005b1d0]
cmp dword [rbx + 0x4b08], edi
jg 0x14003e3f8
mov r8d, 0x793
lea rdx, [0x1400465e0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4b10]
mov r11, qword [rax]
movss xmm1, dword [r11 + 0xb8]
movss xmm0, dword [r11 + 0x10]
movaps xmm3, xmm1
addss xmm3, dword [r11 + 8]
movss xmm2, dword [r11 + 0xbc]
subss xmm0, xmm1
addss xmm2, dword [r11 + 0xc]
mov rax, qword [0x14005b1d0]
xorps xmm1, xmm1
addss xmm0, dword [r11 + 0xc0]
or dword [rax + 0x4a00], 3
mov qword [rax + 0x4a18], rdi
mov dword [rax + 0x4a04], 1
maxss xmm1, xmm0
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movsd qword [rax + 0x4a10], xmm0
mov dword [rax + 0x4a08], 1
addss xmm1, xmm3
subss xmm1, xmm3
unpcklps xmm1, xmm6
movsd qword [rax + 0x4a20], xmm1
addss xmm6, dword [r11 + 0xbc]
movss dword [r11 + 0xbc], xmm6
mov rbx, qword [0x14005b1d0]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 3
movss xmm0, dword [rbx + 0x38f8]
lea rcx, [rbx + 0x4a88]
movss dword [rsp + 0x24], xmm0
call fcn.14001f4e0
mov dword [rbx + 0x38f8], edi
lea rdx, [rsp + 0x20]
mov rbx, qword [0x14005b1d0]
mov dword [rsp + 0x20], 5
movss xmm1, dword [rbx + 0x3900]
lea rcx, [rbx + 0x4a88]
movss xmm0, dword [rbx + 0x3904]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.14001f4e0
xor edx, edx
mov qword [rbx + 0x3900], rdi
mov r8d, 0x50f
lea rcx, str.MainMenuBar
call fcn.14000e740
mov ecx, 2
movzx ebx, al
call fcn.140004570
movaps xmm6, xmmword [rsp + 0x30]
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140044b74
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140044bbe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140044bbe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140044bbe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140044bbe
cmp dword [rcx + 0x84], 0xe
jbe 0x140044bbe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140044bc0
xor al, al
add rsp, 0x28
ret
Function at 0x180007ef0
Capabilities:
Find taskbar

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x180066010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
call fcn.180008040
cmp dword [0x180068fb8], 0x4000
je 0x180007feb
call fcn.180008040
cmp dword [0x180068fb8], 0x8000
je 0x180007feb
call fcn.180008040
xor ecx, ecx
cmp dword [0x180068fb8], 0x400
jl 0x180007f73
lea r8, [rsp + 0x20]
lea rdx, [0x180007e10]
call qword [sym.imp.USER32.dll_EnumChildWindows]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180012d60
add rsp, 0x50
pop rbx
ret
xor r9d, r9d
lea r8, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
je 0x180007f5b
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
mov rcx, rax
movdqu xmmword [rsp + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, 5
lea rcx, [rsp + 0x30]
mov r8d, edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rcx, rbx
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x2c], eax
mov rdx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_ChildWindowFromPointEx]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180012d60
add rsp, 0x50
pop rbx
ret
xor r9d, r9d
lea r8, str.Shell_TrayWnd
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x18000801c
xor r9d, r9d
lea r8, str.Start
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180012d60
add rsp, 0x50
pop rbx
ret
Function at 0x1800085b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180008625
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180008625
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x180008615
nop
cmp rbx, rcx
jae 0x180008625
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x180008600
cmp rbx, rcx
jae 0x180008625
cmp word [rbx], 0
je 0x180008625
mov rax, rbx
jmp 0x180008627
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180008b60
Capabilities:
Find taskbar

Disassembly:
sub rsp, 0x58
mov ecx, dword [0x180067be4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180069038], ecx
jle 0x180008bb4
lea rcx, [0x180069038]
call fcn.180012f9c
cmp dword [0x180069038], 0xffffffff
jne 0x180008bb4
lea rcx, [0x180044d10]
call fcn.180013498
lea rcx, [0x180069038]
call fcn.180012f3c
xor edx, edx
mov qword [rsp + 0x40], rdi
lea rcx, str.XLauncherWnd_lds
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x180008ce6
cmp qword [section..menu_sh], rax
jne 0x180008ce6
xor r9d, r9d
mov qword [rsp + 0x50], rbx
lea r8, str.Shell_TrayWnd
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x180008c72
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], edi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x180008c72
mov r8, qword [0x180068f88]
lea rdx, [0x180009970]
mov r9d, eax
lea ecx, [rdi + 3]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [section..menu_sh], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 5]
lea rax, [rsp + 0x68]
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x4e20
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
jne 0x180008c83
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5b4
jne 0x180008c83
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x58
ret
lea r9, str.KNHookComplete_lds
mov qword [rsp + 0x48], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
test rax, rax
je 0x180008cd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180008cd0
mov edx, 0x2710
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
sete dil
mov rsi, qword [rsp + 0x48]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
add rsp, 0x58
ret
lea rcx, [rsp + 0x70]
xor edi, edi
mov qword [rsp + 0x30], rcx
xor r9d, r9d
mov dword [rsp + 0x28], 0x3e8
mov rcx, rax
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov edx, 0xbd0
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov eax, edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x180008d20
Capabilities:
Set application hook

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x180067be4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180069038], ecx
jle 0x180008d74
lea rcx, [0x180069038]
call fcn.180012f9c
cmp dword [0x180069038], 0xffffffff
jne 0x180008d74
lea rcx, [0x180044d10]
call fcn.180013498
lea rcx, [0x180069038]
call fcn.180012f3c
mov rcx, qword [section..menu_sh]
test rcx, rcx
je 0x180008d96
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov qword [section..menu_sh], 0
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x180008e10
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
call fcn.180007d00
mov rcx, rax
test rax, rax
je 0x180009016
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x41], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
xor r14d, r14d
mov dword [rbp - 0x49], r14d
lea rdx, [0x180058218]
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rdx + rax*2], r14w
jne 0x180008e71
mov r8d, eax
lea rcx, [rbp - 0x41]
call fcn.1800078e0
nop
lea rdx, str.Explorer_Invoke
lea rcx, [rbp + 0x67]
call fcn.180008890
mov rbx, rax
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
jne 0x180008f18
lea rdx, [rcx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180008ebd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp - 0x59]
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x180008ed3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test rdi, rdi
je 0x180008ee1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x180008efd
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, r14d
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov dword [rbp - 0x49], 8
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 8
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbp - 0x59], rax
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180008f5e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp dword [rbp - 0x59], 0
je 0x180008ebd
mov rdi, qword [rbp - 0x59]
mov rbx, qword [rbp - 0x51]
test rdi, rdi
je 0x180008ec5
test rbx, rbx
jne 0x180008fab
mov qword [rsp + 0x20], 8
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov qword [rbp - 0x51], rax
test rax, rax
je 0x180008ec5
mov dword [rbx + 0x618], 0xfffffffe
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rbp - 0x29]
call fcn.180026920
mov dword [rbp - 0x29], 0x70
mov dword [rbp - 0x25], 0x40
mov qword [rbp - 0x11], rbx
lea rax, [rbx + 0x208]
mov qword [rbp - 9], rax
lea rax, [rbx + 0x410]
mov qword [rbp - 1], rax
mov r14d, 1
mov dword [rbp + 7], r14d
lea rcx, [rbp - 0x29]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [rbx + 0x618], eax
mov rax, qword [rbp + 0x3f]
mov qword [rbx + 0x620], rax
jmp 0x180008ec5
mov ecx, 0x80004005
call fcn.180007a90
int3