joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050768
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2c0
mov rdi, rdx
movsxd rbx, ecx
lea rdx, [rsp + 0x120]
mov ecx, 0x101
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x140050846
lea rcx, [rsp + 0x20]
mov edx, 0x100
call qword [sym.imp.WSOCK32.dll_gethostname]
lea rcx, [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_gethostbyname]
test rax, rax
je 0x140050846
mov r9, qword [rax + 0x18]
xor ecx, ecx
cmp qword [r9], rcx
je 0x1400507d4
mov rax, r9
lea rax, [rax + 8]
inc ecx
cmp qword [rax], 0
jne 0x1400507c8
cmp ebx, ecx
jle 0x1400507e9
lea rdx, str.0.0.0.0
mov rcx, rdi
call fcn.140025d20
jmp 0x14005083e
mov rdx, qword [r9 + rbx*8 - 8]
lea rcx, [rsp + 0x2e0]
mov r8d, 4
call fcn.140025630
mov ecx, dword [rsp + 0x2e0]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.1400279c0
lea rcx, [rsp + 0x20]
or edx, 0xffffffff
call fcn.140051778
mov rcx, rdi
mov rdx, rax
mov rbx, rax
call fcn.140025d20
mov rcx, rbx
call fcn.140025bf0
call qword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x140050855
lea rdx, [0x1400b0ad8]
mov rcx, rdi
call fcn.140025d20
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2c0
pop rdi
ret

Function at 0x140050ae8
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
lea rax, [rbp + 0x20]
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rbp + 0x18], ebx
mov word [rbp + 0x1c], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp + 0x10], eax
test eax, eax
je 0x140050b62
mov rdx, qword [rbp + 0x20]
lea r8, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp + 0x10], ecx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp + 0x10]
mov rbx, qword [rsp + 0x88]
cmp eax, 1
sete al
add rsp, 0x60
pop rbp
ret

Function at 0x140050c10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140050c27
test al, 0x10
je 0x140050c27
mov al, 1
jmp 0x140050c29
xor al, al
add rsp, 0x28
ret
Function at 0x140056728
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x488]
mov rax, qword [rcx + 0x478]
mov rbx, rcx
mov byte [r8 + rax], dl
mov edx, 1
mov r8d, 0x10000
add dword [rcx + 0x488], edx
cmp dword [rcx + 0x488], r8d
jne 0x140056774
mov r9, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x478]
call fcn.140027ee0
and dword [rbx + 0x488], 0
add rsp, 0x20
pop rbx
ret

Function at 0x14005677c
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
movsxd rax, dword [rcx + 0x488]
mov rbx, rcx
test eax, eax
je 0x1400567af
mov r9, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x478]
mov r8, rax
mov edx, 1
call fcn.140027ee0
and dword [rbx + 0x488], 0
add rsp, 0x20
pop rbx
ret

Function at 0x1400569bc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
lea rcx, [rsp + 0x20]
mov ebx, r9d
mov esi, r8d
mov rdi, rdx
call fcn.1400567b8
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.140056814
test esi, esi
je 0x140056a07
mov ebx, esi
lea rcx, [rsp + 0x20]
call fcn.140056984
xor byte [rdi], al
inc rdi
dec rbx
jne 0x1400569f3
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1400573a8
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x230
mov rbx, rdx
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [0x1400c71e8]
lea rcx, [rsp + 0x20]
mov r9, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
add rsp, 0x230
pop rbx
ret
Function at 0x1400580c4
Capabilities:
Create directory
Delete directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x9a8]
sub rsp, 0xa90
mov sil, r9b
mov rdi, r8
mov rcx, rdx
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x780]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor r14d, r14d
test eax, eax
jne 0x140058113
xor eax, eax
jmp 0x140058253
lea r8, [rbp + 0x780]
lea rdx, str.___s
lea rcx, [rsp + 0x50]
call fcn.140026904
lea rcx, [rsp + 0x50]
call fcn.140025cd8
mov rbx, rax
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x14005814e
cmp word [rsp + rax*2 + 0x4c], 0x3a
je 0x14005814e
mov word [rsp + rax*2 + 0x4e], r14w
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140058162
test sil, sil
je 0x14005810c
mov qword [rsp + 0x30], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rdi
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400581a2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14005810c
lea rcx, [rbp + 0x160]
xor edx, edx
mov r8d, 0x618
call fcn.140025d50
add bx, bx
lea rdx, [rsp + 0x50]
mov word [rbp + 0x16a], bx
lea rcx, [rbp + 0x170]
add bx, 2
mov r8d, 0x104
mov dword [rbp + 0x160], 0xa0000003
mov word [rbp + 0x16c], bx
call fcn.140027270
movzx eax, word [rbp + 0x16a]
mov qword [rsp + 0x38], r14
add ax, 0xc
lea r8, [rbp + 0x160]
mov edx, 0x900a4
movzx r9d, ax
mov word [rbp + 0x164], ax
lea rax, [rbp + 0x9b0]
mov qword [rsp + 0x30], rax
add r9d, 8
mov rcx, rsi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rsi
test eax, eax
jne 0x140058248
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140058194
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea r11, [rsp + 0xa90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140068308
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
mov r15d, 2
mov word [rdx], r15w
lea rdx, [rax - 0x38]
mov rcx, r8
mov esi, r9d
mov r14, r8
call fcn.14006851c
mov rcx, qword [rax]
call qword [sym.imp.WSOCK32.dll_inet_addr]
lea rcx, [rsp + 0x20]
mov ebp, eax
call fcn.1400169b8
cmp ebp, 0xffffffff
jne 0x140068375
lea rdx, str.255.255.255.255
mov rcx, r14
call fcn.140043c08
test al, al
je 0x140068375
lea edx, [r15 - 1]
jmp 0x140068396
lea eax, [rsi - 1]
mov dword [rdi + 4], ebp
cmp eax, 0xfffe
ja 0x140068393
movzx ecx, si
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rdi + 2], ax
mov al, 1
jmp 0x1400683aa
mov edx, r15d
mov rax, qword [rbx]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.140057ec8
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1401c0880
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401c088d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401c089d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401c0885
lea eax, [rcx + 1]
jmp 0x1401c08ab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401c08be
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401c08a4
sub eax, 3
jb 0x1401c08de
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401c092d
sar eax, 1
movsxd rbp, eax
jb 0x1401c0914
jmp 0x1401c08ec
add ebx, ebx
jne 0x1401c08ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401c0914
inc ecx
add ebx, ebx
jne 0x1401c08fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401c0914
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401c090d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401c08fc
add ecx, 2
jmp 0x1401c0919
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401c0842
jmp 0x1401c088d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x8c00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401c0979
cmp rsi, rcx
jae 0x1401c0981
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401c0960
cmp al, 0x8f
ja 0x1401c0960
cmp byte [rsi - 2], 0xf
je 0x1401c0966
sub al, 0xe8
cmp al, 1
ja 0x1401c094a
cmp rsi, rcx
jae 0x1401c0981
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401c0950
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401c0981
lodsb al, byte [rsi]
jmp 0x1401c0960
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1bd000]
mov eax, dword [rdi]
or eax, eax
je 0x1401c09ea
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1c1cac]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401c098e
jns 0x1401c09c3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1401c09cd
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1401c09e4
mov qword [rbx], rax
add rbx, 8
jmp 0x1401c09ae
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1401c0a24
cmp al, 0xef
ja 0x1401c0a16
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1401c09f6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1401c0a05
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401c0a78
sub rsp, 0xffffffffffffff80
jmp 0x140008da0
Function at 0x14000fa2c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14005f660]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000fab9
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000fab9
call fcn.14000df3c
mov ebx, eax
jmp 0x14000fbca
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000fada
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000fad0
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14000fb15
mov ebx, 0x8007000e
jmp 0x14000fbbb
mov ecx, eax
test eax, eax
je 0x14000fb4d
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14000fb43
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14000fb4d
lea rcx, [rsp + 0x70]
call fcn.14000df10
jmp 0x14000fb57
mov ecx, 0x80070216
call fcn.14000eb68
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14000fb69
cmp qword [rsp + 0x70], rdi
je 0x14000fb0b
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
Function at 0x1400089d0
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [rcx]
test edx, edx
jne 0x1400089f8
mov dword [rcx + 4], 2
lea rax, [rcx + 4]
cmp edx, 3
jne 0x140008a21
mov dword [rax], 4
cmp edx, 0x22
jne 0x140008a2c
mov dword [rax], Ordinal_79
ret
cmp edx, 1
jne 0x140008a02
mov dword [rcx + 4], edx
jmp 0x1400089dd
cmp edx, 2
jne 0x1400089dd
lea rax, [rcx + 4]
mov dword [rax], 3
cmp edx, 0x17
jne 0x140008bc4
mov dword [rax], Ordinal_60
ret
cmp edx, 4
jne 0x140008a38
mov dword [rax], 5
cmp edx, 0x23
jne 0x140008a43
mov dword [rax], Ordinal_79
ret
cmp edx, 5
jne 0x140008a4f
mov dword [rax], 6
cmp edx, 0x24
jne 0x140008a5a
mov dword [rax], Ordinal_79
ret
cmp edx, 6
jne 0x140008a66
mov dword [rax], 8
cmp edx, 0x25
jne 0x140008a71
mov dword [rax], Ordinal_79
ret
cmp edx, 7
jne 0x140008a7d
mov dword [rax], 9
cmp edx, 0x26
jne 0x140008a88
mov dword [rax], Ordinal_79
ret
cmp edx, 8
jne 0x140008a94
mov dword [rax], recvfrom
cmp edx, 0x27
jne 0x140008a9f
mov dword [rax], reloc.WLDAP32.dll_Ordinal_79
ret
cmp edx, 9
jne 0x140008aab
mov dword [rax], reloc.WS2_32.dll_listen
cmp edx, 0x28
jne 0x140008ab6
mov dword [rax], 0x50
ret
cmp edx, 0xa
jne 0x140008ac2
mov dword [rax], reloc.WS2_32.dll_recv
cmp edx, 0x29
jne 0x140008acd
mov dword [rax], 0x51
ret
cmp edx, 0xb
jne 0x140008ad9
mov dword [rax], reloc.WS2_32.dll_recvfrom
cmp edx, 0x2a
jne 0x140008ae4
mov dword [rax], 0x52
ret
cmp edx, 0xc
jne 0x140008af0
mov dword [rax], reloc.WS2_32.dll_select
cmp edx, 0x2b
jne 0x140008afb
mov dword [rax], 0x53
ret
cmp edx, 0xd
jne 0x140008b07
mov dword [rax], reloc.WS2_32.dll_send
cmp edx, 0x2c
jne 0x140008b12
mov dword [rax], 0x54
ret
cmp edx, 0xe
jne 0x140008b1e
mov dword [rax], reloc.WS2_32.dll_sendto
cmp edx, 0x2d
jne 0x140008b29
mov dword [rax], 0x55
ret
cmp edx, 0xf
jne 0x140008b35
mov dword [rax], Ordinal_50
cmp edx, 0x2e
jne 0x140008b40
mov dword [rax], 0x56
ret
cmp edx, 0x10
jne 0x140008b4c
mov dword [rax], Ordinal_50
cmp edx, 0x2f
jne 0x140008b57
mov dword [rax], 0x57
ret
cmp edx, 0x11
jne 0x140008b63
mov dword [rax], reloc.WLDAP32.dll_Ordinal_50
cmp edx, 0x30
jne 0x140008b6e
mov dword [rax], 0x58
ret
cmp edx, 0x12
jne 0x140008b7a
mov dword [rax], 0x33
cmp edx, 0x31
jne 0x140008b85
mov dword [rax], 0x59
ret
cmp edx, 0x13
jne 0x140008b91
mov dword [rax], gethostname
cmp edx, 0x32
jne 0x140008b9c
mov dword [rax], 0x5a
ret
cmp edx, 0x14
jne 0x140008ba8
mov dword [rax], gethostname
cmp edx, 0x33
jne 0x140008ba7
mov dword [rax], Ordinal_26
ret
cmp edx, 0x15
jne 0x140008bb4
mov dword [rax], gethostname
ret
cmp edx, 0x16
jne 0x140008a11
mov dword [rax], Ordinal_60
ret
cmp edx, 0x18
jne 0x140008bd0
mov dword [rax], reloc.WS2_32.dll_gethostname
ret
cmp edx, 0x19
jne 0x140008bdc
mov dword [rax], 0x41
ret
cmp edx, 0x1a
jne 0x140008be8
mov dword [rax], 0x42
ret
cmp edx, 0x1b
jne 0x140008bf4
mov dword [rax], 0x43
ret
cmp edx, 0x1c
jne 0x140008c00
mov dword [rax], 0x44
ret
cmp edx, 0x1d
jne 0x140008c0c
mov dword [rax], 0x45
ret
cmp edx, 0x1e
jne 0x140008c18
mov dword [rax], 0x46
ret
cmp edx, 0x1f
jne 0x140008c24
mov dword [rax], 0x47
ret
cmp edx, 0x20
jne 0x140008c30
mov dword [rax], 0x48
ret
cmp edx, 0x21
jne 0x1400089ec
mov dword [rax], 0x49
ret
Function at 0x14000ce10
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14000ce45
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000ca00
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14000cf86
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14000cf00
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14000cf75
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14000cf3d
mov r10, qword [rdx]
cmp r10, rax
je 0x14000cf37
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14000cf75
cmp r9, rdx
je 0x14000cf51
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14000cf97
cmp r9, rdx
jne 0x14000cf42
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14000ceb0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14000cf75
Function at 0x14000eb10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000eb6d
lea rbx, [0x1400bf7a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000eb54
cmp r10, 2
jb 0x14000eb54
cmp byte [r9], r8b
jne 0x14000eb54
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000eb30
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000ebaf
lea rbx, [0x1400bf7a0]
cmp r8b, 0x23
jne 0x14000eb93
cmp byte [r9], r8b
jne 0x14000eb93
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000eb80
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000ecf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000ed0a
mov qword [r8], 0
lea rdx, [0x1400c518c]
call fcn.14000ebc0
mov rbx, rax
test rax, rax
jne 0x14000ed2a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000ee01
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000ee01
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000ee01
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000ee01
cmp rdi, 0xffffffffffffffff
je 0x14000ee01
mov rax, qword [0x1401bf5f0]
test rax, rax
je 0x14000ed9e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000ee01
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000edee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401bf5f0]
test rax, rax
je 0x14000ede3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000ee0a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000edfc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000ee0c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140012170
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400bf7a0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1401bf5f0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140012206
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140025050
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14001ea30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400d5080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401bf5f0]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x14001ea91
cmp byte [rbx + 0x4a2e], 0
jne 0x14001ea91
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000e9d0
test dil, 1
je 0x14001ebb8
jmp 0x14001eb1a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b32]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400c5cac]
mulss xmm1, dword [0x1400c5c8c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400c5ba0]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.14000e9d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001eb70
lea r11, [0x1400bf7a0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14001eb53
cmp byte [r8], r9b
jne 0x14001eb53
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 0x14001eb40
not ecx
call fcn.140015d10
test rax, rax
je 0x14001ebb8
cmp byte [rax + 0xae], 0
je 0x14001ebb8
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b32]
call fcn.14000e9d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140018460
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400acc60
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret