joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011825
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400182e0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x14002c018]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x1400330f4]
call fcn.14001183e
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x140018346
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001834d
mov al, 1
jmp 0x1400184a7
call fcn.14001123f
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.14001123f
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.1400116ea
movzx eax, al
test eax, eax
je 0x1400183a8
xor al, al
jmp 0x1400184a7
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x14001840d
cmp dword [rbp + 0x194], 1
je 0x140018418
cmp dword [rbp + 0x194], 3
je 0x140018496
jmp 0x1400184a5
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140018468
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140018468
xor al, al
jmp 0x1400184a7
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140018483
mov dword [rbp + 0x194], 1
jmp 0x14001848d
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x1400184a7
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400184a7
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140026670]
call fcn.1400116cc
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.1400113e3
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x405203
Capabilities:
Hash data using fnv

Disassembly:
imul eax, r8d, 0x811c9dc5
xor r8d, r8d
cmp rdx, r8
je 0x405225
movzx r9d, byte [rcx + r8]
xor eax, r9d
imul eax, eax, 0x1000193
inc r8
jmp 0x40520d
ret

Function at 0x405c30
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
mov rcx, rax
jmp dbg.runtime.hash32

Function at 0x405c3f
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
mov rcx, rax
jmp dbg.runtime.hashmapInterfaceHash

Function at 0x405c50
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x405cd6
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
mov edx, 0x83
call dbg.runtime.alloc
mov r14, rax
mov qword [rax], rbx
mov rcx, rdi
call dbg.(*reflect.rawType).Size
cmp rax, 9
cmovae r14, rbx
test dil, 3
jne case.0x405cb3.1
movzx eax, byte [rdi]
and eax, 0x1f
dec eax
cmp eax, 0x19
ja case.0x405cb3.20
lea rcx, [0x00405e1c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rcx, rdi
call dbg.(*reflect.rawType).Size
mov rcx, r14
mov rdx, rax
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp dbg.runtime.hash32
xor r14d, r14d
mov eax, r14d
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp dbg.runtime.hashmapFloat32Hash
mov rcx, r14
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp dbg.runtime.hashmapFloat64Hash
lea rdi, [r14 + 4]
mov rcx, r14
mov rdx, rsi
call dbg.runtime.hashmapFloat32Hash
mov ebx, eax
mov rcx, rdi
mov rdx, rsi
call dbg.runtime.hashmapFloat32Hash
jmp 0x405d4e
lea rdi, [r14 + 8]
mov rcx, r14
mov rdx, rsi
call dbg.runtime.hashmapFloat64Hash
mov ebx, eax
mov rcx, rdi
mov rdx, rsi
call dbg.runtime.hashmapFloat64Hash
mov r14d, eax
xor r14d, ebx
jmp 0x405cd9
mov rcx, rdi
mov rdx, rbx
call dbg.(reflect.Value).String
mov rcx, rax
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp dbg.runtime.hashmapStringHash
xor r14d, r14d
xor r15d, r15d
mov rcx, rdi
mov rdx, rbx
mov r8b, 2
call dbg.(reflect.Value).Len
cmp r15, rax
jge 0x405cd9
mov rcx, rdi
mov rdx, rbx
mov r8b, 2
mov r9, r15
call dbg.(reflect.Value).Index
mov r8d, ecx
mov rcx, rax
call dbg.reflect.valueInterfaceUnsafe
mov rcx, rax
mov r8, rsi
call dbg.runtime.hashmapInterfaceHash
xor r14d, eax
inc r15
jmp 0x405d7d
xor r14d, r14d
xor r15d, r15d
mov rcx, rdi
call dbg.(*reflect.rawType).NumField
cmp r15, rax
jge 0x405cd9
mov rcx, rdi
mov rdx, rbx
mov r8b, 2
mov r9, r15
call dbg.(reflect.Value).Field
mov r8d, ecx
mov rcx, rax
call dbg.reflect.valueInterfaceUnsafe
mov rcx, rax
mov r8, rsi
call dbg.runtime.hashmapInterfaceHash
xor r14d, eax
inc r15
jmp 0x405dc9
lea rcx, [0x0040f729]
mov edx, 0x1c
call dbg.runtime.runtimePanic
int3
Function at 0x140149e40
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
lea r8, [0x14014a4f0]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x140149ec0]
mov byte [0x140150750], 1
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14014a0c0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.14014acb0
call fcn.14014a520
mov ecx, 0xa
call fcn.14014a3f0
jmp 0x140149eb0
Function at 0x14014bf9c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14014bfe6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14014bfe6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14014bfe6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14014bfe6
cmp dword [rcx + 0x84], 0xe
jbe 0x14014bfe6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14014bfe8
xor al, al
add rsp, 0x28
ret
Function at 0x14000ee20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
cmp qword [rdx + 0x18], 0xf
mov r10, rdx
mov r11, qword [rdx + 0x10]
mov rbx, rdx
jbe 0x14000ee3e
mov rbx, qword [rdx]
xor edx, edx
movabs r8, 0xcbf29ce484222325
mov r9, r8
mov ecx, edx
movabs rsi, 0x100000001b3
test r11, r11
je 0x14000ee73
nop
movzx eax, byte [rcx + rbx]
inc rcx
xor r9, rax
imul r9, rsi
cmp rcx, r11
jb 0x14000ee60
cmp qword [r10 + 0x18], 0xf
jbe 0x14000ee7d
mov r10, qword [r10]
test r11, r11
je 0x14000eea4
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx + r10]
inc rdx
xor r8, rcx
imul r8, rsi
cmp rdx, r11
jb 0x14000ee90
mov rbx, qword [rsp + 8]
movabs rax, 0x122c35e409e5
mov rsi, qword [rsp + 0x10]
imul rax, r9
add rax, r8
ret
Function at 0x140010090
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rdx]
mov rdi, rdx
mov rbx, rcx
cmp eax, 0x301
jne 0x1400100cd
mov eax, dword [rdx + 0x14]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x40], eax
add rcx, 0x40
call fcn.14000fd80
mov r8, qword [rax]
mov byte [r8 + 0x14], 0
jmp 0x140010100
cmp eax, 0x300
jne 0x140010100
cmp byte [rdx + 0xd], 0
jne 0x140010100
mov eax, dword [rdx + 0x14]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x40], eax
add rcx, 0x40
call fcn.14000fd80
mov rcx, qword [rax]
mov byte [rcx + 0x14], 1
nop dword [rax + rax]
movzx edx, byte [rdi]
movabs rcx, 0x100000001b3
mov r10, qword [rbx + 0x30]
movabs rax, 0xcbf29ce484222325
mov r9, qword [rbx + 8]
xor rdx, rax
movzx eax, byte [rdi + 1]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rdi + 2]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rdi + 3]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
and r10, rdx
shl r10, 4
add r10, qword [rbx + 0x18]
mov rcx, qword [r10 + 8]
mov rax, rcx
cmp rcx, r9
je 0x140010178
mov edx, dword [rdi]
mov r8, qword [r10]
cmp edx, dword [rcx + 0x10]
je 0x14001017a
cmp rax, r8
je 0x140010178
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x140010168
jmp 0x14001017a
xor eax, eax
test rax, rax
je 0x1400101d3
cmp rax, r9
je 0x1400101d3
cmp rcx, r9
je 0x1400101e4
mov eax, dword [rdi]
mov rdx, qword [r10]
cmp eax, dword [rcx + 0x10]
je 0x1400101a1
cmp rcx, rdx
je 0x1400101e4
mov rcx, qword [rcx + 8]
cmp eax, dword [rcx + 0x10]
jne 0x140010193
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x48], rsi
mov rsi, qword [rcx + 0x20]
cmp rbx, rsi
je 0x1400101ce
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400101de
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x10]
add rbx, 0x40
cmp rbx, rsi
jne 0x1400101b3
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.1401368e0
int3
lea rcx, [0x14017c0a8]
call fcn.140136924
int3
add rcx, 0x18
jmp 0x140010090

Function at 0x140010200
Capabilities:
Hash data using fnv

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
mov r9, rcx
movzx r8d, dl
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rsp + 0x39]
imul r8, rcx
mov r11, qword [r9 + 0x70]
mov r10, qword [r9 + 0x48]
xor r8, rax
movzx eax, byte [rsp + 0x3a]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x3b]
imul r8, rcx
xor r8, rax
imul r8, rcx
and r11, r8
shl r11, 4
add r11, qword [r9 + 0x58]
mov rcx, qword [r11 + 8]
mov rax, rcx
cmp rcx, r10
je 0x140010285
mov r8, qword [r11]
cmp edx, dword [rcx + 0x10]
je 0x140010287
cmp rax, r8
je 0x140010285
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x140010275
jmp 0x140010287
xor eax, eax
test rax, rax
cmove rax, r10
cmp rax, r10
jne 0x1400102a0
xor al, al
add rsp, 0x28
ret
cmp rcx, r10
je 0x1400102c7
mov rax, qword [r11]
cmp edx, dword [rcx + 0x10]
je 0x1400102be
nop dword [rax]
cmp rcx, rax
je 0x1400102c7
mov rcx, qword [rcx + 8]
cmp edx, dword [rcx + 0x10]
jne 0x1400102b0
movzx eax, byte [rcx + 0x14]
add rsp, 0x28
ret
lea rcx, [0x14017c0a8]
call fcn.140136924
int3
Function at 0x1400102e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140010491
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000ea60
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140010456
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400103d0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140010445
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001040d
mov r10, qword [rdx]
cmp r10, rax
je 0x140010407
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140010445
cmp r9, rdx
je 0x140010421
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14001046b
cmp r9, rdx
jne 0x140010412
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140010380
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140010445
lea rcx, str.invalid_hash_bucket_count
call fcn.140136900
int3
Function at 0x1400111b0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rdx]
mov rdi, rdx
mov rbx, rcx
cmp eax, 0x301
jne 0x1400100cd
mov eax, dword [rdx + 0x14]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x40], eax
add rcx, 0x40
call fcn.14000fd80
mov r8, qword [rax]
mov byte [r8 + 0x14], 0
jmp 0x140010100
cmp eax, 0x300
jne 0x140010100
cmp byte [rdx + 0xd], 0
jne 0x140010100
mov eax, dword [rdx + 0x14]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x40], eax
add rcx, 0x40
call fcn.14000fd80
mov rcx, qword [rax]
mov byte [rcx + 0x14], 1
nop dword [rax + rax]
movzx edx, byte [rdi]
movabs rcx, 0x100000001b3
mov r10, qword [rbx + 0x30]
movabs rax, 0xcbf29ce484222325
mov r9, qword [rbx + 8]
xor rdx, rax
movzx eax, byte [rdi + 1]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rdi + 2]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rdi + 3]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
and r10, rdx
shl r10, 4
add r10, qword [rbx + 0x18]
mov rcx, qword [r10 + 8]
mov rax, rcx
cmp rcx, r9
je 0x140010178
mov edx, dword [rdi]
mov r8, qword [r10]
cmp edx, dword [rcx + 0x10]
je 0x14001017a
cmp rax, r8
je 0x140010178
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x140010168
jmp 0x14001017a
xor eax, eax
test rax, rax
je 0x1400101d3
cmp rax, r9
je 0x1400101d3
cmp rcx, r9
je 0x1400101e4
mov eax, dword [rdi]
mov rdx, qword [r10]
cmp eax, dword [rcx + 0x10]
je 0x1400101a1
cmp rcx, rdx
je 0x1400101e4
mov rcx, qword [rcx + 8]
cmp eax, dword [rcx + 0x10]
jne 0x140010193
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x48], rsi
mov rsi, qword [rcx + 0x20]
cmp rbx, rsi
je 0x1400101ce
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400101de
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x10]
add rbx, 0x40
cmp rbx, rsi
jne 0x1400101b3
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.1401368e0
int3
lea rcx, [0x14017c0a8]
call fcn.140136924
int3
add rcx, 0x18
jmp 0x140010090
Function at 0x140014e40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140014e71
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x140014eeb
mov rdi, r14
mov rcx, rbx
call fcn.140013880
test rax, rax
jle 0x140014ec3
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.140176bc0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140014edb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140014ee3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140014e85
sub r14, rdi
jmp 0x140014fcf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140014f02
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140014f04
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140014f36
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140176bc0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140014fcc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140014f71
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140014fad
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140147a40
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140014fcc
cmp rbp, rax
ja 0x140014f80
test rbp, rbp
je 0x140014fcc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140147a40
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001a5e0
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 0x14001a6ac
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001a6ac
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 0x14001a6c5
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 0x14001a69c
cmp byte [rax], 0x5c
jne 0x14001a696
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14001a696
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14001a682
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14001a693
test r8b, 0x10
jne 0x14001a696
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14001a696
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14001cd80
test edi, edi
jne 0x14001a600
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.14001ba30
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14001d2a4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001d290
ret
Function at 0x14002df90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x14002dfc4
cmp ecx, r10d
jge 0x14002dfb2
mov rcx, rbx
call fcn.140027440
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x14002dffe
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x14002dfe0
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14002e02d
mov edx, dword [0x1401efdcc]
mov rax, qword gs:[0x58]
mov ecx, 0x20
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14002e05f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax]
cmp rax, r8
jb 0x14002e049
xor dl, dl
jmp 0x14002e052
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14002e040
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14002e002
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14002e0d4
mov edx, dword [0x1401efdcc]
mov rax, qword gs:[0x58]
mov ecx, 0x20
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14002e0ee
mov rcx, rbx
call fcn.140033650
test eax, eax
je 0x14002e0c7
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.140176bc0
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14003f1b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rdx, r8
je 0x14003f2bf
push rbx
sub rsp, 0x20
mov qword [rsp + 0x30], rdi
mov r11, r8
lea rdi, [0x140000000]
mov r10, rdx
mov rbx, rcx
movzx edx, byte [r10 + 9]
movzx eax, dl
and al, 7
cmp al, 3
jne case.0x14003f21a.8
xor dl, 7
mov byte [r10 + 9], dl
test dl, 0x20
je case.0x14003f21a.8
movzx eax, byte [r10 + 8]
add eax, 0xfffffffc
cmp eax, 0x22
ja case.0x14003f21a.8
cdqe
movzx eax, byte [rdi + rax + 0x3f2d4]
mov ecx, dword [rdi + rax*4 + 0x3f2c0]
add rcx, rdi
jmp rcx
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
jmp case.0x14003f21a.8
mov rcx, qword [r10 + 0x10]
lea rax, [r10 + 0x18]
cmp rcx, rax
je 0x14003f23d
and dl, 0xc7
jmp 0x14003f243
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
test byte [rcx + 8], 0x40
je case.0x14003f21a.8
mov rdx, qword [rcx]
test byte [rdx + 9], 0x18
je case.0x14003f21a.8
mov rcx, rbx
call fcn.14003f8e0
jmp case.0x14003f21a.8
cmp word [r10 + 0xa], 0
jne case.0x14003f21a.5
mov rdx, qword [r10 + 0x18]
test rdx, rdx
je 0x14003f27f
test byte [rdx + 9], 0x18
je 0x14003f27f
mov rcx, rbx
call fcn.14003f8e0
and byte [r10 + 9], 0xe7
or byte [r10 + 9], 0x20
jmp case.0x14003f21a.8
mov rcx, r10
call fcn.14003e6c0
mov rcx, qword [rbx + 0x88]
mov qword [rax], rcx
mov qword [rbx + 0x88], r10
and byte [r10 + 9], 0xc7
mov r10, qword [r10]
cmp r10, r11
jne 0x14003f1d3
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x140040d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov eax, 1
movzx ecx, byte [rdx + 0xb]
mov rdi, rdx
shl eax, cl
mov rcx, rdx
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rsi, [rax + r8*8]
call fcn.140044250
test eax, eax
je 0x140040dd8
xor r10d, r10d
mov r11d, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x140040dce
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x140040dce
mov rcx, rbx
call fcn.14003f8e0
add r10, 0x10
sub r11, 1
jne 0x140040db0
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x140040e2f
test byte [r10 + 8], 0xf
movzx eax, byte [r10 + 9]
jne 0x140040df8
test al, 0x40
je 0x140040e26
mov byte [r10 + 9], 0xb
jmp 0x140040e26
test al, 0x40
je 0x140040e0e
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x140040e0e
mov rcx, rbx
call fcn.14003f8e0
test byte [r10 + 8], 0x40
je 0x140040e26
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x140040e26
mov rcx, rbx
call fcn.14003f8e0
add r10, 0x18
cmp r10, rsi
jb 0x140040de1
movzx eax, byte [rdi + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x140040e6b
mov rcx, rdi
call fcn.14003e6c0
mov rcx, qword [rbx + 0x90]
mov qword [rax], rcx
mov qword [rbx + 0x90], rdi
and byte [rdi + 9], 0xc7
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x140040e75
xor al, 2
mov byte [rdi + 9], al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret