joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401d3410
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140376dd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401d3430
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401d3438
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401d3430
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1401d348d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401d3484
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401d3430
add rax, 0x28
cmp rax, r9
jne 0x1401d3470
xor eax, eax
ret

Function at 0x1401d3490
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140376dd0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401d34af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401d34b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401d34af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1401d3550
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140376dd0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401d356f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1401d3578
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1401d92e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rsi
push rbx
sub rsp, 0x30
mov r13, qword [rsp + 0x80]
mov rbp, rdx
mov rsi, rcx
mov rdx, r8
mov r8d, r9d
test rbp, rbp
je 0x1401d937f
mov r12, qword [rcx + 0x80]
mov qword [rsp + 0x28], rdx
mov rcx, r12
call fcn.140257df0
mov rbx, rax
mov eax, 7
test rbx, rbx
je 0x1401d9392
mov rdx, qword [rsp + 0x28]
mov r9, rbx
mov r8, rbp
mov rcx, r12
call fcn.1402611d0
mov eax, dword [rbx + 0x1c]
test ax, ax
je 0x1401d9348
cmp word [r12 + 8], ax
jae 0x1401d9354
mov ecx, 0x113a8
call fcn.14022ad00
jmp 0x1401d9362
mov r8, r13
mov rdx, rbx
mov rcx, rsi
call fcn.1402265d0
mov rdx, qword [rsi + 0x80]
mov dword [rsp + 0x28], eax
mov rcx, qword [rdx + 0x10]
mov rdx, rbx
call fcn.14022c330
mov eax, dword [rsp + 0x28]
jmp 0x1401d9392
mov r9, r13
add rsp, 0x30
pop rbx
pop rsi
pop rbp
pop r12
pop r13
jmp fcn.140228bd0
add rsp, 0x30
pop rbx
pop rsi
pop rbp
pop r12
pop r13
ret
Function at 0x1401ffbb0
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
xor edi, edi
movsxd r12, edx
mov rbp, rcx
mov r14, r8
mov r13, r9
cmp qword [rcx + r12*8 + 0x28], 0
mov r15, r12
jne 0x1401ffde7
lea rdi, [rsp + 0x38]
lea rsi, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_ASC
mov ecx, 0x16
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [rbp]
cmp r12d, 0xa
ja case.0x1401ffc12.5
lea rdx, [0x14036fd38]
mov eax, r12d
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov rdx, qword [rsi + 0x60]
mov r8, qword [rsi + 0x48]
lea rcx, str.SELECT__s_FROM__s_AS_T
call fcn.14026cbb0
mov r9d, 5
mov rbx, rax
test rax, rax
jne 0x1401ffd8b
mov edi, 7
jmp 0x1401ffde7
mov r9, qword [rsi + 0x50]
mov r8, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsp + r12*8 + 0x38]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call fcn.14026cbb0
jmp 0x1401ffc7e
mov rdx, qword [rsi + 0x60]
mov r9, qword [rsi + 0x50]
lea rcx, str.SELECT__s_FROM__s_T_WHERE_T._Q_
mov r8, qword [rsi + 0x48]
call fcn.14026cbb0
mov rbx, rax
mov r9d, 1
test rax, rax
jne 0x1401ffd8b
jmp 0x1401ffc3a
mov r15d, dword [rsi + 0x18]
lea ecx, [r15 + r15 + 3]
lea ebx, [r15 + 1]
movsxd rcx, ecx
call fcn.14026cb10
mov rdi, rax
xor eax, eax
test rdi, rdi
je 0x1401ffc3a
cmp ebx, eax
jle 0x1401ffcc3
mov byte [rdi + rax*2], 0x3f
mov byte [rdi + rax*2 + 1], 0x2c
inc rax
jmp 0x1401ffcb1
xor eax, eax
add rbx, rbx
inc r15d
mov rcx, qword [rsp + r12*8 + 0x38]
cmovl rbx, rax
mov r9, rdi
mov byte [rdi + rbx - 1], 0
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
call fcn.14026cbb0
mov rcx, rdi
mov rbx, rax
call fcn.14026bb70
jmp 0x1401ffd4a
cmp dword [rsi + 0x44], 0
lea r9, [0x14036b93c]
lea rax, [0x14036fb4f]
mov rdx, qword [rsi + 8]
cmovne r9, rax
mov r8, qword [rsi + 0x10]
lea rcx, str.REPLACE_INTO__Q._q_docsize_VALUES_____s_
jmp 0x1401ffd42
cmp dword [rsi + 0x44], 0
lea rdx, [0x14036b93c]
lea rax, str._origin
mov r9, qword [rsi + 0x10]
cmovne rdx, rax
mov r8, qword [rsi + 8]
lea rcx, str.SELECT_sz_s_FROM__Q._q_docsize_WHERE_id_
call fcn.14026cbb0
mov rbx, rax
mov r9d, 5
test rbx, rbx
jne 0x1401ffd8b
jmp 0x1401ffc3a
mov rdx, qword [rsi + 8]
mov rcx, qword [rsp + r12*8 + 0x38]
mov r8, qword [rsi + 0x10]
call fcn.14026cbb0
mov rbx, rax
test rax, rax
je 0x1401ffc3a
xor r9d, r9d
cmp r15d, 2
setg r9b
lea r9d, [r9*4 + 1]
mov rax, qword [rbp]
or r8d, 0xffffffff
mov rdx, rbx
inc dword [rax + 0x78]
xor eax, eax
mov qword [rsp + 0x28], rax
lea rax, [rbp + r12*8 + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsi]
call fcn.14026cfe0
mov rcx, rbx
mov edi, eax
mov rax, qword [rbp]
dec dword [rax + 0x78]
call fcn.14026bb70
test edi, edi
je 0x1401ffde7
test r13, r13
je 0x1401ffde7
mov rcx, qword [rsi]
call fcn.14026b390
lea rcx, [0x14036c8ee]
mov rdx, rax
call fcn.14026cbb0
mov qword [r13], rax
mov rcx, qword [rbp + r12*8 + 0x28]
mov qword [r14], rcx
call fcn.14026d600
mov eax, edi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140204100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r12d, dword [rdx + 0x38]
mov eax, dword [rdx + 0x18]
mov rbx, rdx
mov edx, dword [rdx + 0x28]
cmp r8d, r12d
mov rsi, rcx
cmovle r12d, r8d
mov edi, r8d
mov rbp, r9
add edx, eax
lea ecx, [r8 + rdx + 2]
mov rdx, qword [rsi]
cmp ecx, dword [rdx + 0x88]
jl 0x140204175
cmp eax, 4
jg 0x14020415f
lea r8d, [rdi + 0x14]
add r8d, dword [rbx + 0x18]
cmp dword [rbx + 0x1c], r8d
jae 0x140204175
lea rdx, [rbx + 0x10]
lea rcx, [rsi + 0x3c]
call fcn.140239150
jmp 0x140204175
mov rdx, rbx
mov rcx, rsi
call fcn.140204690
cmp dword [rsi + 0x3c], 0
je 0x140204142
jmp 0x14020429c
mov edx, dword [rbx + 0x18]
sub edx, dword [rbx + 0xc]
movsxd rcx, dword [rbx + 0x28]
movsxd rdx, edx
add rcx, qword [rbx + 0x20]
call fcn.14024d970
add dword [rbx + 0x28], eax
mov eax, dword [rbx + 0x18]
cmp byte [rbx + 0x4a], 0
mov dword [rbx + 0xc], eax
je 0x140204212
cmp dword [rbx + 8], 1
jne 0x1402041a8
xor r12d, r12d
jmp 0x140204245
cmp dword [rbx + 0x38], 0
mov r8d, edi
je 0x1402041cc
mov rdx, qword [rbx + 0x30]
xor eax, eax
lea r8d, [rax + 1]
cmp r12d, eax
jle 0x1402041cc
mov cl, byte [rdx + rax]
inc rax
cmp cl, byte [rbp + rax - 1]
je 0x1402041b7
cmp dword [rbx + 0x70], 0
je 0x1402041e7
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x2c], r8d
call fcn.140204580
mov r8d, dword [rsp + 0x2c]
cmp dword [rsi + 0x3c], 0
jne 0x14020429c
lea rdx, [rbx + 0x60]
lea rcx, [rsi + 0x3c]
mov r9, rbp
call fcn.140239140
mov eax, dword [rbx + 8]
cmp dword [rsi + 0x3c], 0
mov dword [rbx + 0x70], eax
je 0x1402041a0
jmp 0x14020429c
mov rax, qword [rbx + 0x30]
xor r8d, r8d
cmp r12d, r8d
jle 0x140204232
mov cl, byte [rbp + r8]
lea rdx, [r8 + 1]
cmp byte [rax + r8], cl
jne 0x140204232
mov r8, rdx
jmp 0x140204219
mov r12d, r8d
lea rdx, [rbx + 0x10]
lea rcx, [rsi + 0x3c]
movsxd r8, r8d
call fcn.1402390e0
add rsi, 0x3c
lea r13, [rbx + 0x10]
movsxd r14, r12d
movsxd r8, edi
sub r8, r14
mov rdx, r13
mov rcx, rsi
call fcn.1402390e0
mov r8d, edi
lea r9, [rbp + r14]
mov rdx, r13
sub r8d, r12d
mov rcx, rsi
call fcn.140239020
lea rdx, [rbx + 0x30]
mov r9, rbp
mov r8d, edi
mov rcx, rsi
call fcn.140239140
mov rax, qword [rbx + 0x58]
mov edx, dword [rbx + 8]
mov byte [rbx + 0x4a], 0
mov word [rbx + 0x48], 1
mov dword [rax], edx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1402042b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
xor ebp, ebp
xor edi, edi
lea rax, [rcx + 0x3c]
mov rbx, rcx
mov rsi, rdx
mov r12, r8
mov qword [rsp + 0x28], rax
or edi, dword [rbx + 0x3c]
jne 0x140204456
mov r15, qword [rsi + 0x58]
mov r13, rbp
mov rax, qword [rbx]
shl r13, 5
add r15, r13
mov eax, dword [rax + 0x88]
cmp dword [r15 + 0x18], eax
jl 0x1402043dd
mov rax, qword [r15 + 0x10]
mov rcx, rbx
mov byte [rax], 1
movsxd rdx, dword [rsi]
mov eax, 1
shl rax, 0x24
mov r9d, dword [r15 + 0x18]
mov r8, qword [r15 + 0x10]
shl rdx, 0x25
add rdx, rax
mov rax, rbp
shl rax, 0x1f
add rdx, rax
movsxd rax, dword [r15]
add rdx, rax
call fcn.1401f47b0
lea r8d, [rbp + 2]
mov rdx, rsi
mov rcx, rbx
call fcn.140204470
mov r15, qword [rsi + 0x58]
add r15, r13
cmp dword [rbx + 0x3c], 0
jne 0x1402043ce
cmp dword [r15 + 0x38], 0
jne 0x1402043ce
mov r14, qword [r15 + 0x10]
lea r13, [rsp + 0x38]
mov rdx, r13
lea rcx, [r14 + 1]
call fcn.14023a310
mov rdx, r13
lea r13, [r15 + 0x30]
movzx eax, al
lea rcx, [r14 + rax + 1]
call fcn.14023a310
mov eax, dword [r15]
mov rcx, qword [rsp + 0x28]
xor r8d, r8d
mov rdx, r13
mov r14, qword [rsp + 0x38]
mov dword [r15 + 0x20], eax
call fcn.1402390e0
movsxd r8, dword [r15]
mov rcx, qword [rsp + 0x28]
mov rdx, r13
call fcn.1402390e0
mov rcx, qword [rsp + 0x28]
mov r8, r14
mov rdx, r13
call fcn.1402390e0
mov dword [r15 + 0x24], 1
mov qword [r15 + 0x28], r14
xor eax, eax
inc dword [r15]
mov dword [r15 + 0x18], eax
mov dword [r15 + 4], eax
jmp 0x1402043f7
cmp dword [r15 + 4], 0
je 0x1402043f2
mov r8, r12
mov edi, 1
sub r8, qword [r15 + 8]
jmp 0x140204434
mov edi, 1
test rbp, rbp
jne 0x140204402
movsxd r14, dword [rsi + 8]
jmp 0x140204406
movsxd r14, dword [r15 - 0x20]
mov r8d, edi
mov rcx, qword [rsp + 0x28]
lea r13, [r15 + 0x10]
xor r8d, 1
mov rdx, r13
movsxd r8, r8d
call fcn.1402390e0
mov rcx, qword [rsp + 0x28]
mov r8, r14
mov rdx, r13
call fcn.1402390e0
mov r8, r12
mov rcx, qword [rsp + 0x28]
lea rdx, [r15 + 0x10]
inc rbp
call fcn.1402390e0
mov dword [r15 + 4], 1
mov qword [r15 + 8], r12
jmp 0x1402042d6
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140210d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rcx + 0x80]
movsxd rdx, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x78]
mov rsi, rdx
imul rdx, rdx, 0x38
call fcn.14024daf0
mov r8, rax
test rax, rax
jne 0x140210d56
mov eax, 7
jmp 0x140210df2
movsxd rdi, ebp
mov ecx, esi
imul rdi, rdi, 0x38
sub ecx, ebp
movsxd rcx, ecx
imul rcx, rcx, 0x38
lea rdx, [rax + rdi]
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov qword [rbx + 0x78], r8
mov rdi, rdx
cmp ebp, esi
jge 0x140210df0
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x20]
cmp qword [rax], 0
mov dword [rdi + 0x18], ecx
je 0x140210d97
mov rax, qword [rbx + 0x60]
test rax, rax
jg 0x140210d9d
mov eax, dword [rbx + 0xb8]
mov qword [rdi], rax
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x1c], eax
call fcn.1402254e0
mov dword [rdi + 0x20], 1
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140210d4c
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x140210de2
mov edx, dword [rax + 0x58]
mov dword [rdi + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rdi + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rdi + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rdi + 0x30], eax
inc ebp
add rdi, 0x38
mov dword [rbx + 0x80], ebp
jmp 0x140210d7a
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp dword [rcx + 0x80], edx
jge 0x140245053
cmp byte [rcx + 0xa], 0
je 0x140245053
jmp 0x140210d20
xor eax, eax
ret

Function at 0x1402187c0
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
sub rsp, 0x58
mov r12d, dword [rsp + 0xa0]
mov byte [rcx + 0x1c], 1
mov ebp, r8d
mov rsi, rdx
mov rdi, r9
mov qword [rsp + 0x28], r9
mov r9, rdx
mov dword [rsp + 0x20], r8d
mov r8, rdx
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 dword [rsp + 0x30], r12d
mov qword [rsp + 0x48], rcx
call fcn.1402443f0
test ebp, ebp
mov rcx, qword [rsp + 0x48]
jne 0x140218830
mov r9, rdi
mov r8, rsi
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 dword [rsp + 0xa0], r12d
add rsp, 0x58
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1402443f0
add rsp, 0x58
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14021bd50
Capabilities:
Reference sql statements

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
movsxd r12, edx
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rsi, r8
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
cmp qword [rcx + r12*8 + 0x28], 0
mov rbp, r12
mov rdi, r9
mov qword [rsp + 0x48], rax
lea r13, [r12 + 4]
jne 0x14021bda7
mov rdx, qword [rsp + r12*8 + 0x40]
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
call fcn.14021c1a0
mov qword [rbx + r13*8 + 8], rax
cmp dword [rbx + 0x40], 0
jne 0x14021be60
mov r12, qword [rbx + r12*8 + 0x28]
mov r8, rsi
mov edx, 1
mov rcx, r12
call fcn.140268a60
mov rcx, r12
call fcn.14026e550
cmp eax, 0x65
jne 0x14021be03
test ebp, ebp
lea rdx, str.__rowid
mov r9, rdi
mov r8, rsi
lea rax, str.__parent
mov rcx, rbx
cmovne rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call fcn.14021bc50
jmp 0x14021be4f
cmp eax, 0x64
jne 0x14021be4f
xor edx, edx
mov rcx, r12
call fcn.1402698b0
mov r9, rax
cmp rdi, rax
je 0x14021be4f
lea rdx, str.__rowid
test ebp, ebp
mov r8, rsi
mov rcx, rbx
lea rax, str.__parent
mov qword [rsp + 0x30], rdi
cmovne rax, rdx
mov qword [rsp + 0x28], rsi
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov qword [rsp + 0x20], rax
call fcn.14021bc50
mov rcx, r12
call fcn.14026d600
cmp dword [rbx + 0x40], 0
jne 0x14021be60
mov dword [rbx + 0x40], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x14023d440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
mov eax, ecx
mov r8d, edx
cmp ecx, 0x7f
jg 0x14023d45f
lea edx, [rcx - 0x41]
cmp edx, 0x19
ja 0x14023d500
add eax, 0x20
jmp 0x14023d500
cmp ecx, 0xffff
jg 0x14023d4f2
or rdx, 0xffffffffffffffff
xor r10d, r10d
mov r11d, 0xa2
lea r9, [0x140377080]
lea ecx, [r11 + r10]
sar ecx, 1
movsxd rbx, ecx
movzx ebx, word [r9 + rbx*4]
cmp eax, ebx
jl 0x14023d49a
lea r10d, [rcx + 1]
movsxd rdx, ecx
jmp 0x14023d49e
lea r11d, [rcx - 1]
cmp r11d, r10d
jge 0x14023d47f
movzx ecx, word [r9 + rdx*4]
movzx r10d, byte [r9 + rdx*4 + 3]
add r10d, ecx
cmp eax, r10d
jge 0x14023d4dc
mov dl, byte [r9 + rdx*4 + 2]
xor ecx, eax
mov r9d, edx
and r9d, 1
test r9d, ecx
jne 0x14023d4dc
shr dl, 1
lea rcx, [0x14037a860]
and edx, 0x7f
add ax, word [rcx + rdx*2]
movzx eax, ax
test r8d, r8d
je 0x14023d500
xor edx, edx
cmp r8d, 2
mov ecx, eax
sete dl
pop rbx
jmp fcn.140216de0
lea edx, [rcx - 0x10400]
cmp edx, 0x27
ja 0x14023d500
add eax, 0x28
pop rbx
ret

Function at 0x140245040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rcx + 0x80]
movsxd rdx, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x78]
mov rsi, rdx
imul rdx, rdx, 0x38
call fcn.14024daf0
mov r8, rax
test rax, rax
jne 0x140210d56
mov eax, 7
jmp 0x140210df2
movsxd rdi, ebp
mov ecx, esi
imul rdi, rdi, 0x38
sub ecx, ebp
movsxd rcx, ecx
imul rcx, rcx, 0x38
lea rdx, [rax + rdi]
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov qword [rbx + 0x78], r8
mov rdi, rdx
cmp ebp, esi
jge 0x140210df0
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x20]
cmp qword [rax], 0
mov dword [rdi + 0x18], ecx
je 0x140210d97
mov rax, qword [rbx + 0x60]
test rax, rax
jg 0x140210d9d
mov eax, dword [rbx + 0xb8]
mov qword [rdi], rax
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x1c], eax
call fcn.1402254e0
mov dword [rdi + 0x20], 1
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140210d4c
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x140210de2
mov edx, dword [rax + 0x58]
mov dword [rdi + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rdi + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rdi + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rdi + 0x30], eax
inc ebp
add rdi, 0x38
mov dword [rbx + 0x80], ebp
jmp 0x140210d7a
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp dword [rcx + 0x80], edx
jge 0x140245053
cmp byte [rcx + 0xa], 0
je 0x140245053
jmp 0x140210d20
xor eax, eax
ret
Function at 0x140277890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rsi, qword [rsp + 0xc0]
mov ebp, r8d
mov r14, rcx
mov r8, qword [rsi + 0x18]
mov r12d, edx
mov ecx, ebp
mov qword [rsp + 0xa8], r9
call fcn.1402614b0
mov ebx, eax
mov eax, 0x12
cmp dword [r8 + 0x88], ebx
jl 0x140277a6b
mov r13b, byte [rsi + 0x16]
cmp ebx, 0xfa0
jle 0x140277a19
cmp qword [r14 + 0x38], 0
jne 0x140277a19
test byte [r14 + 8], 0x10
jne 0x14027791f
mov edx, 0x20
mov rcx, r8
call fcn.14022c500
mov qword [r14 + 0x70], rax
test rax, rax
jne 0x14027791a
mov eax, 7
jmp 0x140277a6b
or byte [r14 + 8], 0x10
mov rdi, qword [r14 + 0x70]
cmp qword [rdi], 0
jne 0x140277938
mov rcx, qword [rdi]
test rcx, rcx
je 0x14027796d
call fcn.14024d9e0
jmp 0x14027796d
cmp dword [rdi + 0x10], r12d
jne 0x140277929
mov eax, dword [rsp + 0xb0]
cmp dword [rdi + 0x14], eax
jne 0x140277929
mov eax, dword [rsp + 0xb8]
cmp dword [rdi + 0x18], eax
jne 0x140277929
mov rcx, qword [r14 + 0x30]
mov r15, qword [rdi + 8]
call fcn.1402279d0
cmp r15, rax
jne 0x140277929
mov r15, qword [rdi]
jmp 0x1402779df
lea ecx, [rbx + 3]
movsxd rcx, ecx
call fcn.14024d9b0
mov qword [rdi], rax
mov r15, rax
test rax, rax
je 0x140277910
xor eax, eax
mov rcx, qword [r14 + 0x30]
mov edx, dword [rsp + 0xa8]
mov r9, r15
mov dword [rsp + 0x20], eax
mov r8d, ebx
call fcn.1401d3c70
test eax, eax
jne 0x140277a6b
mov eax, ebx
mov byte [r15 + rax], 0
mov byte [r15 + rax + 1], 0
mov byte [r15 + rax + 2], 0
mov eax, dword [rsp + 0xb0]
mov dword [rdi + 0x10], r12d
mov rcx, qword [r14 + 0x30]
mov dword [rdi + 0x14], eax
mov eax, dword [rsp + 0xb8]
mov dword [rdi + 0x18], eax
call fcn.1402279d0
mov qword [rdi + 8], rax
inc qword [r15 - 8]
lea rax, [fcn.14024d9e0]
and bpl, 1
mov r8d, ebx
mov qword [rsp + 0x20], rax
je 0x140277a09
movzx r9d, r13b
mov rdx, r15
mov rcx, rsi
call fcn.140260330
jmp 0x140277a5f
xor r9d, r9d
mov rdx, r15
mov rcx, rsi
call fcn.140260330
jmp 0x140277a65
mov rcx, qword [r14 + 0x30]
mov edx, dword [rsp + 0xa8]
mov r9, rsi
mov r8d, ebx
call fcn.14025fea0
test eax, eax
jne 0x140277a6b
mov rcx, qword [rsi + 8]
mov r8, rsi
mov edx, ebp
mov dword [rsp + 0x3c], eax
call fcn.1402613d0
dec r13b
mov eax, dword [rsp + 0x3c]
jne 0x140277a65
and bpl, 1
je 0x140277a65
mov rdx, qword [rsi + 8]
movsxd rbx, ebx
mov byte [rdx + rbx], 0
or word [rsi + 0x14], 0x200
and word [rsi + 0x14], 0xbfff
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140279030
Capabilities:
Create thread

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor esi, esi
xor r13d, r13d
movzx r12d, byte [rcx + 0x5b]
mov ebp, r12d
dec r12d
mov byte [rcx + 0x58], 1
mov rbx, rcx
cmp r13d, r12d
jge 0x140279130
movzx eax, byte [rbx + 0x5a]
lea eax, [r13 + rax + 1]
cdq
idiv r12d
movsxd rdx, edx
lea rsi, [rdx + 1]
imul rdx, rdx, 0x60
imul rsi, rsi, 0x60
lea rdi, [rbx + rdx]
add rsi, rbx
cmp dword [rdi + 0x68], 0
jne 0x140279091
cmp qword [rdi + 0x60], 0
je 0x1402790a2
inc r13d
jmp 0x140279053
mov rcx, rsi
call fcn.1402791d0
test eax, eax
je 0x140279085
jmp 0x140279156
lea rdx, [rbx + 0x60]
mov rax, rsi
mov rcx, qword [rsi + 0x28]
movups xmm0, xmmword [rbx + 0x38]
sub rax, rdx
movabs rdx, 0xaaaaaaaaaaaaaaab
sar rax, 5
imul rax, rdx
mov byte [rbx + 0x5a], al
mov rax, qword [rbx + 0x48]
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], rax
xor eax, eax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x48], rax
test rcx, rcx
je 0x1402790f2
mov qword [rbx + 0x40], rcx
call fcn.140243e50
mov dword [rbx + 0x54], eax
jmp 0x14027910b
cmp qword [rbx + 0x40], 0
je 0x14027910b
movsxd rcx, dword [rbx + 0x54]
call fcn.140243cf0
mov qword [rbx + 0x40], rax
test rax, rax
je 0x140279129
mov r8, rsi
lea rdx, [0x140279170]
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.140254bf0
mov eax, 7
jmp 0x140279156
jne 0x1402790a2
movzx ecx, bpl
lea rdx, [rbx + 0x38]
imul rcx, rcx, 0x60
add rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.140279240
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140284cb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r9d, r9d
xor r11d, r11d
movsxd rax, dword [rcx + 0xc]
lea r10d, [rax + 1]
add rax, qword [rcx]
mov bl, byte [rdx + r9]
xor byte [rax], bl
movsxd rax, r10d
cmp dword [rcx + 8], r10d
cmovle rax, r11
inc r9
cmp r8d, r9d
jg 0x140284cbb
add dword [rcx + 0x10], r8d
mov dword [rcx + 0xc], eax
pop rbx
ret
Function at 0x140001d58
Capabilities:
Bypass uac via rpc

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x150
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor edx, edx
mov sil, dl
mov qword [rax + 0x30], rdx
mov dword [rax + 0x40], edx
mov rbx, qword [rsp + 0x1b8]
test rbx, rbx
je 0x140001da8
mov qword [rbx], rdx
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rdx
lea rdi, [rsp + 0x88]
xor eax, eax
lea ecx, [rax + 0x18]
rep stosb byte [rdi], al
lea rdi, [rsp + 0x110]
lea ecx, [rax + 0x38]
rep stosb byte [rdi], al
mov dword [rsp + 0x134], 1
mov word [rsp + 0x138], dx
lea rdi, [rsp + 0xa0]
lea ecx, [rax + 0x70]
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1b8]
lea rcx, str.201ef99a_7fa0_444c_9399_19ba84f12a1a
call fcn.140010480
test eax, eax
jne 0x140001f8a
lea edx, [rax + 0x70]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncInitializeHandle]
mov edi, eax
test eax, eax
jne 0x140001e47
mov dword [rsp + 0xcc], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0xd0], rax
test rax, rax
jne 0x140001e47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x140001f8a
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
or dword [rsp + 0x60], 0xffffffff
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x50], rax
lea rax, str.WinSta0Default
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r9, qword [rsp + 0x1b8]
lea r8, [rsp + 0xa0]
lea rdx, [0x14001b382]
lea rcx, [0x14001b2e0]
call qword [sym.imp.RPCRT4.dll_NdrAsyncClientCall]
or edi, 0xffffffff
mov edx, edi
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
jne 0x140001ef2
or ecx, 0xffffffff
call qword [sym.imp.RPCRT4.dll_RpcRaiseException]
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncCompleteCall]
test eax, eax
jne 0x140001f52
cmp qword [rsp + 0x198], 0
jne 0x140001f52
test rbx, rbx
je 0x140001f47
mov rax, qword [rsp + 0x88]
mov qword [rbx], rax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x98]
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x9c]
mov dword [rbx + 0x14], eax
mov sil, 1
mov byte [rsp + 0x80], sil
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140001f6e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0xd0], 0
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
jmp 0x140001f8a
mov al, sil
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret