joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401abde0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401abdf6
mov al, 1
jmp 0x1401abe56
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401abe07
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401abe54
mov ecx, dword [rcx + 0x18]
nop
call fcn.1401a4df0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401abe54
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401abe54
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401abe54
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401abe56
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1401ace3c
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, [0x140254140]
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 0x1401ace93
cmp word [rdx], r13w
jne 0x1401ace93
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401ace98
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1401acfbd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401acfde
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1401aced1
mov rdx, r9
mov word [rbx], cx
jmp 0x1401acef8
cmp r9, r8
jae 0x1401acf08
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 0x1401aceb2
jmp 0x1401acfbd
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 0x1401acfb2
cmp dword [rsp + 0x80], esi
je 0x1401acfb2
lea r8, [0x140254140]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401acf8a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401acf5a
mov word [rbx], r13w
jmp 0x1401acfba
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 0x1401acf67
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1401acfba
cmp word [rsp + 0x70], r13w
jne 0x1401acf97
cmp rbx, r14
je 0x1401acf54
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1401adaa4
cmp word [rsp + 0x70], r13w
je 0x1401acfbd
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, [0x140254140]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401acfb7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1401acfbd
Function at 0x1401b2dec
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 0x1401b2e1c
xor eax, eax
jmp 0x1401b2edf
mov rbp, rbx
cmp word [rax], si
je 0x1401b2e41
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401b2e28
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401b2e24
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.1401aec4c
movsxd r14, eax
test eax, eax
jne 0x1401b2e7f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401b2e15
mov rcx, r14
call fcn.1401a8d58
mov rdi, rax
test rax, rax
jne 0x1401b2e98
xor ecx, ecx
call fcn.1401a82dc
jmp 0x1401b2e74
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.1401aec4c
test eax, eax
jne 0x1401b2ec9
mov rcx, rdi
call fcn.1401a82dc
jmp 0x1401b2ed3
xor ecx, ecx
call fcn.1401a82dc
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 0x1401b2efc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1401b2f83
mov rsi, rbx
cmp word [rax], bp
je 0x1401b2f42
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401b2f2c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401b2f28
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401a8d58
mov rdi, rax
test rax, rax
je 0x1401b2f70
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14018f310
mov rbp, rdi
xor ecx, ecx
call fcn.1401a82dc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401b5e74
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1401a8690
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1401b5f15
cmp ebx, dword [rsp + 0x30]
je 0x1401b5f0e
test esi, esi
je 0x1401b5f0e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401b5ee9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1401b5ef6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401b5ed3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1401b5efa
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1401b5f17
mov eax, 1
jmp 0x1401b5f17
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401b8870
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.140197d04
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401b88fa
cmp byte [rbp - 0x21], r15b
je 0x1401b88f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401b8930
call fcn.1401ac248
test eax, eax
jne 0x1401b891c
cmp byte [rbp - 0x21], r15b
je 0x1401b8914
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401b8930
cmp byte [rbp - 0x21], r15b
je 0x1401b892d
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.14019d4dc
test eax, eax
jne 0x1401b89d0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140197d04
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401b896f
cmp byte [rbp - 0x21], r15b
je 0x1401b89a4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401b89a4
call fcn.1401ac248
test eax, eax
jne 0x1401b8990
cmp byte [rbp - 0x21], r15b
je 0x1401b8989
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401b89a4
cmp byte [rbp - 0x21], r15b
je 0x1401b89a1
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.14019d4dc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401b89d0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401b89d3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401b89e1
mov rcx, rdi
call fcn.1401a82dc
cmp byte [rbp + 0x3f], r15b
je 0x1401b89f0
mov rcx, qword [rbp + 0x27]
call fcn.1401a82dc
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 0x1401b9a30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401b9a58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401b9a58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001ec0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0xa0
mov qword [rax + 8], rbx
mov edx, 2
mov qword [rax + 0x18], rbp
mov edi, 0xc0000022
mov rbp, rcx
mov qword [rax + 0x20], rsi
xor ecx, ecx
mov qword [rax + 0x10], 0
call qword [sym.imp.ole32.dll_CoInitializeEx]
movups xmm0, xmmword [str.B_t_t_b]
xor ecx, ecx
cmp dword [0x140006050], 2
mov esi, eax
movups xmm1, xmmword [0x1400044d0]
mov eax, dword [0x140004508]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x1400044e0]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140004500]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x1400044f0]
mov dword [rsp + 0x78], eax
movzx eax, word [0x14000450c]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x7c], ax
jl 0x1400020a4
movdqa xmm5, xmmword [0x140004570]
lea rdx, [rsp + 0x30]
movdqa xmm4, xmmword [0x1400045c0]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [str.9999]
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [0x140004590]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x20
jl 0x140001fa0
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x27
jge 0x1400020e4
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul edx, eax, 0x39
add dx, cx
inc ecx
xor word [r8 - 2], dx
cmp ecx, 0x27
jl 0x1400020b0
lea r9, [rsp + 0xb8]
lea rcx, [rsp + 0x30]
call fcn.1400011c0
mov rbx, qword [rsp + 0xb8]
test eax, eax
jne 0x14000212e
test rbx, rbx
je 0x14000213c
mov rax, qword [rbx]
xor r9d, r9d
mov dword [rsp + 0x28], 0
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x20], 0
mov rcx, rbx
call qword [rax + 0x48]
sar eax, 0x1f
and edi, eax
test rbx, rbx
je 0x14000213c
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
mov rbp, qword [rsp + 0xc0]
test esi, esi
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xb0]
jne 0x14000215e
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
add rsp, 0xa0
pop rdi
ret
Function at 0x140002170
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rdi, rcx
mov dword [rsp + 0x28], 0x208
lea rcx, [rsp + 0x30]
xor r14d, r14d
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov rbx, 0xffffffffffffffff
mov qword [rdi + 0x18], r14
nop
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x1400021d0
movabs rbp, 0x7ffffffffffffffe
cmp rbx, rbp
ja 0x140002305
mov qword [rsp + 0x278], rsi
cmp rbx, 7
ja 0x140002224
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x30]
add rbx, rbx
mov qword [rdi + 0x18], 7
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r14w
jmp 0x1400022d6
mov rax, rbx
or rax, 7
cmp rax, rbp
jbe 0x140002240
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140002272
mov ecx, 0xa
mov rbp, rax
cmp rax, rcx
movabs rax, 0x7fffffffffffffff
cmovb rbp, rcx
lea rcx, [rbp + 1]
cmp rcx, rax
ja 0x14000230b
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400022a1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000230b
mov rcx, rax
call fcn.1400028d0
test rax, rax
je 0x14000229a
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400022b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400022b0
call fcn.1400028d0
mov rsi, rax
jmp 0x1400022b3
mov rsi, r14
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x30]
add rbx, rbx
mov qword [rdi], rsi
mov r8, rbx
mov qword [rdi + 0x18], rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r14w
mov rsi, qword [rsp + 0x278]
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400028b0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rdi
pop rbp
ret
call fcn.1400011a0
int3
call fcn.140001100
int3

Function at 0x140003230
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000327a
mov ecx, IsProcessorFeaturePresent
cmp word [rax], cx
jne 0x14000327a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000327a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000327a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000327a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000327c
xor al, al
add rsp, 0x28
ret
Function at 0x180001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp], 0
cmp qword [rsp + 0x60], 0
jne 0x180001025
xor eax, eax
jmp 0x1800011cb
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x18], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x10], 0
mov qword [rsp + 8], 0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x60]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0x88
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax]
mov rax, qword [rsp + 0x60]
add rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov ecx, dword [rax + 0x1c]
mov rax, qword [rsp + 0x60]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 8]
mov ecx, dword [rax + 0x20]
mov rax, qword [rsp + 0x60]
add rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 8]
mov ecx, dword [rax + 0x24]
mov rax, qword [rsp + 0x60]
add rax, rcx
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x68]
and eax, 0xffff0000
test eax, eax
jne 0x18000111a
mov eax, dword [rsp + 0x68]
and eax, 0xffff
mov rcx, qword [rsp + 8]
sub eax, dword [rcx + 0x10]
mov ecx, eax
mov rax, qword [rsp + 0x28]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov rax, qword [rsp + 0x60]
add rax, rcx
mov qword [rsp], rax
jmp 0x1800011c7
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x38], eax
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x38]
sub eax, 1
mov dword [rsp + 0x38], eax
test ecx, ecx
je 0x1800011c7
mov rax, qword [rsp + 0x18]
mov ecx, dword [rax]
mov rax, qword [rsp + 0x60]
add rax, rcx
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
sub rcx, rdx
movzx eax, byte [rdx]
cmp al, byte [rdx + rcx]
jne 0x180001172
add rdx, 1
test al, al
jne 0x18000115e
xor eax, eax
jmp 0x180001177
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1800011a6
mov rax, qword [rsp + 0x20]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x28]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov rax, qword [rsp + 0x60]
add rax, rcx
mov qword [rsp], rax
jmp 0x1800011c7
mov rax, qword [rsp + 0x18]
add rax, 4
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x20]
add rax, 2
mov qword [rsp + 0x20], rax
jmp 0x180001126
mov rax, qword [rsp]
add rsp, 0x58
ret
Function at 0x18004248f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1800420fa
rol rcx, 0x10
test cx, 0xffff
jne 0x1800420f6
repz ret
ror rcx, 0x10
jmp 0x1800423e8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180057100]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1800571f8]
mov qword [rsp + 0x58], r11
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 0x18004246d
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, [0x180057100]
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 0x18004248f
mov rax, qword [rsp + 0x88]
mov qword [0x1800571f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180057198], rax
mov rax, qword [0x1800571f8]
mov qword [0x180057070], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180057180], rax
mov dword [0x180057060], 0xc0000409
mov dword [0x180057064], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180056008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800570f8], eax
mov ecx, 1
call fcn.18004460c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800522e8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800570f8], 0
jne 0x180042516
mov ecx, 1
call fcn.18004460c
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 0x1800436c4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x18004352c
Function at 0x18004d0b8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.180042c5c
xor ebx, ebx
mov rdi, rax
cmp qword [0x180057d50], rbx
jne 0x18004d1be
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x18004d293
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18004d293
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180057d50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180057d58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x180057d60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x180057d70], rax
test rax, rax
je 0x18004d1b5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x180057d68], rax
jmp 0x18004d1c5
mov rax, qword [0x180057d68]
jmp 0x18004d1cc
mov rax, qword [0x180057d68]
mov r11, qword [0x180057d70]
cmp rax, rdi
je 0x18004d234
cmp r11, rdi
je 0x18004d234
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x180057d70]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x18004d234
test rax, rax
je 0x18004d234
call rsi
test rax, rax
je 0x18004d22e
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18004d22e
test byte [rsp + 0x38], 1
jne 0x18004d234
bts ebp, 0x15
jmp 0x18004d272
mov rcx, qword [0x180057d58]
cmp rcx, rdi
je 0x18004d272
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18004d272
call rax
mov rbx, rax
test rax, rax
je 0x18004d272
mov rcx, qword [0x180057d60]
cmp rcx, rdi
je 0x18004d272
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18004d272
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180057d50]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18004d293
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x18004d295
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140021390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400213c4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400213b0
ret