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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1401ca2e0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx]
mov r13, r9
movsxd r10, edx
mov r12, r8
shl r10, 5
mov r15, rcx
mov r14d, 1
mov rdx, qword [rax + 0x20]
mov rsi, qword [r10 + rdx]
mov r9d, r14d
lea r8, str.sqlite_stat_d
lea rdx, [rsp + 0x38]
mov ecx, 0x18
call fcn.140017e80
mov rbp, qword [r15]
lea rdi, [rsp + 0x38]
xor ebx, ebx
cmp dword [rbp + 0x28], ebx
jle 0x14005190f
nop dword [rax]
mov r10d, ebx
cmp ebx, 2
jge 0x14005187c
xor r10d, 1
test rsi, rsi
je 0x1400518da
mov rax, qword [rbp + 0x20]
lea r11, [0x14016c6b0]
movzx edx, byte [rsi]
mov r8, rsi
movsxd rcx, r10d
shl rcx, 5
mov r9, qword [rcx + rax]
movzx ecx, byte [rdx + r11]
movzx eax, byte [r9]
movzx eax, byte [rax + r11]
sub ecx, eax
jne 0x140051904
movzx eax, dl
sub r9, rsi
test al, al
je 0x1400518d6
movzx ecx, byte [r9 + r8 + 1]
inc r8
movzx edx, byte [rcx + r11]
movzx eax, byte [r8]
movzx ecx, byte [rax + r11]
sub ecx, edx
je 0x1400518b5
jmp 0x140051904
test ecx, ecx
jne 0x140051904
mov rax, qword [rbp + 0x20]
xor r8d, r8d
movsxd rcx, r10d
mov rdx, rdi
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.140031ee0
cmp qword [rax + 0x10], 0
jne 0x1400519b4
inc ebx
cmp ebx, dword [rbp + 0x28]
jl 0x140051870
movzx edx, byte [rdi]
lea rbx, [0x14016c6b0]
cmp byte [rdx + rbx], 0x73
jne 0x1400519d5
lea r8, str.sqlite_master
sub r8, rdi
nop dword [rax]
test dl, dl
je 0x140051951
movzx eax, byte [r8 + rdi + 1]
inc rdi
movzx ecx, byte [rax + rbx]
movzx edx, byte [rdi]
movzx eax, byte [rdx + rbx]
cmp eax, ecx
je 0x140051930
jmp 0x1400519d5
mov rax, qword [rbp + 0x20]
mov r9, qword [rax + 0x20]
test rsi, rsi
jne 0x140051965
neg r9
sbb eax, eax
jmp 0x1400519a4
test r9, r9
je 0x1400519d5
movzx eax, byte [r9]
mov rdx, rsi
movzx r8d, byte [rsi]
movzx ecx, byte [rax + rbx]
movzx eax, byte [r8 + rbx]
sub eax, ecx
jne 0x1400519a4
sub r9, rsi
test r8b, r8b
je 0x1400519a4
movzx eax, byte [r9 + rdx + 1]
inc rdx
movzx ecx, byte [rax + rbx]
movzx r8d, byte [rdx]
movzx eax, byte [r8 + rbx]
sub eax, ecx
je 0x140051985
test eax, eax
jne 0x1400519d5
lea rdi, str.sqlite_temp_master
jmp 0x140051862
mov qword [rsp + 0x28], r13
lea r9, [rsp + 0x38]
mov r8, rsi
mov qword [rsp + 0x20], r12
lea rdx, str.DELETE_FROM__Q._s_WHERE__s_Q
mov rcx, r15
call fcn.140068600
inc r14d
cmp r14d, 4
jle 0x140051841
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a7ab0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005e470
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x14005e54d
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r15
lea r15, [0x14016c6b0]
mov eax, ebx
cmp ebx, 2
jge 0x14005e4b0
xor eax, 1
movsxd rcx, eax
mov rax, qword [rsi + 0x20]
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x14005e50f
mov r10, qword [rcx + rax]
mov r8, rdi
movzx edx, byte [rdi]
movzx eax, byte [r10]
movzx r9d, byte [rdx + r15]
movzx ecx, byte [rax + r15]
sub r9d, ecx
jne 0x14005e527
movzx eax, dl
sub r10, rdi
test al, al
je 0x14005e50a
movzx eax, byte [r8 + 1]
inc r8
movzx ecx, byte [r10 + r8]
movzx r9d, byte [rax + r15]
movzx edx, byte [rcx + r15]
sub r9d, edx
je 0x14005e4e8
jmp 0x14005e527
test r9d, r9d
jne 0x14005e527
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.140031ee0
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x14005e532
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x14005e4a6
mov rbp, qword [rsp + 0x40]
mov rax, r11
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, r11
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14005e560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, r8
lea r14, [0x14016c6b0]
mov rdi, rdx
mov rbp, rcx
xor ebx, ebx
cmp dword [rbp + 0x28], ebx
jle 0x14005e628
nop dword [rax]
mov r9d, ebx
cmp ebx, 2
jge 0x14005e59c
xor r9d, 1
test rsi, rsi
je 0x14005e5f5
mov rax, qword [rbp + 0x20]
mov r8, rsi
movzx edx, byte [rsi]
movsxd rcx, r9d
shl rcx, 5
mov r10, qword [rcx + rax]
movzx ecx, byte [rdx + r14]
movzx eax, byte [r10]
movzx eax, byte [rax + r14]
sub ecx, eax
jne 0x14005e61d
movzx eax, dl
sub r10, rsi
nop
test al, al
je 0x14005e5f1
movzx ecx, byte [r10 + r8 + 1]
inc r8
movzx edx, byte [rcx + r14]
movzx eax, byte [r8]
movzx ecx, byte [rax + r14]
sub ecx, edx
je 0x14005e5d0
jmp 0x14005e61d
test ecx, ecx
jne 0x14005e61d
mov rax, qword [rbp + 0x20]
xor r8d, r8d
movsxd rcx, r9d
mov rdx, rdi
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.140031ee0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005e660
inc ebx
cmp ebx, dword [rbp + 0x28]
jl 0x14005e590
movzx edx, byte [rdi]
cmp byte [rdx + r14], 0x73
jne 0x14005e65e
lea r8, str.sqlite_master
sub r8, rdi
nop dword [rax]
test dl, dl
je 0x14005e673
movzx eax, byte [r8 + rdi + 1]
inc rdi
movzx ecx, byte [rax + r14]
movzx edx, byte [rdi]
movzx eax, byte [rdx + r14]
cmp eax, ecx
je 0x14005e640
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rbp + 0x20]
mov r9, qword [rax + 0x20]
test rsi, rsi
jne 0x14005e687
neg r9
sbb eax, eax
jmp 0x14005e6c8
test r9, r9
je 0x14005e65e
movzx eax, byte [r9]
mov rdx, rsi
movzx r8d, byte [rsi]
movzx ecx, byte [rax + r14]
movzx eax, byte [r8 + r14]
sub eax, ecx
jne 0x14005e6c8
sub r9, rsi
test r8b, r8b
je 0x14005e6c8
movzx eax, byte [r9 + rdx + 1]
inc rdx
movzx ecx, byte [rax + r14]
movzx r8d, byte [rdx]
movzx eax, byte [r8 + r14]
sub eax, ecx
je 0x14005e6a8
test eax, eax
jne 0x14005e65e
lea rdi, str.sqlite_temp_master
jmp 0x14005e582
Function at 0x140086870
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rcx + 0x38]
xor ebx, ebx
mov r14, qword [rcx + 0x40]
mov r15, r9
mov ebp, r8d
mov r13, rdx
mov rdi, qword [rsi + 0x30]
test rdi, rdi
jne 0x140086908
movzx eax, word [r14 + 6]
imul ecx, eax, 0x38
mov rax, qword [r14 + 0x10]
add ecx, 0x50
test rax, rax
je 0x1400868ca
mov edx, ecx
mov rcx, rax
call fcn.140055480
jmp 0x1400868cf
call fcn.140067eb0
mov rdi, rax
test rax, rax
jne 0x1400868dc
mov rdi, rbx
jmp 0x1400868f3
lea rax, [rdi + 0x18]
mov qword [rdi], r14
mov qword [rdi + 8], rax
movzx eax, word [r14 + 6]
inc ax
mov word [rdi + 0x10], ax
mov qword [rsi + 0x30], rdi
test rdi, rdi
jne 0x140086904
lea eax, [rdi + 7]
jmp 0x14008698a
mov word [rdi + 0x10], bp
cmp byte [rsi + 0x58], bl
je 0x140086942
cmp byte [rsi + 0x59], bl
je 0x140086920
mov rax, qword [rsi + 0x10]
mov r8, qword [rax + 0x28]
add rax, 0x14
jmp 0x14008694a
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rcx + rcx*4]
shl rax, 4
add rax, qword [rdx + 0x18]
mov r8, qword [rax + 0x28]
add rax, 0x14
jmp 0x14008694a
mov rax, qword [rsi + 0x38]
lea r8, [rax + 0x10]
mov edx, dword [rax]
mov r9, rdi
mov rcx, r14
call fcn.140086150
test ebp, ebp
jle 0x140086972
mov rax, qword [rdi + 8]
add rax, 8
test byte [rax], 1
jne 0x1400869a9
inc ebx
add rax, 0x38
cmp ebx, ebp
jl 0x140086963
mov rdx, qword [r13 + 0x10]
xor r9d, r9d
mov ecx, dword [r13 + 0xc]
mov r8, rdi
call fcn.1400859e0
mov dword [r15], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
mov dword [r15], 0xffffffff
jmp 0x140086988
Function at 0x1400931e0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x20], 0
mov rbx, rcx
je 0x14009323d
mov rcx, qword [rcx]
call fcn.140095330
mov ecx, eax
test eax, eax
jne 0x14009325b
movups xmm1, xmmword [rbx + 0x28]
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbx + 0x38], xmm1
movups xmmword [rbx + 0x28], xmm0
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x30], rax
jne 0x140093226
mov eax, ecx
mov dword [rbx + 0x1c], 1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx]
lea rdx, [0x1400931c0]
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400775b0
call fcn.140092ea0
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbx + 0x28], xmm0
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x30], rcx
jne 0x14009325b
mov dword [rbx + 0x1c], 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400ab20c
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400ab21f
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1400ab884
lea rdx, [0x1401c6248]
lea rcx, [rsp + 0x20]
call fcn.1400c6a50
int3

Function at 0x1400b5d94
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1401f1208]
xor edx, edx
jmp fcn.1400ab20c

Function at 0x1400b6784
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1401f1208]
jmp fcn.1400ab20c
Function at 0x1400e2564
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400e23ca
call fcn.1400c9df0
mov dword [rax], 0x16
call fcn.1400c9ca0
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400e23ac
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400e23ac
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x1400e23fc
lock or dword [rax + 0x14], 0x10
jmp 0x1400e23ac
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400e2419
mov rcx, qword [rbp + 0x20]
call fcn.1400e2950
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1400e242e
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1400e2434
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400e0ea4
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400d9698
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1400e2487
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1400e23ac
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400e24f3
mov rcx, qword [rbp + 0x20]
call fcn.1400e0ea4
cmp eax, 0xffffffff
je 0x1400e24da
mov rcx, qword [rbp + 0x20]
call fcn.1400e0ea4
cmp eax, 0xfffffffe
je 0x1400e24da
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400e0ea4
movsxd rdi, eax
lea r15, [0x1401f18b0]
mov rcx, rbx
sar rdi, 6
call fcn.1400e0ea4
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x1400e24e1
lea rax, [0x1401ca8d0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400e24f3
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1400e2529
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400e2525
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400e2525
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1400e2547
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1400e2552
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x1400e23b1
jmp 0x1400e2378
Function at 0x1400ee290
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x1400ee2b7
sub r10, rcx
nop
movzx edx, byte [r10 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor dl, al
or r9b, dl
sub r8, 1
jne 0x1400ee2a0
movzx eax, r9b
ret

Function at 0x1400f2480
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
mov eax, 0xb8
call fcn.1400a7e30
sub rsp, rax
mov rax, qword [0x1401ca2e0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r12, qword [rsp + 0x110]
xor ebx, ebx
movsxd rsi, r8d
mov rbp, r9
mov r14, rdx
mov rdi, rcx
mov eax, ebx
test r9, r9
je 0x1400f24e6
cmp r9, qword [rcx]
je 0x1400f24dc
test rdx, rdx
je 0x1400f26d9
test r8d, r8d
js 0x1400f26d9
mov eax, 1
mov qword [rcx], r9
jmp 0x1400f24f2
mov rbp, qword [rcx]
test rbp, rbp
je 0x1400f26d9
mov qword [rsp + 0xb0], r15
test r14, r14
je 0x1400f25d5
mov rcx, rbp
call fcn.1400f0e90
mov r15d, eax
cmp eax, 0x80
jle 0x1400f252d
lea r8, str.j____int_sizeof_ctx__key_
mov edx, 0x74
lea rcx, str..cryptohmachmac.c
call fcn.1400ee760
cmp r15d, esi
jge 0x1400f2584
mov r8, r12
lea rcx, [rdi + 8]
mov rdx, rbp
call fcn.140103a80
test eax, eax
je 0x1400f26c8
mov r8, rsi
lea rcx, [rdi + 8]
mov rdx, r14
call fcn.140103ce0
test eax, eax
je 0x1400f26c8
lea r14, [rdi + 0x98]
mov r8, r14
lea rdx, [rdi + 0x9c]
lea rcx, [rdi + 8]
call fcn.1401039e0
test eax, eax
je 0x1400f26c8
jmp 0x1400f25ac
cmp esi, 0x80
ja 0x1400f26c8
mov r8, rsi
lea rcx, [rdi + 0x9c]
mov rdx, r14
call fcn.1400c6560
lea r14, [rdi + 0x98]
mov dword [r14], esi
mov ecx, dword [r14]
cmp ecx, 0x80
je 0x1400f25dd
mov eax, ecx
mov r8d, 0x80
sub r8d, ecx
xor edx, edx
lea rcx, [rdi + 0x9c]
add rcx, rax
call fcn.1400c71f0
jmp 0x1400f25dd
test eax, eax
je 0x1400f26b7
lea rcx, [rsp + 0x20]
mov rax, rdi
sub rax, rcx
mov rdx, rbx
lea rsi, [rax + 0x9c]
lea r14, [rax + 0x9d]
nop dword [rax]
lea rcx, [rsp + 0x20]
add rcx, rdx
add rdx, 2
movzx eax, byte [rsi + rcx]
xor al, 0x36
mov byte [rcx], al
movzx eax, byte [r14 + rcx]
xor al, 0x36
mov byte [rcx + 1], al
cmp rdx, 0x80
jl 0x1400f2600
mov r8, r12
lea rcx, [rdi + 0x38]
mov rdx, rbp
call fcn.140103a80
test eax, eax
je 0x1400f26c8
mov rcx, rbp
call fcn.1400f0e90
movsxd r8, eax
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x38]
call fcn.140103ce0
test eax, eax
je 0x1400f26c8
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
add rcx, rbx
add rbx, 2
movzx eax, byte [rsi + rcx]
xor al, 0x5c
mov byte [rcx], al
movzx eax, byte [r14 + rcx]
xor al, 0x5c
mov byte [rcx + 1], al
cmp rbx, 0x80
jl 0x1400f2660
mov r8, r12
lea rcx, [rdi + 0x68]
mov rdx, rbp
call fcn.140103a80
test eax, eax
je 0x1400f26c8
mov rcx, rbp
call fcn.1400f0e90
movsxd r8, eax
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x68]
call fcn.140103ce0
test eax, eax
je 0x1400f26c8
lea rdx, [rdi + 0x38]
lea rcx, [rdi + 8]
call fcn.140103df0
test eax, eax
jne 0x1400f26cc
xor eax, eax
jmp 0x1400f26d1
mov eax, 1
mov r15, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a7ab0
add rsp, 0xb8
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140104620
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x30
call fcn.1400a7e30
sub rsp, rax
mov rbx, rdx
mov rsi, rcx
call fcn.140104760
mov rdi, rax
test rax, rax
jne 0x1401046f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x1401d80c0]
mov dword [rsp + 0x20], 0xaf
mov r8d, eax
lea edx, [rdi + 1]
lea ecx, [rdi + 2]
call fcn.1400ef350
lea rax, [0x1401d80d8]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, [0x1401d80dc]
lea rdx, [0x1401d80e0]
mov qword [rsp + 0x20], rbx
lea ecx, [rdi + 5]
call fcn.1400eee80
call fcn.1400c9df0
cmp dword [rax], 2
je 0x1401046c5
call fcn.1400c9df0
cmp dword [rax], 6
je 0x1401046c5
mov dword [rsp + 0x20], 0xb8
lea r9, [0x1401d8100]
lea r8d, [rdi + 2]
jmp 0x1401046da
mov dword [rsp + 0x20], 0xb6
lea r9, [0x1401d80e8]
mov r8d, 0x80
mov edx, 0x6d
lea ecx, [rdx - 0x4d]
call fcn.1400ef350
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x1401d8060]
call fcn.1400f7000
mov rbx, rax
test rax, rax
jne 0x140104727
mov rcx, rdi
call fcn.1400d39b4
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor edx, edx
mov rcx, rbx
call fcn.1400f6ab0
mov edx, 0x6a
mov r9, rdi
mov rcx, rbx
lea r8d, [rdx - 0x69]
call fcn.1400f6ae0
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14010d110
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x28
call fcn.1400a7e30
sub rsp, rax
cmp dword [0x1401d95dc], 0
je 0x14010d158
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14010d13d
mov dword [0x1401d95dc], eax
jmp 0x14010d158
xorps xmm2, xmm2
lea rcx, [rsp + 0x38]
mov edx, 8
call fcn.1400f94a0
cmp dword [0x1401d95dc], 0
jne 0x14010d174
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm2, xmm2
lea rcx, [rsp + 0x30]
mov edx, 4
mov dword [rsp + 0x30], eax
call fcn.1400f94a0
add rsp, 0x28
ret
Function at 0x140118fb0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x38
call fcn.1400a7e30
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x14011909f
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x14011909f
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x14011904e
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x14011900a
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x14011900a
cmp cl, 0xbb
jne 0x14011903d
inc eax
cmp eax, ebx
jl 0x140118ff4
sub ebx, eax
test eax, eax
jne 0x140119052
mov dword [rsp + 0x20], 0x83
lea r9, [0x1401db218]
mov edx, 0x80
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.1400ef350
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov dword [rsp + 0x20], 0x7b
lea r9, [0x1401db200]
jmp 0x14011901f
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x140119088
mov edx, 0x80
mov dword [rsp + 0x20], 0x8b
lea r9, [0x1401db230]
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.1400ef350
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.1400c6560
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
mov dword [rsp + 0x20], 0x70
lea r9, str..crypto_rsa_rsa_x931.c
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.1400ef350
or eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x14014d970
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x40
call fcn.1400a7e30
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test r8, r8
jne 0x14014d9a8
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
test rsi, rsi
je 0x14014da3f
test rbx, rbx
je 0x14014da03
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
call fcn.1400f51c0
test rax, rax
jne 0x14014da2b
lea rdx, [0x1401ea0a0]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x14014d9f2
inc rbx
test eax, eax
jne 0x14014d9e0
test ecx, ecx
jne 0x14014da03
mov rcx, rdi
call fcn.1400eba30
test rax, rax
jne 0x14014da47
mov rcx, qword [rsi + 0x10]
lea rax, [0x1401ea0a8]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdi
call fcn.1400f51c0
test rax, rax
je 0x14014d996
mov rax, qword [rax + 0x10]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call fcn.1400eba30
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1401523c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x20
call fcn.1400a7e30
sub rsp, rax
mov r9d, dword [rdx + 8]
mov rsi, rdx
cmp r9d, dword [r8 + 8]
mov rdi, r8
mov rbx, rcx
cmovge rdi, rdx
cmovge rsi, r8
mov edx, dword [rdi + 8]
cmp edx, dword [rcx + 0xc]
jg 0x1401523fe
mov rax, rcx
jmp 0x140152403
call fcn.1400f6090
test rax, rax
jne 0x140152418
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
cmp dword [rsi + 8], eax
jle 0x140152445
xor r9d, r9d
mov rcx, qword [rsi]
lea r9, [r9 + 8]
mov rdx, qword [rdi]
inc eax
mov r8, qword [r9 + rdx - 8]
xor r8, qword [r9 + rcx - 8]
mov rcx, qword [rbx]
mov qword [r9 + rcx - 8], r8
cmp eax, dword [rsi + 8]
jl 0x140152422
cmp eax, dword [rdi + 8]
jge 0x14015247b
movsxd rcx, eax
lea r8, [rcx*8]
nop word [rax + rax]
mov rcx, qword [rdi]
lea r8, [r8 + 8]
mov rdx, qword [rbx]
inc eax
mov rcx, qword [r8 + rcx - 8]
mov qword [r8 + rdx - 8], rcx
cmp eax, dword [rdi + 8]
jl 0x140152460
mov edx, dword [rdi + 8]
mov dword [rbx + 8], edx
test edx, edx
jle 0x1401524a7
lea eax, [rdx - 1]
movsxd rcx, eax
mov rax, qword [rbx]
lea r8, [rax + rcx*8]
mov rax, qword [r8]
lea r8, [r8 - 8]
test rax, rax
jne 0x1401524a4
dec edx
test edx, edx
jg 0x140152492
mov dword [rbx + 8], edx
cmp dword [rbx + 8], 0
jne 0x1401524b4
mov dword [rbx + 0x10], 0
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret