joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b671b
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x1400d0da0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x308]
mov rax, qword [0x14027e3d8]
xor rax, rbp
mov qword [rbp + 0x2b8], rax
lea rcx, [0x14029e18a]
call fcn.1400bcafd
lea rcx, [rbp + 0x248]
call fcn.1400b6f8b
mov rcx, rax
call fcn.1400bbd88
mov qword [rbp + 8], rax
mov dword [rbp + 0x64], 1
lea rcx, [rbp + 0x88]
call fcn.1400baed3
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp + 0x44]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rbp + 0x28], rax
mov rdx, qword [section..data]
lea rcx, [rbp + 0x88]
call fcn.1400b6f3b
cmp qword [rbp + 0x28], 0
je 0x1400d0f19
mov dword [rbp + 0xc4], 0
jmp 0x1400d0e72
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0xc4], eax
jge 0x1400d0f19
movsxd rax, dword [rbp + 0xc4]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx + rax*8]
lea rcx, [rbp + 0xe8]
call fcn.1400b79fe
lea rdx, [0x14023bea8]
lea rcx, [rbp + 0xe8]
call fcn.1400b7ad5
movzx eax, al
test eax, eax
je 0x1400d0ecb
mov dword [rbp + 0x64], 2
lea rcx, [rbp + 0xe8]
call fcn.1400bb838
jmp 0x1400d0f19
xor r8d, r8d
lea rdx, str.__type
lea rcx, [rbp + 0xe8]
call fcn.1400ba393
cmp rax, 0xffffffffffffffff
je 0x1400d0f08
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xe8]
call fcn.1400b6f13
lea rcx, [rbp + 0xe8]
call fcn.1400bb838
jmp 0x1400d0f19
lea rcx, [rbp + 0xe8]
call fcn.1400bb838
jmp 0x1400d0e64
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [section..data]
lea rcx, [rbp + 0x88]
call fcn.1400b7ad5
mov byte [rbp + 0x124], al
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x268]
call fcn.1400b78ff
mov r9, rax
lea r8, [rbp + 0x88]
mov edx, dword [rbp + 0x64]
movzx ecx, byte [rbp + 0x124]
call fcn.1400b7dd2
lea rcx, [rbp + 0x268]
call fcn.1400bb838
lea rcx, [rbp + 0x148]
call fcn.1400bc7c4
mov rax, qword [rbp + 8]
mov qword [rbp + 0x148], rax
lea r8, [rbp + 0x148]
xor edx, edx
mov rcx, qword [rbp + 0x2e0]
call fcn.1400bc4b3
mov dword [rbp + 0x164], eax
mov eax, dword [rbp + 0x164]
mov dword [rbp + 0x2a4], eax
lea rcx, [rbp + 0x88]
call fcn.1400bb838
mov eax, dword [rbp + 0x2a4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14023bc80]
call fcn.1400bb531
mov eax, edi
mov rcx, qword [rbp + 0x2b8]
xor rcx, rbp
call fcn.1400b8bba
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret
Function at 0x1400b7f35
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140223f98
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14027e3d8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1402856a8]
xor r11d, r11d
lea rdi, [0x14023ea24]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x140224008
mov rax, 0xfffffffffffffffe
jmp 0x140224155
cmp word [r10 + 6], r11w
jne 0x140224077
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x140224032
test r14, r14
je 0x140224023
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x140224155
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140224040
mov r8b, 2
jmp 0x14022405e
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x14022404e
mov r8b, 3
jmp 0x14022405e
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x14022414a
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1402240a0
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x14022414a
cmp bl, bpl
jb 0x14022414a
cmp bl, r8b
jae 0x14022414a
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1402240cd
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x14022414a
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1402240af
cmp r9, rbp
jae 0x1402240f9
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140223ffc
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x14022414a
cmp edx, 0x110000
jae 0x14022414a
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x14022414a
test r14, r14
je 0x140224138
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1400bc1a2
jmp 0x140224155
mov rdx, rsi
mov rcx, r10
call fcn.1400bd395
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b8bba
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
jmp 0x140197674
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140197701
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140197701
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140197701
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1401976e8
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1401976e2
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1401976ea
add rdx, 0x28
jmp 0x1401976c7
xor edx, edx
test rdx, rdx
jne 0x1401976f3
xor al, al
jmp 0x140197707
cmp dword [rdx + 0x24], 0
jge 0x1401976fd
xor al, al
jmp 0x140197707
mov al, 1
jmp 0x140197707
xor al, al
jmp 0x140197707
add rsp, 0x18
ret
Function at 0x1400b8778
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401b2340
mov rax, rcx
neg rcx
test rax, 7
je 0x1401b235d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401b23b8
test al, 7
jne 0x1401b2350
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401b2371
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401b23e2
test dh, dh
je 0x1401b23dc
shr rdx, 0x10
test dl, dl
je 0x1401b23d6
test dh, dh
je 0x1401b23d0
shr rdx, 0x10
test dl, dl
je 0x1401b23ca
test dh, dh
je 0x1401b23c4
shr edx, 0x10
test dl, dl
je 0x1401b23be
test dh, dh
jne 0x1401b2371
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400b87dc
Capabilities:
Query environment variable

Disassembly:
jmp 0x140218780
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 0x140218807
mov rsi, rbx
cmp word [rax], bp
je 0x1402187c6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1402187b0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1402187ac
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400b507d
mov rdi, rax
test rax, rax
je 0x1402187f4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400b8bfb
mov rbp, rdi
xor ecx, ecx
call fcn.1400b5389
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 0x1400b8c28
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14018d410
jmp 0x140194850
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x14018d440
movzx eax, byte [r9 + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x14018d422
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x1400b6e73

Function at 0x1400b8f61
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401ad3c4
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14024a0b8]
mov ecx, 2
lea r8, [0x14024a0b0]
lea rdx, str.FlsGetValue
call fcn.1401ace94
mov ecx, ebx
test rax, rax
je 0x1401ad3fe
add rsp, 0x20
pop rbx
jmp qword [0x1402a0020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1400b92db
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401ad314
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14024a078]
xor ecx, ecx
lea r8, [0x14024a070]
lea rdx, str.FlsAlloc
call fcn.1401ace94
test rax, rax
je 0x1401ad34d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1402a0020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x1400b9344
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14011af90
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x14027e3d8]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbp, qword [rcx + 8]
mov rbx, r8
mov r14, rcx
test rbp, rbp
je 0x14011b079
mov rdi, qword [rdx + 8]
test rdi, rdi
je 0x14011b079
mov rsi, qword [rdx]
cmp rdi, 1
jne 0x14011b017
movzx ecx, byte [rsi]
lea rax, [rbp - 1]
cmp rax, rbx
cmovb rbx, rax
mov rax, qword [r14]
cmp byte [rax + rbx], cl
je 0x14011b012
test rbx, rbx
je 0x14011b00b
dec rbx
cmp byte [rax + rbx], cl
jne 0x14011aff6
mov rax, rbx
jmp 0x14011b080
mov rbx, 0xffffffffffffffff
mov rax, rbx
jmp 0x14011b080
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x100
call fcn.1400babbd
xor ecx, ecx
test rdi, rdi
je 0x14011b041
movzx eax, byte [rcx + rsi]
inc rcx
mov byte [rsp + rax + 0x20], 1
cmp rcx, rdi
jb 0x14011b030
mov rcx, qword [r14]
lea rax, [rbp - 1]
cmp rax, rbx
cmovb rbx, rax
movzx eax, byte [rcx + rbx]
cmp byte [rsp + rax + 0x20], 0
jne 0x14011b012
nop word [rax + rax]
test rbx, rbx
je 0x14011b079
movzx eax, byte [rcx + rbx - 1]
dec rbx
cmp byte [rsp + rax + 0x20], 0
je 0x14011b060
mov rax, rbx
jmp 0x14011b080
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400b8bba
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400b93df
Capabilities:
Get geographical location

Disassembly:
jmp 0x140207294
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x14024fb08]
mov rbp, rcx
lea r8, [0x14024fb00]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.1402067b0
test rax, rax
je 0x1402072f4
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1402a0030]
jmp 0x14020730e
xor edx, edx
mov rcx, rbp
call fcn.1400b809d
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400b9402
Capabilities:
Terminate process

Disassembly:
jmp 0x140197dd8
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1400b97f4
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401b301c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1401b2d68
Function at 0x1400ba325
Capabilities:
Clear file content

Disassembly:
jmp 0x1401e0d9c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400b6482
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400b6482
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401e0eec
cmp rax, 0xffffffffffffffff
je 0x1401e0eec
xor edi, edi
test rbp, rbp
jle 0x1401e0e97
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400bbe5f
mov rbx, rax
test rax, rax
jne 0x1401e0e24
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401e0e8d
mov edx, 0x8000
mov ecx, r14d
call fcn.1400ba7fd
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400bb72a
cmp eax, 0xffffffff
je 0x1401e0e6d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401e0e34
mov edx, r15d
mov ecx, r14d
call fcn.1400ba7fd
jmp 0x1401e0e8d
cmp byte [rsi + 0x38], dil
je 0x1401e0e84
cmp dword [rsi + 0x34], 5
jne 0x1401e0e84
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1401e0e8d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400b5389
jmp 0x1401e0f00
jns 0x1401e0f00
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400b6482
cmp rax, 0xffffffffffffffff
jne 0x1401e0eb8
cmp byte [rsi + 0x30], dil
je 0x1401e0f00
mov edi, dword [rsi + 0x2c]
jmp 0x1401e0f00
mov ecx, r14d
call fcn.1400bcf99
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401e0f00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1401e0f00
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401e0ef9
mov eax, dword [rsi + 0x2c]
jmp 0x1401e0efe
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400b6482
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400ba474
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x140169308
jmp 0x140187e58
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14016933a
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14016931d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400b5221
Function at 0x1400ba73f
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14022c5d0
test rcx, rcx
je 0x14022c66f
test rdx, rdx
je 0x14022c66f
xor al, al
xor r8d, r8d
test rdx, rdx
je 0x14022c676
cmp rdx, 0x20
jb 0x14022c662
mov rax, rdx
xorps xmm2, xmm2
and rax, 0xffffffffffffffe0
xorps xmm1, xmm1
movdqu xmm0, xmmword [r8 + rcx]
pxor xmm2, xmm0
movdqu xmm0, xmmword [r8 + rcx + 0x10]
add r8, 0x20
pxor xmm1, xmm0
cmp r8, rax
jb 0x14022c603
pxor xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
pxor xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 1
pxor xmm1, xmm0
movd eax, xmm1
cmp r8, rdx
jae 0x14022c676
xor al, byte [r8 + rcx]
inc r8
cmp r8, rdx
jb 0x14022c662
ret
movzx eax, byte [0x14027f2d0]
ret
Function at 0x1400bb054
Capabilities:
Terminate process

Disassembly:
jmp 0x1401ae034
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401ae04e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400bc1d9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1400bc49a
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401ad41c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14024a0d8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14024a0d0]
call fcn.1401ace94
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1401ad45c
call qword [0x1402a0020]
jmp 0x1401ad462
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bc80a
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
jmp 0x1400ee880
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2b8
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2d8]
lea rcx, [0x14029e643]
call fcn.1400bcafd
mov rax, qword [rbp + 0x270]
add rax, 0x28
mov qword [rbp + 0x228], rax
mov rcx, qword [rbp + 0x270]
add rcx, 0x68
mov qword [rbp + 0x230], rcx
mov rdx, qword [rbp + 0x270]
add rdx, 0x60
mov qword [rbp + 0x238], rdx
mov r8, qword [rbp + 0x270]
add r8, 0x5c
mov qword [rbp + 0x240], r8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rcx, qword [rbp + 0x228]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rbp + 0x230]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 0x238]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x240]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x270]
mov r9d, dword [rcx + 0x38]
mov r8d, eax
mov edx, 1
lea rcx, [rbp + 0x10]
call fcn.1400b5e4c
lea rcx, [rbp + 0x80]
call fcn.1400bd476
mov dword [rbp + 0xe4], 0
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0xe4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x50
lea r9, [rbp + 0x80]
mov r8d, 0x50
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x1400ee9ce
xor al, al
jmp 0x1400eea7f
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x270]
call fcn.1400bca80
movzx eax, al
test eax, eax
jne 0x1400ee9ef
xor al, al
jmp 0x1400eea7f
lea rcx, [rbp + 0x110]
call fcn.1400bd476
mov dword [rbp + 0x110], 3
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xe4]
mov r8d, 0x50
lea rdx, [rbp + 0x110]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400eea37
xor al, al
jmp 0x1400eea7f
mov rax, qword [rbp + 0x270]
mov rcx, qword [rbp + 0xb8]
mov qword [rax + 0x40], rcx
mov rax, qword [rbp + 0x270]
mov rcx, qword [rbp + 0xc0]
mov qword [rax + 0x48], rcx
mov rax, qword [rbp + 0x270]
mov rcx, qword [rbp + 0xc8]
mov qword [rax + 0x50], rcx
mov rax, qword [rbp + 0x270]
mov ecx, dword [rbp + 0x84]
mov dword [rax + 0x58], ecx
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x140240780]
call fcn.1400bb531
mov rax, rdi
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret

Function at 0x1400bc896
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401b300c
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1401b2d68

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

Disassembly:
jmp 0x1401692c4
jmp 0x140187e40
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1401692f6
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1401692d9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400b9dbc
Function at 0x1400efef0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4a0
lea rdi, [rsp + 0x30]
mov ecx, 0x11c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b0]
mov rax, qword [0x14027e3d8]
xor rax, rsp
mov qword [rsp + 0x498], rax
mov dword [rsp + 0x490], 0
lea rcx, [0x14029e7ff]
call fcn.1400bcafd
lea rcx, [rsp + 0x458]
call fcn.1400baed3
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x1400eff80
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x458]
call fcn.1400b6f3b
lea rcx, [rsp + 0x458]
call fcn.1400ba113
movzx eax, al
test eax, eax
jne 0x1400effa8
lea rdx, str.NetEaseCloudMusic_
lea rcx, [rsp + 0x458]
call fcn.1400b8ef3
lea rdx, [rsp + 0x458]
mov rcx, qword [rsp + 0x4b0]
call fcn.1400bc3f5
mov eax, dword [rsp + 0x490]
or eax, 1
mov dword [rsp + 0x490], eax
lea rcx, [rsp + 0x458]
call fcn.1400bb838
mov rax, qword [rsp + 0x4b0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140240d98]
call fcn.1400bb531
mov rax, rdi
mov rcx, qword [rsp + 0x498]
xor rcx, rsp
call fcn.1400b8bba
add rsp, 0x4a0
pop rdi
ret
Function at 0x14013e31d
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x108
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x60], r9
mov qword [rbp + 0x68], r8
mov qword [rbp + 0x70], rdx
mov dword [rbp + 0x7c], ecx
mov rax, qword [0x14015e8ed]
xor rax, rbp
mov qword [rbp + 0x80], rax
mov eax, dword [0x14015f3c9]
mov ecx, dword [0x14015f3cd]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14013e382
jmp 0x14013f24b

Function at 0x1401e03d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400b6662
sub rsp, rax
mov rax, qword [0x14027e3d8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400bcbac
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401e041f
mov rax, rbp
jmp 0x1401e0527
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x284d90]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400b7b11
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x284d90]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401e0523
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401e0523
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400b7b11
test rax, rax
js 0x1401e0523
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401e0523
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1401e0515
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1401e0515
cmp byte [rcx], 0xd
jne 0x1401e04fb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1401e050a
cmp byte [rcx + 1], 0xa
jne 0x1401e050a
inc rcx
jmp 0x1401e050a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x27e8f0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401e04dd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401e0527
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400b8bba
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret