joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400492a0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14004936c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14004936c
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 0x140049385
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14004935c
cmp byte [rax], 0x5c
jne 0x140049356
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140049356
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140049342
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140049353
test r8b, 0x10
jne 0x140049356
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140049356
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140044940
test edi, edi
jne 0x1400492c0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140044930
int3

Function at 0x14004b560
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
movdqa xmm0, xmmword [0x1400f9420]
xor eax, eax
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x100c6b7
nop dword [rax]
lea edx, [rax - 0x45]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x12
jb 0x14004b580
mov byte [rsp + 0x33], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004b5a1
lea rdx, [rsp + 0x20]
call fcn.1400273b0
add rsp, 0x48
ret
Function at 0x14004c7c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0x2f], rdx
mov dword [rbp - 0x29], 0xe1d9d8da
mov dword [rbp - 0x25], 0xb6b9a5cb
mov dword [rbp - 0x21], 0xbabdaba1
mov word [rbp - 0x1d], pe_nt_image_headers64
xor eax, eax
nop dword [rax]
lea ecx, [rax - 0x45]
xor byte [rbp + rax - 0x29], cl
inc rax
cmp rax, 0xc
jb 0x14004c810
mov byte [rbp - 0x1c], 0
lea rax, [rbp - 0x29]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x14004c832
mov rdx, qword [rdx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x14004c963
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004c862
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x29]
lea rcx, [rbp + 0xf]
call fcn.140029850
nop
mov dword [rbp - 0x29], 0xd8d8d0c7
mov dword [rbp - 0x25], 0xcbbccb
mov byte [rbp - 0x21], 1
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 7
jb 0x14004c8a0
mov byte [rbp - 0x21], 0
lea rax, [rbp - 0x29]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004c8c0
mov r8, rbx
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0xf]
call fcn.1400273b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x11]
movq r8, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, r8
movq r8, xmm1
mov rcx, rsi
call fcn.1400273b0
nop
lea rcx, [rbp - 0x11]
call fcn.140027180
nop
lea rcx, [rbp + 0xf]
call fcn.140027180
nop
mov rcx, rdi
call fcn.140027180
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400d1560
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
call fcn.140003100
nop
int3
Function at 0x14004c970
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0x2f], rdx
mov dword [rbp - 0x11], 0xe1d9d8da
mov dword [rbp - 0xd], 0xaea0adcc
mov dword [rbp - 9], 0xbea0b0af
mov dword [rbp - 5], 0x100b4b3
xor eax, eax
nop word [rax + rax]
lea ecx, [rax - 0x45]
xor byte [rbp + rax - 0x11], cl
inc rax
cmp rax, 0xe
jb 0x14004c9c0
mov byte [rbp - 2], 0
lea rax, [rbp - 0x11]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x14004c9e2
mov rdx, qword [rdx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x14004cb03
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004ca12
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.140029850
nop
mov dword [rbp - 0x19], 0x100b6c7
xor ecx, ecx
nop dword [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x19], al
inc rcx
cmp rcx, 2
jb 0x14004ca40
mov byte [rbp - 0x16], 0
lea rax, [rbp - 0x19]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004ca60
mov r8, rbx
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0xf]
call fcn.1400273b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x11]
movq r8, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, r8
movq r8, xmm1
mov rcx, rsi
call fcn.1400273b0
nop
lea rcx, [rbp - 0x11]
call fcn.140027180
nop
lea rcx, [rbp + 0xf]
call fcn.140027180
nop
mov rcx, rdi
call fcn.140027180
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400d1560
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call fcn.140003100
nop
int3

Function at 0x14004cee0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
movdqa xmm0, xmmword [0x1400f9a80]
xor eax, eax
movdqu xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x30], pe_nt_image_headers64
nop dword [rax + rax]
lea edx, [rax - 0x45]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x10
jb 0x14004cf00
mov byte [rsp + 0x31], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004cf21
lea rdx, [rsp + 0x20]
call fcn.1400273b0
add rsp, 0x48
ret
Function at 0x140050a50
Capabilities:
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x140126c60]
nop word [rax + rax]
xor eax, eax
test r9b, 1
je 0x140050a6c
bts eax, 7
mov ecx, r9d
shr ecx, 1
test cl, 1
je 0x140050a7a
bts eax, 6
shr ecx, 1
test cl, 1
je 0x140050a85
bts eax, 5
shr ecx, 1
test cl, 1
je 0x140050a90
bts eax, 4
shr ecx, 1
test cl, 1
je 0x140050a9b
bts eax, 3
shr ecx, 1
test cl, 1
je 0x140050aa6
bts eax, 2
shr ecx, 1
test cl, 1
je 0x140050ab1
bts eax, 1
test cl, 2
je 0x140050aba
bts eax, 0
shl eax, 0x18
lea ecx, [rax + rax]
mov edx, ecx
xor edx, 0x4c11db7
test eax, eax
cmovns edx, ecx
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
test edx, edx
cmovns r8d, eax
xor ecx, ecx
lea edx, [rcx + 0x1e]
test r8b, 1
je 0x140050b51
lea eax, [rdx + 1]
bts ecx, eax
sar r8d, 1
test r8b, 1
je 0x140050b5d
bts ecx, edx
sar r8d, 1
sub edx, 2
cmp edx, 0xfffffffe
jg 0x140050b45
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x140050a60
mov dword [0x140126844], 1
ret
Function at 0x140051f30
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
xor ebx, ebx
lea r14, [rcx + 0xf0]
mov rax, qword [r14]
mov rbp, rcx
lea r9d, [rbx + 1]
cmp rax, r14
je 0x140051f7c
nop dword [rax + rax]
mov rbx, rax
cmp word [rax + 0x10], dx
jne 0x140051f6f
cmp byte [rax + 0x29], r8b
je 0x140051f77
mov rax, qword [rax]
cmp rax, r14
jne 0x140051f60
cmp rax, r14
jne 0x140051fc9
add rcx, 0x110
mov rax, qword [rcx]
cmp rax, rcx
je 0x140051fce
nop dword [rax + rax]
mov rbx, rax
cmp word [rax + 0x26], r9w
jb 0x140051fce
cmp word [rax + 0x10], dx
jne 0x140051fa6
cmp byte [rax + 0x29], r8b
je 0x140051fc1
mov rax, qword [rax]
cmp rax, rcx
jne 0x140051f90
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp rax, rcx
je 0x140051fce
xor r9d, r9d
test rbx, rbx
jne 0x140051fe1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
movzx eax, r8b
mov qword [rsp + 0x30], rsi
cmp rax, qword [rbp + 0x48]
jae 0x14005202c
lea r8, [rax + rax*4]
shr dx, 0xc
shl r8, 4
add r8, qword [rbp + 0x40]
movzx eax, dx
lea rcx, [r8 + rax*2]
movzx eax, word [r8 + rax*2 + 6]
test ax, ax
je 0x14005202c
sub ax, 1
mov word [rcx + 6], ax
jne 0x14005202c
movzx ecx, word [r8 + 4]
movzx eax, dx
btr ecx, eax
mov word [r8 + 4], cx
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
movzx esi, byte [rbx + 0x28]
and esi, 0xf
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rbx + 0x58], 0
je 0x1400520b5
test r9d, r9d
je 0x14005205e
movzx eax, word [rbx + 0x24]
sub dword [rbp + 0xd8], eax
mov rax, qword [rbx + 0x58]
dec qword [rax]
mov rax, qword [rbx + 0x58]
cmp qword [rax], 0
jne 0x1400520b5
or dword [rax + 8], 0x100
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx + 0x58]
test rdi, rdi
je 0x1400520b0
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140052092
mov rcx, rdi
call rax
test byte [rdi + 8], 4
jne 0x1400520a7
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400520a7
call qword [str.f_r_]
mov rcx, rdi
call qword [str.f_r_]
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
call qword [str.f_r_]
mov rcx, qword [r14]
cmp rcx, r14
je 0x1400520cf
mov eax, dword [rcx + 0x18]
add eax, dword [rcx + 0x14]
mov dword [rbp + 0x70], eax
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140052d50
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [r8 + 0x38], 1
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x140052d7f
xor eax, eax
jmp 0x140052f20
mov ecx, dword [r9 + 0x10]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.WS2_32.dll_ntohl]
mov esi, eax
lea rax, [rsi - 1]
cmp rax, 0xfe
ja 0x140052efc
mov ecx, dword [rdi + 0x1c]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa4]
jne 0x140052efc
mov ecx, dword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0x9c]
jne 0x140052efc
mov ecx, dword [rdi + 0x24]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa0]
jne 0x140052efc
mov eax, dword [rbx + 0x1c]
cmp dword [rdi + 0x28], eax
jne 0x140052efc
mov edx, 1
mov r8b, 0xff
mov rcx, rbx
call fcn.140051f30
cmp rsi, qword [rbx + 0x48]
jae 0x140052e05
mov qword [rbx + 0x48], rsi
movzx ecx, word [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x18], ax
movzx eax, byte [rdi + 6]
mov byte [rbx + 0x21], al
movzx eax, byte [rdi + 7]
mov byte [rbx + 0x20], al
mov ecx, dword [rdi + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 0x240
mov esi, 0x1000
cmp eax, ecx
jb 0x140052e3f
cmp eax, esi
mov ecx, eax
cmova ecx, esi
cmp ecx, dword [rbx + 0xd0]
jae 0x140052e4d
mov dword [rbx + 0xd0], ecx
mov ecx, dword [rdi + 0xc]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, esi
jb 0x140052e66
mov ecx, 0x10000
mov esi, eax
cmp eax, ecx
cmova esi, ecx
cmp esi, dword [rbx + 0xd4]
jae 0x140052e74
mov dword [rbx + 0xd4], esi
mov ecx, dword [rdi + 0x14]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x50], eax
mov ecx, dword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x54], eax
mov dword [rbp + 0x24], 1
mov eax, dword [rbx + 0x38]
test r14, r14
je 0x140052edf
add eax, 0xfffffffb
cmp eax, 1
jbe 0x140052ebf
cmp dword [rbx + 0x50], 0
je 0x140052eb4
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2af0]
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2ae8]
mov dword [rbx + 0x38], 5
mov dword [r14], 1
mov qword [r14 + 8], rbx
mov eax, dword [rbx + 0x1cc]
mov dword [r14 + 0x14], eax
xor eax, eax
jmp 0x140052f1b
xor r8d, r8d
mov rdx, rbx
cmp eax, 1
mov rcx, rbp
sete r8b
add r8d, 3
call fcn.140051cf0
xor eax, eax
jmp 0x140052f1b
xor r8d, r8d
mov rdx, rbx
mov dword [rbx + 0x1cc], r8d
mov rcx, rbp
mov r8d, 9
call fcn.140051cf0
lea eax, [r8 - 0xa]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140054860
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [0x140125ac0]
xor r8d, r8d
xor edx, edx
mov dword [rbx + 0x40], eax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400540d0
Function at 0x140054c30
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x101
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140054c99
movzx eax, word [rsp + 0x20]
cmp al, 1
jne 0x140054c93
shr ax, 8
cmp al, 1
jne 0x140054c93
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400d1560
add rsp, 0x1d8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400d1560
add rsp, 0x1d8
ret

Function at 0x140054cc0
Capabilities:
Resolve dns

Disassembly:
push rbx
push r14
sub rsp, 0x58
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x140054d05
cmp word [rax + 0x10], 2
jne 0x140054d05
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [r14], eax
xor eax, eax
jmp 0x140054db9
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x50], rsi
xor esi, esi
mov qword [rsp + 0x48], rdi
mov ebp, esi
mov qword [rsp + 0x40], r15
mov edi, esi
mov dword [rsp + 0x28], 0
lea r15d, [rsi + 0x2e]
nop
lea rdx, [rbx + 1]
mov qword [rsp + 0x20], rdx
cmp byte [rbx], 0x30
je 0x140054d73
mov r8d, 0xa
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp eax, 0xff
ja 0x140054d9b
mov rdx, qword [rsp + 0x20]
cmp rdx, rbx
je 0x140054d9b
mov rcx, rdx
sub rcx, rbx
cmp rcx, 3
jg 0x140054d9b
mov byte [rsp + rdi + 0x28], al
movsx eax, byte [rdx]
cmp ebp, 3
mov ecx, esi
cmovl ecx, r15d
cmp eax, ecx
jne 0x140054d9b
inc ebp
lea rbx, [rdx + 1]
inc rdi
cmp rdi, 4
jl 0x140054d30
mov eax, dword [rsp + 0x28]
mov dword [r14], eax
jmp 0x140054da0
mov esi, 0xffffffff
mov r15, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d1560
add rsp, 0x58
pop r14
pop rbx
ret

Function at 0x140054e60
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x140054e6a
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.140054e60
Function at 0x14005aab0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x13f0
call fcn.1400d2790
sub rsp, rax
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea r8d, [r12 + 0x43]
lea rdx, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ___1234567890
lea rcx, [rsp + 0x30]
call fcn.140028b80
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea ecx, [r12 + 1]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x14005ab40
mov dword [rsp + 0x50], 0x270
mov ebx, dword [rsp + 0x40]
dec ebx
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
mov ebp, 0xa
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x30]
nop dword [rax]
cmp ebx, 0xffffffff
jne 0x14005abb3
lea rcx, [rsp + 0x50]
call fcn.14009b810
mov edx, eax
jmp 0x14005abeb
lea esi, [rbx + 1]
mov r8d, r12d
mov eax, r12d
test ebx, ebx
je 0x14005abd2
lea rcx, [rsp + 0x50]
call fcn.14009b810
mov r8d, eax
mov eax, 0xffffffff
xor edx, edx
div esi
mov r9d, edx
mov ecx, eax
xor edx, edx
mov eax, r8d
div esi
cmp eax, ecx
jb 0x14005abeb
cmp r9d, ebx
jne 0x14005abb6
lea rcx, [rsp + 0x30]
cmp r14, 0x10
cmovae rcx, r15
movsxd rax, edx
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14005ac2c
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14005ac21
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005ac34
mov rcx, rdi
call fcn.140028d90
sub rbp, 1
jne 0x14005aba0
lea rcx, [rsp + 0x30]
call fcn.140027180
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.1400d1560
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14009b810
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14009b871
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14009b830
mov ecx, dword [r10]
jmp 0x14009b95a
cmp ecx, 0x4e0
jb 0x14009b95a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14009b890
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14009b8e0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x14009c4c0
Capabilities:
Hash data using fnv

Disassembly:
movzx r9d, byte [r8]
movabs rcx, 0x100000001b3
mov r10, rdx
movabs rax, 0xcbf29ce484222325
mov rdx, qword [0x140127100]
xor r9, rax
movzx eax, byte [r8 + 1]
mov r11, r8
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
mov r8, qword [0x1401270d8]
imul r9, rcx
xor r9, rax
imul r9, rcx
and rdx, r9
shl rdx, 4
add rdx, qword [0x1401270e8]
mov rax, qword [rdx + 8]
cmp rax, r8
je 0x14009c55c
mov ecx, dword [r11]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x14009c55e
nop dword [rax]
cmp rax, rdx
je 0x14009c55c
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14009c540
test rax, rax
cmovne r8, rax
mov rax, r10
mov qword [r10], r8
ret
xor eax, eax
test rax, rax
cmovne r8, rax
mov rax, r10
mov qword [r10], r8
ret
Function at 0x14009c700
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.1400d1580
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14009eb80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14009c773
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d1560
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14009c7c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400d1580
mov r9, rax
mov rax, qword [rbx]
mov qword [r9], rax
mov qword [rsp + 0x30], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x14009ebb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14009c83c
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d1560
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14009c8d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.1400d1580
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14009f520]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14009c943
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d1560
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14009c960
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400d1580
mov r9, rax
mov rax, qword [rbx]
mov qword [r9], rax
mov qword [rsp + 0x30], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x14009f5e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14009c9dc
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d1560
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3