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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x1400431a0]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov rbx, r8
lea rax, [rsp + 0x38]
mov r14, rdx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetControlKeyboard_Layouts
mov r9d, 0xf003f
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400109dd
mov qword [rsp + 0x710], rsi
lea r8d, [rax + 0x64]
xor edx, edx
mov qword [rsp + 0x718], rdi
lea rcx, [rsp + 0x50]
call fcn.1400139c0
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x208
call fcn.1400139c0
mov rcx, qword [rsp + 0x38]
lea r8, [rbp - 0x40]
xor edi, edi
mov r9d, 0x104
xor edx, edx
mov esi, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1400109c2
cmp edi, 0x2710
jge 0x1400109c2
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x40]
inc edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140010913
xor edx, edx
mov dword [rsp + 0x40], 0x32
mov r8d, 0x208
lea rcx, [rbp + 0x3e0]
call fcn.1400139c0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.Ime_File
lea rax, [rsp + 0x50]
mov dword [rsp + 0x44], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, str.Layout_Text
lea rax, [rbp + 0x3e0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x50]
call fcn.140018fa4
mov r8, r14
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140010904
add rax, 2
test ecx, ecx
jne 0x1400108f0
test edx, edx
je 0x140010939
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
lea r8, [rbp - 0x40]
inc esi
mov r9d, 0x104
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x140010834
jmp 0x1400109c2
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x208
call fcn.1400139c0
lea rcx, [rbp + 0x1d0]
sub rcx, rbx
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140010960
lea rcx, [rbp + 0x1d0]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140010980
mov rcx, qword [rsp + 0x30]
lea rdx, str.Layout_Text
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x718]
mov rsi, qword [rsp + 0x710]
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.1400126d0
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001de54
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14001dc28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001dc28
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001dc28
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001dc28
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001dc28
cmp dword [rcx + 0x84], 0xe
jbe 0x14001dc28
cmp dword [rcx + 0xf8], esi
je 0x14001dc28
mov ecx, r14d
call fcn.14001dd70
mov ecx, 2
call fcn.14001af38
nop
cmp byte [0x1400462a0], 0
jne 0x14001dcf2
mov r15d, 1
mov eax, r15d
xchg dword [0x140046290], eax
test ebx, ebx
jne 0x14001dc9b
mov rdi, qword [0x1400431a0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140046298]
cmp rcx, rax
je 0x14001dc92
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140010560]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400464e0]
jmp 0x14001dca7
cmp ebx, r15d
jne 0x14001dcad
lea rcx, [0x1400464f8]
call fcn.14001ea4c
nop
test ebx, ebx
jne 0x14001dcc4
lea rdx, [0x14002d5d0]
lea rcx, [0x14002d5b0]
call fcn.14001ed68
lea rdx, [0x14002d5e0]
lea rcx, [0x14002d5d8]
call fcn.14001ed68
movzx eax, byte [0x1400462a0]
test esi, esi
cmove eax, r15d
mov byte [0x1400462a0], al
jmp 0x14001dcf2
mov ecx, 2
call fcn.14001af8c
test esi, esi
jne 0x14001dd09
mov ecx, r14d
call fcn.14001dd24
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14001dbb8
Function at 0xac29b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xac29bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xac29cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xac29b5
lea eax, [rcx + 1]
jmp 0xac29db
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xac29ee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xac29d4
sub eax, 3
jb 0xac2a0e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xac2a5d
sar eax, 1
movsxd rbp, eax
jb 0xac2a44
jmp 0xac2a1c
add ebx, ebx
jne 0xac2a1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xac2a44
inc ecx
add ebx, ebx
jne 0xac2a2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xac2a44
call r11
adc ecx, ecx
add ebx, ebx
jne 0xac2a3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xac2a2c
add ecx, 2
jmp 0xac2a49
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00ac2972
jmp 0xac29bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x220e00
mov dl, 0x55
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xac2aa9
cmp rsi, rcx
jae 0xac2ab1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xac2a90
cmp al, 0x8f
ja 0xac2a90
cmp byte [rsi - 2], 0xf
je 0xac2a96
sub al, 0xe8
cmp al, 1
ja 0xac2a7a
cmp rsi, rcx
jae 0xac2ab1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xac2a80
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xac2ab1
lodsb al, byte [rsi]
jmp 0xac2a90
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x6bc000]
mov eax, dword [rdi]
or eax, eax
je 0xac2b0e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6c2000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xac2abe
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xac2b08
mov qword [rbx], rax
add rbx, 8
jmp 0xac2ade
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xac2b52
cmp al, 0xef
ja 0xac2b3a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xac2b1a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xac2b29
mov eax, dword [rdi]
add rdi, 4
jmp 0xac2b29
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xac2ba6
sub rsp, 0xffffffffffffff80
jmp 0x465f60
Function at 0x180003180
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1800843d0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdx, qword [0x18008aff8]
mov rdi, rcx
test rdx, rdx
jne 0x180003267
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
mov dword [rsp + 0x4c], 0x7865742e
mov byte [rsp + 0x50], 0x74
movsxd rdx, dword [rax + 0x3c]
movzx ecx, word [rdx + rax + 0x14]
lea r8, [rdx + rax]
add rcx, 0x18
add r8, rcx
movzx ecx, word [rdx + rax + 6]
lea rdx, [rcx + rcx*4]
lea r11, [r8 + rdx*8]
cmp r8, r11
je 0x180003223
lea r9, [rsp + 0x4c]
sub r9, r8
lea r10, [r8 + 5]
mov rax, r8
cmp r8, r10
je 0x180003223
nop
movsx edx, byte [r9 + rax]
movzx ecx, byte [rax]
cmp ecx, edx
jne 0x180003216
inc rax
cmp rax, r10
jne 0x180003200
jmp 0x180003223
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x1800031f2
mov eax, dword [r8 + 8]
mov ecx, dword [r8 + 0xc]
add rcx, rbx
mov word [rsp + 0x48], 0x26ff
lea rdx, [rax + rcx]
cmp rax, 2
jb 0x180003260
movzx eax, word [rsp + 0x48]
lea r8, [rdx - 2]
cmp ax, word [rcx]
je 0x18000325d
nop dword [rax]
cmp rcx, r8
je 0x180003260
inc rcx
cmp ax, word [rcx]
jne 0x180003250
mov rdx, rcx
mov qword [0x18008aff8], rdx
mov rax, qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
xor ebx, ebx
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor eax, eax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rbx
lea edx, [rbx + 8]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.180031e10
test eax, eax
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003a5b0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x180003750
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rax, qword [0x1800843d0]
xor rax, rsp
mov qword [rsp + 0x58], rax
movss xmm1, dword [rdx + 4]
mov rdi, rdx
subss xmm1, dword [rcx + 4]
movss xmm6, dword [0x1800799ac]
mov rbx, rcx
movaps xmm2, xmm6
call fcn.18000e860
movss xmm1, dword [rdi]
movaps xmm2, xmm6
subss xmm1, dword [rbx]
movaps xmm7, xmm0
call fcn.18000e860
movss xmm1, dword [rdi + 8]
addss xmm7, xmm0
subss xmm1, dword [rbx + 8]
movaps xmm2, xmm6
call fcn.18000e860
mov rdx, qword [0x18008afa0]
movaps xmm6, xmm0
addss xmm6, xmm7
test rdx, rdx
jne 0x180003897
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
mov dword [rsp + 0x4c], 0x7865742e
mov byte [rsp + 0x50], 0x74
movsxd rdx, dword [rax + 0x3c]
movzx ecx, word [rdx + rax + 0x14]
lea r8, [rdx + rax]
add rcx, 0x18
add r8, rcx
movzx ecx, word [rdx + rax + 6]
lea rdx, [rcx + rcx*4]
lea r11, [r8 + rdx*8]
cmp r8, r11
je 0x180003853
lea r9, [rsp + 0x4c]
sub r9, r8
nop dword [rax]
lea r10, [r8 + 5]
mov rdx, r8
cmp r8, r10
je 0x180003853
nop dword [rax]
movsx ecx, byte [r9 + rdx]
movzx eax, byte [rdx]
cmp eax, ecx
jne 0x180003846
inc rdx
cmp rdx, r10
jne 0x180003830
jmp 0x180003853
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x180003820
mov eax, dword [r8 + 8]
mov ecx, dword [r8 + 0xc]
add rcx, rbx
mov word [rsp + 0x48], 0x26ff
lea rdx, [rax + rcx]
cmp rax, 2
jb 0x180003890
movzx eax, word [rsp + 0x48]
lea r8, [rdx - 2]
cmp ax, word [rcx]
je 0x18000388d
nop dword [rax]
cmp rcx, r8
je 0x180003890
inc rcx
cmp ax, word [rcx]
jne 0x180003880
mov rdx, rcx
mov qword [0x18008afa0], rdx
lea rax, [fcn.1800452d0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x40], rax
movaps xmm0, xmm6
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.180031e10
divss xmm0, dword [0x180079a24]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003a5b0
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
add rsp, 0x80
pop rdi
ret
Function at 0x180003bb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x13], 0
je 0x180003bd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x47]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x12
jb 0x180003bc0
mov byte [rcx + 0x13], 0
mov rax, rcx
ret

Function at 0x180003be0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1800843d0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, qword [0x180087570]
mov rdi, rdx
mov rdx, qword [0x18008af98]
mov rsi, r8
mov r14, qword [0x180087620]
test rdx, rdx
jne 0x180003cec
xor ecx, ecx
mov qword [rsp + 0x80], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
mov dword [rsp + 0x4c], 0x7865742e
mov byte [rsp + 0x50], 0x74
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
movzx r8d, word [rdx + 0x14]
movzx ecx, word [rdx + 6]
add r8, 0x18
add r8, rdx
lea rdx, [rcx + rcx*4]
lea r11, [r8 + rdx*8]
cmp r8, r11
je 0x180003ca3
lea r9, [rsp + 0x4c]
sub r9, r8
nop dword [rax]
lea r10, [r8 + 5]
mov rax, r8
cmp r8, r10
je 0x180003ca3
nop dword [rax]
movsx edx, byte [r9 + rax]
movzx ecx, byte [rax]
cmp ecx, edx
jne 0x180003c96
inc rax
cmp rax, r10
jne 0x180003c80
jmp 0x180003ca3
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x180003c70
mov eax, dword [r8 + 8]
mov ecx, dword [r8 + 0xc]
add rcx, rbx
mov word [rsp + 0x48], 0x26ff
mov rbx, qword [rsp + 0x80]
lea rdx, [rax + rcx]
cmp rax, 2
jb 0x180003ce5
movzx eax, word [rsp + 0x48]
lea r8, [rdx - 2]
cmp ax, word [rcx]
je 0x180003ce2
cmp rcx, r8
je 0x180003ce5
inc rcx
cmp ax, word [rcx]
jne 0x180003cd5
mov rdx, rcx
mov qword [0x18008af98], rdx
xor eax, eax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8, rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], r14
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, rbp
call fcn.180031e10
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003a5b0
mov rbp, qword [rsp + 0x98]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
Function at 0x180004040
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x180004063
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x47]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x180004050
mov byte [rcx + 0x11], 0
mov rax, rcx
ret

Function at 0x180004480
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1800843d0]
xor rax, rsp
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [0x180079c20]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x40], 0x3b
mov byte [rbp - 0x3e], 1
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x47]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x11
jb 0x1800044c0
mov byte [rbp - 0x3e], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180004500
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.18000e3e0
nop
lea rdi, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdi, qword [rbp - 0x30]
mov rdx, qword [0x18008b028]
test rdx, rdx
jne 0x1800045ec
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
movsxd rdx, dword [rax + 0x3c]
movzx ecx, word [rdx + rax + 0x14]
lea r8, [rdx + rax]
add rcx, 0x18
add r8, rcx
mov dword [rbp - 0x10], 0x7865742e
mov byte [rbp - 0xc], 0x74
movzx ecx, word [rdx + rax + 6]
lea rdx, [rcx + rcx*4]
lea r11, [r8 + rdx*8]
cmp r8, r11
je 0x1800045ad
lea r9, [rbp - 0x10]
sub r9, r8
nop dword [rax]
mov rax, r8
lea r10, [r8 + 5]
cmp r8, r10
je 0x1800045ad
movsx edx, byte [rax + r9]
movzx ecx, byte [rax]
cmp ecx, edx
jne 0x1800045a0
inc rax
cmp rax, r10
jmp 0x18000458a
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x180004580
mov word [rbp - 0x38], 0x26ff
mov ecx, dword [r8 + 0xc]
add rcx, rbx
mov eax, dword [r8 + 8]
lea rdx, [rcx + rax]
cmp rax, 2
jb 0x1800045e5
lea r8, [rdx - 2]
movzx eax, word [rbp - 0x38]
cmp ax, word [rcx]
je 0x1800045e2
cmp rcx, r8
je 0x1800045e5
inc rcx
cmp ax, word [rcx]
jne 0x1800045d5
mov rdx, rcx
mov qword [0x18008b028], rdx
mov qword [rbp - 0x50], rdx
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x48], rax
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.180031e10
mov rbx, rax
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180004659
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004654
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000467d
call fcn.18003a5d0
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18003a5b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1800468cc
int3
Function at 0x180004690
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1800843d0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, qword [0x18008b450]
xor esi, esi
test rbx, rbx
jne 0x18000477c
movdqa xmm0, xmmword [0x18007a060]
mov ecx, esi
movdqa xmm1, xmmword [0x180079bb0]
movdqa xmmword [rbp - 0x59], xmm0
movdqa xmm0, xmmword [0x180079bd0]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm0, xmmword [0x18007a100]
movdqa xmmword [rbp - 0x49], xmm1
movdqa xmm1, xmmword [str.WGYE_C_A_]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmm0, xmmword [0x18007a0d0]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm1, xmmword [0x18007a0e0]
movdqa xmmword [rbp + 7], xmm0
movdqa xmmword [rbp - 9], xmm1
mov dword [rbp + 0x17], 0x9a818c97
mov dword [rbp + 0x1b], 0xfd9d8983
mov word [rbp + 0x1f], 0x86
mov byte [rbp + 0x21], 1
nop dword [rax]
lea eax, [rcx + 0x47]
xor byte [rbp + rcx - 0x59], al
inc rcx
cmp rcx, 0x79
jb 0x180004740
mov byte [rbp + 0x21], sil
call fcn.180004480
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.1800032c0
mov qword [0x18008b450], rax
mov rbx, rax
test rax, rax
jne 0x18000477c
movzx eax, si
jmp 0x180004886
mov rdx, qword [0x18008afd8]
test rdx, rdx
jne 0x18000485a
xor ecx, ecx
mov qword [rsp + 0xf0], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
mov dword [rbp + 0x43], 0x7865742e
mov byte [rbp + 0x47], 0x74
movsxd rdx, dword [rax + 0x3c]
movzx ecx, word [rdx + rax + 0x14]
lea r8, [rdx + rax]
add rcx, 0x18
add r8, rcx
movzx ecx, word [rdx + rax + 6]
lea rdx, [rcx + rcx*4]
lea r11, [r8 + rdx*8]
cmp r8, r11
je 0x180004813
lea r9, [rbp + 0x43]
sub r9, r8
nop word [rax + rax]
lea r10, [r8 + 5]
mov rax, r8
cmp r8, r10
je 0x180004813
nop dword [rax]
movsx edx, byte [rax + r9]
movzx ecx, byte [rax]
cmp ecx, edx
jne 0x180004806
inc rax
cmp rax, r10
jne 0x1800047f0
jmp 0x180004813
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x1800047e0
mov eax, dword [r8 + 8]
mov ecx, dword [r8 + 0xc]
add rcx, rdi
mov word [rbp + 0x3f], 0x26ff
mov rdi, qword [rsp + 0xf0]
lea rdx, [rax + rcx]
cmp rax, 2
jb 0x180004853
movzx eax, word [rbp + 0x3f]
lea r8, [rdx - 2]
cmp ax, word [rcx]
je 0x180004850
cmp rcx, r8
je 0x180004853
inc rcx
cmp ax, word [rcx]
jne 0x180004843
mov rdx, rcx
mov qword [0x18008afd8], rdx
xor eax, eax
mov qword [rbp + 0x27], rdx
xor edx, edx
mov qword [rbp + 0x37], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov qword [rbp + 0x2f], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 2]
call fcn.180031e10
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.18003a5b0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1800048d0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xf0
mov rax, qword [0x18008afe8]
mov rdi, rcx
test rax, rax
jne 0x180004a01
movdqa xmm0, xmmword [0x18007a030]
movdqa xmm1, xmmword [0x18007a020]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [0x180079ff0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm1, xmmword [0x18007a110]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [0x18007a0f0]
movdqa xmmword [r11 - 0x78], xmm1
movdqa xmm1, xmmword [0x18007a0c0]
movdqa xmmword [r11 - 0x68], xmm0
movdqa xmm0, xmmword [0x18007a0a0]
movdqa xmmword [r11 - 0x58], xmm1
movdqa xmm1, xmmword [0x18007a0b0]
movdqa xmmword [r11 - 0x48], xmm0
movdqa xmm0, xmmword [0x18007a130]
movdqa xmmword [r11 - 0x38], xmm1
movdqa xmmword [r11 - 0x28], xmm0
mov dword [r11 - 0x18], 0xea9af895
mov word [r11 - 0x14], 0x100
nop dword [rax + rax]
lea ecx, [rax + 0x47]
xor byte [rsp + rax + 0x50], cl
inc rax
cmp rax, 0x94
jb 0x180004980
cmp byte [0x18008aff0], 0
mov byte [rsp + 0xe5], 0
jne 0x1800049e4
xor ecx, ecx
mov qword [rsp + 0x100], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [0x18008afb0]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rbx, qword [rsp + 0x100]
mov byte [0x18008aff0], 1
mov rcx, qword [0x18008afb0]
lea rdx, [rsp + 0x50]
call fcn.1800032c0
mov qword [0x18008afe8], rax
test rax, rax
je 0x180004a0f
mov rcx, rdi
add rsp, 0xf0
pop rdi
jmp rax
movdqa xmm0, xmmword [0x180079be0]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x40], 0x100
call fcn.180004040
mov rcx, qword [sym.imp.USER32.dll_MessageBoxA]
mov r8, rax
call fcn.18000e9c0
xor ecx, ecx
call fcn.180041f60
int3
Function at 0x18000ba60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x18000ba83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x47]
xor byte [rax + rcx], dl
inc rax
cmp rax, 6
jb 0x18000ba70
mov byte [rcx + 7], 0
mov rax, rcx
ret