joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400775b8
Capabilities:
Parse pe header

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

Function at 0x180966058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1809661df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180966089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18096606f
add dl, dl
jne 0x180966096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809660f6
xor eax, eax
add dl, dl
jne 0x1809660a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809661ad
add dl, dl
jne 0x1809660b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809660c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809660d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809660dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1809660ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18096607e
mov eax, 1
add dl, dl
jne 0x180966106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180966113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809660fb
sub eax, ebx
mov ebx, 1
jne 0x18096614c
mov ecx, 1
add dl, dl
jne 0x18096612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18096613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180966123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18096607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180966168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180966175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18096615d
cmp eax, 0x7d00
jae 0x18096619b
cmp eax, 0x500
jb 0x180966196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18096607e
cmp eax, 0x7f
ja 0x18096619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18096607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1809661d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18096607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140011cb0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140011cc0]
mov dword [rax], 1
mov rax, qword [0x140011cd0]
mov dword [rax], 1
mov rax, qword [0x140011c40]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140011ca0]
mov dword [0x14001400c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140011d90]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140011d70]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140011bd0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001574
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Start tcp server

Disassembly:
push rbp
sub rsp, 0x4e0
lea rbp, [rsp + 0x80]
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov dword [rbp + 0x45c], eax
mov word [rbp + 0x440], 2
mov dword [rbp + 0x444], 0
mov eax, dword [rbp + 0x45c]
cdqe
lea rdx, [rbp + 0x440]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_bind]
call rax
test eax, eax
je 0x1400015fa
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.bind_error:__s
mov rcx, rax
call sym.printf
jmp 0x14000170d
mov dword [rbp + 0x43c], 0x10
mov eax, dword [rbp + 0x45c]
cdqe
lea rcx, [rbp + 0x43c]
lea rdx, [rbp + 0x440]
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_getsockname]
call rax
movzx eax, word [rbp + 0x442]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_ntohs]
call rax
movzx eax, ax
mov edx, eax
lea rax, str.server_is_on_port__d_n
mov rcx, rax
call sym.printf
mov eax, dword [rbp + 0x45c]
cdqe
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_listen]
call rax
test eax, eax
je 0x140001683
lea rax, str.listen_error:
mov rcx, rax
call sym.perror
jmp 0x14000170d
mov dword [rbp + 0x3ac], pe_nt_image_headers64
mov eax, dword [rbp + 0x45c]
cdqe
lea rcx, [rbp + 0x3ac]
lea rdx, [rbp + 0x3b0]
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_accept]
call rax
mov dword [rbp + 0x458], eax
mov eax, dword [rbp + 0x458]
cdqe
lea rdx, [rbp - 0x60]
mov r9d, 0
mov r8d, 0x400
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
lea rax, [rbp - 0x60]
mov rdx, rax
lea rax, str.client_says:_n_____s_n
mov rcx, rax
call sym.printf
mov eax, dword [rbp + 0x458]
mov ecx, eax
call sym.close
mov eax, dword [rbp + 0x45c]
mov ecx, eax
call sym.close
nop
add rsp, 0x4e0
pop rbp
ret
Function at 0x140001716
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x470
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x400], ecx
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov dword [rbp + 0x3ec], eax
mov qword [rbp + 0x3d0], 0
mov qword [rbp + 0x3d8], 0
mov word [rbp + 0x3d0], 2
mov eax, dword [rbp + 0x400]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x3d2], ax
mov edx, dword [rbp + 0x400]
lea rax, [rbp - 0x60]
mov r9d, edx
lea r8, str.127.0.0.1:_d
mov edx, 0x422
mov rcx, rax
call sym.snprintf
lea rax, [rbp + 0x3d0]
lea rdx, [rax + 4]
lea rax, [rbp - 0x60]
mov r8, rdx
mov rdx, rax
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_inet_pton]
call rax
mov eax, dword [rbp + 0x3ec]
cdqe
lea rdx, [rbp + 0x3d0]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
test eax, eax
je 0x1400017ff
lea rax, str.connect_error:
mov rcx, rax
call sym.perror
jmp 0x140001853
lea rax, str.the_client_says_hello_
mov qword [rbp + 0x3e0], rax
mov rax, qword [rbp + 0x3e0]
mov rcx, rax
call sym.strlen
add eax, 1
mov ecx, eax
mov eax, dword [rbp + 0x3ec]
cdqe
mov rdx, qword [rbp + 0x3e0]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov eax, dword [rbp + 0x3ec]
mov ecx, eax
call sym.close
nop
add rsp, 0x470
pop rbp
ret

Function at 0x140001bc0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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 rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001c30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140014094]
test esi, esi
mov rbx, rcx
jle 0x140001d60
mov rax, qword [0x140014098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001c7b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001d05
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001c60
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140001d82
mov rax, qword [0x140014098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140014098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001d67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001cfe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001d10
add dword [0x140014094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140014098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001cfe
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 esi, esi
jmp 0x140001c88
mov rax, qword [0x140014098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400022f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140014100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400140e0]
test rbx, rbx
je 0x14000234c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002343
test rsi, rsi
je 0x140002343
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002328
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002560
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop

Function at 0x140002570
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
Function at 0x140002580
Capabilities:
Parse pe header

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

Function at 0x1400025b0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x1400025fd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x1400025f4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400025ff
add rax, 0x28
cmp rax, r9
jne 0x1400025e0
xor eax, eax
ret

Function at 0x140002600
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002690
mov rdx, qword [0x140011c40]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000267e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000267e
cmp word [rax + 0x18], 0x20b
jne 0x14000267e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002690
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002669
add rbx, 0x28
cmp rbx, rdi
je 0x140002690
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002660
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x140011c40]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000271d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140002714
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400026c0
add rax, 0x28
cmp rax, r9
jne 0x140002700
xor eax, eax
ret

Function at 0x140002720
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140011c40]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000273f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002748
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000273f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002760
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140011c40]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002780
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002788
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002780
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x1400027d0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400027c7
test rcx, rcx
je 0x140002780
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400027b8
xor eax, eax
ret

Function at 0x1400027e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140011c40]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400027ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002808
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x140011c40]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002840
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002848
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002840
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x140002840
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140002894
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400028a0
add rdx, 0x28
cmp r9, rdx
jne 0x140002880
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140011c40]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400028d2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400028e0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400028d2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400028d2
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x1400028d2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x140002935
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002948
add rdx, 0x28
cmp rdx, r10
jne 0x140002920
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002957
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002967
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000293e
test ecx, ecx
jg 0x140002950
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140acc45e
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r12
jmp 0x140b6b249
add rbp, rdx
jmp 0x140b427da
movabs rdx, 0x100000000
test dl, r14b
xor sil, 0x27
movzx edi, r12w
lea r10, [r10 + rdx]
shld ebp, esi, 0x22
mov rdi, rsp
adc ch, 0x4f
sal edx, 0x45
sar cx, cl
sub rsp, 0x180
and rsp, 0xfffffffffffffff0
mov rsi, r10
or bpl, r10b
movabs rcx, 0
mov dx, 0x5617
sub rsi, rcx
btc bp, ax
lea rbp, [0x140afe09e]
bt dx, bp
sub dh, bh
mov dl, r13b
mov edx, dword [r10]
test r9b, bpl
cmc
jmp 0x140b0807d
add r10, 4
cmp r13, r10
clc
test bpl, r13b
xor edx, esi
cmc
rol edx, 1
stc
bswap edx
test r15b, bpl
cmp r13w, si
cmp spl, 0x1f
sub edx, 0x72773bba
not edx
jmp 0x140b4b0fa
push rbp
ret
push rsi
xor dword [rsp], edx
xor sil, cl
inc si
add rsi, rsi
pop rsi
movsxd rdx, edx
jmp 0x140ae23be
push r14
push rax
setae al
push r10
push r8
not r10b
movsx eax, dx
movzx rax, dx
push rdx
push rbp
mov dx, 0x26d6
push r13
cmovae bp, sp
movsx rax, r13w
lahf
push rcx
movzx ebp, cx
cwde
not bpl
push rdi
rdtsc
movsx r10, r12w
movsx r10w, r10b
push rbx
cwde
cmovae di, r14w
movzx rbp, di
push r9
movsx di, r13b
rdtsc
movsx edx, bp
push rsi
mov si, dx
push r15
cmovno edx, edx
pushfq
cmp r9b, al
push r11
bt rsi, 0x49
movabs rax, 0
and bp, r15w
test r10w, 0x7415
clc
push rax
cwd
bt r10, 0x4a
mov r10, qword [rsp + 0x90]
cmovp dx, ax
bswap r10d
neg r10d
xor dil, 0x40
bswap r10d
not r10d
rcr ch, cl
ror dh, cl
add r10, rax
jmp 0x140afe04c
Function at 0x180017be0
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 0x180017c3d
lea rbx, [0x1801e9710]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180017c24
cmp r10, 2
jb 0x180017c24
cmp byte [r9], r8b
jne 0x180017c24
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 0x180017c00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180017c7f
lea rbx, [0x1801e9710]
cmp r8b, 0x23
jne 0x180017c63
cmp byte [r9], r8b
jne 0x180017c63
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 0x180017c50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180017dc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180017dda
mov qword [r8], 0
lea rdx, [0x1801e9308]
call fcn.180017c90
mov rbx, rax
test rax, rax
jne 0x180017dfa
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 0x180017ed1
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 0x180017ed1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180017ed1
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 0x180017ed1
cmp rdi, 0xffffffffffffffff
je 0x180017ed1
mov rax, qword [0x18024f510]
test rax, rax
je 0x180017e6e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180017ed1
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 0x180017ebe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18024f510]
test rax, rax
je 0x180017eb3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180017eda
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180017ecc
mov qword [r14], rdi
mov rax, rsi
jmp 0x180017edc
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 0x18001a950
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1801e9710]
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 [0x18024f510]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x18001a9e6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.18002c2f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1800261c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180244308]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18024f510]
mov edi, ecx
cmp byte [rbx + 0x4235], 0
jne 0x180026221
cmp byte [rbx + 0x4236], 0
jne 0x180026221
movsx r9d, word [rbx + 0x531a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.180017aa0
test dil, 1
je 0x180026348
jmp 0x1800262aa
movss xmm1, dword [rbx + 0x3890]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x531a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180216780]
mulss xmm1, dword [0x180216774]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdf4]
addss xmm1, dword [rbx + 0xdf8]
mov qword [rbx + 0x3fa0], rax
mov dword [rbx + 0x3f8c], 1
movss dword [rbx + 0x3f98], xmm0
movss dword [rbx + 0x3f9c], xmm1
movss xmm0, dword [rbx + 0x38ec]
mulss xmm0, dword [0x1802164a8]
or dword [rbx + 0x3f88], 0x41
movss dword [rbx + 0x3fe8], xmm0
call fcn.180017aa0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180026300
lea r11, [0x1801e9710]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1800262e3
cmp byte [r8], r9b
jne 0x1800262e3
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 0x1800262d0
not ecx
call fcn.18001f430
test rax, rax
je 0x180026348
cmp byte [rax + 0x96], 0
je 0x180026348
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x531a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x531a]
call fcn.180017aa0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180021be0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801a1ee0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x18002aed0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53c8], 0
lea rbx, [rcx + 0x53d0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18002af77
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18002af2a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18002ce40
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800183b0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53c8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53d8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18024f508]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18002af7f
mov rcx, rbx
call fcn.1800183b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret