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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x180127040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
movups xmm0, xmmword [str.aQEZ_XNX_K_7]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x18010fbc0]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x18010fbc8]
mov word [rsp + 0x48], ax
movzx eax, byte [0x18010fbca]
mov byte [rsp + 0x4a], al
xor ebx, ebx
mov ecx, ebx
cmp dword [0x180127018], 2
jl 0x1800c5f82
movdqa xmm5, xmmword [0x180110e60]
movdqa xmm4, xmmword [0x180111010]
movdqa xmm6, xmmword [0x180110e80]
movdqa xmm0, xmmword [0x180110f70]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x34]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x1800c5e80
cmp ecx, 0x1b
jge 0x1800c5fbc
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1b
jl 0x1800c5f90
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x1800c5fe0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180020590
nop
test rdi, rdi
je 0x1800c6015
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180005710
test eax, eax
jle 0x1800c6015
movsxd rbx, eax
add rbx, rdi
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1800c6055
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6050
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c6050
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d3c10
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800d3880
mov rbx, qword [rsp + 0xa8]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rdi
ret
Function at 0x1800ce444
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1800ce4a8
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800ce496
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800ce48f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800ce463
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180128f30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800ce4b8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x18012a0d0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x1800ce4ee
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800ce524
mov eax, 0xa
jmp 0x1800ce5b3
test esi, esi
je 0x1800ce546
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800ce567
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800ce567
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800ce561
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800ce567
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1800cea10
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800cea27
cmp r8b, 0x90
je 0x1800cea27
cmp r8b, 0xcc
jne 0x1800cea49
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800cea45
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800cea49
add edx, r10d
cmp edx, r9d
jb 0x1800cea35
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800cedb0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x1800cedfa
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18012a0c0]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x1800cee33
cmp rbx, r14
jb 0x1800cee30
cmp rbx, r12
jae 0x1800cee30
cmp qword [rbx + 8], rsi
jne 0x1800cef95
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800cee1c
mov r15, rdi
cmp rdi, r14
jb 0x1800cef4f
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x1800cee7f
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800ceeb9
cmp dword [rbp - 0x10], 0x10000
je 0x1800cee89
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x1800ceeb9
sub r15, r13
cmp r15, r14
jae 0x1800cee55
jmp 0x1800ceeb9
test r15, r15
je 0x1800ceeb9
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800cef5a
cmp r15, r14
jae 0x1800cee44
test rbx, rbx
jmp 0x1800cef4d
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x1800cef95
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800cef95
cmp dword [rbp - 0x10], 0x10000
je 0x1800cef28
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x1800ceee5
jmp 0x1800cef95
test rdi, rdi
je 0x1800cef95
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800cef5a
cmp rdi, r12
jbe 0x1800ceec1
jmp 0x1800cef95
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x1800cef66
mov rax, qword [0x18012a0c0]
mov qword [rbx], rax
mov qword [0x18012a0c0], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800cf840
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800cfa60
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800cf947
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800cf8a4
mov rax, qword [0x180127008]
cmp qword [rsp + 0x20], rax
ja 0x1800cf8a4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800cf866
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800cf8d3
jmp 0x1800cf947
cmp dword [rsp + 0x50], 0x10000
jne 0x1800cf92a
cmp qword [rsp + 0x48], 0x10000
jb 0x1800cf92a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800cf918
mov rax, qword [rsp + 0x28]
jmp 0x1800cf949
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800cf942
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800cfa60
mov qword [rsp + 0x20], rax
jmp 0x1800cf866
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800cf950
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800cfaa0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800cfa53
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800cf9ab
mov rax, qword [0x180127008]
cmp qword [rsp + 0x20], rax
ja 0x1800cf9ab
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800cf96d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800cf9da
jmp 0x1800cfa53
cmp dword [rsp + 0x50], 0x10000
jne 0x1800cfa31
cmp qword [rsp + 0x48], 0x10000
jb 0x1800cfa31
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800cfa1f
mov rax, qword [rsp + 0x28]
jmp 0x1800cfa55
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800cfa4e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800cfaa0
mov qword [rsp + 0x20], rax
jmp 0x1800cf96d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800cfaf0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800d0080
mov qword [rsp + 0x28], 0
cmp qword [0x180128598], 0
jne 0x1800cfb38
cmp qword [0x180128590], 0
je 0x1800cfb38
mov rax, qword [0x180128590]
mov qword [0x180128598], rax
cmp qword [0x180128598], 0
je 0x1800cfbde
mov rax, qword [0x180128598]
cmp qword [rax + 0x10], 0
je 0x1800cfbde
mov rax, qword [0x180128598]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800cfbde
mov rax, qword [0x180128598]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800cfbde
mov rax, qword [0x180128598]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800cfba4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800cfbab
xor eax, eax
jmp 0x1800cfd59
mov rax, qword [0x180128598]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800cfd59
mov rax, qword [0x180128590]
mov qword [0x180128598], rax
jmp 0x1800cfc00
mov rax, qword [0x180128598]
mov rax, qword [rax + 8]
mov qword [0x180128598], rax
cmp qword [0x180128598], 0
je 0x1800cfc4d
cmp qword [0x180128598], 0
je 0x1800cfc4b
mov rax, qword [0x180128598]
cmp qword [rax + 0x10], 0
je 0x1800cfc4b
mov rax, qword [0x180128598]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800cfc4b
mov rax, qword [0x180128598]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800cfc4b
jmp 0x1800cfb7c
jmp 0x1800cfbee
mov rcx, qword [rsp + 0x60]
call fcn.1800d1cb0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800cfd60
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800cfd57
mov rax, qword [rsp + 0x48]
mov qword [0x180128598], rax
mov rax, qword [0x180128598]
mov dword [rax], 0x52727464
mov rax, qword [0x180128598]
mov qword [rax + 0x10], 0
mov rax, qword [0x180128598]
mov rcx, qword [0x180128590]
mov qword [rax + 8], rcx
mov rax, qword [0x180128598]
mov qword [0x180128590], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180128598]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800cfd08
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800cfd42
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800cfcfe
mov rax, qword [0x180128598]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800cfb7c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800d3790
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800d37ca
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800d37cf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800d3818
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800f8f50]
cmp byte [rcx + rax], 0
je 0x1800d3818
dec r8
sub rdx, 1
jne 0x1800d37fe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1800020b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov edi, r9d
mov rbp, rdx
mov rsi, rcx
cmp r8d, 0xc8
jb 0x1800020f2
mov r8d, 0x9a
lea rdx, str.C:UserszigafDocuments_rivexDEVELOP_rx_wallet_desktop_node_modulesethereumjs_util_node_moduleskeccak_srclibkeccakKeccakP_1600_reference.c
lea rcx, str.offset___200
call fcn.1800052f8
lea eax, [rbx + rdi]
cmp eax, 0xc8
jbe 0x180002115
mov r8d, 0x9b
lea rdx, str.C:UserszigafDocuments_rivexDEVELOP_rx_wallet_desktop_node_modulesethereumjs_util_node_moduleskeccak_srclibkeccakKeccakP_1600_reference.c
lea rcx, str.offsetlength___200
call fcn.1800052f8
xor eax, eax
test edi, edi
je 0x180002214
cmp edi, 0x40
jb 0x1800021f0
lea r8d, [rdi - 1]
lea r9d, [r8 + rbx]
mov edx, r8d
add r9, rsi
lea rcx, [rsi + rbx]
add rdx, rbp
cmp rcx, rdx
ja 0x18000214b
cmp r9, rbp
jae 0x1800021f0
mov r10d, edi
mov qword [rsp + 0x30], r14
and r10d, 0xffffffc0
mov r11d, 0xfffffff0
lea r9d, [rbx + 0x20]
sub r11d, ebx
mov r14d, 0x10
sub r14d, ebx
nop dword [rax]
movdqu xmm1, xmmword [rax + rbp]
lea ecx, [r9 - 0x20]
add eax, 0x40
movdqu xmm0, xmmword [rcx + rsi]
lea r8d, [r9 - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx + rsi], xmm1
lea ecx, [r11 + r9]
movdqu xmm0, xmmword [r8 + rsi]
movdqu xmm1, xmmword [rcx + rbp]
mov ecx, r9d
sub ecx, ebx
pxor xmm1, xmm0
movdqu xmmword [r8 + rsi], xmm1
lea r8d, [r9 + 0x10]
movdqu xmm0, xmmword [r9 + rsi]
movdqu xmm1, xmmword [rcx + rbp]
lea ecx, [r14 + r9]
pxor xmm1, xmm0
movdqu xmmword [r9 + rsi], xmm1
add r9d, 0x40
movdqu xmm0, xmmword [r8 + rsi]
movdqu xmm1, xmmword [rcx + rbp]
pxor xmm1, xmm0
movdqu xmmword [r8 + rsi], xmm1
cmp eax, r10d
jb 0x180002170
mov r14, qword [rsp + 0x30]
cmp eax, edi
jae 0x180002214
mov r8d, eax
add r8, rbp
nop word [rax + rax]
movzx ecx, byte [r8]
lea edx, [rax + rbx]
xor byte [rdx + rsi], cl
lea r8, [r8 + 1]
inc eax
cmp eax, edi
jb 0x180002200
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180002230
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea r13, [0x18001eed0]
mov qword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], r13
mov rbx, rcx
mov rcx, rbx
call fcn.180002380
mov rcx, rbx
call fcn.180002530
mov rcx, rbx
call fcn.180002690
xor r13d, r13d
nop
mov eax, 0xcccccccd
lea r10d, [r13*4]
mul r13d
mov r8d, r13d
add r10d, r13d
shr edx, 2
inc r13d
lea eax, [rdx + rdx*4]
sub r8d, eax
lea r9d, [r8 + r8*4]
lea eax, [r9 + 2]
mov r12, qword [rbx + rax*8]
lea ecx, [r9 + 1]
mov rsi, qword [rbx + rcx*8]
lea eax, [r8 + r8*4]
mov r15, qword [rbx + rax*8]
lea r14, [rbx + rax*8]
lea eax, [r9 + 3]
not rsi
mov rdi, qword [rbx + rax*8]
and rsi, r12
imul eax, edx, 0x19
xor rsi, r15
not r12
and r12, rdi
not rdi
sub r10d, eax
lea eax, [r10 + 1]
xor r12, qword [rbx + rax*8]
lea r11, [rbx + rax*8]
lea eax, [r9 + 4]
mov r9, qword [rbx + rax*8]
lea eax, [r10 + 2]
and rdi, r9
lea r8, [rbx + rax*8]
xor rdi, qword [r8]
lea eax, [r10 + 3]
lea rdx, [rbx + rax*8]
not r9
and r9, r15
lea eax, [r10 + 4]
xor r9, qword [rdx]
not r15
and r15, qword [rbx + rcx*8]
xor r15, qword [rbx + rax*8]
mov qword [r14], rsi
mov qword [r11], r12
mov qword [r8], rdi
mov qword [rdx], r9
mov qword [rbx + rax*8], r15
cmp r13d, 5
jb 0x180002280
mov r13, qword [rsp + 0x20]
mov rax, qword [r13]
add r13, 8
xor qword [rbx], rax
sub qword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
jne 0x180002264
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180002380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x180022008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
lea rsi, [rsp]
mov r11d, edi
mov rbx, rcx
nop word [rax + rax]
mov ecx, 4
lea rsi, [rsi + 8]
mov r10d, r11d
mov eax, 0xcccccccd
mul r11d
mov r9d, edx
shr r9d, 2
sub ecx, r9d
lea eax, [r9 + r9*4]
lea r8d, [r11 + rcx*4]
sub r10d, eax
add r8d, ecx
mov ecx, 3
sub ecx, r9d
mov rdx, qword [rbx + r8*8]
lea eax, [r11 + rcx*4]
add ecx, eax
xor rdx, qword [rbx + rcx*8]
mov ecx, 2
sub ecx, r9d
lea eax, [r11 + rcx*4]
inc r11d
add ecx, eax
lea eax, [r10 + 5]
xor rdx, qword [rbx + rcx*8]
xor rdx, qword [rbx + rax*8]
xor rdx, qword [rbx + r10*8]
mov qword [rsi - 8], rdx
cmp r11d, 5
jb 0x1800023b0
mov r9, qword [rsp + 0x20]
mov r11, qword [rsp + 8]
mov r10, qword [rsp + 0x10]
mov rcx, r11
mov rdx, qword [rsp]
mov r8, qword [rsp + 0x18]
shr rcx, 0x3f
lea rax, [r11 + r11]
xor rcx, rax
lea rax, [r10 + r10]
xor rcx, r9
mov qword [rsp + 0x28], rcx
mov rcx, r10
shr rcx, 0x3f
xor rcx, rax
lea rax, [r8 + r8]
xor rcx, rdx
mov qword [rsp + 0x30], rcx
mov rcx, r8
shr rcx, 0x3f
xor rcx, rax
lea rax, [r9 + r9]
xor rcx, r11
mov qword [rsp + 0x38], rcx
mov rcx, r9
shr rcx, 0x3f
lea r9, [rsp + 0x28]
xor rcx, rax
lea rax, [rdx + rdx]
xor rcx, r10
mov qword [rsp + 0x40], rcx
mov rcx, rdx
shr rcx, 0x3f
xor rcx, rax
xor rcx, r8
mov qword [rsp + 0x48], rcx
nop dword [rax + rax]
mov r8, qword [r9]
lea r9, [r9 + 8]
mov ecx, edi
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea eax, [rdx + rdx*4]
sub ecx, eax
mov eax, ecx
add eax, 5
xor qword [rbx + rcx*8], r8
mov ecx, 2
sub ecx, edx
xor qword [rbx + rax*8], r8
lea eax, [rdi + rcx*4]
add ecx, eax
xor qword [rbx + rcx*8], r8
mov ecx, 3
sub ecx, edx
lea eax, [rdi + rcx*4]
add ecx, eax
xor qword [rbx + rcx*8], r8
mov ecx, 4
sub ecx, edx
lea eax, [rdi + rcx*4]
inc edi
add ecx, eax
xor qword [rbx + rcx*8], r8
cmp edi, 5
jb 0x1800024b0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180002b00
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

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

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x1800036c7
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1800036c7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800036c7
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1800036c3
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1800036bd
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jae 0x1800036bd
test rdx, rdx
je 0x1800036c3
cmp dword [rdx + 0x24], 0
jge 0x1800036b9
xor al, al
jmp 0x1800036cd
mov al, 1
jmp 0x1800036cd
add rdx, 0x28
jmp 0x18000368f
xor al, al
jmp 0x1800036cd
xor al, al
jmp 0x1800036cd
add rsp, 0x18
ret
Function at 0x180001000
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x28], 0
mov r8d, 0xee00
lea rdx, section..data
lea rcx, [rsp + 0x20]
call fcn.180002650
mov qword [rsp + 0x28], rax
lea r8, [0x180003078]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.1800026b0
mov qword [rsp + 0x30], rax
call qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]