joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14036b4f0
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rdx
mov eax, dword [rdx]
mov edx, eax
shr edx, 0x10
xor edx, eax
imul edx, edx, 0x85ebca6b
mov r8d, edx
shr r8d, 0xd
xor r8d, edx
imul edx, r8d, 0xc2b2ae35
mov r8d, edx
shr r8d, 0x10
xor r8d, edx
mov ebp, 1
cmovne ebp, r8d
mov edx, dword [rcx + 4]
xor edi, edi
test edx, edx
jle 0x14036b60a
lea r9d, [rdx - 1]
and r9d, ebp
mov r8, qword [rcx + 8]
mov r10d, edx
jmp 0x14036b569
test r9d, r9d
mov r11d, edx
cmovg r11d, edi
add r9d, r11d
dec r9d
dec r10d
je 0x14036b60a
movsxd r11, r9d
lea r11, [r11 + r11*2]
lea r14, [r8 + r11*8]
mov ebx, dword [r8 + r11*8]
test ebx, ebx
je 0x14036b5e7
cmp ebp, ebx
jne 0x14036b550
cmp eax, dword [r8 + r11*8 + 8]
jne 0x14036b550
lea rdi, [r8 + r11*8]
add rdi, 8
mov rbx, qword [r8 + r11*8 + 0x10]
test rbx, rbx
je 0x14036b5c7
mov eax, dword [0x1406ae078]
mov ecx, dword [0x1406affd8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x30]
jg 0x14036b618
mov rax, qword [0x1406ae070]
mov rcx, rbx
call qword [rax + 0x70]
mov dword [r14], 0
mov eax, dword [rsi]
mov dword [rdi], eax
mov rax, qword [rsi + 8]
mov qword [rsi + 8], 0
mov qword [rdi + 8], rax
mov dword [r14], ebp
jmp 0x14036b60a
lea rdi, [r8 + r11*8]
add rdi, 8
mov dword [r8 + r11*8 + 8], eax
mov rax, qword [rsi + 8]
mov qword [rsi + 8], 0
mov qword [r8 + r11*8 + 0x10], rax
mov dword [r14], ebp
inc dword [rcx]
mov rax, rdi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1406ae078]
call fcn.140560470
cmp dword [0x1406ae078], 0xffffffff
jne 0x14036b5ba
lea rcx, [0x1406ae070]
call fcn.140432170
lea rcx, [0x140369540]
call fcn.1405607f4
lea rcx, [0x1406ae078]
call fcn.140560410
jmp 0x14036b5ba
Function at 0x1403c2b40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov ebx, r9d
mov rsi, qword [rsp + 0x170]
mov r13, qword [rsp + 0x168]
mov r11d, dword [rsp + 0x160]
mov r9d, dword [rsp + 0x158]
mov r12, qword [rsp + 0x150]
mov rbp, qword [rsp + 0x148]
mov rax, qword [rsp + 0x140]
mov r10, qword [0x1406a7e00]
xor r10, rsp
mov qword [rsp + 0xd0], r10
movzx r10d, word [rax]
movd xmm0, r10d
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqa xmmword [rsp + 0xc0], xmm0
movzx r10d, word [rax + 2]
movd xmm0, r10d
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqa xmmword [rsp + 0xb0], xmm0
movzx r10d, word [rax + 4]
movd xmm0, r10d
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqa xmmword [rsp + 0xa0], xmm0
movzx r10d, word [rax + 6]
movd xmm0, r10d
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqa xmmword [rsp + 0x90], xmm0
movzx eax, word [rax + 8]
movd xmm0, eax
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqa xmmword [rsp + 0x80], xmm0
xor r15d, r15d
cmp r9d, 8
jl 0x1403c2cfe
lea eax, [r9 - 8]
mov dword [rsp + 0x74], eax
mov eax, edx
mov qword [rsp + 0x78], rax
xor r15d, r15d
nop dword [rax]
lea rax, [r15 + r13]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], r11d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], rbp
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov rdx, r8
mov rsi, r8
mov r8d, ebx
mov r9d, 8
mov rdi, rcx
mov r14, r12
mov r12d, r11d
call fcn.1403c3000
mov r11d, r12d
mov r12, r14
mov rcx, rdi
mov r8, rsi
mov rsi, qword [rsp + 0x170]
add rbp, qword [rsp + 0x78]
add r15, 8
cmp r15d, dword [rsp + 0x74]
jle 0x1403c2c50
add r13, r15
mov r9d, dword [rsp + 0x158]
sub r9d, r15d
jle 0x1403c2d68
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x58], r11d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], rbp
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov rdx, r8
mov r8d, ebx
call fcn.1403c3000
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1405602f0
nop
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1404323b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rbx
sub rsp, 0x78
mov rax, qword [0x1406a7e00]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [0x1406ae490]
lea r8, [rsp + 0x24]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x14043258a
cmp dword [rsp + 0x24], 0
je 0x14043256d
lea rcx, str.WeChatResource.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140432454
mov rsi, rax
lea r8, [0x14060dad2]
mov edx, 0x270e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140432454
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140432454
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140432454
mov rcx, rax
call fcn.140432320
mov byte [0x1406ae488], al
test al, al
je 0x14043245b
jmp 0x140432557
mov byte [0x1406ae488], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov rdx, rax
call fcn.140432970
mov rcx, rsi
call fcn.1404325a0
test al, al
je 0x14043248b
mov byte [0x1406ae488], 1
jmp 0x140432513
mov qword [rsp + 0x28], 0
lea rdx, [0x1404328a0]
lea r8, [rsp + 0x28]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov rdx, qword [rsp + 0x28]
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.140432970
mov rcx, rsi
call fcn.1404325a0
mov byte [0x1406ae488], al
mov rax, qword [rsp + 0x48]
cmp rax, 8
jb 0x140432513
mov rcx, qword [rsp + 0x30]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14043250e
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14043258f
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140560310
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x140432557
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140432552
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14043258f
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140560310
lea rcx, [0x1406ae490]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x14043258a
movzx ebx, byte [0x1406ae488]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1405602f0
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
ret
call fcn.14056f538
call fcn.140568720
int3
Function at 0x1404475d0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx edx, byte [r8 + 3]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 4]
xor rcx, rdx
imul rcx, rax
movzx edx, byte [r8 + 5]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 6]
xor rcx, rdx
imul rcx, rax
movzx r15d, byte [r8 + 7]
xor r15, rcx
imul r15, rax
mov rcx, qword [rdi + 0x30]
and rcx, r15
mov rdx, qword [rdi + 0x18]
mov rax, rcx
shl rax, 4
mov rbx, qword [rdx + rax + 8]
cmp rbx, qword [rdi + 8]
je 0x1404476a6
mov rax, qword [r14]
cmp rax, qword [rbx + 0x10]
je 0x14044769f
add rcx, rcx
mov r12, qword [rdx + rcx*8]
nop dword [rax + rax]
cmp rbx, r12
je 0x1404476a9
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x140447690
xor eax, eax
jmp 0x140447840
mov r12, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [rdi + 0x10], rax
je 0x140447859
mov ecx, 0x20
call fcn.140560580
mov rbx, rax
mov r13, qword [r14]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0
mov rax, qword [rdi + 0x10]
inc rax
js 0x1404476e9
cvtsi2ss xmm0, rax
jmp 0x1404476fe
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [rdi]
mov r14, qword [rdi + 0x38]
test r14, r14
js 0x140447712
cvtsi2ss xmm2, r14
jmp 0x14044772a
mov rax, r14
shr rax, 1
mov ecx, r14d
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x1404477ea
divss xmm0, xmm1
call fcn.14056f5a8
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1405c5018]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp r14, rax
jae 0x140447791
lea rcx, [r14*8]
cmp rcx, rax
cmovb rcx, rax
cmp r14, 0x200
cmovae rcx, rax
mov r14, rcx
mov rcx, rdi
mov rdx, r14
call fcn.14025fa40
mov rax, qword [rdi + 0x30]
and rax, r15
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r12, qword [rcx + rdx + 8]
cmp r12, qword [rdi + 8]
je 0x1404477ea
cmp r13, qword [r12 + 0x10]
je 0x1404477e1
add rax, rax
mov rax, qword [rcx + rax*8]
nop word [rax + rax]
cmp r12, rax
je 0x1404477e7
mov r12, qword [r12 + 8]
cmp r13, qword [r12 + 0x10]
jne 0x1404477d0
mov r12, qword [r12]
jmp 0x1404477ea
mov r12, rax
mov rcx, qword [r12 + 8]
inc qword [rdi + 0x10]
mov qword [rbx], r12
mov qword [rbx + 8], rcx
mov qword [rcx], rbx
mov qword [r12 + 8], rbx
mov rax, qword [rdi + 0x18]
and r15, qword [rdi + 0x30]
shl r15, 4
lea rdx, [rax + r15]
lea r8, [rax + r15]
add r8, 8
mov rax, qword [rax + r15]
cmp rax, qword [rdi + 8]
je 0x140447835
cmp rax, r12
je 0x14044783b
mov al, 1
mov rdx, r8
cmp qword [r8], rcx
jne 0x140447840
jmp 0x14044783b
mov qword [rdx], rbx
mov rdx, r8
mov qword [rdx], rbx
mov al, 1
mov qword [rsi], rbx
mov byte [rsi + 8], al
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.unordered_map_set_too_long
call fcn.14055e104
int3
Function at 0x140459d70
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, rcx
mov rax, qword [0x1406a7e00]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [rdx]
lea r8, [rsp + 0x2c]
mov rcx, rsi
mov edx, 0x73726563
call fcn.1402a3ab0
mov rdi, rax
mov dword [rsp + 0x58], 0xff000000
mov byte [rsp + 0x63], 0
mov ebx, dword [rsp + 0x2c]
lea rcx, [rsp + 0x30]
mov rdx, rax
mov r8, rbx
call fcn.140562340
mov eax, dword [rsp + 0x30]
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
imul ecx, ecx, 0x85ebca6b
mov edx, ecx
shr edx, 0xd
xor edx, ecx
imul ecx, edx, 0xc2b2ae35
mov edx, ecx
shr edx, 0x10
xor edx, ecx
mov ecx, 1
cmovne ecx, edx
mov edx, dword [r14 + 4]
test edx, edx
jle 0x140459e6f
lea r8d, [rdx - 1]
and r8d, ecx
mov r9, qword [r14 + 8]
xor r10d, r10d
mov r11d, edx
jmp 0x140459e25
test r8d, r8d
mov r14d, edx
cmovg r14d, r10d
add r8d, r14d
dec r8d
dec r11d
je 0x140459e6f
movsxd r14, r8d
lea r14, [r14 + r14*2]
mov ebp, dword [r9 + r14*8]
test ebp, ebp
je 0x140459e6f
cmp ecx, ebp
jne 0x140459e10
cmp eax, dword [r9 + r14*8 + 8]
jne 0x140459e10
lea rax, [r9 + r14*8]
add rax, 8
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov r8, rbx
call fcn.140562340
mov rcx, rsi
call fcn.1402a3a80
mov sil, 1
jmp 0x140459e71
xor esi, esi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1405602f0
mov eax, esi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rcx]
jmp 0x140459d70

Function at 0x140459e90
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, rcx
mov rax, qword [0x1406a7e00]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [rdx]
lea r8, [rsp + 0x2c]
mov rcx, rsi
mov edx, 0x73726563
call fcn.1402a3ab0
mov rdi, rax
mov dword [rsp + 0x58], 0xff000000
mov byte [rsp + 0x63], 0
mov ebx, dword [rsp + 0x2c]
lea rcx, [rsp + 0x30]
mov rdx, rax
mov r8, rbx
call fcn.140562340
mov eax, dword [rsp + 0x30]
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
imul ecx, ecx, 0x85ebca6b
mov edx, ecx
shr edx, 0xd
xor edx, ecx
imul ecx, edx, 0xc2b2ae35
mov edx, ecx
shr edx, 0x10
xor edx, ecx
mov ecx, 1
cmovne ecx, edx
mov edx, dword [r14 + 4]
test edx, edx
jle 0x140459e6f
lea r8d, [rdx - 1]
and r8d, ecx
mov r9, qword [r14 + 8]
xor r10d, r10d
mov r11d, edx
jmp 0x140459e25
test r8d, r8d
mov r14d, edx
cmovg r14d, r10d
add r8d, r14d
dec r8d
dec r11d
je 0x140459e6f
movsxd r14, r8d
lea r14, [r14 + r14*2]
mov ebp, dword [r9 + r14*8]
test ebp, ebp
je 0x140459e6f
cmp ecx, ebp
jne 0x140459e10
cmp eax, dword [r9 + r14*8 + 8]
jne 0x140459e10
lea rax, [r9 + r14*8]
add rax, 8
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov r8, rbx
call fcn.140562340
mov rcx, rsi
call fcn.1402a3a80
mov sil, 1
jmp 0x140459e71
xor esi, esi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1405602f0
mov eax, esi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rcx]
jmp 0x140459d70
Function at 0x1404657e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
lea rax, [r8 + 2]
cmp rax, rdx
ja 0x1404659f3
mov ebx, r9d
mov rsi, rdx
mov rdi, rcx
lea r14, [rcx + r8]
mov eax, r9d
xor al, 1
movzx eax, al
movzx r15d, r9b
movzx ecx, byte [r15 + r14]
shl ecx, 8
movzx ebp, byte [rax + r14]
or ebp, ecx
mov rax, rdx
sub rax, r8
add rax, 0xfffffffffffffffe
movabs rcx, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 3
cmp ebp, edx
cmovae ebp, edx
test ebp, ebp
je 0x1404659f3
movzx r13d, byte [rsp + 0xa0]
add r14, 2
lea r12, [r8 + rdi]
add r12, 6
jmp 0x1404658a3
mov rcx, r12
sub rcx, r15
movzx eax, byte [r15 + r12 + 4]
shl eax, 8
movzx ecx, byte [rcx + 5]
lea edx, [rax + rcx]
add edx, 0xfffffff7
cmp dx, 0xfff8
jae 0x140465a06
add r14, 0xc
add r12, 0xc
dec ebp
je 0x1404659f3
test bl, bl
je 0x1404658e0
movzx ecx, word [r12 - 4]
movzx eax, word [r12 - 2]
movzx edx, byte [r12 + 3]
shl edx, 0x18
movzx r9d, byte [r12 + 2]
shl r9d, 0x10
or r9d, edx
movzx r8d, byte [r12 + 1]
shl r8d, 8
or r8d, r9d
mov rdx, r12
jmp 0x14046591a
movzx ecx, word [r12 - 4]
rol cx, 8
movzx eax, word [r12 - 2]
rol ax, 8
movzx edx, byte [r12]
shl edx, 0x18
movzx r9d, byte [r12 + 1]
shl r9d, 0x10
or r9d, edx
movzx r8d, byte [r12 + 2]
shl r8d, 8
or r8d, r9d
lea rdx, [r14 + 7]
movzx edx, byte [rdx]
or edx, r8d
movzx ecx, cx
cmp ax, 3
jne 0x14046593a
cmp ecx, 0x112
jne 0x14046593a
cmp edx, 1
je 0x140465870
cmp ax, 4
jne 0x140465893
cmp ecx, 0x8769
jne 0x140465893
test r13b, r13b
je 0x140465893
cmp edx, 1
jne 0x140465893
test bl, bl
je 0x14046598c
lea rax, [r12 + 4]
movzx ecx, byte [r12 + 7]
shl ecx, 0x18
movzx edx, byte [r12 + 6]
shl edx, 0x10
or edx, ecx
movzx ecx, byte [r12 + 5]
shl ecx, 8
or ecx, edx
jmp 0x1404659af
movzx eax, byte [r12 + 4]
shl eax, 0x18
movzx edx, byte [r12 + 5]
shl edx, 0x10
or edx, eax
movzx ecx, byte [r12 + 6]
shl ecx, 8
or ecx, edx
lea rax, [r14 + 0xb]
movzx eax, byte [rax]
mov r8d, ecx
or r8, rax
je 0x140465893
cmp r8, rsi
jae 0x140465893
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r9d, ebx
call fcn.1404657e0
test al, al
je 0x140465893
mov al, 1
jmp 0x1404659f5
xor eax, eax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or eax, ecx
mov rcx, qword [rsp + 0xa8]
mov dword [rcx], eax
mov al, 1
jmp 0x1404659f5
Function at 0x140466660
Capabilities:
Check for software breakpoints

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [rcx + 0x24]
cmp eax, 0xcc
je 0x14046673e
cmp eax, 0xcb
je 0x1404666cb
cmp eax, 0xca
jne 0x1404666a4
mov rcx, rsi
call fcn.140466010
cmp dword [rsi + 0x58], 0
je 0x1404666c4
mov dword [rsi + 0x24], 0xcf
mov eax, 1
add rsp, 0x20
pop rsi
ret
mov rax, qword [rsi]
mov dword [rax + 0x28], 0x14
mov eax, dword [rsi + 0x24]
mov rcx, qword [rsi]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
jmp 0x14046673e
mov dword [rsi + 0x24], 0xcb
mov rax, qword [rsi + 0x240]
cmp dword [rax + 0x20], 0
je 0x140466732
nop dword [rax + rax]
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1404666ee
mov rcx, rsi
call qword [rax]
mov rax, qword [rsi + 0x240]
mov rcx, rsi
call qword [rax]
test eax, eax
je 0x14046669e
cmp eax, 2
je 0x140466732
and eax, 0xfffffffd
cmp eax, 1
jne 0x1404666e0
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1404666e0
mov edx, dword [rax + 8]
inc edx
mov dword [rax + 8], edx
mov rax, qword [rsi + 0x10]
mov ecx, dword [rax + 0xc]
cmp edx, ecx
jl 0x1404666e0
add ecx, dword [rsi + 0x1a4]
mov dword [rax + 0xc], ecx
jmp 0x1404666e0
mov eax, dword [rsi + 0xac]
mov dword [rsi + 0xb4], eax
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x140466750
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x140466781
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov dword [rsi + 0x24], 0xcc
mov rax, qword [rsi + 0x220]
cmp dword [rax + 0x10], 0
je 0x140466837
lea rdi, [rsi + 0xa8]
mov ebp, dword [rsi + 0xa8]
jmp 0x1404667e2
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax + 8]
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov rax, qword [rsi + 0x220]
xor ebp, ebp
cmp dword [rax + 0x10], 0
je 0x140466837
cmp ebp, dword [rsi + 0x8c]
jae 0x1404667b0
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140466812
mov dword [rax + 8], ebp
mov eax, dword [rsi + 0x8c]
mov rcx, qword [rsi + 0x10]
mov dword [rcx + 0xc], eax
mov rax, qword [rsi + 0x10]
mov rcx, rsi
call qword [rax]
mov ebp, dword [rsi + 0xa8]
mov rax, qword [rsi + 0x228]
xor ebx, ebx
mov rcx, rsi
xor edx, edx
mov r8, rdi
xor r9d, r9d
call qword [rax + 8]
mov eax, dword [rsi + 0xa8]
cmp eax, ebp
mov ebp, eax
jne 0x1404667e2
jmp 0x14046684b
cmp dword [rsi + 0x5c], 1
mov eax, 0xce
sbb eax, 0
mov dword [rsi + 0x24], eax
mov ebx, 1
mov eax, ebx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x140466750
Capabilities:
Check for software breakpoints

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [rcx + 0x24]
cmp eax, 0xcc
je 0x14046673e
cmp eax, 0xcb
je 0x1404666cb
cmp eax, 0xca
jne 0x1404666a4
mov rcx, rsi
call fcn.140466010
cmp dword [rsi + 0x58], 0
je 0x1404666c4
mov dword [rsi + 0x24], 0xcf
mov eax, 1
add rsp, 0x20
pop rsi
ret
mov rax, qword [rsi]
mov dword [rax + 0x28], 0x14
mov eax, dword [rsi + 0x24]
mov rcx, qword [rsi]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
jmp 0x14046673e
mov dword [rsi + 0x24], 0xcb
mov rax, qword [rsi + 0x240]
cmp dword [rax + 0x20], 0
je 0x140466732
nop dword [rax + rax]
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1404666ee
mov rcx, rsi
call qword [rax]
mov rax, qword [rsi + 0x240]
mov rcx, rsi
call qword [rax]
test eax, eax
je 0x14046669e
cmp eax, 2
je 0x140466732
and eax, 0xfffffffd
cmp eax, 1
jne 0x1404666e0
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1404666e0
mov edx, dword [rax + 8]
inc edx
mov dword [rax + 8], edx
mov rax, qword [rsi + 0x10]
mov ecx, dword [rax + 0xc]
cmp edx, ecx
jl 0x1404666e0
add ecx, dword [rsi + 0x1a4]
mov dword [rax + 0xc], ecx
jmp 0x1404666e0
mov eax, dword [rsi + 0xac]
mov dword [rsi + 0xb4], eax
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x140466750
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x140466781
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov dword [rsi + 0x24], 0xcc
mov rax, qword [rsi + 0x220]
cmp dword [rax + 0x10], 0
je 0x140466837
lea rdi, [rsi + 0xa8]
mov ebp, dword [rsi + 0xa8]
jmp 0x1404667e2
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax + 8]
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov rax, qword [rsi + 0x220]
xor ebp, ebp
cmp dword [rax + 0x10], 0
je 0x140466837
cmp ebp, dword [rsi + 0x8c]
jae 0x1404667b0
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140466812
mov dword [rax + 8], ebp
mov eax, dword [rsi + 0x8c]
mov rcx, qword [rsi + 0x10]
mov dword [rcx + 0xc], eax
mov rax, qword [rsi + 0x10]
mov rcx, rsi
call qword [rax]
mov ebp, dword [rsi + 0xa8]
mov rax, qword [rsi + 0x228]
xor ebx, ebx
mov rcx, rsi
xor edx, edx
mov r8, rdi
xor r9d, r9d
call qword [rax + 8]
mov eax, dword [rsi + 0xa8]
cmp eax, ebp
mov ebp, eax
jne 0x1404667e2
jmp 0x14046684b
cmp dword [rsi + 0x5c], 1
mov eax, 0xce
sbb eax, 0
mov dword [rsi + 0x24], eax
mov ebx, 1
mov eax, ebx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x140466860
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, r8
mov r13, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x220]
mov eax, dword [rcx + 0x24]
or eax, 2
cmp eax, 0xcf
jne 0x140466896
cmp dword [rsi + 0xa8], 0
je 0x1404668b1
mov rax, qword [rsi]
mov dword [rax + 0x28], 0x14
mov eax, dword [rsi + 0x24]
mov rcx, qword [rsi]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test r13, r13
je 0x1404668bb
test r14, r14
jne 0x1404668cd
mov rax, qword [rsi]
mov dword [rax + 0x28], 0x7c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, dword [r14]
test eax, eax
je 0x1404668e4
mov edx, dword [r13]
add edx, eax
mov ecx, dword [rsi + 0x88]
cmp edx, ecx
jbe 0x1404668ff
mov rax, qword [rsi]
mov dword [rax + 0x28], 0x46
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, dword [r14]
mov ecx, dword [rsi + 0x88]
cmp eax, ecx
je 0x140466a7f
cmp dword [rsi + 0x1b0], 1
jne 0x14046691e
cmp dword [rsi + 0x38], 1
jne 0x14046691e
mov ebx, dword [rsi + 0x1a0]
jmp 0x14046692b
mov ebx, dword [rsi + 0x198]
imul ebx, dword [rsi + 0x1a0]
mov ecx, dword [r13]
mov eax, ecx
xor edx, edx
div ebx
sub ecx, edx
mov dword [r13], ecx
add edx, dword [r14]
mov dword [r14], edx
mov dword [rsi + 0x88], edx
cmp dword [r15 + 0x7c], 0
je 0x140466968
cmp dword [rsi + 0x19c], 2
jne 0x140466968
mov rax, qword [rsi + 0x260]
imul edx, dword [rsi + 0x90]
mov dword [rax + 0x4c], edx
mov eax, dword [r13]
xor r14d, r14d
xor edx, edx
div ebx
mov rcx, qword [rsi + 0x220]
mov dword [rcx + 0x14], eax
mov ecx, dword [rsi + 0x88]
add ecx, dword [r13]
mov edx, ebx
call fcn.1401d5c80
dec eax
mov rcx, qword [rsi + 0x220]
mov dword [rcx + 0x18], eax
mov eax, dword [rsi + 0x38]
test eax, eax
jle 0x140466a7f
mov r15, qword [rsi + 0x130]
add r15, 0x28
xor r12d, r12d
mov qword [rsp + 0x20], r13
mov ebp, 1
nop dword [rax]
mov r13d, r14d
mov edx, dword [rsi + 0x198]
mov ecx, dword [rsi + 0x1b0]
xor ecx, 1
xor eax, 1
or eax, ecx
mov ecx, dword [r15 - 0x20]
mov r14d, dword [r15]
mov edi, ecx
cmove edi, ebp
imul ecx, dword [rsi + 0x88]
call fcn.1401d5c80
cmp r14d, 2
mov r14d, r13d
cmovge r14d, ebp
mov dword [r15], eax
cmp eax, 2
cmovae r14d, r13d
mov r13, qword [rsp + 0x20]
mov eax, dword [r13]
imul eax, edi
xor edx, edx
div ebx
mov rcx, qword [rsi + 0x220]
mov dword [rcx + r12*4 + 0x1c], eax
mov ecx, dword [rsi + 0x88]
add ecx, dword [r13]
imul ecx, edi
mov edx, ebx
call fcn.1401d5c80
dec eax
mov rcx, qword [rsi + 0x220]
mov dword [rcx + r12*4 + 0x44], eax
inc r12
movsxd rax, dword [rsi + 0x38]
add r15, 0x60
cmp r12, rax
jl 0x1404669c0
test r14d, r14d
je 0x140466a7f
mov rax, qword [rsi + 0x220]
mov dword [rax + 0x6c], 1
mov rcx, rsi
call fcn.1404eee40
mov rax, qword [rsi + 0x220]
mov dword [rax + 0x6c], 0
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret