joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

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

Disassembly:
cld
pop r11
jmp 0x14068694d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14068695d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140686945
lea eax, [rcx + 1]
jmp 0x14068696b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14068697e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140686964
sub eax, 3
jb 0x14068699e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1406869ed
sar eax, 1
movsxd rbp, eax
jb 0x1406869d4
jmp 0x1406869ac
add ebx, ebx
jne 0x1406869aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1406869d4
inc ecx
add ebx, ebx
jne 0x1406869ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1406869d4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1406869cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1406869bc
add ecx, 2
jmp 0x1406869d9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140686902
jmp 0x14068694d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa4200
mov dl, 0x26
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140686a39
cmp rsi, rcx
jae 0x140686a41
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140686a20
cmp al, 0x8f
ja 0x140686a20
cmp byte [rsi - 2], 0xf
je 0x140686a26
sub al, 0xe8
cmp al, 1
ja 0x140686a0a
cmp rsi, rcx
jae 0x140686a41
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140686a10
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140686a41
lodsb al, byte [rsi]
jmp 0x140686a20
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x67f000]
mov eax, dword [rdi]
or eax, eax
je 0x140686aaa
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x68ae08]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140686a4e
jns 0x140686a83
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140686a8d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140686aa4
mov qword [rbx], rax
add rbx, 8
jmp 0x140686a6e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140686ae4
cmp al, 0xef
ja 0x140686ad6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140686ab6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140686ac5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x247]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140686b38
sub rsp, 0xffffffffffffff80
jmp 0x14002c9d4
Function at 0x140008960
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
lea ecx, [rsi + 0x40]
call fcn.1400dda2c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x14000f470]
lea rdx, str.SELECT_date_FROM_plan_WHERE_date_IS_NOT_NULL_
mov rcx, qword [rbx + 8]
call fcn.1400282d0
mov dword [rbx], eax
test eax, eax
je 0x140008a14
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400010e0
mov rcx, rax
mov rdx, qword [rsp + 0x60]
call fcn.1400010e0
mov rcx, rax
lea rdx, [0x140002950]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x60]
call fcn.14002a310
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140008a30
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
lea ecx, [rsi + 0x40]
call fcn.1400dda2c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x14000f470]
lea rdx, str.SELECT_name_FROM_plan_WHERE_name_IS_NOT_NULL_
mov rcx, qword [rbx + 8]
call fcn.1400282d0
mov dword [rbx], eax
test eax, eax
je 0x140008ae4
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400010e0
mov rcx, rax
mov rdx, qword [rsp + 0x60]
call fcn.1400010e0
mov rcx, rax
lea rdx, [0x140002950]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x60]
call fcn.14002a310
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14002a450
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov ebx, ecx
call fcn.1400c1590
test eax, eax
jne 0x14002a5ed
mov qword [rsp + 0x30], rbp
xor ebp, ebp
cmp byte [0x1400fe044], bpl
mov qword [rsp + 0x38], rsi
jne 0x14002a485
mov esi, ebp
jmp 0x14002a4a1
mov ecx, 5
call qword [0x1400fe0b0]
mov rsi, rax
test rax, rax
je 0x14002a4a1
mov rcx, rax
call qword [0x1400fe0c0]
test ebx, ebx
jle 0x14002a5cf
test rdi, rdi
je 0x14002a5cf
cmp dword [0x140101810], ebp
jne 0x14002a558
xor ecx, ecx
call fcn.1400137a0
movups xmm0, xmmword [str.expand_32_byte_k]
movaps xmmword [0x140101810], xmm0
test rax, rax
jne 0x14002a4f8
xorps xmm0, xmm0
mov qword [0x140101840], rax
movups xmmword [0x140101820], xmm0
mov dword [0x140101848], eax
movups xmmword [0x140101830], xmm0
jmp 0x14002a53c
mov ecx, dword [0x1400fe1f0]
test ecx, ecx
je 0x14002a52a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140101820], xmm0
mov dword [0x140101820], ecx
movups xmmword [0x140101830], xmm0
mov qword [0x140101840], rax
mov dword [0x140101848], eax
jmp 0x14002a53c
lea r8, [0x140101820]
mov edx, 0x2c
mov rcx, rax
call qword [rax + 0x68]
mov eax, dword [0x140101840]
xor cl, cl
mov byte [0x140101890], cl
mov dword [0x14010184c], eax
mov dword [0x140101840], ebp
jmp 0x14002a55f
movzx ecx, byte [0x140101890]
movzx eax, cl
lea rbp, [0x140101850]
cmp ebx, eax
jle 0x14002a5b1
nop dword [rax]
test cl, cl
je 0x14002a58f
movzx r8d, cl
mov rdx, rbp
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movzx ecx, byte [0x140101890]
sub ebx, ecx
add rdi, rcx
inc dword [0x140101840]
lea rdx, [0x140101810]
mov rcx, rbp
call fcn.1400360c0
mov cl, 0x40
mov byte [0x140101890], cl
cmp ebx, 0x40
jg 0x14002a570
movzx eax, cl
mov rcx, rdi
sub eax, ebx
movsxd r8, ebx
movsxd rdx, eax
add rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
sub byte [0x140101890], bl
jmp 0x14002a5d5
mov dword [0x140101810], ebp
test rsi, rsi
je 0x14002a5e3
mov rcx, rsi
call qword [0x1400fe0d0]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140030fc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rcx + 0xa0]
mov rbx, rcx
mov rax, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test rsi, rsi
je 0x1400311dc
mov qword [rsp + 0x68], rbp
xor r9d, r9d
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x38], r14
nop dword [rax]
nop word [rax + rax]
movsxd rbp, dword [rsi + 0x10]
lea r12, [rdi + 0x88]
mov r15d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [rax + 0x20]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140031038
inc dword [rbx + 0x38]
mov r14d, dword [rbx + 0x38]
jmp 0x140031048
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0xe0]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x140031075
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.14004bbd0
jmp 0x1400310a0
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.14008e050
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1400310e4
mov edx, 5
mov rcx, rdi
call fcn.14004bc40
test eax, eax
jne 0x1400311c3
movsxd rax, dword [rdi + 0x90]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [r12]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r9d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r9d
add eax, 2
mov dword [rdx + 8], eax
mov byte [rdx + 1], r9b
mov qword [rdx + 0x10], r9
mov word [rdx + 2], r9w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], r9
mov qword [rdx + 0x28], r9
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r9
mov qword [rdx + 0x48], 0x80
mov qword [rdx + 0x50], r9
mov qword [rdx + 0x58], r9
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], r9
mov qword [rdx + 0x70], r9
add dword [rdi + 0x90], 5
test rdx, rdx
je 0x1400311c3
mov dword [rdx + 0x3c], r14d
lea ecx, [r15 + 1]
mov dword [rdx + 4], ecx
lea eax, [r15 - 1]
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x34], eax
mov dword [rdx + 0x54], ecx
mov dword [rdx + 0x50], r14d
mov word [rdx + 0x4a], 8
test r14d, r14d
je 0x1400311b2
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400311b2
mov dword [rbx + rax*4 + 0xe0], r14d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
mov rax, qword [rsp + 0x60]
test rsi, rsi
jne 0x140031010
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400423f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r14
sub rsp, 0x68
movzx eax, byte [rdx]
mov r14, rdx
mov rdi, rcx
cmp al, 0xb0
jne 0x140042409
movzx eax, byte [rdx + 2]
cmp al, 0xb1
jne 0x140042413
mov rcx, qword [rdx + 0x20]
jmp 0x140042423
cmp al, 0x8a
jne 0x1400425a7
mov rax, qword [rdx + 0x20]
mov rcx, qword [rax + 0x20]
movsxd rcx, dword [rcx]
cmp ecx, 1
je 0x1400425a7
mov dword [r8], 0
cmp byte [rdx], 0x8a
jne 0x14004244a
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.140072d10
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x140042592
mov qword [rsp + 0x80], rbx
lea rcx, [0x14009f1a0]
mov qword [rsp + 0x90], rbp
mov ebp, r13d
mov qword [rsp + 0x50], r15
lea r13, [fcn.1400437c0]
xor r15d, r15d
mov qword [rsp + 0x98], rsi
lea edx, [r15 + 2]
nop dword [rax + rax]
cmp byte [rdi + 0x23], 0
mov rax, qword [r14 + 0x20]
mov rbx, qword [r15 + rax + 8]
je 0x140042500
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x1400424f0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400b6480
cmp word [rsp + 0x44], 0
je 0x140042500
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14007c2b0
jmp 0x140042540
mov rsi, qword [rdi]
test rbx, rbx
je 0x14004251c
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140042870
mov rbx, rax
cmp byte [rsi + 0x67], 0
jne 0x140042530
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14007a840
test rbx, rbx
je 0x140042540
mov rdx, rbx
mov rcx, rsi
call fcn.14007e7d0
inc ebp
lea rcx, [0x14009f1a0]
add r15, 0x20
mov edx, 2
sub r12, 1
jne 0x1400424b0
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.14007de60
Function at 0x140061bd0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14d, dword [rsp + 0x70]
mov ebx, r8d
mov dword [rax - 0x18], r14d
mov rbp, r9
mov qword [rax - 0x20], r9
mov rdi, rdx
mov r9, rdx
mov byte [rcx + 0x1c], 1
mov r8, rdx
mov dword [rax - 0x28], ebx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rsi, rcx
call fcn.14008dc80
test ebx, ebx
jne 0x140061c39
mov r9, rbp
mov dword [rsp + 0x20], r14d
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, rsi
call fcn.14008dc80
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140081230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x140081339
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, str.main
mov qword [rsp + 0x20], r15
lea r15, [0x1400e1c70]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x1400812b1
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x1400812ec
test ecx, ecx
jne 0x1400812fa
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.140044dc0
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x1400812d0
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x140081270
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x1400812ff
inc r8
jmp 0x1400812a0
test r10d, r10d
jne 0x1400812c9
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x140081325
test edx, edx
je 0x1400812b1
inc rax
jmp 0x140081310
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x1400812c9
inc rax
jmp 0x140081310
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400c83a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rbp, r8
mov r15, rdx
call fcn.14008d360
mov rbx, rax
test rax, rax
jne 0x1400c83e2
lea eax, [rbx + 7]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
cmp byte [0x1400fe044], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
je 0x1400c8447
mov rax, qword [0x1400fe1d0]
test rax, rax
je 0x1400c840c
mov ecx, 0xc8
call rax
test eax, eax
jne 0x1400c8447
lea rsi, [rbx + 8]
mov qword [rbx + 0x10], r15
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov dword [rsp + 0x20], 0
lea r8, [0x1400a1520]
mov qword [rbx + 0x18], rbp
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
jne 0x1400c845f
jmp 0x1400c844f
lea rdi, [rbx + 0x10]
lea rsi, [rbx + 8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rdi], 0
mov rdi, qword [rsp + 0x58]
jne 0x1400c847c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [rsi], eax
call r15
mov qword [rbx + 0x20], rax
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov qword [r14], rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x1400de648
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400de692
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400de692
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400de692
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400de692
cmp dword [rcx + 0x84], 0xe
jbe 0x1400de692
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400de694
xor al, al
add rsp, 0x28
ret
Function at 0x1400012b0
Capabilities:
Access the windows event log
Create service

Disassembly:
sub rsp, 0x1a8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x190], rax
lea rdx, [rsp + 0x80]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140001307
lea rcx, str.Install_service
call fcn.140001b90
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140001d00
add rsp, 0x1a8
ret
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov qword [rsp + 0x1b0], rbx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
jne 0x140001338
lea rcx, str.OpenSCManager
call fcn.140001b90
jmp 0x140001469
mov qword [rsp + 0x1b8], rbp
xor ebp, ebp
lea rax, [rsp + 0x80]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x1c0], rsi
mov qword [rsp + 0x1a0], r14
lea r14, str.fpCsEvtSvc
mov r9d, 0xf01ff
mov rcx, rbx
mov r8, r14
mov rdx, r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rsi, rax
test rax, rax
jne 0x1400013ce
lea rcx, str.CreateService
call fcn.140001b90
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140001451
mov rdx, r14
xor ecx, ecx
mov qword [rsp + 0x1c8], rdi
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov rdi, rax
test rax, rax
je 0x140001437
mov qword [rsp + 0x40], rbp
mov ecx, 2
lea rax, str.Biomteric_Synchrozisation_Service_installed_successfully
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x70]
lea edx, [rcx + 2]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebp
mov word [rsp + 0x28], cx
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x1c8]
mov rsi, qword [rsp + 0x1c0]
mov rbp, qword [rsp + 0x1b8]
mov r14, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140001d00
add rsp, 0x1a8
ret
Function at 0x140001b90
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str._s_failed_with_0_08lx
lea rcx, [rsp + 0x60]
mov r9, rbx
mov edx, 0x118
mov dword [rsp + 0x20], eax
call fcn.140001000
lea rdi, str.fpCsEvtSvc
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov rbx, rax
test rax, rax
je 0x140001c40
xor ecx, ecx
mov r9d, 2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], r9w
lea edx, [r9 - 1]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rbx
xor r9d, r9d
mov qword [rsp + 0x50], rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140001d00
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x190
pop rdi
ret

Function at 0x140001c70
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [r11 - 0x20], rcx
xor ecx, ecx
mov r9d, 2
mov qword [r11 - 0x38], rcx
mov rbx, r8
lea rax, str.fpCsEvtSvc
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x28]
xor r8d, r8d
mov qword [r11 - 0x40], rax
mov dword [rsp + 0x30], ecx
mov word [r11 - 0x50], r9w
mov qword [r11 - 0x58], rcx
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140001d00
add rsp, 0x70
pop rbx
ret