joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400911e0
Capabilities:
Encode data using xor

Disassembly:
push rdi
xor eax, eax
mov rdi, r9
mov r11, rcx
test r8, r8
je 0x140091231
mov r9, qword [rsp + 0x30]
mov r10, rcx
mov qword [rsp + 0x10], rbx
sub rdx, rcx
mov rbx, r8
xor ecx, ecx
lea r10, [r10 + 1]
cmp rax, r9
cmovb rcx, rax
movzx eax, byte [rdx + r10 - 1]
xor al, byte [rcx + rdi]
mov byte [r10 - 1], al
lea rax, [rcx + 1]
sub rbx, 1
jne 0x140091202
mov byte [r11 + r8], bl
mov rbx, qword [rsp + 0x10]
pop rdi
ret
mov byte [rcx + r8], al
pop rdi
ret

Function at 0x140091240
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x140d5c040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, r8
movsxd r14, r9d
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, Ordinal_265
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, Ordinal_265
call sub.VCRUNTIME140.dll_memset
xor edi, edi
mov byte [rsp + 0x22], 0
xor edx, edx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], dl
jne 0x1400912a3
test r8, r8
je 0x1400912d8
lea rax, [rsp + 0x30]
sub rsi, rax
nop dword [rax]
movzx eax, dl
lea rcx, [rsp + 0x30]
add rcx, rdx
inc rdx
xor al, byte [rsi + rcx]
mov byte [rcx], al
cmp rdx, r8
jb 0x1400912c0
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], dil
jne 0x1400912e0
test rax, rax
je 0x14009133e
lea rsi, [rsp + 0x140]
nop word [rax + rax]
movzx eax, word [rbx + rdi]
lea rcx, [rsp + 0x20]
xor edx, edx
mov word [rsp + 0x20], ax
lea r8d, [rdx + 0x10]
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
mov byte [rsi], al
lea rsi, [rsi + 1]
mov rax, 0xffffffffffffffff
add rdi, 2
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140091330
cmp rdi, rax
jb 0x140091300
xor eax, eax
test r14d, r14d
je 0x140091380
lea r9, [rsp + 0x30]
mov rdx, rbp
sub r9, rbp
mov r8, r14
xor ecx, ecx
lea rdx, [rdx + 1]
cmp rax, rdi
cmovb rcx, rax
movzx eax, byte [rsp + rcx + 0x140]
xor al, byte [r9 + rdx - 1]
mov byte [rdx - 1], al
lea rax, [rcx + 1]
sub r8, 1
jne 0x140091353
mov byte [r14 + rbp], r8b
jmp 0x140091384
mov byte [r14 + rbp], al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140093920
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400913b0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x230
mov rax, qword [0x140d5c040]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r14, r8
mov rsi, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x20]
mov rbx, r9
call sub.VCRUNTIME140.dll_memset
test rbx, rbx
je 0x14009159c
mov edi, dword [rsp + 0x270]
lea eax, [rdi - 1]
cmp eax, 0xff
ja 0x14009159c
xor edx, edx
lea rcx, [rsp + 0x120]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor r10d, r10d
cmp edi, 0x100
jne 0x140091495
lea rax, [rsp + 0x120]
lea ecx, [r10 + 2]
nop
lea rax, [rax + 0x80]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
lea rbx, [rbx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x140091440
jmp 0x1400914ca
mov r8d, r10d
mov r9, r10
nop dword [rax + rax]
mov eax, r8d
mov byte [rsp + r9 + 0x20], r8b
cdq
lea r9, [r9 + 1]
idiv edi
inc r8d
movsxd rax, edx
movzx ecx, byte [rax + rbx]
mov byte [rsp + r9 + 0x11f], cl
cmp r8d, 0x100
jl 0x1400914a0
mov edx, r10d
mov r8, r10
movzx eax, byte [rsp + r8 + 0x120]
movzx r9d, byte [rsp + r8 + 0x20]
add edx, eax
add edx, r9d
and edx, 0x800000ff
jge 0x1400914f6
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea rcx, [rsp + 0x20]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + r8 + 0x20], al
inc r8
mov byte [rcx], r9b
cmp r8, 0x100
jl 0x1400914d0
mov eax, r10d
test rbp, rbp
je 0x140091598
test rsi, rsi
je 0x140091598
test r14, r14
jle 0x140091598
sub rbp, rsi
nop dword [rax]
inc eax
and eax, 0x800000ff
jge 0x140091542
dec eax
or eax, 0xffffff00
inc eax
movsxd rcx, eax
lea r8, [rsp + 0x20]
add r8, rcx
movzx r9d, byte [r8]
lea ecx, [r10 + r9]
and ecx, 0x800000ff
jge 0x140091567
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r10, ecx
lea rdx, [rsp + 0x20]
movzx ecx, byte [rdx + r10]
mov byte [r8], cl
mov byte [rdx + r10], r9b
movzx edx, byte [r8]
add rdx, r9
movzx ecx, dl
movzx edx, byte [rsp + rcx + 0x20]
xor dl, byte [rsi + rbp]
mov byte [rsi], dl
inc rsi
sub r14, 1
jne 0x140091530
mov al, 1
jmp 0x14009159e
xor al, al
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140093920
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400915d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x230
mov rax, qword [0x140d5c040]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r14, r8
mov rsi, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x20]
mov rbx, r9
call sub.VCRUNTIME140.dll_memset
test rbx, rbx
je 0x1400917c0
mov edi, dword [rsp + 0x270]
lea eax, [rdi - 1]
cmp eax, 0xff
ja 0x1400917c0
xor edx, edx
lea rcx, [rsp + 0x120]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor r10d, r10d
cmp edi, 0x100
jne 0x1400916b5
lea rax, [rsp + 0x120]
lea ecx, [r10 + 2]
nop
lea rax, [rax + 0x80]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
lea rbx, [rbx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x140091660
jmp 0x1400916ea
mov r8d, r10d
mov r9, r10
nop dword [rax + rax]
mov eax, r8d
mov byte [rsp + r9 + 0x20], r8b
cdq
lea r9, [r9 + 1]
idiv edi
inc r8d
movsxd rax, edx
movzx ecx, byte [rax + rbx]
mov byte [rsp + r9 + 0x11f], cl
cmp r8d, 0x100
jl 0x1400916c0
mov edx, r10d
mov r8, r10
movzx eax, byte [rsp + r8 + 0x120]
movzx r9d, byte [rsp + r8 + 0x20]
add edx, eax
add edx, r9d
and edx, 0x800000ff
jge 0x140091716
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea rcx, [rsp + 0x20]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + r8 + 0x20], al
inc r8
mov byte [rcx], r9b
cmp r8, 0x100
jl 0x1400916f0
mov eax, r10d
test rbp, rbp
je 0x1400917bc
test rsi, rsi
je 0x1400917bc
test r14, r14
jle 0x1400917bc
sub rbp, rsi
nop dword [rax]
inc eax
and eax, 0x800000ff
jge 0x140091762
dec eax
or eax, 0xffffff00
inc eax
movsxd rcx, eax
lea r8, [rsp + 0x20]
add r8, rcx
movzx r9d, byte [r8]
lea ecx, [r10 + r9]
and ecx, 0x800000ff
jge 0x140091787
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r10, ecx
lea rdx, [rsp + 0x20]
movzx ecx, byte [rdx + r10]
mov byte [r8], cl
mov byte [rdx + r10], r9b
movzx r8d, byte [r8]
lea rdx, [r8 + r9]
movzx ecx, dl
movzx edx, byte [rsp + rcx + 0x20]
xor dl, byte [rsi + rbp]
xor dl, r8b
mov byte [rsi], dl
inc rsi
sub r14, 1
jne 0x140091750
mov al, 1
jmp 0x1400917c2
xor al, al
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140093920
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400920f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
mov ebp, r9d
mov rbx, rdx
mov r14, rcx
test r9d, r9d
je 0x1400921eb
test bpl, 0xf
jne 0x1400921eb
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
mov r15, rdx
mov edx, ebp
test r9d, r9d
je 0x140092141
mov rcx, rbx
sub r8, rbx
nop
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140092130
lea ecx, [rbp - 0x10]
mov edi, ebp
add rbx, rcx
shr edi, 4
test edi, edi
je 0x1400921c5
mov qword [rsp + 0x40], rsi
mov esi, reloc.WS2_32.dll_recv
nop word [rax + rax]
mov rdx, rbx
mov rcx, r14
call fcn.140092700
cmp dword [r14 + 8], 1
jne 0x140092190
cmp edi, 1
je 0x14009219a
mov rax, rbx
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rax - 0x10]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140092180
sub rbx, rsi
add edi, 0xffffffff
jne 0x140092160
jmp 0x1400921c0
mov rcx, qword [r14 + 0x18]
sub rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x1400921b0
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
lea eax, [rbp - 1]
movzx edx, byte [rax + r15]
mov ecx, ebp
mov r15, qword [rsp + 0x50]
sub ecx, edx
xor eax, eax
cmp edx, ebp
cmovbe eax, ecx
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x140092200
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov r14d, r9d
mov rbx, rdx
mov rbp, rcx
test r9d, r9d
jne 0x140092231
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x38], rdi
mov rdx, r14
test r9d, r9d
je 0x140092261
mov rcx, rbx
sub r8, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140092250
lea ecx, [r14 - 0x10]
mov edi, r14d
add rbx, rcx
shr edi, 4
test edi, edi
je 0x1400922e5
mov qword [rsp + 0x30], rsi
mov esi, reloc.WS2_32.dll_recv
nop dword [rax]
mov rdx, rbx
mov rcx, rbp
call fcn.140092700
cmp dword [rbp + 8], 1
jne 0x1400922b0
cmp edi, 1
je 0x1400922ba
mov rax, rbx
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rax - 0x10]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1400922a0
sub rbx, rsi
add edi, 0xffffffff
jne 0x140092280
jmp 0x1400922e0
mov rcx, qword [rbp + 0x18]
sub rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x1400922d0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov eax, r14d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140092300
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbx
push r13
push r14
sub rsp, 0x30
mov r11d, r9d
mov rbx, r8
mov r14, rcx
test r9d, r9d
je 0x140092332
mov r10, rbx
sub rdx, rbx
nop
movzx eax, byte [rdx + r10]
mov byte [r10], al
lea r10, [r10 + 1]
sub r11, 1
jne 0x140092320
mov edx, r9d
mov rcx, rbx
call fcn.140092090
mov r13d, eax
test eax, eax
jne 0x14009234e
add rsp, 0x30
pop r14
pop r13
pop rbx
ret
mov r8, qword [r14 + 0x18]
mov qword [rsp + 0x28], r12
mov r12d, r13d
shr r12d, 4
test r12d, r12d
je 0x1400924f8
mov qword [rsp + 0x50], rbp
lea r9, [0x1400b3f80]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r15
mov r15, r14
sub r15, rbx
add r15, 0x20
nop dword [rax]
cmp dword [r14 + 8], 1
jne 0x1400923c1
mov rcx, rbx
sub r8, rbx
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400923b0
mov rsi, rbx
mov ecx, reloc.WS2_32.dll_recv
nop dword [rax]
movzx eax, byte [rsi + r15]
xor byte [rsi], al
inc rsi
sub rcx, 1
jne 0x1400923d0
cmp dword [r14], 1
mov bpl, 1
jl 0x1400924d0
lea edi, [rcx + 1]
mov rcx, rbx
mov edx, reloc.WS2_32.dll_recv
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
movzx eax, byte [rax + r9]
mov byte [rcx - 1], al
sub rdx, 1
jne 0x140092400
mov r10b, 1
lea r11, [rbx + 1]
nop dword [rax]
lea rdx, [rsp + 0x68]
mov rax, r11
mov r8d, 4
nop
movzx ecx, byte [rax]
lea rax, [rax + 4]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x140092430
movzx r9d, r10b
nop word [rax + rax]
movzx eax, r8b
inc r8b
lea edx, [r9 + rax]
and edx, 3
lea ecx, [r9 + rax*4]
movzx eax, byte [rsp + rdx + 0x68]
mov byte [rcx + rbx], al
cmp r8b, 4
jb 0x140092450
inc r10b
inc r11
cmp r10b, 4
jb 0x140092420
cmp edi, dword [r14]
je 0x14009248b
xor edx, edx
mov rcx, rbx
call fcn.140092880
shl edi, 4
mov rcx, rbx
mov r8d, edi
mov edx, reloc.WS2_32.dll_recv
sub r8, rbx
add r8, r14
nop
movzx eax, byte [r8 + rcx + 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400924a0
inc bpl
lea r9, [0x1400b3f80]
movzx edi, bpl
cmp edi, dword [r14]
jle 0x1400923f0
lea r9, [0x1400b3f80]
sub r15, 0x10
mov r8, rbx
mov rbx, rsi
add r12d, 0xffffffff
jne 0x140092390
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x28]
mov eax, r13d
add rsp, 0x30
pop r14
pop r13
pop rbx
ret
Function at 0x140092510
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x140d5c040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edx, dword [rcx + 4]
mov rsi, rcx
mov dword [rsp + 0x20], 1
mov bpl, 1
sub edx, 0x80
je 0x140092574
sub edx, 0x40
je 0x140092563
cmp edx, 0x40
jne 0x140092574
mov dword [rcx], send
lea edi, [rdx - 0x20]
lea r14d, [rdx - 0x38]
jmp 0x140092583
mov edi, 0x18
mov dword [rcx], reloc.WS2_32.dll_inet_ntoa
lea r14d, [rdi - 0x12]
jmp 0x140092583
mov edi, reloc.WS2_32.dll_recv
mov dword [rcx], 0xa
lea r14d, [rdi - 0xc]
mov rdx, qword [rsi + 0x10]
movzx eax, dil
add rcx, 0x20
movzx ebx, al
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsi]
lea rcx, [rsi + 0x20]
add rcx, rdi
lea eax, [rax*4 + 4]
cmp ebx, eax
jge 0x1400926dc
mov eax, r14d
lea r9, [rsp + 0x20]
neg rax
lea rdi, [0x1400b3f80]
sub r9, rcx
movzx r11d, bl
lea r10, [rax*4]
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rcx - 4]
xor edx, edx
mov eax, ebx
mov dword [rcx], r8d
div r14d
test edx, edx
jne 0x140092675
mov eax, r8d
mov rdx, rcx
shr eax, 8
mov byte [rcx], al
movzx eax, byte [rcx + 2]
mov byte [rcx + 1], al
movzx eax, byte [rcx + 3]
mov byte [rcx + 3], r8b
mov r8d, 4
mov byte [rcx + 2], al
nop dword [rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
movzx eax, byte [rax + rdi]
mov byte [rdx - 1], al
sub r8, 1
jne 0x140092620
mov rdx, rcx
mov r8d, 4
nop dword [rax]
movzx eax, byte [r9 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x140092640
movzx eax, bpl
movzx r8d, bpl
add al, al
movzx edx, al
movzx eax, dl
mov ebp, edx
xor al, 0x1b
test r8b, r8b
movzx eax, al
cmovs ebp, eax
mov byte [rsp + 0x20], bpl
jmp 0x1400926a4
cmp r14d, 6
jbe 0x1400926a4
cmp edx, 4
jne 0x1400926a4
mov rdx, rcx
mov r8d, 4
nop dword [rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
movzx eax, byte [rax + rdi]
mov byte [rdx - 1], al
sub r8, 1
jne 0x140092690
mov edx, 4
nop dword [rax]
movzx eax, byte [r10 + rcx]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x1400926b0
mov eax, dword [rsi]
inc r11b
sub r9, 4
movzx ebx, r11b
lea eax, [rax*4 + 4]
cmp ebx, eax
jl 0x1400925e0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140093920
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140092700
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
push rdi
sub rsp, 0x28
mov eax, dword [rcx]
mov rdi, rdx
shl eax, 4
lea rdx, [rcx + 0x20]
cdqe
mov r8, rdi
add rdx, rax
mov r9d, reloc.WS2_32.dll_recv
sub rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
xor byte [r8], al
lea r8, [r8 + 1]
sub r9, 1
jne 0x140092730
movzx ebp, byte [rcx]
test bpl, bpl
je 0x140092872
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
lea rsi, [rbp + 1]
shl rsi, 4
sub rsi, rdi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
add rsi, rcx
lea r15, [0x1400b3e80]
nop word [rax + rax]
mov r9b, 1
lea rbx, [rdi + 1]
nop word [rax + rax]
lea rdx, [rsp + 0x40]
mov rax, rbx
mov r8d, 4
nop
movzx ecx, byte [rax]
lea rax, [rax + 4]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1400927a0
mov eax, 4
movzx r11d, r9b
sub al, r9b
movzx r10d, al
nop dword [rax]
nop word [rax + rax]
movzx eax, r8b
inc r8b
lea edx, [r10 + rax]
and edx, 3
lea ecx, [r11 + rax*4]
movzx eax, byte [rsp + rdx + 0x40]
mov byte [rcx + rdi], al
cmp r8b, 4
jb 0x1400927d0
inc r9b
inc rbx
cmp r9b, 4
jb 0x140092790
mov rcx, rdi
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
movzx eax, byte [rax + r15]
mov byte [rcx - 1], al
sub rdx, 1
jne 0x140092810
mov rcx, rdi
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
movzx eax, byte [rcx + rsi]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140092830
cmp bpl, 1
je 0x140092850
mov dl, 1
mov rcx, rdi
call fcn.140092880
sub rsi, 0x10
add bpl, 0xff
jne 0x140092780
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rbp
ret

Function at 0x140092a60
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, [0x1400b4180]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140092a9a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140092a9f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140092ae8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400b4080]
cmp byte [rcx + rax], 0
je 0x140092ae8
dec r8
sub rdx, 1
jne 0x140092ace
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14009407c
Capabilities:
Parse pe header

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

Disassembly:
mov rdx, rcx
mov r8d, dword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov eax, r8d
or eax, 0x20000000
mov edx, dword [rdx + 0x14]
lock cmpxchg dword [rcx], edx
je 0x18000d8d4
xor edx, r8d
or edx, 0x20000000
mov eax, dword [rcx]
nop word [rax + rax]
mov r8d, eax
xor r8d, edx
lock cmpxchg dword [rcx], r8d
jne 0x18000d8c0
cmp eax, 0x40000000
jae 0x18000d8d5
ret
xor eax, edx
mov edx, eax
jmp fcn.180185220
Function at 0x180019a60
Capabilities:
Encode data using xor

Disassembly:
mov rdx, rcx
mov r8d, dword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov eax, r8d
or eax, 0x20000000
mov edx, dword [rdx + 0x14]
lock cmpxchg dword [rcx], edx
je 0x180019aa4
xor edx, r8d
or edx, 0x20000000
mov eax, dword [rcx]
nop word [rax + rax]
mov r8d, eax
xor r8d, edx
lock cmpxchg dword [rcx], r8d
jne 0x180019a90
cmp eax, 0x40000000
jae 0x180019aa5
ret
xor eax, edx
mov edx, eax
jmp fcn.18018b3e0
Function at 0x180024f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
cmp byte [rcx + 0x79], 0
je 0x180024f54
xor eax, eax
jmp 0x18002517d
mov r8, qword [rcx + 0x48]
mov r9, qword [rcx + 0x50]
test byte [rcx], 1
je 0x180024f8f
lea rdx, [rcx + 8]
mov rax, qword [rcx + 0x58]
cmp qword [rcx + 0x38], 0xffffffffffffffff
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
je 0x1800250c6
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x1800250d5
cmp byte [rcx + 0x1a], 0
je 0x180024faf
mov rsi, r8
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x180025115
jmp 0x180025147
mov rax, qword [rcx + 8]
movzx edx, byte [rcx + 0x18]
jmp 0x180024fc7
add rax, r10
mov qword [rcx + 8], rax
mov r10d, edx
xor dl, 1
test rax, rax
je 0x180024ff6
cmp rax, r9
jae 0x180024ff0
cmp byte [r8 + rax], 0xbf
jg 0x180024ff6
jmp 0x180025185
jne 0x180025185
cmp rax, r9
je 0x1800250ee
movzx ebx, byte [r8 + rax]
movzx r11d, bl
test r11b, r11b
jns 0x180025070
mov esi, r11d
and esi, 0x1f
movzx edi, byte [r8 + rax + 1]
and edi, 0x3f
cmp r11b, 0xdf
jbe 0x18002505a
movzx r11d, byte [r8 + rax + 2]
shl edi, 6
and r11d, 0x3f
or r11d, edi
cmp bl, 0xf0
jb 0x1800250b2
movzx edi, byte [r8 + rax + 3]
and esi, 7
shl esi, 0x12
shl r11d, 6
and edi, 0x3f
or edi, r11d
or edi, esi
mov r11d, edi
test r10b, 1
je 0x180025076
jmp 0x1800250be
shl esi, 6
or esi, edi
mov r11d, esi
nop word cs:[rax + rax]
test r10b, 1
jne 0x1800250be
mov r10d, 1
cmp r11d, 0x80
jb 0x180024fc0
mov r10d, 2
cmp r11d, 0x800
jb 0x180024fc0
cmp r11d, 0x10000
mov r10d, 4
sbb r10, 0
jmp 0x180024fc0
shl esi, 0xc
or r11d, esi
test r10b, 1
je 0x180025076
mov byte [rcx + 0x18], dl
mov r9, rax
jmp 0x1800250f7
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
mov rsi, r8
call fcn.180022af0
mov rcx, rdi
test byte [rsp + 0x38], 1
jne 0x180025115
jmp 0x180025147
mov byte [rcx + 0x18], dl
test r10b, 1
je 0x180025132
mov rsi, r8
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r9
mov eax, 1
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
je 0x180025147
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, qword [rcx + 0x68]
sub rdx, r9
mov rax, rsi
add rax, r9
mov qword [rcx + 0x68], r8
jmp 0x18002517d
mov rsi, r8
mov byte [rcx + 0x1a], 1
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x180025115
cmp byte [rcx + 0x79], 0
jne 0x180024f4d
mov byte [rcx + 0x79], 1
cmp byte [rcx + 0x78], 1
jne 0x180025165
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
jmp 0x180025176
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
cmp rdx, rax
je 0x180024f4d
sub rdx, rax
add rax, qword [rcx + 0x48]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov byte [rcx + 0x18], dl
lea rcx, [0x1801a1130]
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov rdx, r9
mov r8, rax
call fcn.18019e810
int3
Function at 0x180029200
Capabilities:
Encode data using xor

Disassembly:
mov rdx, rcx
mov r8d, dword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov eax, r8d
or eax, 0x20000000
mov edx, dword [rdx + 0x14]
lock cmpxchg dword [rcx], edx
je 0x180029244
xor edx, r8d
or edx, 0x20000000
mov eax, dword [rcx]
nop word [rax + rax]
mov r8d, eax
xor r8d, edx
lock cmpxchg dword [rcx], r8d
jne 0x180029230
cmp eax, 0x40000000
jae 0x180029245
ret
xor eax, edx
mov edx, eax
jmp fcn.18018c540