joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c1f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30f8], 0
lea rbx, [rcx + 0x3100]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14000c297
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14000c24a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140018400
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140017f10
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x30f8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3108]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140050488]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14000c29f
mov rcx, rbx
call fcn.140017f10
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400117b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x140050480]
lea r10, [0x1400436f0]
movsxd r9, ecx
mov rbx, qword [r8 + 0x1c10]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x1c44], edi
jne 0x140011857
mov r8, r9
mov ecx, edi
xor r9d, r9d
lea edx, [r9 + 4]
call fcn.1400079d0
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x14001188b
inc r8d
test ecx, ecx
je 0x140011874
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140011879
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140018540
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400144a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140050480]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x3094], ecx
test rbx, rbx
je 0x14001450f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140014520
lea rdx, [0x140043dc8]
mov rcx, rbx
mov rdi, rax
call fcn.14000a220
mov rbx, rax
test rax, rax
je 0x14001450a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140016c40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [0x140050480]
cmp byte [rbx + 0x3091], 0
jne 0x140016d99
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140016d92
lea rdx, [0x140043dc4]
mov qword [rsp + 0x38], rdi
call fcn.14000a220
mov rdi, rax
test rax, rax
je 0x140016d8d
mov qword [rsp + 0x40], r14
mov rcx, rax
mov qword [rsp + 0x30], rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140016d7a
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140016d7a
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbp, eax
cmp ebp, 0xffffffff
je 0x140016d7a
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140016d7a
mov r14, rbp
cmp rbp, 0xffffffffffffffff
je 0x140016d7a
mov rax, qword [0x140050480]
test rax, rax
je 0x140016d09
inc dword [rax + 0x3b0]
mov rdx, qword [0x140050490]
mov rcx, r14
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x140016d7a
mov r9, rdi
mov r8, r14
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, r14
je 0x140016d45
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140016d56
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, r14
mov rcx, rbp
call fcn.14000bc30
mov rax, qword [0x140050480]
test rax, rax
je 0x140016d68
dec dword [rax + 0x3b0]
mov rdx, qword [0x140050490]
mov rcx, rbp
call qword [0x140050008]
jmp 0x140016d83
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov byte [rbx + 0x3091], 1
movss xmm0, dword [rbx + 0x3094]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140016ddc
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x3094], xmm0
jb 0x140016ddc
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140016dcb
call fcn.1400144a0
jmp 0x140016dd2
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x3094], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x14002c460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140050480]
mov rcx, qword [rax + 0x2020]
mov r10, qword [rax + 0x1c10]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x174]
movss xmm4, dword [rcx + 0x174]
movss xmm3, dword [rcx + 0x178]
movss xmm2, dword [rcx + 0x17c]
movss xmm1, dword [rcx + 0x180]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x268]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x208], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x268]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x268]
mov rcx, qword [rcx + 0x1a8]
add rsp, 0x38
jmp fcn.140020fb0

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

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140050480]
mov rcx, qword [rax + 0x2020]
mov r9, qword [rax + 0x1c10]
movups xmm0, xmmword [r9 + 0x208]
movups xmmword [rcx + 0x174], xmm0
mov rax, qword [r9 + 0x268]
movups xmm0, xmmword [rcx + 0x154]
movss xmm4, dword [rcx + 0x154]
movss xmm3, dword [rcx + 0x158]
movss xmm2, dword [rcx + 0x15c]
movss xmm1, dword [rcx + 0x160]
movups xmmword [r9 + 0x208], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x268]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x1f7]
mov rcx, qword [rcx + 0x1a8]
mov rdx, qword [r9 + 0x268]
add rsp, 0x38
jmp fcn.140020fb0
Function at 0x14002d550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140050340]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x14002d590
cmp al, 0x25
jne 0x14002d584
cmp byte [r8 + 1], al
jne 0x14002d590
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x14002d577
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14002d6fa
cmp byte [r8 + 1], dl
je 0x14002d6fa
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14002d5cd
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14002d5f5
sub dl, 0x61
cmp dl, 0x19
ja 0x14002d5e7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14002d5f5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x14002d5b0
jmp 0x14002d5f8
inc r9
cmp r8, r9
jae 0x14002d62f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x14002d624
bt rdx, rax
jb 0x14002d62a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x14002d610
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.14000a370
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x14002d668
nop
inc rcx
cmp byte [rcx], 0x20
je 0x14002d660
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14002d6e8
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x14002d68a
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x14002d698
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x14002d6d6
movss xmm2, dword [0x140043f4c]
nop
cmp al, 0x39
ja 0x14002d6d6
movzx eax, al
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x14002d6b0
cmp r9b, 0x2d
jne 0x14002d6f5
xorps xmm1, xmmword [0x140043fc0]
movaps xmm0, xmm1
jmp 0x14002d6fd
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14002d6fd
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400407b0
add rsp, 0x90
pop rbx
ret
Function at 0x14002d720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140050340]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x14002d760
cmp al, 0x25
jne 0x14002d754
cmp byte [r8 + 1], al
jne 0x14002d760
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x14002d747
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14002d8c4
cmp byte [r8 + 1], dl
je 0x14002d8c4
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14002d79d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14002d7c5
sub dl, 0x61
cmp dl, 0x19
ja 0x14002d7b7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14002d7c5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x14002d780
jmp 0x14002d7c8
inc r9
cmp r8, r9
jae 0x14002d7ff
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x14002d7f4
bt rdx, rax
jb 0x14002d7fa
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x14002d7e0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14000a370
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x14002d838
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x14002d830
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14002d8b6
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x14002d85a
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x14002d868
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x14002d8a4
movsd xmm2, qword [0x140047f98]
nop
cmp al, 0x39
ja 0x14002d8a4
movzx eax, al
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x14002d880
cmp r9b, 0x2d
jne 0x14002d8bf
xorps xmm1, xmmword [0x140047fe0]
movaps xmm0, xmm1
jmp 0x14002d8c7
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14002d8c7
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400407b0
add rsp, 0x90
pop rbx
ret
Function at 0x14003e890
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140050340]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
mov rbp, rcx
xor edx, edx
mov ebx, edi
lea ecx, [rdi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rsi, rax
call sub.KERNEL32.dll_Process32First
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x14003e931
nop dword [rax]
nop word [rax + rax]
mov rdx, rbp
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x14003e920
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jle 0x14003e920
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14003e900
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400407b0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400412f0
Capabilities:
Parse pe header

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

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000b008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000b008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000b008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000b008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x140840960
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14084096d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14084097d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140840965
lea eax, [rcx + 1]
jmp 0x14084098b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14084099e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140840984
sub eax, 3
jb 0x1408409be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140840a0d
sar eax, 1
movsxd rbp, eax
jb 0x1408409f4
jmp 0x1408409cc
add ebx, ebx
jne 0x1408409ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1408409f4
inc ecx
add ebx, ebx
jne 0x1408409da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1408409f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1408409ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1408409dc
add ecx, 2
jmp 0x1408409f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140840922
jmp 0x14084096d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x14d000
mov dl, 0x32
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140840a59
cmp rsi, rcx
jae 0x140840a61
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140840a40
cmp al, 0x8f
ja 0x140840a40
cmp byte [rsi - 2], 0xf
je 0x140840a46
sub al, 0xe8
cmp al, 1
ja 0x140840a2a
cmp rsi, rcx
jae 0x140840a61
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140840a30
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140840a61
lodsb al, byte [rsi]
jmp 0x140840a40
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x83a000]
mov eax, dword [rdi]
or eax, eax
je 0x140840abe
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x840000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140840a6e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140840ab8
mov qword [rbx], rax
add rbx, 8
jmp 0x140840a8e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140840b02
cmp al, 0xef
ja 0x140840aea
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140840aca
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140840ad9
mov eax, dword [rdi]
add rdi, 4
jmp 0x140840ad9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.140840b81], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140840b81
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140840b71
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x1805bd0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1805bd237
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 0x1805bd0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805bd0c7
add dl, dl
jne 0x1805bd0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805bd14e
xor eax, eax
add dl, dl
jne 0x1805bd0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805bd205
add dl, dl
jne 0x1805bd10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805bd11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805bd128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805bd135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1805bd142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1805bd0d6
mov eax, 1
add dl, dl
jne 0x1805bd15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805bd16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1805bd153
sub eax, ebx
mov ebx, 1
jne 0x1805bd1a4
mov ecx, 1
add dl, dl
jne 0x1805bd186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1805bd193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1805bd17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1805bd0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1805bd1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1805bd1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1805bd1b5
cmp eax, 0x7d00
jae 0x1805bd1f3
cmp eax, 0x500
jb 0x1805bd1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1805bd0d6
cmp eax, 0x7f
ja 0x1805bd1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1805bd0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1805bd22a
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 0x1805bd0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800331d0
Capabilities:
Check os version
Get common file path

Disassembly:
push rbx
mov eax, 0x1170
call fcn.180170380
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x18020d020]
xor rax, rsp
mov qword [rsp + 0x1160], rax
mov rbx, rdx
mov qword [rsp + 0x38], rdx
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 7
mov word [rdx], ax
mov dword [rsp + 0x28], 1
lea ecx, [rax + 1]
call fcn.18011e4f4
mov qword [rsp + 0x20], rax
mov byte [rax], 0
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x44]
call fcn.18013d3e0
mov dword [rsp + 0x40], 0x11c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180033267
cmp dword [rsp + 0x44], 6
setae cl
mov rax, qword [rsp + 0x20]
mov byte [rax], cl
lea rcx, [rsp + 0x20]
call fcn.180084290
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x160]
call fcn.18013d3e0
xor r9d, r9d
lea r8d, [r9 + 0x1c]
lea rdx, [rsp + 0x160]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1800332cb
lea rax, [rsp + 0x160]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800332b0
lea rdx, [rsp + 0x160]
mov rcx, rbx
call fcn.180003960
lea rcx, [rsp + 0x20]
call fcn.1800845a0
nop
lea rcx, [rsp + 0x20]
call fcn.1800839f0
mov rax, rbx
mov rcx, qword [rsp + 0x1160]
xor rcx, rsp
call fcn.18011e4d0
add rsp, 0x1170
pop rbx
ret
Function at 0x180049780
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x71], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18020d020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rdx
mov qword [rbp - 0x69], rdx
xor r13d, r13d
mov dword [rbp - 0x79], r13d
mov dword [rbp - 0x59], 0x6c0047
mov dword [rbp - 0x55], 0x62006f
mov dword [rbp - 0x51], 0x6c0061
mov dword [rbp - 0x4d], 0x52005c
mov dword [rbp - 0x49], 0x410043
mov dword [rbp - 0x45], 0x370056
mov dword [rbp - 0x41], 0x340045
mov dword [rbp - 0x3d], 0x440037
mov dword [rbp - 0x39], 0x390041
mov dword [rbp - 0x35], 0x2d0033
mov dword [rbp - 0x31], 0x460041
mov dword [rbp - 0x2d], 0x310034
mov dword [rbp - 0x29], 0x34002d
mov dword [rbp - 0x25], 0x350034
mov dword [rbp - 0x21], 0x2d0030
mov dword [rbp - 0x1d], 0x300039
mov dword [rbp - 0x19], 0x440043
mov dword [rbp - 0x15], 0x33002d
mov dword [rbp - 0x11], 0x430031
mov dword [rbp - 0xd], 0x380037
mov dword [rbp - 9], 0x320031
mov dword [rbp - 5], 0x320035
mov dword [rbp - 1], 0x370038
mov dword [rbp + 3], 0x5f0044
mov dword [rbp + 7], 0x540052
mov dword [rbp + 0xb], 0x520050
mov dword [rbp + 0xf], 0x54004f
mov dword [rbp + 0x13], 0x430045
mov dword [rbp + 0x17], 0x5f0054
mov dword [rbp + 0x1b], 0x55004d
mov dword [rbp + 0x1f], 0x450054
mov dword [rbp + 0x23], 0x58
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], 7
mov word [rdx], r13w
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r13w
jne 0x1800498c2
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.180003960
nop
mov dword [rbp - 0x79], 1
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18011e4d0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret