joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401154d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov r10, rdx
xor r11b, r11b
xor edx, edx
mov rsi, r9
mov rbx, rcx
test rcx, rcx
je 0x1401155e4
test r10, r10
je 0x1401155e4
movzx eax, byte [rcx]
test r8d, r8d
jne 0x140115515
cmp al, 0x7f
jbe 0x1401155dd
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1401155ec
mov r11b, 0xff
cmp al, 0x80
jbe 0x14011552b
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1401155ec
jne 0x1401155dd
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1401155ce
cmp rcx, 8
jb 0x1401155c0
and ecx, 7
mov rdx, r10
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax + rax]
movd xmm1, dword [rax + rbx]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm1, xmm3
movdqa xmm3, xmm1
movd xmm1, dword [rax + rbx + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
por xmm1, xmm2
movdqa xmm2, xmm1
cmp rax, rdx
jb 0x140115560
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x1401155ce
nop
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1401155c0
neg edx
sbb r11b, r11b
movzx r11d, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1401155ec
mov eax, 1
mov r10, rdx
mov qword [rsp + 0x10], rdi
test rsi, rsi
je 0x140115645
mov rdi, qword [r9]
test rdi, rdi
je 0x140115645
movzx r8d, r11b
lea r9, [rbx + r10]
and r8d, 1
mov byte [rdi], r11b
test r10, r10
je 0x140115642
mov ebx, edx
add rbx, rdi
nop word [rax + rax]
movzx edx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r10
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rbx + r10], r8b
shr r8d, 8
test r10, r10
jne 0x140115620
add qword [rsi], rax
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
pop rsi
ret
Function at 0x140127150
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1401fe9b0
sub rsp, rax
mov rbx, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.1400ddec0
test eax, eax
je 0x14012718f
xor edx, edx
mov rcx, rbx
call fcn.1400de340
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov ebp, dword [rsi + 8]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov r14, qword [rsi]
lea eax, [rbp - 1]
movsxd rdi, eax
xor eax, eax
mov rcx, qword [r14 + rdi*8]
cmp rcx, 1
sete al
sub ebp, eax
cmp rsi, rbx
je 0x1401271d7
mov edx, ebp
mov rcx, rbx
call fcn.1400de8e0
test rax, rax
je 0x14012723d
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x10], eax
mov rcx, qword [r14 + rdi*8]
mov rax, qword [rbx]
mov rdx, rcx
xor rdx, 1
inc rdx
neg rdx
shl rdx, 0x3f
lea r8, [rax + rdi*8]
shr rcx, 1
je 0x1401271f7
mov qword [r8], rcx
test rdi, rdi
jle 0x14012722e
sub r14, rax
nop
mov rcx, qword [r14 + r8 - 8]
lea r8, [r8 - 8]
mov rax, rcx
dec rdi
shr rax, 1
or rax, rdx
mov rdx, rcx
xor rdx, 1
mov qword [r8], rax
inc rdx
neg rdx
shl rdx, 0x3f
test rdi, rdi
jg 0x140127200
mov dword [rbx + 8], ebp
test ebp, ebp
jne 0x140127238
mov dword [rbx + 0x10], ebp
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret

Function at 0x140128ac0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, Ordinal_41
call fcn.1401fe9b0
sub rsp, rax
lea rcx, [0x1402b6fd4]
add rsp, 0x28
jmp fcn.1400f3b10

Function at 0x1401548b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.1401fe9b0
sub rsp, rax
mov r10, rdx
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
add rdx, 0xf
lea rax, [r8 + 0xf]
mov r11, rcx
cmp r10, rax
ja 0x140154903
xor ecx, ecx
cmp rdx, r8
jb 0x140154903
sub r8, r10
lea rax, [rcx + r10]
mov edx, reloc.WS2_32.dll_recv
sub rdx, rcx
nop
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1401548f0
jmp 0x140154916
movdqu xmm1, xmmword [r10]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [r10], xmm1
mov rcx, qword [r11 + 8]
lea r8, [rsp + 0x40]
mov r9, r10
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov rdx, r10
call fcn.140121a40
test eax, eax
je 0x140154947
cmp dword [rsp + 0x40], 0x10
jne 0x140154947
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret
Function at 0x140154af0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x140154b78
test r8, r8
je 0x140154b78
mov rax, qword [rcx + 0x18]
cmp r8, rax
mov r9, rax
cmovb r9, r8
test r9, r9
je 0x140154b36
add rcx, 0x20
mov r11, rdx
sub r11, r10
nop
movzx eax, byte [r11 + rcx - 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x140154b20
mov rax, qword [r10 + 0x18]
cmp r8, rax
jbe 0x140154b78
sub r8, rax
cmp r8, 0x10
jbe 0x140154b4c
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140154b51
test r8, r8
je 0x140154b78
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x18]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x40], al
inc rcx
cmp rcx, r8
jb 0x140154b60
ret
Function at 0x14015b610
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xd8
call fcn.1401fe9b0
sub rsp, rax
mov rax, qword [0x1402b3440]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r14, qword [rsp + 0x140]
xor r12d, r12d
mov rax, qword [rcx]
mov rbp, r9
movsxd rbx, r8d
mov rsi, rdx
mov qword [rsp + 0x20], r14
mov rdi, rcx
lea r15d, [r12 + 1]
mov r13d, r12d
test r9, r9
je 0x14015b67f
cmp r9, rax
je 0x14015b677
test rdx, rdx
je 0x14015b6f0
test r8d, r8d
js 0x14015b6f0
mov r13d, r15d
mov qword [rcx], r9
jmp 0x14015b687
test rax, rax
je 0x14015b6f0
mov rbp, rax
mov rcx, rbp
call fcn.1400d24a0
test al, 2
jne 0x14015b6f0
test rsi, rsi
je 0x14015b758
mov rcx, rbp
mov r13d, r15d
call fcn.1400ff250
cmp eax, 0x90
jg 0x14015b6f0
cmp eax, ebx
jge 0x14015b716
mov rcx, qword [rdi + 8]
mov r8, r14
mov rdx, rbp
call fcn.1400e2390
test eax, eax
je 0x14015b6f0
mov rcx, qword [rdi + 8]
mov r8, rbx
mov rdx, rsi
call fcn.1400e25f0
test eax, eax
je 0x14015b6f0
mov rcx, qword [rdi + 8]
lea rsi, [rdi + 0x20]
mov r8, rsi
lea rdx, [rdi + 0x24]
call fcn.1400e22b0
test eax, eax
jne 0x14015b733
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401fe130
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp ebx, 0x90
ja 0x14015b6f0
mov r8, rbx
lea rcx, [rdi + 0x24]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rsi, [rdi + 0x20]
mov dword [rsi], ebx
mov ecx, dword [rsi]
cmp ecx, 0x90
je 0x14015b761
mov eax, ecx
mov r8d, 0x90
sub r8d, ecx
xor edx, edx
lea rcx, [rdi + 0x24]
add rcx, rax
call sub.VCRUNTIME140.dll_memset
jmp 0x14015b761
test r13d, r13d
je 0x14015b836
lea r14, [rsp + 0x30]
mov esi, 0x48
sub r14, rdi
lea rbx, [rdi + 0x25]
lea r15, [rsp + 0x31]
mov rcx, rbx
sub r15, rdi
mov edx, esi
nop
movzx eax, byte [rcx - 1]
lea rcx, [rcx + 2]
xor al, 0x36
mov byte [r14 + rcx - 0x27], al
movzx eax, byte [rcx - 2]
xor al, 0x36
mov byte [r15 + rcx - 0x27], al
sub rdx, 1
jne 0x14015b780
mov r8, qword [rsp + 0x20]
mov rdx, rbp
mov rcx, qword [rdi + 0x10]
call fcn.1400e2390
test eax, eax
je 0x14015b849
mov rcx, rbp
call fcn.1400ff250
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x30]
movsxd r8, eax
call fcn.1400e25f0
test eax, eax
je 0x14015b849
nop word [rax + rax]
movzx eax, byte [rbx - 1]
lea rbx, [rbx + 2]
xor al, 0x5c
mov byte [rbx + r14 - 0x27], al
movzx eax, byte [rbx - 2]
xor al, 0x5c
mov byte [rbx + r15 - 0x27], al
sub rsi, 1
jne 0x14015b7e0
mov r8, qword [rsp + 0x20]
mov rdx, rbp
mov rcx, qword [rdi + 0x18]
call fcn.1400e2390
test eax, eax
je 0x14015b849
mov rcx, rbp
call fcn.1400ff250
mov rcx, qword [rdi + 0x18]
lea rdx, [rsp + 0x30]
movsxd r8, eax
call fcn.1400e25f0
test eax, eax
je 0x14015b849
lea r15d, [rsi + 1]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
call fcn.1400e2660
test eax, eax
cmovne r12d, r15d
test r13d, r13d
je 0x14015b85d
mov edx, 0x90
lea rcx, [rsp + 0x30]
call fcn.140001240
mov eax, r12d
jmp 0x14015b6f2
Function at 0x1401a2790
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.1401fe9b0
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x1401a27b9
lea rax, [0x1401a0e00]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140199d40
lea rax, [0x14019ffc0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140199a90

Function at 0x1401fda30
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate gui resources
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1402b7390]
call fcn.1401fd550
test al, al
jne 0x1401fda89
mov ecx, dword [0x1402b7394]
call fcn.1401fd550
test al, al
jne 0x1401fda89
mov ecx, dword [0x1402b7398]
call fcn.1401fd550
test al, al
jne 0x1401fda89
mov ecx, dword [0x1402b739c]
call fcn.1401fd550
test al, al
jne 0x1401fda89
xor edx, edx
lea rcx, [0x1401fb670]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1401fdb51
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1401fdb27
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1401fdb27
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x37d8486e
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1401fdb22
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1401fdb00
cmp r8d, 0xc3c6f436
je 0x1401fdb2c
test r9d, r9d
jne 0x1401fdae0
mov rax, qword [rax]
jmp 0x1401fdab0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp byte [rsi + 0xd], 0
je 0x1401fdb73
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x2d]
xor byte [rcx + rsi], al
inc rcx
cmp rcx, 0xc
jb 0x1401fdb60
mov byte [rsi + 0xd], 0
add rsp, 0x20
pop rsi
ret

Function at 0x1401fdb7c
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 0x1401fdbb6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401fdbbb
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 0x1401fdc04
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1401fdc04
dec r8
sub rdx, 1
jne 0x1401fdbea
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401fedd0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401fee1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401fee1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401fee1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401fee1a
cmp dword [rcx + 0x84], 0xe
jbe 0x1401fee1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401fee1c
xor al, al
add rsp, 0x28
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
push r9
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
add rax, rdx
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x180005680
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x20
mov rax, qword [0x180176168]
xor rax, rsp
mov qword [rsp + 8], rax
mov r11, rdx
mov r9, rcx
movabs rsi, 0xe7037ed1a0b428db
movabs r8, 0xa0761d6478bd642f
cmp rdx, 0x10
ja 0x18000572e
cmp rdx, 4
jb 0x1800056f8
mov rcx, rdx
movabs rax, 0x7ffffffffffffffc
shr rcx, 1
and rcx, rax
mov eax, dword [r9]
shl rax, 0x20
mov edx, dword [rcx + r9]
or rdx, rax
mov rax, r11
sub rax, rcx
mov ecx, dword [rax + r9 - 4]
mov eax, dword [r11 + r9 - 4]
shl rax, 0x20
or rcx, rax
jmp 0x18000581f
test r11, r11
je 0x180005725
mov rax, r11
shr rax, 1
movzx edx, byte [rax + rcx]
movzx eax, byte [rcx]
shl rax, 8
or rdx, rax
movzx eax, byte [r11 + rcx - 1]
shl rdx, 8
or rdx, rax
xor ecx, ecx
jmp 0x18000581f
xor ecx, ecx
mov edx, ecx
jmp 0x18000581f
mov qword [rsp + 0x40], rbx
mov rbx, r11
cmp r11, 0x30
jbe 0x1800057dd
mov qword [rsp + 0x48], rbp
mov r10, r8
mov qword [rsp + 0x18], rdi
movabs rbp, 0x8ebc6af09c88c6e3
mov qword [rsp + 0x10], r14
mov rdi, r8
movabs r14, 0x589965cc75374cc3
nop dword [rax]
xor r8, qword [r9 + 8]
sub rbx, 0x30
xor rdi, qword [r9 + 0x18]
mov rax, r8
xor r10, qword [r9 + 0x28]
mov rcx, qword [r9]
xor rcx, rsi
mul rcx
mov rcx, qword [r9 + 0x10]
mov r8, rax
xor rcx, rbp
mov rax, rdi
xor r8, rdx
mul rcx
mov rcx, qword [r9 + 0x20]
add r9, 0x30
mov rdi, rax
xor rcx, r14
mov rax, r10
xor rdi, rdx
mul rcx
mov r10, rax
xor r10, rdx
cmp rbx, 0x30
ja 0x180005770
mov r14, qword [rsp + 0x10]
xor r10, rdi
mov rbp, qword [rsp + 0x48]
xor r8, r10
mov rdi, qword [rsp + 0x18]
cmp rbx, 0x10
jbe 0x180005810
lea r10, [rbx - 0x11]
shr r10, 4
inc r10
imul rax, r10, 0xfffffffffffffff0
add rbx, rax
nop
xor r8, qword [r9 + 8]
mov rcx, qword [r9]
mov rax, r8
xor rcx, rsi
add r9, 0x10
mul rcx
mov r8, rax
xor r8, rdx
sub r10, 1
jne 0x1800057f0
mov rdx, qword [rbx + r9 - 0x10]
mov rcx, qword [rbx + r9 - 8]
mov rbx, qword [rsp + 0x40]
xor rdx, rsi
xor rcx, r8
xor r11, rsi
mov rax, rcx
mul rdx
xor rax, rdx
mul r11
xor rax, rdx
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1800be760
add rsp, 0x20
pop rsi
ret
Function at 0x180010910
Capabilities:
Hash data using fnv

Disassembly:
push r14
sub rsp, 0x20
mov qword [rsp + 0x30], rbx
mov r10, rcx
mov qword [rsp + 0x40], rbp
movabs rcx, 0x100000001b3
movzx ebp, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rbp, rax
mov qword [rsp + 0x18], rsi
movzx eax, byte [r8 + 1]
lea r9, [r10 + 8]
mov rsi, qword [r10 + 0x20]
mov r14, rdx
imul rbp, rcx
mov qword [rsp + 0x10], rdi
xor ebx, ebx
xor rbp, rax
mov qword [rsp + 8], r12
movzx eax, byte [r8 + 2]
mov r12, r8
imul rbp, rcx
mov qword [rsp], r15
mov r15, qword [r10 + 0x28]
xor rbp, rax
movzx eax, byte [r8 + 3]
mov rdx, r15
imul rbp, rcx
xor rbp, rax
imul rbp, rcx
and rdx, rbp
cmp dword [rsi + rdx*8], 0xffffffff
lea rax, [rdx*8]
je 0x180010a3c
mov rdi, qword [r9]
nop dword [rax + rax]
mov r11d, dword [rax + rsi + 4]
lea r8, [r10 + 0x30]
cmp r11d, ebp
jne 0x1800109e6
mov eax, dword [rax + rsi]
mov rcx, qword [r8 + 0x18]
add rcx, rax
mov rax, qword [r8 + 0x10]
dec rax
and rcx, rax
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rcx*8]
mov eax, dword [rcx]
cmp dword [r12], eax
je 0x180010a7c
mov rcx, r11
and rcx, r15
cmp rdx, rcx
jb 0x1800109f9
mov rax, rdx
sub rax, rcx
jmp 0x180010a0a
mov rax, qword [r9 + 8]
sub rax, rdi
sar rax, 3
sub rax, rcx
add rax, rdx
cmp rbx, rax
ja 0x180010a40
mov rax, qword [r9 + 8]
lea rcx, [rdx + 1]
sub rax, rdi
xor edx, edx
sar rax, 3
cmp rcx, rax
cmovb rdx, rcx
inc rbx
cmp dword [rsi + rdx*8], 0xffffffff
lea rax, [rdx*8]
jne 0x1800109b0
lea r8, [r10 + 0x30]
mov rcx, qword [r10 + 0x10]
mov rax, qword [r9]
mov r15, qword [rsp]
sub rcx, rax
mov r12, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
sar rcx, 3
lea rdx, [rax + rcx*8]
mov rcx, qword [r8]
cmp rdx, qword [r10 + 0x10]
je 0x180010a82
mov eax, dword [rdx]
jmp 0x180010a86
lea rcx, [rdi + rdx*8]
jmp 0x180010a44
mov rax, qword [r8 + 0x20]
add rax, qword [r8 + 0x18]
mov qword [r14 + 0x10], rax
mov rax, r14
mov qword [r14 + 8], 0
mov qword [r14], rcx
add rsp, 0x20
pop r14
ret
Function at 0x1800162f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
lea rsi, [0x18017cfa0]
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
movups xmmword [0x18017cfa0], xmm0
xor ebx, ebx
mov qword [0x18017cfb0], rbx
mov qword [0x18017cfb8], 7
mov word [0x18017cfa0], bx
mov qword [0x18017cfc0], rbx
mov qword [0x18017cfc8], rbx
mov qword [0x18017cfd0], rbx
mov qword [0x18017cfd8], rbx
mov qword [0x18017cfe0], rbx
mov qword [0x18017cfe8], rbx
mov qword [0x18017cff0], rbx
mov qword [0x18017cff8], rbx
mov qword [0x18017d000], rbx
mov qword [0x18017d008], rbx
mov qword [0x18017d010], rbx
mov qword [0x18017d018], rbx
mov qword [0x18017d020], rbx
mov qword [0x18017d028], rbx
mov qword [0x18017d030], rbx
mov qword [0x18017d038], rbx
mov qword [0x18017d040], rbx
mov qword [0x18017d048], rbx
mov qword [0x18017d050], rbx
mov qword [0x18017d058], rbx
mov qword [0x18017d060], rbx
mov qword [0x18017d068], rbx
mov qword [0x18017d070], rbx
mov qword [0x18017d078], rbx
mov qword [0x18017d080], rbx
mov qword [0x18017d088], rbx
xor r8d, r8d
mov rdx, rsi
lea rcx, str.SKSE_RUNTIME
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r8d, eax
mov rcx, qword [0x18017cfb0]
cmp r8, rcx
ja 0x180016433
mov rax, rsi
cmp qword [0x18017cfb8], 8
cmovae rax, qword [0x18017cfa0]
mov qword [0x18017cfb0], r8
mov word [rax + r8*2], bx
jmp 0x180016490
mov rdx, r8
sub rdx, rcx
mov rdi, qword [0x18017cfb8]
mov rax, rdi
sub rax, rcx
cmp rdx, rax
ja 0x18001647a
mov qword [0x18017cfb0], r8
mov r9, rsi
cmp rdi, 8
cmovae r9, qword [0x18017cfa0]
lea rdi, [r9 + rcx*2]
test rdx, rdx
je 0x180016473
movzx eax, bx
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r9 + r8*2], bx
jmp 0x180016490
mov word [rsp + 0x20], bx
mov r9, rdx
movzx r8d, byte [rsp + 0x30]
mov rcx, rsi
call fcn.1800183b0
mov rdx, rsi
cmp qword [0x18017cfb8], 8
cmovae rdx, qword [0x18017cfa0]
mov r8d, dword [0x18017cfb0]
lea rcx, str.SKSE_RUNTIME
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rdx, qword [0x18017cfb0]
dec rdx
mov ecx, eax
cmp rcx, rdx
jne 0x1800164cc
test eax, eax
jne 0x180016517
cmp qword [0x18017cfb8], 0xc
jb 0x180016503
mov rdi, qword [0x18017cfa0]
mov qword [0x18017cfb0], 0xc
mov r8d, 0x18
lea rdx, str.SkyrimSE.exe
mov rcx, rdi
call fcn.1800c0a20
mov word [rdi + 0x18], bx
jmp 0x180016517
lea r9, str.SkyrimSE.exe
mov edx, 0xc
mov rcx, rsi
call fcn.1800191e0
call fcn.180015fb0
nop
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180019b54
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180019b40
ret
Function at 0x18001a520
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
test dword [rcx + 0x80], 0x100
mov rbx, rcx
je 0x18001a705
xor ebp, ebp
mov esi, 0x7fffffff
mov dword [rcx + 0x74], ebp
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18001a5ff
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18001a5ff
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18001a75e
mov rdx, qword [rbx + 0x10]
lea eax, [r9 + r9*4]
lea ecx, [r8 + rax*2]
dec esi
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
cmp rax, rdx
je 0x18001a5ef
cmp byte [rax], 0x5c
jne 0x18001a5e9
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18001a5e9
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18001a5d4
movzx eax, byte [rcx]
cmp al, 0x28
je 0x18001a5e6
cmp al, 0x29
je 0x18001a5e6
mov rax, qword [rbx]
test dl, 0x10
jne 0x18001a5e9
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x18001a5e6
cmp dl, 0x7d
jne 0x18001a5e9
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18001cce0
test esi, esi
jne 0x18001a551
cmp esi, 0x7fffffff
je 0x18001a705
mov edi, dword [rbx + 0x74]
mov eax, dword [rbx + 0x80]
test edi, edi
jne 0x18001a644
bt eax, 0x14
jae 0x18001a753
lea rcx, [rbx + 0x40]
movzx edx, dil
call fcn.18001cfc0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
bt eax, 9
jae 0x18001a653
cmp edi, 9
ja 0x18001a73d
mov eax, edi
movsxd rcx, eax
mov eax, dword [rbx + 0x18]
cmp rax, rcx
jb 0x18001a73d
cmp qword [rbx + 0x38], rcx
jbe 0x18001a73d
mov rdx, qword [rbx + 0x20]
mov rax, rcx
shr rax, 5
and ecx, 0x1f
lea r8, [rdx + rax*4]
mov eax, 1
shl eax, cl
test dword [r8], eax
je 0x18001a73d
mov ecx, 0x28
call fcn.1800be780
mov rdx, rax
mov qword [rsp + 0x20], rax
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
mov qword [rdx + 0x20], rax
lea rax, vtable.std::_Node_back.0
mov qword [rdx + 0x18], rbp
mov qword [rdx], rax
mov qword [rdx + 8], 0xf
mov qword [rdx + 0x10], rbp
mov dword [rdx + 0x20], edi
mov rax, qword [rbx + 0x48]
mov qword [rdx + 0x18], rax
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18001a6f4
mov qword [rdx + 0x10], rcx
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x10]
mov qword [rcx + 0x18], rdx
mov rax, qword [rbx + 0x48]
mov qword [rax + 0x10], rdx
mov qword [rbx + 0x48], rdx
jmp 0x18001a62f
mov rcx, rbx
call fcn.18001aa10
test al, al
je 0x18001a71e
movzx edx, byte [rbx + 0x74]
lea rcx, [rbx + 0x40]
jmp 0x18001a62a
test dword [rbx + 0x80], 0x20000
je 0x18001a748
mov dl, 1
mov rcx, rbx
call fcn.18001a880
test al, al
je 0x18001a748
jmp 0x18001a62f
mov edx, 3
call fcn.18001e380
int3
mov edx, 2
call fcn.18001e380
int3
mov edx, 2
call fcn.18001e380
int3
mov edx, 3
call fcn.18001e380
int3