joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1fd021820
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x1fd021890
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x1fd027064]
mov r12, rcx
test ebx, ebx
jle 0x1fd0219c0
mov rax, qword [0x1fd027068]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x1fd0218dc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1fd021963
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x1fd0218c0
mov rcx, r12
call sym.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x1fd0219e2
mov rax, qword [0x1fd027068]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1fd027068]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1fd0219c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1fd02195c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1fd021970
add dword [0x1fd027064], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x1fd027068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1fd02195c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x1fd0218e7
mov rax, qword [0x1fd027068]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1fd021c90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1fd0270a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1fd027080]
test rbx, rbx
je 0x1fd021ce4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1fd021cdb
test r12, r12
je 0x1fd021cdb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1fd021cc0
lea rcx, [0x1fd0270a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1fd021f00
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1fd021f18
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1fd021f20
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1fd021f30
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1fd021f7c
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x1fd021f73
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x1fd021f7e
add rax, 0x28
cmp rax, r9
jne 0x1fd021f60
xor eax, eax
ret

Function at 0x1fd021f80
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x1fd022010
mov rdx, qword [0x1fd024220]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x1fd021ffe
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1fd021ffe
cmp word [rax + 0x18], 0x20b
jne 0x1fd021ffe
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x1fd022010
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x1fd021fe9
add r12, 0x28
cmp r12, rsi
je 0x1fd022010
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x1fd021fe0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x1fd022020
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1fd024220]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1fd022040
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1fd022048
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1fd022040
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1fd022095
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1fd02208c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1fd022040
add rax, 0x28
cmp rax, r9
jne 0x1fd022078
xor eax, eax
ret

Function at 0x1fd0220a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1fd024220]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1fd0220c0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1fd0220c8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1fd0220c0
movzx r8d, word [rax + 6]
mov eax, r8d
ret
Function at 0x1fd0220e0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1fd024220]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1fd022100
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1fd022108
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1fd022100
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1fd022148
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1fd02213f
test rcx, rcx
je 0x1fd022100
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1fd022130
xor eax, eax
ret

Function at 0x1fd022150
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1fd024220]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1fd022170
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1fd022178
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1fd022190
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x1fd024220]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1fd0221b0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1fd0221b8
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1fd0221b0
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1fd0221b0
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1fd0221f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1fd022208
add rax, 0x28
cmp r9, rax
jne 0x1fd0221e0
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x1fd022220
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1fd024220]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1fd022242
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1fd022250
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1fd022242
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1fd022242
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x1fd022242
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1fd02229d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1fd0222b0
add rdx, 0x28
cmp r10, rdx
jne 0x1fd022288
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1fd0222bf
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1fd0222cf
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1fd0222a6
test ecx, ecx
jg 0x1fd0222b8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001c90
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14017ac80]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [0x1400c0288]
xor edi, edi
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov dword [rsp + 0x68], eax
mov rbx, rcx
movzx eax, word [0x1400c028c]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [0x1400c0270]
mov word [rsp + 0x6c], ax
mov eax, Ordinal_50
movups xmmword [rsp + 0x40], xmm0
xor r9d, r9d
mov qword [rsp + 0x30], rdi
movsd xmm0, qword [0x1400c0280]
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov edx, 0xc0000000
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x6a], ax
movups xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140001d94
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140001d48
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x140001db7
inc ax
mov word [rsp + 0x6a], ax
jmp 0x140001d63
cmp eax, 0xe7
jne 0x140001db7
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x140001db7
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x140001d28
mov byte [rbx], 1
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400baa30
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
xor al, al
jmp 0x140001d99

Function at 0x140001dc0
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14017ac80]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140001e70
test rcx, rcx
je 0x140001e70
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140001e70
xor ebp, ebp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rbp
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x30], ebp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x140001e5b
mov eax, dword [rsp + 0x30]
cmp rax, rdi
jb 0x140001e70
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x34]
mov r8d, edi
mov dword [rsp + 0x34], ebp
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x140001e51
jmp 0x140001e72
mov rcx, rbx
call fcn.140001c40
jmp 0x140001e70
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], bpl
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400baa30
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001e90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14017ac80]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
test r8, r8
jne 0x140001ec2
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400baa30
add rsp, 0x40
pop rbx
ret
test rcx, rcx
je 0x140001ef7
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140001ef7
test rdx, rdx
je 0x140001ef7
xor eax, eax
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140001ef7
cmp dword [rsp + 0x30], ebx
je 0x140001ead
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400baa30
add rsp, 0x40
pop rbx
ret
Function at 0x1400023f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xae0
mov rax, qword [0x14017ac80]
xor rax, rsp
mov qword [rsp + 0xad0], rax
mov rbx, rdx
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0x80]
mov r8, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400024a3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_opening_Steam_key_n
jmp 0x140002569
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.SteamExe
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x38], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140002557
mov ecx, dword [rsp + 0x38]
cmp ecx, 1
jb 0x140002557
shr ecx, 1
je 0x140002515
lea rax, [rsp + 0xc0]
cmp word [rax], 0x2f
jne 0x14000250b
mov word [rax], 0x5c
add rax, 2
sub rcx, 1
jne 0x140002500
lea rax, [rsp + 0x40]
mov edx, 0x800
lea r9, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r8, str.__s__steam:__rungameid__s
lea rcx, [rsp + 0x2d0]
call fcn.140002280
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x80]
call fcn.140001f10
jmp 0x140002571
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_reading_SteamExe_key_n
mov rcx, rax
call fcn.1400025a0
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.1400baa30
add rsp, 0xae0
pop rbx
ret
Function at 0x140002f20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140002f87
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140002f42
mov ecx, dword [r10]
jmp 0x1400030a8
cmp ecx, 0x270
jb 0x1400030a8
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x140002fc0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x140003020
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x14000fe30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14017ac80]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401b0ba8]
mov esi, edx
mov edi, ecx
cmp byte [rbx + 0x20d5], 0
jne 0x14000fe97
cmp byte [rbx + 0x20d6], 0
jne 0x14000fe97
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14001d620
test sil, 1
je 0x14000ffcc
jmp 0x14000ff36
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400c203c]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400c2034]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
or dword [rbx + 0x1dc0], 1
mov qword [rbx + 0x1ddc], rax
movss dword [rbx + 0x1dd4], xmm0
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd8], xmm1
mov byte [rbx + 0x1dfc], 1
movss xmm0, dword [rbx + 0x1748]
mov rax, qword [0x1401b0ba8]
mulss xmm0, dword [0x1400c1fcc]
or dword [rax + 0x1dc0], 0x40
movss dword [rax + 0x1e20], xmm0
mov r9d, dword [rbx + 0x3178]
call fcn.14001d620
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000ff86
lea r11, [0x1400c13e0]
cmp r9b, 0x23
jne 0x14000ff69
cmp byte [r8], r9b
jne 0x14000ff69
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000ff56
not ecx
call fcn.14001bf00
test rax, rax
je 0x14000ffcc
cmp byte [rax + 0xcf], 0
je 0x14000ffcc
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3178]
call fcn.14001d620
or edi, 0x22c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.14000c080
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400baa30
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140013dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov rbp, rdx
mov qword [rsp + 0x28], rdi
mov rbx, rcx
mov rcx, qword [rdx + 0x448]
movzx edi, r8b
mov qword [rsp + 0x20], r14
test rcx, rcx
je 0x140013e03
xor r8d, r8d
call fcn.140015930
cmp qword [rbx + 0x80], 0
jne 0x140013e3c
cmp dword [rbx + 0x28], 1
jne 0x140013e3c
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0xd0], 0
jne 0x140013e3c
cmp byte [rcx + 0xcf], 0
mov byte [rcx + 0xd6], 1
sete al
inc al
mov byte [rcx + 0xf0], al
mov r8d, dword [rbx + 0x28]
mov ecx, dword [rbx + 0x2c]
cmp r8d, ecx
jne 0x140013e72
inc r8d
test ecx, ecx
je 0x140013e5a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140013e5f
mov eax, 8
cmp eax, r8d
lea rcx, [rbx + 0x28]
cmovg r8d, eax
mov edx, r8d
call fcn.14002dc90
movsxd rcx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov qword [rax + rcx*8], rbp
inc dword [rbx + 0x28]
or byte [rbx + 0xbc], 0x80
mov qword [rbp + 0x448], rbx
mov eax, dword [rbx]
mov dword [rbp + 0x458], eax
cmp dword [rbx + 0x28], 1
movzx eax, byte [rbp + 0x429]
setg cl
and al, 0xfe
or cl, al
and cl, 0xfb
mov byte [rbp + 0x429], cl
cmp qword [rbx + 0x80], 0
jne 0x140013f08
cmp qword [rbx + 0x10], 0
jne 0x140013f08
test dword [rbx + 8], 0x400
jne 0x140013f08
mov eax, dword [rbx + 0xb8]
test al, 7
jne 0x140013ee2
and eax, 0xfffffffa
or eax, 2
mov dword [rbx + 0xb8], eax
test al, 0x38
jne 0x140013ef2
and eax, 0xffffffd7
or eax, 0x10
mov dword [rbx + 0xb8], eax
test eax, 0x1c0
jne 0x140013f08
and eax, 0xfffffebf
bts eax, 7
mov dword [rbx + 0xb8], eax
test dil, dil
je 0x140013f88
cmp qword [rbx + 0x38], 0
jne 0x140013f77
mov rcx, rbx
call fcn.140013d60
mov rcx, qword [rbx + 0x38]
xor edi, edi
mov eax, dword [rbx + 0xb0]
mov dword [rcx + 0x1c], eax
mov rcx, qword [rbx + 0x38]
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x18], eax
mov eax, dword [rbx + 0x28]
dec eax
test eax, eax
jle 0x140013f77
mov qword [rsp + 0x58], rsi
mov esi, edi
nop word [rax + rax]
mov r8, qword [rbx + 0x30]
xor edx, edx
mov rcx, qword [rbx + 0x38]
mov r8, qword [rsi + r8]
call fcn.140049aa0
mov eax, dword [rbx + 0x28]
lea rsi, [rsi + 8]
dec eax
inc edi
cmp edi, eax
jl 0x140013f50
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rbx + 0x38]
mov r8, rbp
mov edx, 0x400000
call fcn.140049aa0
mov ecx, dword [rbx + 8]
mov eax, ecx
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
shr eax, 0xb
shr ecx, 0xa
cmp qword [rbx + 0x10], 0
movzx eax, al
movzx r8d, cl
cmovne r8d, eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140013fc3
test byte [rax + 0xbc], 1
je 0x140013fc3
mov al, 1
jmp 0x140013fc5
xor al, al
cmp dword [rbx + 0x28], 0
movzx edx, al
mov eax, 1
cmovg edx, eax
mov rax, qword [rbx + 0x20]
or dl, r8b
test rax, rax
je 0x140013fed
test byte [rax + 0xbc], 1
je 0x140013fed
mov cl, 1
jmp 0x140013fef
xor cl, cl
movzx eax, byte [rbx + 0xbc]
or cl, dl
mov r8, qword [rbx + 0x80]
and cl, 1
and al, 0xfe
xor cl, al
mov byte [rbx + 0xbc], cl
mov rbx, qword [rsp + 0x50]
test r8, r8
je 0x14001402a
mov edx, dword [rbp + 0xc]
mov rcx, rbp
bts edx, 0x18
add rsp, 0x30
pop rbp
jmp fcn.14002cb30
add rsp, 0x30
pop rbp
ret
Function at 0x14001bd50
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x14001bda2
lea r11, [0x1400c13e0]
cmp r9b, 0x23
jne 0x14001bd85
cmp byte [r8], r9b
jne 0x14001bd85
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001bd72
mov r11, qword [0x1401b0ba8]
xor r9d, r9d
not eax
mov r10, qword [r11 + 0x3228]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x14001bdee
cmp dword [r9], eax
je 0x14001bdf7
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x14001bdc5
mov rcx, rbx
pop rbx
jmp fcn.140011c30
test r9, r9
je 0x14001bdee
mov rax, r9
pop rbx
ret

Function at 0x14001bf80
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x14001bfd0
lea r11, [0x1400c13e0]
cmp r9b, 0x23
jne 0x14001bfb3
cmp byte [r8], r9b
jne 0x14001bfb3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001bfa0
not ecx
jmp fcn.14001bf00