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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [0x1400e3020]
mov rdi, rax
test rax, rax
jne 0x1400b1722
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400b1769
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400b17c2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400b1780
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400b1803
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400c53aa]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400c53ab]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400b17d0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400b1820
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 0x1400b185a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400b185f
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 0x1400b18a8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400b18a8
dec r8
sub rdx, 1
jne 0x1400b188e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400b3044
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b308e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b308e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b308e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b308e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b308e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b3090
xor al, al
add rsp, 0x28
ret
Function at 0x180056a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r15
sub rsp, 0x68
mov r15, rdx
mov rdi, rcx
movzx edx, byte [rdx]
movzx eax, dl
cmp dl, 0xad
jne 0x180056a2e
movzx eax, byte [r15 + 2]
cmp al, 0xae
jne 0x180056a38
mov rax, qword [r15 + 0x20]
jmp 0x180056a48
cmp al, 0x88
jne 0x180056bc7
mov rax, qword [r15 + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x180056bc7
mov dword [r8], 0
cmp dl, 0x88
jne 0x180056a72
mov rdx, r15
mov rcx, rdi
add rsp, 0x68
pop r15
pop rdi
jmp fcn.180054540
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x180056bb2
mov qword [rsp + 0x80], rbx
lea rcx, [0x180052610]
mov qword [rsp + 0x90], rbp
mov ebp, r13d
mov qword [rsp + 0x50], r14
lea r13, [fcn.1800527f0]
xor r14d, r14d
mov qword [rsp + 0x98], rsi
lea edx, [r14 + 2]
cmp byte [rdi + 0x23], 0
mov rax, qword [r15 + 0x20]
mov rbx, qword [rax + r14 + 8]
je 0x180056b20
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x180056b10
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.18004a980
cmp word [rsp + 0x44], 0
je 0x180056b20
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1800581e0
jmp 0x180056b60
mov rsi, qword [rdi]
test rbx, rbx
je 0x180056b3c
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.180051010
mov rbx, rax
cmp byte [rsi + 0x61], 0
jne 0x180056b50
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1800584e0
test rbx, rbx
je 0x180056b60
mov rdx, rbx
mov rcx, rsi
call fcn.180050d60
inc ebp
lea rcx, [0x180052610]
add r14, 0x20
mov edx, 2
sub r12, 1
jne 0x180056ad0
mov eax, dword [rsp + 0x88]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r15
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r15
pop rdi
ret
mov rdx, r15
mov rcx, rdi
add rsp, 0x68
pop r15
pop rdi
jmp fcn.1800583b0

Function at 0x18005aa30
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
mov rdi, rdx
mov r8, rdx
mov dword [rsp + 0x20], ebx
mov r9, rdx
mov rsi, rcx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
call fcn.1800631e0
test ebx, ebx
jne 0x18005aa74
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, rsi
call fcn.1800631e0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180063be0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x180063ce9
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, str.main
mov qword [rsp + 0x20], r15
lea r15, [0x180135cd0]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x180063c61
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x180063c9c
test ecx, ecx
jne 0x180063caa
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.18000c080
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x180063c80
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x180063c20
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x180063caf
inc r8
jmp 0x180063c50
test r10d, r10d
jne 0x180063c79
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x180063cd5
test edx, edx
je 0x180063c61
inc rax
jmp 0x180063cc0
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x180063c79
inc rax
jmp 0x180063cc0
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x18007b3a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov rsi, qword [rcx + 0x98]
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test rsi, rsi
je 0x18007b598
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
movsxd rbp, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r14d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [r12 + 0x20]
test al, al
jne 0x18007b402
inc dword [rbx + 0x38]
mov r15d, dword [rbx + 0x38]
jmp 0x18007b412
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0xd4]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r14 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x18007b43f
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, rdi
call fcn.180032ad0
jmp 0x18007b46d
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x61
mov r9, qword [r9 + 0x68]
call fcn.18007a780
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x18007b4ac
mov rcx, rdi
call fcn.180032940
test eax, eax
jne 0x18007b584
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r13d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r13d
lea ecx, [r14 + 1]
mov byte [rdx + 1], r13b
add eax, 2
mov dword [rdx + 8], eax
lea eax, [r14 - 1]
mov qword [rdx + 0x10], r13
mov word [rdx + 2], r13w
mov qword [rdx + 0x18], 0x79
mov qword [rdx + 0x20], r13
mov qword [rdx + 0x28], r13
mov qword [rdx + 0x30], 0x5b
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r13
mov qword [rdx + 0x48], 0x7a
mov qword [rdx + 0x50], r13
mov qword [rdx + 0x58], r13
mov qword [rdx + 0x60], 0x74
mov qword [rdx + 0x68], r13
mov qword [rdx + 0x70], r13
add dword [rdi + 0x90], 5
mov dword [rdx + 0x34], eax
mov eax, 8
mov word [rdx + 0x4a], ax
mov dword [rdx + 4], ecx
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x3c], r15d
mov dword [rdx + 0x50], r15d
mov dword [rdx + 0x54], ecx
test r15d, r15d
je 0x18007b578
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x18007b578
mov dword [rbx + rax*4 + 0xd4], r15d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18007b3e0
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800f9170
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [rsp + 0x70]
xor r13d, r13d
movsxd rdi, r9d
mov r14d, edx
mov rsi, r8
mov rdx, rcx
mov r9d, r14d
mov dword [r15], r13d
test rcx, rcx
je 0x1800f92b3
lea eax, [rdi - 1]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], r12
lea r10d, [r13 + 0xd]
movsxd r8, eax
test eax, eax
js 0x1800f91d8
nop dword [rax + rax]
movsx ecx, byte [r8 + rsi]
lea eax, [r10*8]
xor ecx, eax
xor r10d, ecx
sub r8, 1
jns 0x1800f91c0
lea ecx, [r10*8]
mov eax, r10d
xor rcx, r9
xor rcx, rax
and ecx, 0x1ff
mov rbx, qword [rdx + rcx*8]
lea r12, [rdx + rcx*8]
test rbx, rbx
je 0x1800f9226
nop dword [rax]
cmp dword [rbx + 0xc], r14d
jne 0x1800f921d
cmp dword [rbx + 8], edi
jne 0x1800f921d
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800f9299
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1800f9200
mov qword [rsp + 0x58], rbp
lea rbp, [rdi + 0x18]
call sym.QoOBJSl.dll_hqlite3_initialize
test eax, eax
jne 0x1800f92a5
mov rcx, rbp
call fcn.180005840
mov rbx, rax
test rax, rax
je 0x1800f92a5
mov r8, rbp
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx + 0x18]
mov dword [rbx + 8], edi
mov r8, rdi
mov qword [rbx], rcx
mov rdx, rsi
mov dword [rbx + 0xc], r14d
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r12]
mov eax, r13d
mov qword [rbx + 0x10], rcx
mov qword [r12], rbx
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov dword [r15], 1
mov eax, r13d
jmp 0x1800f9282
test rbp, rbp
mov eax, 7
cmovle eax, r13d
jmp 0x1800f927d
mov eax, r13d
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x18012ab40
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push r13
push r14
push r15
sub rsp, 0x80
mov ecx, 0x469
mov r13, rdx
call fcn.18012ad90
mov ecx, 0x4d2
mov qword [rsp + 0x58], rax
call fcn.18012ad90
mov r15, rax
call fcn.18012ae60
mov rdx, qword gs:[0x30]
xor r11d, r11d
mov r10d, eax
mov r14d, r11d
mov r8, qword [rdx + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x10
mov rcx, qword [r9]
cmp rcx, r9
je 0x18012abd1
lea r8, [fcn.18012ae60]
nop dword [rax]
mov rdx, qword [rcx + 0x30]
cmp r8, rdx
jb 0x18012abc4
mov eax, dword [rcx + 0x40]
add rax, rdx
cmp r8, rax
jb 0x18012abce
mov rcx, qword [rcx]
cmp rcx, r9
jne 0x18012abb0
jmp 0x18012abd1
mov r14, rdx
test r14, r14
jne 0x18012abe6
xor eax, eax
add rsp, 0x80
pop r15
pop r14
pop r13
ret
mov qword [rsp + 0xa8], rbx
lea rdx, [rsp + 0x49]
mov ebx, dword [r14 + r10 + 4]
mov r8d, r11d
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x70], rsi
lea rsi, [r14 + r10]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r12
mov r12d, dword [rsi + 8]
add r12, r14
add rbx, r14
movsd xmm0, qword [rbx]
mov eax, dword [rbx + 8]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
nop
movsxd rcx, r8d
lea rdx, [rdx + 4]
mov rax, rcx
add r8d, 4
and eax, 3
movzx eax, byte [rsp + rax + 0x44]
xor byte [rdx - 5], al
lea rax, [rcx + 1]
and eax, 3
movzx eax, byte [rsp + rax + 0x44]
xor byte [rdx - 4], al
lea rax, [rcx - 2]
and eax, 3
movzx eax, byte [rsp + rax + 0x44]
xor byte [rdx - 3], al
lea rax, [rcx - 1]
and eax, 3
movzx eax, byte [rsp + rax + 0x44]
xor byte [rdx - 2], al
cmp r8d, 4
jb 0x18012ac30
mov ebp, dword [rsp + 0x48]
mov r9d, 0x40
mov edx, ebp
mov r8d, 0x1000
xor ecx, ecx
add rbx, 0xc
mov edi, ebp
call r15
mov r15, rax
mov rdx, rax
test ebp, ebp
je 0x18012acb6
movzx ecx, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub rdi, 1
jne 0x18012aca3
mov rdi, qword [rsp + 0x68]
xor r8d, r8d
mov rbx, qword [rsp + 0xa8]
mov edx, r8d
test ebp, ebp
je 0x18012ace7
mov rcx, r15
mov eax, edx
lea rcx, [rcx + 1]
and eax, 7
inc edx
movzx eax, byte [rax + rsi + 0x10]
xor byte [rcx - 1], al
cmp edx, ebp
jb 0x18012acd0
mov eax, dword [rsi]
mov rcx, rsi
cmp byte [rsi + 0x20], 1
mov dword [rsp + 0x40], eax
mov eax, dword [rsi + 0xc]
cmove r13, r14
mov dword [rsp + 0x44], eax
cmovne r14, r8
mov rdx, qword [rsp + 0x40]
mov r9, r14
mov qword [rsp + 0x50], r8
mov eax, dword [rsi + 0x1c]
mov r8d, dword [rsi + 0x18]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call r15
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
test rax, rax
je 0x18012ad72
mov r9d, dword [rsp + 0xb8]
mov rdx, r13
mov r8, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
call rax
mov eax, 1
add rsp, 0x80
pop r15
pop r14
pop r13
ret
Function at 0x18012ad90
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov rax, qword gs:[0x60]
xor r8d, r8d
mov ebx, ecx
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
mov rdx, qword [rax]
mov rax, qword [rdx]
mov r10, qword [rax + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov edi, dword [rax + r10 + 0x88]
add rdi, r10
mov r9d, dword [rdi + 0x20]
mov r11d, dword [rdi + 0x18]
add r9, r10
test r11d, r11d
je 0x18012ae1c
nop dword [rax]
mov eax, dword [r9]
lea r9, [r9 + 4]
add rax, r10
xor edx, edx
movzx ecx, byte [rax]
test cl, cl
je 0x18012ae10
nop dword [rax]
nop word [rax + rax]
movzx ecx, cl
lea rax, [rax + 1]
add edx, ecx
movzx ecx, byte [rax]
test cl, cl
jne 0x18012ae00
cmp edx, ebx
je 0x18012ae29
inc r8d
cmp r8d, r11d
jb 0x18012ade0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov edx, dword [rdi + 0x24]
lea eax, [r8 + r8]
mov rbx, qword [rsp + 8]
movsxd rcx, eax
lea rax, [r10 + rdx]
movzx edx, word [rcx + rax]
mov ecx, dword [rdi + 0x1c]
mov rdi, qword [rsp + 0x10]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
ret
Function at 0x1cf44a676d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x1cf44a676f4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x1cf44a67782
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1cf44a67750
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x1cf44a67750
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1cf44aa37f0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1cf44a6776d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1cf44a67775
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x1cf44a67711
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x1cf44a67860
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x1cf44a67799
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1cf44a6779b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1cf44a677cd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1cf44aa37f0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1cf44a6785d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1cf44a67808
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x1cf44a6783e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1cf44a8b984
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x1cf44a6785d
cmp rsi, rax
ja 0x1cf44a67811
test rsi, rsi
je 0x1cf44a6785d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1cf44a8b984
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x1cf44a75c60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1cf44a75cc1
lea r8, [r9 + 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 r10, 1
jne 0x1cf44a75c80
mov ecx, dword [r9]
jmp 0x1cf44a75dab
cmp ecx, 0x4e0
jb 0x1cf44a75dab
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1cf44a75ce0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1cf44a75d30
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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 0x1cf44a78350
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1cf44abc080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x1cf44a78382
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea r8, str.123_145_167_189
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1cf44a783d4
test rbx, rbx
je 0x1cf44a783b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1cf44a7cfc0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov rdx, qword [rdi]
lea rcx, [rsp + 0x48]
call fcn.1cf44a683d0
nop
call fcn.1cf44a78430
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.1cf44a78710
mov rcx, rax
call fcn.1cf44a78420
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.1cf44a68510
mov rcx, rax
call fcn.1cf44a62880
int3
Function at 0x1cf44a7de50
Capabilities:
Parse pe header

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

Function at 0x1cf44a8ec80
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1cf44a8ecef
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1cf44a8ecef
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1cf44a8ecef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1cf44a8ecef
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1cf44a8ecef
cmp dword [rcx + 0x84], 0xe
jbe 0x1cf44a8ecef
cmp dword [rcx + 0xf8], 0
je 0x1cf44a8ecef
mov ecx, ebx
call fcn.1cf44a8eda0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1cf44a8eb7c
nop
cmp dword [rbp + 0x20], 0
je 0x1cf44a8ed3d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1cf44a8ed48
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1cf44a8ec80

Function at 0x1cf44a8ee84
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1cf44a8ec80

Function at 0x1cf44a912e8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1cf44a912fe
mov al, 1
jmp 0x1cf44a9135e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1cf44a9130f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1cf44a9135c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1cf44a9b960
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1cf44a9135c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1cf44a9135c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1cf44a9135c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1cf44a9135e
xor al, al
add rsp, 0x20
pop rbx
ret