joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ddfd0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400de178
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400de035
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400de035
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400de035
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400de06c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400de0c2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400de0c2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400de0c2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400de0c2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400de0c2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400dda80
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400de124
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400ba010
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400dde50
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400de170
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400ba010
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400df8e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14095fec0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400df975
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400df9d6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400ba010
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400f3670
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400dfa91
sub ecx, 1
je 0x1400dfb04
sub ecx, 1
je 0x1400dfa40
cmp ecx, 1
je 0x1400dfa23
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400fba50]
call fcn.1400ba010
jmp 0x1400dfb04
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400df610
test eax, eax
je 0x1400dfb04
jmp 0x1400df9aa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400dfb04
sub rax, rsi
cmp rax, rbp
jae 0x1400dfb04
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400ba190
jmp 0x1400dfb04
cmp r8d, 4
jle 0x1400dfb04
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400dfb04
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400b9f30
mov esi, eax
test eax, eax
je 0x1400dfae3
mov edx, 5
mov rcx, rbx
call fcn.1400e05d0
mov eax, esi
jmp 0x1400df9aa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400c8a00
mov rcx, r14
call fcn.1400c8ce0
test eax, eax
je 0x1400df9a8
mov edx, 5
mov rcx, rbx
call fcn.1400e05d0
mov eax, Ordinal_45
jmp 0x1400df9aa
Function at 0x1400f28a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400f28e2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400f2929
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400f2982
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400f2940
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400f29c3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401374aa]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401374ab]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400f2990
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400f2a84
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400f2abe
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f2ac3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400f2b0c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400f2b0c
dec r8
sub rdx, 1
jne 0x1400f2af2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400f4270
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f42ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f42ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f42ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f42ba
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f42ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400f42bc
xor al, al
add rsp, 0x28
ret
Function at 0x62d93710
Capabilities:
Get storage device properties

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
movsx eax, byte [rcx]
mov rbx, rdx
mov rsi, r8
cmp al, 0x2a
je 0x62d93791
cmp al, 0x2f
jne 0x62d93733
movsx eax, byte [rcx + 1]
add rcx, 1
test al, al
je 0x62d9382e
sub eax, 0x30
cmp eax, 9
jbe 0x62d9375f
jmp 0x62d93781
lea r8d, [rdx - 0x30]
cmp r8d, 9
ja 0x62d93781
lea r8d, [rax + rax*4]
lea edx, [rdx + r8*2 - 0x30]
add eax, edx
cmp eax, 0x5a
jg 0x62d93781
add rcx, 1
movsx edx, byte [rcx]
test dl, dl
jne 0x62d93745
mov r8, rsi
mov rdx, rbx
mov ecx, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.62d93370
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp r8, 5
jbe 0x62d93835
lea rdx, str.__d:
xor r8d, r8d
mov rcx, rbx
mov rbp, rbx
xor edi, edi
lea r12, str.__d:
call fcn.62e01f08
mov edx, 3
jmp 0x62d93800
mov rcx, rbp
add edi, 1
call fcn.62e01ee0
cdqe
lea rdx, [rbp + rax]
sub rsi, rax
cmp edi, 0x59
lea rbp, [rdx + 1]
mov byte [rdx], 0x2c
jg 0x62d93818
cmp rsi, 5
jbe 0x62d93818
mov rdx, r12
mov r8d, edi
mov rcx, rbp
call fcn.62e01f08
xor edx, edx
cmp edi, 9
setg dl
add edx, 3
movsxd rdx, edx
mov ecx, edi
sub rsi, rdx
add rdx, rbp
mov r8, rsi
call fcn.62d93370
cmp eax, 0xffffffff
jne 0x62d937c0
cmp rbx, rbp
jae 0x62d93835
xor eax, eax
mov byte [rbp - 1], 0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor eax, eax
jmp 0x62d9376a
lea r8, str.No_any_serial_number_of_harddisk_got
lea rcx, str..._src_platforms_windows_hdinfo.c
mov edx, 0x23e
call fcn.62d84230
mov eax, 0xffffffff
jmp 0x62d93786
Function at 0x63567058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x635671df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x63567089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6356706f
add dl, dl
jne 0x63567096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x635670f6
xor eax, eax
add dl, dl
jne 0x635670a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x635671ad
add dl, dl
jne 0x635670b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x635670c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x635670d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x635670dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x635670ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x6356707e
mov eax, 1
add dl, dl
jne 0x63567106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x63567113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x635670fb
sub eax, ebx
mov ebx, 1
jne 0x6356714c
mov ecx, 1
add dl, dl
jne 0x6356712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6356713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x63567123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6356707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x63567168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x63567175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6356715d
cmp eax, 0x7d00
jae 0x6356719b
cmp eax, 0x500
jb 0x63567196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6356707e
cmp eax, 0x7f
ja 0x6356719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6356707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x635671d2
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 0x6356707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003b20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003b6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003b6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003b6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003b6a
cmp dword [rcx + 0x84], 0xe
jbe 0x140003b6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003b6c
xor al, al
add rsp, 0x28
ret
Function at 0x140010280
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r9, qword [0x1401ba000]
mov rbp, r8
mov r14d, edx
mov rdi, rcx
mov rsi, r9
mov rbx, qword [r9 + 0x40c8]
test edx, edx
jne 0x1400102d7
mov r8d, 0x12f
lea rdx, str.C:UsersNOinsDesktopIMG_BASE_0.3_frameworkelementshelpers.cpp
lea rcx, str.id___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [0x1401ba000]
mov eax, dword [rbx + 0x14]
or dword [rsi + 0x4ae8], 0x100
and eax, 4
mov r15d, dword [rsp + 0x80]
or eax, 0x1000103
mov ecx, r15d
or r15d, eax
and ecx, 0x40000000
neg ecx
sbb eax, eax
and eax, 2
mov dword [rsi + 0x4b20], eax
mov rcx, qword [r9 + 0x40c8]
cmp qword [rcx + 0x1c0], 0
jne 0x14001032d
cmp qword [r9 + 0x4ee8], 0
mov eax, 0x268
je 0x140010332
mov eax, 0x238
movss xmm2, dword [rcx + rax]
movss xmm3, dword [rcx + rax + 4]
subss xmm3, dword [rcx + 0x11c]
subss xmm2, dword [rcx + 0x118]
mov rdx, qword [rbp]
lea rcx, [rsp + 0x60]
call fcn.140044c50
or dword [r9 + 0x4ae8], 2
lea rcx, [rsp + 0x60]
movsd xmm3, qword [rsp + 0x60]
xor edx, edx
movsd qword [r9 + 0x4b08], xmm3
mov dword [r9 + 0x4af0], 1
mov r9, qword [rbx + 8]
test rdi, rdi
je 0x1400103a5
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rdi
call fcn.14002fe50
jmp 0x1400103b6
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.14002fe50
mov rcx, qword [0x1401ba0d8]
add rcx, 0x70
call fcn.140030660
mov rcx, qword [0x1401ba0d0]
mov rdx, 0xffffffffffffffff
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x30], r8
movss xmm1, dword [rcx + 0x44]
inc rdx
cmp byte [r8 + rdx], 0
jne 0x1400103e3
mov rcx, qword [0x1401ba0f0]
mov r9d, r15d
mov qword [rsp + 0x38], rdx
bts r9d, 7
movaps xmm0, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], eax
xor r8d, r8d
movdqa xmmword [rsp + 0x30], xmm0
movss dword [rsp + 0x20], xmm1
call fcn.140024e40
mov rdi, qword [rsi + 0x40c8]
movzx ebp, al
cmp word [rdi + 0xd8], 1
mov dword [rdi + 0x90], r14d
jne 0x14001044b
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, r14d
lea rdx, [0x1400ef8d9]
not r9d
lea r10, [0x1400f0b50]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140010478
cmp byte [rdx], r8b
jne 0x140010478
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140010465
not ebx
cmp dword [rsi + 0x413c], ebx
jne 0x1400104a8
xor edx, edx
xor ecx, ecx
call fcn.140035780
cmp dword [rsi + 0x4c14], r14d
jne 0x1400104f3
test r15d, r15d
js 0x1400104f3
cmp word [rdi + 0x174], 0
jne 0x1400104c9
cmp byte [rdi + 0x17a], 0
je 0x1400104f3
xor edx, edx
mov rcx, rdi
call fcn.14003f9e0
xor edx, edx
mov rcx, rdi
call fcn.140047c90
mov rdx, rdi
mov ecx, ebx
call fcn.140035780
mov eax, dword [rsi + 0x4c48]
mov dword [rsi + 0x4168], eax
mov rbx, qword [rsp + 0x68]
movzx eax, bpl
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14002fff0
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 0x14003004d
lea rbx, [0x1400f0b50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140030034
cmp r10, 2
jb 0x140030034
cmp byte [r9], r8b
jne 0x140030034
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 0x140030010
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14003008f
lea rbx, [0x1400f0b50]
cmp r8b, 0x23
jne 0x140030073
cmp byte [r9], r8b
jne 0x140030073
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 0x140030060
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140030230
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140030265
mov r8d, 0x8c9
lea rdx, str.C:UsersNOinsDesktopIMG_BASE_0.3_thirdpartyimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x140030270
mov qword [rsi], r14
lea rdx, [0x1400fc648]
mov rcx, rbx
call fcn.1400300a0
mov rbx, rax
test rax, rax
jne 0x140030298
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400303c2
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 0x1400303c2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400303c2
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400303c2
cmp rdi, 0xffffffffffffffff
je 0x1400303c2
mov rcx, rdi
call fcn.140036000
mov rbp, rax
test rax, rax
je 0x1400303c2
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 0x1400303af
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1401ba000]
test r8, r8
je 0x1400303a4
movsx rdx, word [r8 + 0x5460]
lea rcx, [r8 + 0x5464]
mov r9d, dword [r8 + 0x4010]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140030399
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5460], cx
movsx rax, cx
lea rcx, [r8 + 0x5464]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x545c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400303cb
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400303bd
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400303cd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140039890
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r9, qword [0x1401ba000]
mov r14, r8
movaps xmmword [rsp + 0x30], xmm6
mov ebp, edx
mov rsi, rcx
mov rdi, r9
mov rbx, qword [r9 + 0x40c8]
test edx, edx
jne 0x1400398e5
mov r8d, 0x170f
lea rdx, str.C:UsersNOinsDesktopIMG_BASE_0.3_thirdpartyimguiimgui.cpp
lea rcx, str.id___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [0x1401ba000]
or dword [rdi + 0x4ae8], 0x100
mov dword [rdi + 0x4b20], 1
mov rax, qword [r9 + 0x40c8]
cmp qword [rax + 0x1c0], 0
jne 0x140039919
cmp qword [r9 + 0x4ee8], 0
mov ecx, 0x268
je 0x14003991e
mov ecx, 0x238
movss xmm2, dword [rax + rcx]
movss xmm3, dword [rax + rcx + 4]
lea rcx, [rsp + 0x60]
subss xmm3, dword [rax + 0x11c]
subss xmm2, dword [rax + 0x118]
mov rdx, qword [r14]
call fcn.140044c50
or dword [r9 + 0x4ae8], 2
lea rcx, [rsp + 0x60]
movsd xmm3, qword [rsp + 0x60]
xor edx, edx
movsd qword [r9 + 0x4b08], xmm3
mov dword [r9 + 0x4af0], 1
mov r9, qword [rbx + 8]
test rsi, rsi
je 0x14003998f
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rsi
call fcn.14002fe50
jmp 0x14003999f
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.14002fe50
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x3958]
mov r8d, 0x1000107
call fcn.14003c7f0
mov rsi, qword [rdi + 0x40c8]
movzx r14d, al
movss dword [rdi + 0x3958], xmm6
cmp word [rsi + 0xd8], 1
mov dword [rsi + 0x90], ebp
jne 0x1400399e9
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, ebp
lea rdx, [0x1400ef8d9]
not r9d
lea r10, [0x1400f0b50]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140039a16
cmp byte [rdx], r8b
jne 0x140039a16
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140039a03
not ebx
cmp dword [rdi + 0x413c], ebx
jne 0x140039a46
xor edx, edx
xor ecx, ecx
call fcn.140035780
cmp dword [rdi + 0x4c14], ebp
jne 0x140039a8b
cmp word [rsi + 0x174], 0
jne 0x140039a61
cmp byte [rsi + 0x17a], 0
je 0x140039a8b
xor edx, edx
mov rcx, rsi
call fcn.14003f9e0
xor edx, edx
mov rcx, rsi
call fcn.140047c90
mov rdx, rsi
mov ecx, ebx
call fcn.140035780
mov eax, dword [rdi + 0x4c48]
mov dword [rdi + 0x4168], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140040a00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x140040a3c
mov r8d, 0x833
lea rdx, str.C:UsersNOinsDesktopIMG_BASE_0.3_thirdpartyimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x110]
lea rdx, [0x1400f0b50]
movsxd r8, dword [rsi + 0x108]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x4120], ebx
jne 0x140040ab7
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14004d0b0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret