joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001139d
Capabilities:
Terminate process

Disassembly:
jmp 0x140012ee0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140025071]
call fcn.1400113e8
mov edx, 1
mov ecx, 0x10
call qword [sym.imp.ucrtbased.dll_calloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140012f42
mov r9d, 6
lea r8, str.C:UsersUser_source_reposDX11_CD_READERSOURCESTREAMINFO_READ.C
mov rdx, qword [rbp + 0x100]
lea rcx, [0x14001c404]
call fcn.14001100a
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [rbp + 0x100]
call fcn.140011023
mov rcx, qword [rbp + 8]
mov dword [rcx], eax
mov rcx, qword [rbp + 0x100]
call fcn.140011023
mov rcx, qword [rbp + 8]
mov dword [rcx + 4], eax
mov rax, qword [rbp + 8]
mov eax, dword [rax + 4]
mov rdx, qword [rbp + 0x100]
mov ecx, eax
call fcn.140011082
mov rcx, qword [rbp + 8]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011433
Capabilities:
Terminate process

Disassembly:
jmp 0x140011d80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x14002502e]
call fcn.1400113e8
cmp qword [rbp + 0x100], 0
jne 0x140011dde
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov qword [rbp + 8], 0
lea r8, [0x14001c374]
mov rdx, qword [rbp + 0x100]
lea rcx, [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fopen_s]
cmp qword [rbp + 8], 0
jne 0x140011e29
mov rdx, qword [rbp + 0x100]
lea rcx, str.COULD_NOT_OPEN_FILE__s_n
call fcn.1400111db
call qword [sym.imp.ucrtbased.dll__getch]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c350]
call fcn.140011375
mov rax, rdi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.1400111f4
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400126c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x140025045]
call fcn.1400113e8
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x100]
call fcn.14001139d
mov qword [0x14001f958], rax
mov rax, qword [0x14001f958]
mov eax, dword [rax + 4]
cmp rax, 5
je 0x140012764
mov r9d, 0x12
lea r8, str.C:UsersUser_source_reposDX11_CD_READERSOURCESTREAMINFO_OLST.C
mov rdx, qword [rbp + 0x100]
lea rcx, str.TMPBLOCK__BlockNameSize__sizeof__MOBJ__
call fcn.14001100a
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [0x14001f958]
call fcn.140011055
mov rcx, qword [rbp + 0x100]
call fcn.140011023
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c5d0]
call fcn.140011375
mov rax, rdi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.1400111f4
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400127f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
lea rcx, [0x140025045]
call fcn.1400113e8
mov dword [rbp + 8], 0
xor eax, eax
mov word [rbp + 0xc], ax
mov rcx, qword [rbp + 0x100]
call fcn.14001139d
mov qword [0x14001f958], rax
mov rax, qword [0x14001f958]
mov eax, dword [rax + 4]
cmp rax, 5
je 0x140012880
mov r9d, 8
lea r8, str.C:UsersUser_source_reposDX11_CD_READERSOURCESTREAMINFO_OLST.C
mov rdx, qword [rbp + 0x100]
lea rcx, str.TMPBLOCK__BlockNameSize__sizeof__OLST__
call fcn.14001100a
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [0x14001f958]
call fcn.140011055
mov rcx, qword [rbp + 0x100]
call fcn.140011023
mov dword [rbp + 8], eax
mov rcx, qword [rbp + 0x100]
call fcn.14001119f
mov word [rbp + 0xc], ax
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c550]
call fcn.140011375
mov rax, rdi
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400132d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140025071]
call fcn.1400113e8
mov edx, 1
mov ecx, 0x10
call qword [sym.imp.ucrtbased.dll_calloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140013332
mov r9d, 0x45
lea r8, str.C:UsersUser_source_reposDX11_CD_READERSOURCESTREAMINFO_READ.C
mov rdx, qword [rbp + 0x100]
lea rcx, [0x14001c404]
call fcn.14001100a
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [rbp + 0x100]
call fcn.14001139d
mov qword [0x14001f958], rax
mov rax, qword [0x14001f958]
mov eax, dword [rax + 4]
cmp rax, 0xa
je 0x14001337d
mov r9d, 0x47
lea r8, str.C:UsersUser_source_reposDX11_CD_READERSOURCESTREAMINFO_READ.C
mov rdx, qword [rbp + 0x100]
lea rcx, str.TMPBLOCK__BlockNameSize__sizeof__Component__
call fcn.14001100a
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [0x14001f958]
call fcn.140011055
mov rdx, qword [rbp + 0x100]
mov ecx, 0x800004
call fcn.140011082
mov rcx, qword [rbp + 8]
mov qword [rcx], rax
mov rcx, qword [rbp + 0x100]
call fcn.140011023
mov rcx, qword [rbp + 8]
mov dword [rcx + 8], eax
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140013890
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140025071]
call fcn.1400113e8
mov edx, 1
mov ecx, 0x10
call qword [sym.imp.ucrtbased.dll_calloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400138f2
mov r9d, 0x1b
lea r8, str.C:UsersUser_source_reposDX11_CD_READERSOURCESTREAMINFO_READ.C
mov rdx, qword [rbp + 0x100]
lea rcx, [0x14001c404]
call fcn.14001100a
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [rbp + 0x100]
call fcn.14001139d
mov qword [0x14001f958], rax
mov rax, qword [0x14001f958]
mov eax, dword [rax + 4]
cmp rax, 5
je 0x14001393d
mov r9d, 0x1d
lea r8, str.C:UsersUser_source_reposDX11_CD_READERSOURCESTREAMINFO_READ.C
mov rdx, qword [rbp + 0x100]
lea rcx, str.TMPBLOCK__BlockNameSize__sizeof__TYPE__
call fcn.14001100a
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [0x14001f958]
call fcn.140011055
mov rdx, qword [rbp + 0x100]
mov ecx, 0x800004
call fcn.140011082
mov rcx, qword [rbp + 8]
mov qword [rcx], rax
mov rcx, qword [rbp + 0x100]
call fcn.140011023
mov rcx, qword [rbp + 8]
mov dword [rcx + 8], eax
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x180002a00
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002a32
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002a32
nop word cs:[rax + rax]
jmp 0x180002a30
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002b08
mov rsi, r10
test r8b, r8b
je 0x180002b20
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002aa0
test r9b, r9b
je 0x180002b30
sub rsi, rcx
je 0x180002b04
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002b00
test ebp, ebp
jne 0x180002b00
add rbx, 1
cmp rsi, rbx
jne 0x180002ac0
jmp 0x180002b04
test ebp, ebp
jne 0x180002a8c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002b20
jmp 0x180002b30
Function at 0x180002180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
movsxd rax, dword [rcx + 0x3c]
mov ebp, dword [0x180020a84]
lea r11d, [rbp - 1]
imul r11d, ebp
cmp dword [rcx + rax + 0x8c], 0
mov r8d, dword [0x180020a88]
je 0x180002202
mov eax, dword [rcx + rax + 0x88]
cmp r8d, 0xa
jl 0x1800021c2
mov ebp, r11d
and ebp, 1
je 0x1800021c2
jmp 0x1800021c0
cmp dword [rcx + rax + 0x14], 0
je 0x180002202
mov r9d, dword [rcx + rax + 0x18]
test r9d, r9d
je 0x180002202
mov r10d, dword [rcx + rax + 0x1c]
cmp dword [0x180020a8c], 0xa
jl 0x180002222
mov esi, dword [0x180020a90]
lea edi, [rsi - 1]
imul edi, esi
and edi, 1
je 0x180002222
nop word cs:[rax + rax]
nop dword [rax]
jmp 0x180002200
xor ecx, ecx
cmp r8d, 0xa
jl 0x18000228f
mov eax, r11d
and eax, 1
je 0x18000228f
nop word cs:[rax + rax]
jmp 0x180002220
add r10, rcx
mov r15d, dword [rcx + rax + 0x20]
mov r14d, dword [rcx + rax + 0x24]
add r15, rcx
add r14, rcx
xor edi, edi
nop word [rax + rax]
mov esi, dword [r15]
add rsi, rcx
xor eax, eax
nop dword [rax + rax]
movzx ebx, byte [rdx + rax]
movzx ebp, byte [rsi + rax]
test bl, bl
je 0x180002265
add rax, 1
cmp bl, bpl
je 0x180002250
cmp bl, bpl
je 0x180002284
add edi, 1
add r15, 4
add r14, 2
cmp edi, r9d
jne 0x180002240
xor ecx, ecx
cmp r8d, 0xa
jge 0x180002295
jmp 0x1800022a2
movzx eax, word [r14]
mov eax, dword [r10 + rax*4]
add rcx, rax
cmp r8d, 0xa
jl 0x1800022a2
and r11d, 1
je 0x1800022a2
nop dword [rax + rax]
jmp 0x1800022a0
mov rax, rcx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140008c80
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x140008d16
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140008d1d
mov r15, rsi
jmp 0x140008cdb
cmp r15, r14
cmovb r14, r15
mov rcx, rdi
mov r8, r14
call fcn.1400ad810
add rdi, r14
sub r15, r14
mov rax, qword [rbx + 0x50]
sub dword [rax], r14d
mov rax, qword [rbx + 0x38]
add qword [rax], r14
test r15, r15
jle 0x140008d0e
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140008cf3
mov rax, qword [rbx + 0x50]
mov r14d, dword [rax]
test r14d, r14d
jg 0x140008cb0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140008d0e
mov byte [rdi], al
inc rdi
dec r15
test r15, r15
jg 0x140008cdb
sub rsi, r15
jmp 0x140008e0a
xor esi, esi
jmp 0x140008e0a
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140008d70
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x140008d70
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call fcn.1400ad810
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x140008d81
jmp 0x140008e07
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x140008e07
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x140008db0
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
nop dword [rax]
cmp r14, 0x1000
jb 0x140008de3
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.14008c6ec
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x140008db0
jmp 0x140008e07
test r14, r14
je 0x140008e04
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call fcn.14008c6ec
sub r14, rax
jmp 0x140008e07
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400186b4
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, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400186ee
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400186f3
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 0x14001873c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400b0b50]
cmp byte [rcx + rax], 0
je 0x14001873c
dec r8
sub rdx, 1
jne 0x140018722
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14001a270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movzx r14d, byte [rcx + 0x20]
mov ebp, r8d
mov rbx, qword [rdx]
xor r14d, 3
mov rdi, rdx
mov rsi, rcx
test rbx, rbx
je 0x14001a338
mov qword [rsp + 0x40], r15
lea r15, fcn.140028430
nop dword [rax]
mov eax, ebp
dec ebp
test eax, eax
je 0x14001a31d
cmp byte [rbx + 9], 6
jne 0x14001a2d0
lea rdx, [rbx + 0x40]
mov r8d, 0xffffffff
mov rcx, rsi
call fcn.14001a270
movzx ecx, byte [rbx + 8]
mov eax, ecx
xor eax, 3
test r14d, eax
je 0x14001a2f1
movzx eax, byte [rsi + 0x20]
and cl, 0xf8
and al, 3
mov rdi, rbx
or cl, al
mov byte [rbx + 8], cl
jmp 0x14001a315
mov rax, qword [rbx]
mov qword [rdi], rax
cmp rbx, qword [rsi + 0x28]
jne 0x14001a304
mov rax, qword [rbx]
mov qword [rsi + 0x28], rax
movzx eax, byte [rbx + 9]
mov rdx, rbx
sub eax, 4
mov rcx, rsi
call qword [r15 + rax*8]
mov rbx, qword [rdi]
test rbx, rbx
jne 0x14001a2b0
mov r15, qword [rsp + 0x40]
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, rdx
jmp 0x14001a325

Function at 0x14001bdb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r15
sub rsp, 0x20
mov rbp, rdx
mov rbx, r8
movzx edx, byte [rdx + 0x3c]
mov r12, rcx
lea rdx, [rdx*8 + 0x28]
call fcn.1400194f0
lea r8, [rbp + 0x68]
mov rdi, rax
mov word [rax + 9], 8
mov byte [rax + 0xb], 0
mov qword [rax + 0x20], r8
mov qword [rax + 0x10], rbx
movzx edx, byte [rbp + 0x3d]
movzx r15d, byte [rbp + 0x3c]
add edx, 0x20
mov ecx, edx
shr ecx, 3
and cl, 0x20
sub dl, cl
mov byte [rbp + 0x3d], dl
test r15b, r15b
je 0x14001be94
mov qword [rsp + 0x40], rsi
xor ebx, ebx
mov qword [rsp + 0x48], r14
lea rsi, [rax + 0x28]
mov r14d, r15d
nop dword [rax + rax]
mov edx, 0x30
mov rcx, r12
call fcn.1400194f0
mov qword [rax + 0x10], 0xffffffffffffffff
lea rsi, [rsi + 8]
lea rbx, [rbx + 2]
lea rcx, [rax + 0x10]
mov word [rax + 9], 0x105
mov qword [rax + 0x20], rcx
mov rcx, qword [rbp + 0x28]
movzx edx, word [rcx + rbx - 2]
mov ecx, edx
shl edx, 0x18
shr ecx, 0xe
xor edx, ebp
and cl, 1
mov dword [rax + 0x28], edx
mov byte [rax + 0xb], cl
mov qword [rsi - 8], rax
sub r14, 1
jne 0x14001be30
mov r14, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x40]
mov byte [rdi + 0xb], r15b
jmp 0x14001be98
mov byte [rax + 0xb], r15b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
ret
Function at 0x140026730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov r14, r9
sub rdx, rcx
mov edi, r8d
sub rdx, 0x68
mov rbp, rcx
sar rdx, 2
call fcn.140027730
test rax, rax
jne 0x1400267e2
lea rsi, [rbp + 0x68]
lea r15, [0x1400b2300]
sub rbx, 4
cmp rbx, rsi
jbe 0x1400267ab
mov eax, dword [rbx]
movzx edx, al
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, word [r15 + rdx*2]
and cx, 7
cmp cx, 2
jne 0x1400267af
cmp edi, r8d
jb 0x140026774
cmp edx, 0x2c
jne 0x1400267ab
shr eax, 0x10
cmp edi, eax
ja 0x140026774
xor eax, eax
jmp 0x1400267ec
cmp cx, 1
jne 0x140026774
cmp r8d, edi
jne 0x140026774
cmp edx, 0x12
jne 0x140026805
mov edi, eax
mov rdx, rbx
sub rdx, rbp
shr edi, 0x10
sub rdx, 0x68
mov r8d, edi
sar rdx, 2
mov rcx, rbp
call fcn.140027730
test rax, rax
je 0x140026774
mov qword [r14], rax
lea rax, str.local
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
cmp edx, 0x2d
je 0x1400268a1
cmp edx, 0x36
je 0x14002687c
cmp edx, 0x39
jne 0x1400267ab
mov ecx, eax
shr rcx, 0x10
movzx edx, cl
mov rcx, qword [rbp + 0x20]
not rdx
mov rdx, qword [rcx + rdx*8]
add rdx, 0x18
mov qword [r14], rdx
mov r9d, dword [rbx - 4]
cmp r9b, 0x12
jne 0x140026870
mov ecx, r9d
shr ecx, 8
movzx edx, cl
lea ecx, [r8 + 2]
cmp edx, ecx
jne 0x140026870
shr eax, 8
lea rcx, str.method
xor eax, r9d
test eax, 0xffff0000
lea rax, str.field
cmove rax, rcx
jmp 0x1400267ec
lea rax, str.field
jmp 0x1400267ec
mov rcx, rax
mov rax, qword [rbp + 0x20]
shr rcx, 0x10
not rcx
mov rcx, qword [rax + rcx*8]
lea rax, str.global
add rcx, 0x18
mov qword [r14], rcx
jmp 0x1400267ec
mov rdx, qword [rbp + 0x58]
shr eax, 0x10
test rdx, rdx
jne 0x1400268c3
lea rdx, [0x1400c12e8]
mov qword [r14], rdx
lea rax, str.upvalue
jmp 0x1400267ec
test eax, eax
je 0x1400268df
nop word [rax + rax]
movzx ecx, byte [rdx]
inc rdx
test cl, cl
jne 0x1400268d0
add eax, 0xffffffff
jne 0x1400268d0
mov qword [r14], rdx
lea rax, str.upvalue
jmp 0x1400267ec
Function at 0x1400268f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x38]
mov rsi, r8
add rax, 8
mov rbx, rcx
cmp rdx, rax
jbe 0x140026a04
mov r9, qword [rdx]
movzx eax, r9b
and al, 7
cmp al, 3
jne 0x14002692d
and r9, 0xfffffffffffffff8
sub rdx, r9
mov r9, qword [rdx]
mov rcx, rdx
test r9b, 3
jne 0x140026948
movzx eax, byte [r9 - 3]
lea rax, [rax*8 + 0x10]
sub rcx, rax
jmp 0x14002694f
and r9, 0xfffffffffffffff8
sub rcx, r9
mov rdi, qword [rcx - 8]
movabs rax, 0x7fffffffffff
and rdi, rax
mov r8, rdx
mov rdx, rdi
mov rcx, rbx
call fcn.140027550
cmp eax, 0xffffffff
je 0x140026a04
mov rcx, qword [rdi + 0x20]
lea r8, [0x1400b2300]
mov eax, eax
sub rcx, 0x68
add rax, 0x1a
mov r10d, dword [rcx + rax*4]
lea rdx, [rcx + rax*4]
movzx eax, r10b
movzx r8d, word [r8 + rax*2]
shr r8d, 0xb
cmp r8d, 9
jne 0x1400269d4
mov eax, r10d
shr eax, 8
movzx r9d, al
cmp r10b, 0x45
lea r8d, [r9 - 3]
cmovne r8d, r9d
mov r9, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140026730
cmp r8d, 0x16
je 0x140026a04
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + r8*8 + 0x1a8]
lea rax, str.metamethod
add rdx, 0x18
mov qword [rsi], rdx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140028520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r10, rcx
mov rbx, r8
shr r10, 0x20
mov r11d, edx
xor r10d, edx
ror r10d, 0x1c
bswap r10d
cmp r9d, 0xc
jbe 0x1400285b3
mov r9d, r9d
add r9, 0xfffffffffffffff4
add r9, rbx
mov r8, r9
nop
add r10d, dword [r8 + 4]
add r11d, dword [r8 + 8]
mov edx, r10d
add ecx, dword [r8]
xor r11d, r10d
ror edx, 0x12
mov r8, rbx
sub r11d, edx
add rbx, 0xc
xor ecx, r11d
mov eax, r11d
ror eax, 0x15
sub ecx, eax
mov edx, ecx
mov eax, ecx
xor eax, r10d
ror edx, 7
sub eax, edx
mov r10d, eax
cmp r8, r9
jb 0x140028550
ror eax, 0x10
mov edx, r10d
xor edx, r11d
sub edx, eax
xor ecx, edx
mov eax, edx
ror eax, 0x1c
sub ecx, eax
mov eax, ecx
xor ecx, r10d
ror eax, 0x12
sub ecx, eax
mov eax, ecx
mov rbx, qword [rsp + 8]
ret
mov rbx, qword [rsp + 8]
mov eax, r10d
ret
Function at 0x14003ed20
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1400d4b80]
mov rbx, rcx
test rax, rax
jne 0x14003ed6c
xor r8d, r8d
lea rcx, str.advapi32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x14003eddb
lea rdx, str.SystemFunction036
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d4b80], rax
test rax, rax
je 0x14003eddb
mov edx, 0x20
mov rcx, rbx
call rax
test al, al
je 0x14003eddb
mov rax, qword [rbx]
cmp rax, 2
jae 0x14003ed8a
add rax, 2
mov qword [rbx], rax
mov rax, qword [rbx + 8]
cmp rax, 0x40
jae 0x14003ed9c
add rax, 0x40
mov qword [rbx + 8], rax
mov rax, qword [rbx + 0x10]
cmp rax, 0x200
jae 0x14003edb2
add rax, 0x200
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x18]
cmp rax, 0x20000
jae 0x14003edc8
add rax, 0x20000
mov qword [rbx + 0x18], rax
mov rcx, rbx
call fcn.14003edf0
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140041250
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x30
movzx eax, byte [rdx]
xor r12d, r12d
mov rbp, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov edi, 0xa
test al, al
je 0x1400412b5
movsx edx, al
inc rbx
cmp edx, 0x66
je 0x14004129c
cmp edx, 0x69
je 0x140041357
cmp edx, 0x6c
jne 0x1400412ae
mov rax, qword [rsi + 0x10]
mov rcx, rsi
mov dword [rax + 0xefc], edx
call fcn.14002b400
movzx eax, byte [rbx]
test al, al
jne 0x140041283
mov rbx, qword [0x1400d4b90]
mov qword [rsp + 0x50], r14
lea r14, [rsi + 0x10]
test rbx, rbx
je 0x140041396
cmp qword [r14], rbx
jne 0x14004138d
mov rcx, qword [0x1400d4c18]
mov edx, 0xffffffff
mov dword [0x1400d4c20], 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x1400d4bf0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and byte [rbx + 0x91], 0x7f
mov rcx, rbx
call fcn.14003d9c0
mov rcx, rsi
mov dword [rbx + 0xefc], r12d
call fcn.14002b400
mov r8d, dword [0x1400d4bb0]
xor r9d, r9d
sub r8d, dword [0x1400d4bb8]
mov rdx, qword [0x1400d4bb8]
sub qword [rbx + 0x10], r8
mov rcx, qword [rbx + 8]
call qword [rbx]
mov qword [0x1400d4bb0], r12
mov qword [0x1400d4ba8], r12
mov qword [0x1400d4b90], r12
jmp 0x140041396
movzx eax, byte [rbx]
mov edi, r12d
cmp al, 0x30
jl 0x140041383
cmp al, 0x39
ja 0x14004137b
inc rbx
movzx ecx, al
lea edi, [rdi + rdi*4]
lea edi, [rdi - 0x18]
movzx eax, byte [rbx]
lea edi, [rcx + rdi*2]
cmp al, 0x30
jge 0x140041361
test edi, edi
jg 0x1400412ae
mov edi, 1
jmp 0x1400412ae
test rbx, rbx
jne 0x140041484
cmp qword [0x1400d4bd8], r12
mov rax, qword [r14]
mov qword [0x1400d4b90], rax
mov dword [0x1400d4bc8], edi
mov qword [0x1400d4b98], r15
mov qword [0x1400d4ba0], rbp
mov dword [0x1400d4bcc], r12d
mov qword [0x1400d4bc0], rsi
mov qword [0x1400d4bb8], r12
mov qword [0x1400d4bb0], r12
mov qword [0x1400d4ba8], r12
jne 0x140041447
xor r8d, r8d
lea rcx, str.winmm.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1400d4bd8], rax
test rax, rax
je 0x140041447
lea rdx, str.timeBeginPeriod
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400d4bd8]
lea rdx, str.timeEndPeriod
mov qword [0x1400d4be0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1400d4be0], r12
mov qword [0x1400d4be8], rax
je 0x14004143e
test rax, rax
jne 0x140041447
mov qword [0x1400d4bd8], r12
jmp 0x140041484
lea rcx, [0x1400d4bf0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea r9, [0x1400d4b90]
mov qword [rsp + 0x28], r12
lea r8, [0x1400415c0]
mov dword [0x1400d4c20], r12d
xor edx, edx
mov dword [rsp + 0x20], r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400d4c18], rax
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rdi
ret