joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001a60
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001ad0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14001a0a4]
mov rbx, rcx
test esi, esi
jle 0x140001c00
mov rax, qword [0x14001a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001b1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001ba5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001b00
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001c22
mov rax, qword [0x14001a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14001a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001c07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001b9e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001bb0
add dword [0x14001a0a4], 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 [0x14001a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001b9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001b28
mov rax, qword [0x14001a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002190
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14001a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001a0e0]
test rbx, rbx
je 0x1400021ec
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 0x1400021e3
test rsi, rsi
je 0x1400021e3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400021c8
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 0x140002400
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002418
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002420
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002430
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000247d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002474
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000247f
add rax, 0x28
cmp rax, r9
jne 0x140002460
xor eax, eax
ret

Function at 0x140002480
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002510
mov rdx, qword [0x140017840]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400024fe
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400024fe
cmp word [rax + 0x18], 0x20b
jne 0x1400024fe
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002510
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400024e9
add rbx, 0x28
cmp rbx, rdi
je 0x140002510
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400024e0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

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

Function at 0x1400025a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140017840]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400025bf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400025c8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400025bf
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400025e0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140017840]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002600
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002608
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002600
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002650
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002647
test rcx, rcx
je 0x140002600
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002638
xor eax, eax
ret

Function at 0x140002660
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140017840]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000267f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002688
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x140017840]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026c0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400026c0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002714
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002720
add rdx, 0x28
cmp r9, rdx
jne 0x140002700
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140017840]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002752
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002760
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002752
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002752
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002752
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400027b5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400027c8
add rdx, 0x28
cmp rdx, r10
jne 0x1400027a0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400027d7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400027e7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400027be
test ecx, ecx
jg 0x1400027d0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140007df0
Capabilities:
Create process on windows
Query environment variable
Write and execute a file
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x90
xor esi, esi
call dbg.__main
call dbg.__p__acmdln
mov rbx, qword [rax]
test rbx, rbx
jne 0x140007e3b
jmp 0x140007eb1
test cl, cl
je 0x140007e68
and esi, 1
je 0x140007e50
mov esi, 1
call sym._ismbblead
test eax, eax
je 0x140007e37
cmp byte [rbx + 1], 1
sbb rbx, 0xffffffffffffffff
add rbx, 1
movsx ecx, byte [rbx]
cmp cl, 0x20
jle 0x140007e18
mov eax, esi
xor eax, 1
cmp cl, 0x22
cmove esi, eax
jmp 0x140007e26
test cl, cl
je 0x140007e68
nop dword [rax]
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
je 0x140007e68
cmp al, 0x20
jle 0x140007e58
lea rdx, [rsp + 0x20]
xor eax, eax
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov r9d, 0xa
test byte [rsp + 0x5c], 1
je 0x140007e96
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x140017840]
mov r8, rbx
xor edx, edx
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp sym.WinMain
lea rbx, [0x140017100]
jmp 0x140007e68
Function at 0x1400171b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x140109130], ecx
lea rax, [0x140109134]
mov r8d, 1
mov edx, dword [rax - 4]
lea rax, [rax + 4]
shr edx, 0x1e
xor edx, dword [rax - 8]
imul ecx, edx, 0x6c078965
add ecx, r8d
inc r8d
mov dword [rax - 4], ecx
cmp r8d, 0x270
jl 0x1400171c3
mov dword [0x140103420], 1
mov dword [0x140106dc0], 1
ret

Function at 0x140017200
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140106dc0], 0
lea rbx, [0x140109130]
jne 0x14001725f
call qword [0x1400c7618]
mov dword [0x140109130], eax
mov edx, 1
lea r8, [0x140109134]
nop
mov ecx, dword [r8 - 4]
lea r8, [r8 + 4]
shr ecx, 0x1e
xor ecx, dword [r8 - 8]
imul eax, ecx, 0x6c078965
add eax, edx
inc edx
mov dword [r8 - 4], eax
cmp edx, 0x270
jl 0x140017230
mov dword [0x140106dc0], 1
mov dword [0x140103420], 0x270
mov r8d, 0xe3
mov qword [0x140109af0], rbx
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov ecx, eax
xor ecx, dword [rbx]
and al, 1
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx + 0x634]
mov dword [rbx], ecx
add rbx, 4
sub r8d, 1
jne 0x140017280
mov r8d, 0x18c
nop word [rax + rax]
mov eax, dword [rbx + 4]
lea rdx, [rbx + 4]
mov ecx, eax
and al, 1
xor ecx, dword [rbx]
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx - 0x38c]
mov dword [rbx], ecx
lea rbx, [rdx]
sub r8d, 1
jne 0x1400172c0
mov eax, dword [0x140109130]
mov ecx, dword [rdx]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
xor ecx, dword [rdx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x140022c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
movzx eax, word [0x1401033f8]
xor ebp, ebp
mov word [rsp + 0x22], ax
mov eax, 0x7b
mov dword [rsp + 0x48], eax
mov ebx, 0x20
mov word [rsp + 0x20], bx
mov r10, r8
mov dword [rsp + 0x24], 0x90028
mov rsi, rdx
mov dword [rsp + 0x28], 0x3e003c
mov r11, rcx
mov dword [rsp + 0x2c], 0x3d003a
mov dword [rsp + 0x30], 0x2d002b
mov dword [rsp + 0x34], 0x2f002a
mov dword [rsp + 0x38], 0x7e0021
mov dword [rsp + 0x3c], 0x7c0026
mov dword [rsp + 0x40], 0x5b005e
mov dword [rsp + 0x44], 0x3f002e
test r8, r8
je 0x140022cd0
movzx edx, word [r8]
test dx, dx
je 0x140022ce5
lea rcx, [rsp + 0x20]
mov eax, ebx
nop dword [rax + rax]
cmp dx, ax
je 0x140022cd3
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140022cb0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140022ca4
mov r8, rbp
test r8, r8
je 0x140022ce5
cmp r8, r10
lea rbx, [r8 - 2]
cmovbe rbx, r8
jmp 0x140022d02
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r10 + rax*2], bp
jne 0x140022cf0
lea rbx, [r10 - 2]
lea rbx, [rbx + rax*2]
cmp rbx, r10
jbe 0x140022d1f
movzx eax, word [rbx]
cmp ax, 0x20
je 0x140022d16
cmp ax, 9
jne 0x140022d1f
sub rbx, 2
cmp rbx, r10
ja 0x140022d07
mov rdi, rbx
sub rdi, r10
sar rdi, 1
inc rdi
cmp rdi, 0xfd
jbe 0x140022d4f
test r9b, r9b
je 0x140022d4b
mov r8, r10
lea rdx, str.This_line_does_not_contain_a_recognized_action.
mov rcx, r11
call fcn.140039240
xor eax, eax
jmp 0x140022d64
mov r8, rdi
mov rdx, r10
mov rcx, rsi
call fcn.1400b44b4
mov rax, rbx
mov word [rsi + rdi*2], bp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140035910
Capabilities:
Check http status code

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140101a58]
mov rbx, rcx
mov qword [0x140108950], rcx
cmp byte [rax + 0x139], 0
je 0x140035977
movsxd rax, dword [0x140106dd8]
mov qword [rsp + 0x30], rdi
lea rdi, [0x140000000]
mov qword [rdi + rax*8 + 0x107420], rcx
call qword [0x1400c7618]
movsxd rdx, dword [0x140106dd8]
mov dword [rdi + rdx*4 + 0x106de0], eax
inc edx
mov rdi, qword [rsp + 0x30]
xor eax, eax
cmp edx, 0x190
cmovge edx, eax
mov dword [0x140106dd8], edx
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.14006be80
cmp eax, 1
jne 0x14003599a
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400331e0
add rsp, 0x20
pop rbx
ret
Function at 0x140050170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
xor esi, esi
or r10d, 0xffffffff
mov edx, esi
mov ebp, r9d
mov dword [rsp + 0x68], r10d
mov r14, r8
mov dword [rsp + 0x6c], edx
mov r15, rcx
cmp word [rdi], dx
je 0x140050277
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], r12
lea r12, [0x140000000]
movzx ebx, word [rdi]
test ebx, 0xffffff80
jne 0x1400501da
mov edx, 2
mov ecx, ebx
call fcn.1400adfa4
mov edx, dword [rsp + 0x6c]
mov r10d, dword [rsp + 0x68]
test eax, eax
je 0x1400501da
and ebx, 0xffffffdf
movzx eax, bx
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x1400501fb.51
cdqe
movzx eax, byte [r12 + rax + 0x502d4]
mov ecx, dword [r12 + rax*4 + 0x502b0]
add rcx, r12
jmp rcx
movzx esi, word [rdi]
jmp case.0x1400501fb.51
mov ecx, 1
jmp 0x140050231
mov ecx, 0x20
jmp 0x140050231
mov ecx, 4
jmp 0x140050231
mov ecx, 2
jmp 0x140050231
mov ecx, 0x80
jmp 0x140050231
mov ecx, 0x1000
jmp 0x140050231
mov ecx, 0x100
cmp esi, 0x2b
je 0x14005024d
cmp esi, 0x2d
je 0x140050244
cmp esi, 0x5e
jne case.0x1400501fb.51
xor edx, ecx
jmp 0x14005025b
not ecx
and r10d, ecx
and edx, ecx
jmp 0x140050256
mov eax, ecx
not eax
and r10d, eax
or edx, ecx
mov dword [rsp + 0x68], r10d
mov dword [rsp + 0x6c], edx
add rdi, 2
cmp word [rdi], 0
jne 0x1400501b3
mov r12, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
movzx r9d, byte [rsp + 0x80]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov r8d, ebp
lea rax, [0x140050310]
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.140050350
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400af2c8
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400af09c
xor ecx, ecx
call qword [0x1400c7570]
test rax, rax
je 0x1400af09c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400af09c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400af09c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400af09c
cmp dword [rcx + 0x84], 0xe
jbe 0x1400af09c
cmp dword [rcx + 0xf8], esi
je 0x1400af09c
mov ecx, r14d
call fcn.1400af1e4
mov ecx, 2
call fcn.1400b8500
nop
cmp byte [0x140104b08], 0
jne 0x1400af166
mov r15d, 1
mov eax, r15d
xchg dword [0x140104afc], eax
test ebx, ebx
jne 0x1400af10f
mov rdi, qword [0x140101018]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140104b00]
cmp rcx, rax
je 0x1400af106
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140017e30]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140104d40]
jmp 0x1400af11b
cmp ebx, r15d
jne 0x1400af121
lea rcx, [0x140104d58]
call fcn.1400b5120
nop
test ebx, ebx
jne 0x1400af138
lea rdx, [0x1400c7fa0]
lea rcx, [0x1400c7f80]
call fcn.1400b54b4
lea rdx, [0x1400c7fb0]
lea rcx, [0x1400c7fa8]
call fcn.1400b54b4
movzx eax, byte [0x140104b08]
test esi, esi
cmove eax, r15d
mov byte [0x140104b08], al
jmp 0x1400af166
mov ecx, 2
call fcn.1400b8554
test esi, esi
jne 0x1400af17d
mov ecx, r14d
call fcn.1400af198
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400af02c
Function at 0x10000bdfc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov qword [rbp - 0x48], 6
mov r11, qword [rbp - 0x48]
sub r11, 2
add cl, byte [rcx + rcx*4 + 0x5d]
or byte [rax - 0x39], 0x45
mov al, 0xb
add byte [rax], al
add byte [rax - 0x39], cl
rcl byte [rsi], 0
add byte [rax], al
mov r10, qword [rbp - 0x50]
cqo
idiv r10
mov qword [rbp - 0x60], rax
mov rax, 0x37
add byte [rax], al
mov r10, qword [rbp - 0x50]
cqo
idiv r10
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x68], eax
mov qword [rbp - 0x90], 0xd
movabs r11, 0x5850
mov qword [rbp - 0xd0], r11
mov r14, qword [rbp - 0xd0]
movabs r11, 0x58db
add r14, r11
mov r13d, 0x2682
mov ebx, 0x7aa05fd7
lea r13, [r13 + 0x1c24]
add byte [rcx - 0x45], cl
add byte [rax], al
add byte [rax], al
add dword [rax], eax
add byte [rax], al
mov qword [rbp - 0x58], r11
add r14, qword [rbp - 0x58]
mov esi, 0x17e4
lea r13, [r13 + 0x4515a]
movabs r11, 0xb42f
add r14, r11
sub ebx, 1
mov r11, qword [rbp - 0x50]
mov r12, r11
sub r12, 0xb
sub r14, rsi

Function at 0x10000be60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov qword [rbp - 0x48], 6
mov r11, qword [rbp - 0x48]
sub r11, 2
add cl, byte [rcx + rcx*4 + 0x5d]
or byte [rax - 0x39], 0x45
mov al, 0xb
add byte [rax], al
add byte [rax - 0x39], cl
rcl byte [rsi], 0
add byte [rax], al
mov r10, qword [rbp - 0x50]
cqo
idiv r10
mov qword [rbp - 0x60], rax
mov rax, 0x37
add byte [rax], al
mov r10, qword [rbp - 0x50]
cqo
idiv r10
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x68], eax
mov qword [rbp - 0x90], 0xd
movabs r11, 0x5850
mov qword [rbp - 0xd0], r11
mov r14, qword [rbp - 0xd0]
movabs r11, 0x58db
add r14, r11
mov r13d, 0x2682
mov ebx, 0x7aa05fd7
lea r13, [r13 + 0x1c24]
add byte [rcx - 0x45], cl
add byte [rax], al
add byte [rax], al
add dword [rax], eax
add byte [rax], al
mov qword [rbp - 0x58], r11
add r14, qword [rbp - 0x58]
mov esi, 0x17e4
lea r13, [r13 + 0x4515a]
movabs r11, 0xb42f
add r14, r11
sub ebx, 1
mov r11, qword [rbp - 0x50]
mov r12, r11
sub r12, 0xb
sub r14, rsi

Function at 0x10000bf3c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11d, r15d
mov r11b, byte [r14 + r11]
mov byte [rbp - 0x31], r11b
movzx r11d, byte [rbp - 0x31]
mov eax, r12d
mov ecx, 6
mov eax, eax
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov eax, edx
mov dword [rbp - 0x108], eax
movsxd r10, dword [rbp - 0x108]
mov r9d, ebx
add r9d, eax
movzx r10d, r9b
xor r11d, r10d
mov byte [rbp - 0x31], r11b
mov r11d, r15d
mov r10b, byte [rbp - 0x31]
mov byte [r14 + r11], r10b
lea r15, [r15 + 1]
mov r11d, r13d
add r11d, esi
cmp r15d, r11d
jb 0x10000beed
mov qword [rbp - 0xa0], 0x1695a
mov qword [rbp - 0x88], 0x92000
invalid
invalid
inc dword [rax]
and byte [rcx], cl
add byte [rbp - 0x73], cl
and al, 1

Function at 0x10000bf66
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, qword [rbp - 0x88]
add r11, qword [rbp - 0x58]
mov qword [rbp - 0x88], r11
mov dword [rbp - 0x88], ebx
mov r11, qword [rbp - 0xa0]
add r11, qword [rbp - 0x58]
mov qword [rbp - 0xa0], r11
Function at 0x10000bf7e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, qword [rbp - 0x88]
add r11, qword [rbp - 0x58]
mov qword [rbp - 0x88], r11
mov dword [rbp - 0x88], ebx
mov r11, qword [rbp - 0xa0]
add r11, qword [rbp - 0x58]
mov qword [rbp - 0xa0], r11
Function at 0xd52b60
Capabilities:
Terminate process

Disassembly:
mov eax, dword [rcx - 0x28]
mov ecx, 0x28cf5457
add al, byte [rcx]
add dword [rax], 0x36
nop
cmpsd dword [rsi], dword [rdi]
invalid
cld
pop r11
jmp 0xd52b6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xd52b7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xd52b65
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0xd52b95
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xd52b82
sub eax, 3
jb 0xd52baf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xd52be6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0xd52bd6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0xd52bd4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xd52bc3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.00d52b22
jmp 0xd52b6d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x315e00
mov dl, 0x23
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xd52c36
cmp rsi, rcx
jae 0xd52c3e
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xd52c1d
cmp al, 0x8f
ja 0xd52c1d
cmp byte [rsi - 2], 0xf
je 0xd52c23
sub al, 0xe8
cmp al, 1
ja 0xd52c07
cmp rsi, rcx
jae 0xd52c3e
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xd52c0d
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xd52c3e
lodsb al, byte [rsi]
jmp 0xd52c1d
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x8df000]
mov eax, dword [rdi]
or eax, eax
je 0xd52c9b
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x95f684]
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 0xd52c4b
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 0xd52c95
mov qword [rbx], rax
add rbx, 8
jmp 0xd52c6b
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 0xd52cd5
cmp al, 0xef
ja 0xd52cc7
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xd52ca7
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0xd52cb6
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 + 0x22f]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xd52d29
sub rsp, 0xffffffffffffff80
jmp 0x707050