joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013874
Capabilities:
Query environment variable

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
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400138a4
xor eax, eax
jmp 0x140013967
mov rbp, rbx
cmp word [rax], si
je 0x1400138c9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400138b0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400138ac
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000ca78
movsxd r14, eax
test eax, eax
jne 0x140013907
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001389d
mov rcx, r14
call fcn.14000ca18
mov rdi, rax
test rax, rax
jne 0x140013920
xor ecx, ecx
call fcn.14000c9dc
jmp 0x1400138fc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000ca78
test eax, eax
jne 0x140013951
mov rcx, rdi
call fcn.14000c9dc
jmp 0x14001395b
xor ecx, ecx
call fcn.14000c9dc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
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 0x140016a68
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140016a7e
mov al, 1
jmp 0x140016ade
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140016a8f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140016adc
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000fe98
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140016adc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140016adc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140016adc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140016ade
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140016f58
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14002cd50]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140016faf
cmp word [rdx], r13w
jne 0x140016faf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140016fb4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400170d9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400170fa
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140016fed
mov rdx, r9
mov word [rbx], cx
jmp 0x140017014
cmp r9, r8
jae 0x140017024
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140016fce
jmp 0x1400170d9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400170ce
cmp dword [rsp + 0x80], esi
je 0x1400170ce
lea r8, [0x14002cd50]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400170a6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140017076
mov word [rbx], r13w
jmp 0x1400170d6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140017083
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400170d6
cmp word [rsp + 0x70], r13w
jne 0x1400170b3
cmp rbx, r14
je 0x140017070
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140016e78
cmp word [rsp + 0x70], r13w
je 0x1400170d9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14002cd50]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400170d3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400170d9
Function at 0x140018d68
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400110bc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140018df2
cmp byte [rbp - 0x21], r15b
je 0x140018ded
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140018e28
call fcn.14000dbc8
test eax, eax
jne 0x140018e14
cmp byte [rbp - 0x21], r15b
je 0x140018e0c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140018e28
cmp byte [rbp - 0x21], r15b
je 0x140018e25
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140010f40
test eax, eax
jne 0x140018ec8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400110bc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140018e67
cmp byte [rbp - 0x21], r15b
je 0x140018e9c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140018e9c
call fcn.14000dbc8
test eax, eax
jne 0x140018e88
cmp byte [rbp - 0x21], r15b
je 0x140018e81
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140018e9c
cmp byte [rbp - 0x21], r15b
je 0x140018e99
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140010f40
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140018ec8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140018ecb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140018ed9
mov rcx, rdi
call fcn.14000c9dc
cmp byte [rbp + 0x3f], r15b
je 0x140018ee8
mov rcx, qword [rbp + 0x27]
call fcn.14000c9dc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14001ad40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001ad68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001ad68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400034d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
mov rax, qword gs:[0x30]
xor r9d, r9d
mov ebx, ecx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, qword [rdx]
mov rdi, qword [rax + 0x30]
movsxd rax, dword [rdi + 0x3c]
mov edx, dword [rax + rdi + 0x88]
add rdx, rdi
mov r13d, dword [rdx + 0x1c]
mov esi, dword [rdx + 0x20]
mov r11d, dword [rdx + 0x24]
mov r12d, dword [rdx + 0x14]
mov r14d, dword [rdx + 0x18]
add r13, rdi
add rsi, rdi
add r11, rdi
test r12, r12
je 0x1400035a2
mov qword [rsp + 0x20], rbp
nop word [rax + rax]
mov eax, dword [r13 + r9*4]
test eax, eax
je 0x14000358e
xor r8d, r8d
mov ebp, eax
test r14d, r14d
je 0x14000358e
movzx eax, word [r11 + r8*2]
cmp rax, r9
jne 0x140003586
mov edx, dword [rsi + r8*4]
xor ecx, ecx
add rdx, rdi
movzx eax, byte [rdx]
test al, al
je 0x140003582
nop dword [rax]
ror ecx, 7
movsx eax, al
inc rdx
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x140003570
cmp ebx, ecx
je 0x140003598
inc r8
cmp r8, r14
jb 0x140003553
inc r9
cmp r9, r12
jb 0x140003540
jmp 0x14000359d
movzx eax, byte [rdi + rbp + 4]
mov rbp, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r14
pop r13
pop r12
ret
Function at 0x1400036b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rbp - 0x78], 7
xor edi, edi
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
lea r8d, [rdi + 0x18]
lea rdx, str.C:UsersPublicDesktop_
lea rcx, [rsp + 0x70]
call fcn.140006ad0
nop
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x60], di
lea r8d, [rdi + 2]
lea rdx, [0x14002fb44]
lea rcx, [rbp - 0x60]
call fcn.140006ad0
nop
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rdi
mov word [rbp - 0x38], di
lea r8d, [rdi + 4]
lea rdx, [0x14002fb50]
lea rcx, [rbp - 0x38]
call fcn.140006ad0
nop
mov qword [rbp + 8], 7
mov qword [rbp], rdi
mov word [rbp - 0x10], di
lea r8d, [rdi + 2]
lea rdx, [0x14002fb5c]
lea rcx, [rbp - 0x10]
call fcn.140006ad0
nop
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rdi
mov word [rbp + 0x18], di
lea r8d, [rdi + 4]
lea rdx, [0x14002fb68]
lea rcx, [rbp + 0x18]
call fcn.140006ad0
nop
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rdi
mov word [rbp + 0x40], di
lea r8d, [rdi + 2]
lea rdx, [0x14002fb74]
lea rcx, [rbp + 0x40]
call fcn.140006ad0
nop
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea r8d, [rdi + 4]
lea rdx, str..lnk
lea rcx, [rsp + 0x20]
call fcn.140006ad0
nop
mov ebx, edi
nop
movsxd rax, ebx
lea rcx, [rax + rax*4]
lea r8, [rbp + rcx*8 - 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.1400072c0
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007380
nop
cmp qword [rbp + 0x88], 8
jb 0x140003821
mov rcx, qword [rbp + 0x70]
call fcn.14000a9f0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400038aa
cmp qword [rsp + 0x60], 8
jb 0x14000384f
mov rcx, qword [rsp + 0x48]
call fcn.14000a9f0
inc ebx
cmp ebx, 5
jb 0x1400037e0
cmp qword [rsp + 0x38], 8
jb 0x140003868
mov rcx, qword [rsp + 0x20]
call fcn.14000a9f0
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea r9, [fcn.140004a70]
mov edx, 0x28
lea r8d, [rdx - 0x23]
lea rcx, [rbp - 0x60]
call fcn.14000b83c
nop
cmp qword [rbp - 0x78], 8
jb 0x1400038a6
mov rcx, qword [rsp + 0x70]
call fcn.14000a9f0
xor al, al
jmp 0x140003921
cmp qword [rsp + 0x60], 8
jb 0x1400038bc
mov rcx, qword [rsp + 0x48]
call fcn.14000a9f0
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
cmp qword [rsp + 0x38], 8
jb 0x1400038e1
mov rcx, qword [rsp + 0x20]
call fcn.14000a9f0
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea r9, [fcn.140004a70]
mov edx, 0x28
lea r8d, [rdx - 0x23]
lea rcx, [rbp - 0x60]
call fcn.14000b83c
nop
cmp qword [rbp - 0x78], 8
jb 0x14000391f
mov rcx, qword [rsp + 0x70]
call fcn.14000a9f0
mov al, 1
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140006310
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x80], 0
je 0x140006549
cmp byte [rcx + 0x89], 0
je 0x140006549
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000651d
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], 8
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r12d, r12d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
nop word [rax + rax]
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x28]
cmovae r8, r10
mov rcx, qword [rdi + 0x80]
mov r10, qword [rcx]
mov rax, qword [rbp - 0x18]
lea r9, [rdx + rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x8c]
call qword [r10 + 0x30]
test eax, eax
je 0x1400063e8
dec eax
jne 0x1400064e7
jmp 0x1400063ef
mov byte [rdi + 0x89], r12b
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp + 0x20]
sub rbx, rax
je 0x14000643d
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x98]
mov r8, rbx
mov edx, 1
call fcn.14000c3b8
cmp rbx, rax
jne 0x14000650d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
cmp byte [rdi + 0x89], r12b
je 0x14000653b
test rbx, rbx
jne 0x1400063a0
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x14000652e
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x140006521
cmp r9, rbx
jae 0x140006491
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140002070
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
jmp 0x1400064ae
test rbx, rbx
jne 0x1400064b7
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, r10
mov byte [rax], r12b
jmp 0x14000638b
test rbx, rbx
je 0x1400063a0
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov rax, qword [rbp - 0x18]
xor edx, edx
mov qword [rcx + rax], rdx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax + rbx], dl
jmp 0x14000638b
sub eax, 2
je 0x140006500
cmp qword [rbp - 0x10], 0x10
jb 0x14000651d
mov rcx, qword [rbp - 0x28]
call fcn.14000a9f0
xor al, al
jmp 0x14000654b
cmp qword [rbp - 0x10], 0x10
jb 0x140006549
mov rcx, qword [rbp - 0x28]
jmp 0x140006544
cmp qword [rbp - 0x10], 0x10
jb 0x14000651d
mov rcx, qword [rbp - 0x28]
call fcn.14000a9f0
xor al, al
jmp 0x14000654b
lea rcx, str.string_too_long
call fcn.140007e70
int3
lea rcx, str.string_too_long
call fcn.140007e70
nop
cmp r9, 0x10
jb 0x140006549
mov rcx, r10
call fcn.14000a9f0
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x140007cc1
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret

Function at 0x140010f60
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140010dd0
Function at 0x140024240
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400384b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140010690
xor ebx, ebx
cmp qword [0x1416cb668], rbx
mov rdi, rax
jne 0x140024353
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14002442a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002442a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1416cb668], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1416cb670], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1416cb678], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1416cb688], rax
test rax, rax
je 0x14002434a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1416cb680], rax
jmp 0x14002435a
mov rax, qword [0x1416cb680]
jmp 0x140024361
mov rax, qword [0x1416cb680]
mov r11, qword [0x1416cb688]
cmp rax, rdi
je 0x1400243c8
cmp r11, rdi
je 0x1400243c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1416cb688]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400243c8
test rax, rax
je 0x1400243c8
call rsi
test rax, rax
je 0x1400243c2
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400243c2
test byte [rsp + 0x40], 1
jne 0x1400243c8
bts ebp, 0x15
jmp 0x140024408
mov rcx, qword [0x1416cb670]
cmp rcx, rdi
je 0x140024408
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140024408
call rax
mov rbx, rax
test rax, rax
je 0x140024408
mov rcx, qword [0x1416cb678]
cmp rcx, rdi
je 0x140024408
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140024408
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1416cb668]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14002442a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14002442c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140016870
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140025ccf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400384b0]
jne 0x14001688a
rol rcx, 0x10
test cx, 0xffff
jne 0x140016886
repz ret
ror rcx, 0x10
jmp 0x140025c28
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1416cb730]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1416cb828]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140025cad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1416cb730]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140025ccf
mov rax, qword [rsp + 0x88]
mov qword [0x1416cb828], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1416cb7c8], rax
mov rax, qword [0x1416cb828]
mov qword [0x1416cb6a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1416cb7b0], rax
mov dword [0x1416cb690], 0xc0000409
mov dword [0x1416cb694], 1
mov rax, qword [0x1400384b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400384b8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1416cb728], eax
mov ecx, 1
call fcn.1400241d8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002f790]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1416cb728], 0
jne 0x140025d56
mov ecx, 1
call fcn.1400241d8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400178e0
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x140518628]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x100
call fcn.140363e40
mov edx, 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x14001796e
xor eax, eax
mov rcx, 0xffffffffffffffff
mov qword [rbx], rax
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140017940
mov qword [rbx + 8], rcx
inc rcx
call fcn.140361678
mov r8, qword [rbx + 8]
lea rdx, [rsp + 0x30]
inc r8
mov qword [rbx], rax
mov rcx, rax
call fcn.140363790
jmp 0x14001797d
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140361100
add rsp, 0x140
pop rbx
ret

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

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

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14001f9d0
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
mov rax, qword [0x140518628]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp word [rcx + 0xe], 3
movzx esi, r8b
mov rbx, rcx
jne 0x14001fa91
cmp dword [rcx], 0
je 0x14001fa91
mov eax, 0x405
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov word [rsp + 0x36], ax
movabs rcx, 0xffff000000000000
mov rax, qword [rsp + 0x30]
and rax, rcx
or rax, rdx
mov qword [rsp + 0x30], rax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x14001fa37
lea r8, [rsp + 0x28]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140020c20
mov ecx, dword [rbx]
movabs rdx, 0xffffffffffff
mov rax, qword [rbx + 8]
and rax, rdx
shl rcx, 5
add rcx, rax
mov rax, qword [rsp + 0x20]
cmp rax, rcx
je 0x14001fa91
movzx ecx, word [rax + 0x1e]
movzx eax, cl
shr al, 3
test al, 1
je 0x14001fa91
cmp cx, 0xa
sete al
jmp 0x14001fa95
movzx eax, sil
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140361100
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret