joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005d8a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbp, qword [rcx + 0x258]
lea r8, [rsp + 0x20]
mov rsi, qword [rcx]
lea rdx, [rsp + 0x30]
mov rdi, rcx
mov dword [rsp + 0x20], 0x80
mov rcx, rbp
mov rbx, 0xffffffffffffffff
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x18005d91a
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.18003b860
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x18005d93f
lea rdx, str.Error_accept__ing_server_connect
call fcn.18003aca0
lea eax, [rbx + 0x1f]
jmp 0x18005d9bb
lea rdx, str.Connection_accepted_from_server_n
call fcn.18003ae20
and dword [rdi + 0x3d4], 0xfffff7ff
mov edx, 1
mov rcx, rbx
mov qword [rdi + 0x258], rbx
call fcn.180065720
mov byte [rdi + 0x271], 1
cmp qword [rsi + 0x720], 0
je 0x18005d9b9
mov dl, 1
mov rcx, rsi
call fcn.18002c2f0
mov rcx, qword [rsi + 0x728]
mov r8d, 1
mov rdx, rbx
call qword [rsi + 0x720]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call fcn.18002c2f0
test ebx, ebx
je 0x18005d9b9
mov rcx, rdi
call fcn.18005dee0
mov eax, Ordinal_46
jmp 0x18005d9bb
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1800264d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x18005eb30
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
add rcx, 0x760
test dword [rax + 0xe68], 0x200
jne 0x18005eb58
cmp dword [rax + 0x9e8], 0
je 0x18005eb84
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x18005eb84
lea rdx, str.MDTM__s
call fcn.18006d9c0
test eax, eax
jne 0x18005eb91
mov dword [rbx + 0x81c], 0x12
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.18005f9c0
add rsp, 0x20
pop rbx
ret
Function at 0x18005f350
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx]
mov rbx, rcx
mov rax, qword [r8 + 0x1e0]
cmp dword [rax + 0x20], 0
je 0x18005f385
mov r8d, reloc.WS2_32.dll_listen
mov dword [rcx + 0x81c], 0xd
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.18005f490
mov eax, dword [r8 + 0xe68]
bt eax, 0xe
jae 0x18005f39e
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.18005fec0
bt eax, 0x11
jae 0x18005f439
mov rcx, qword [rcx + 0x7e8]
test rcx, rcx
jne 0x18005f3f3
mov r8, qword [r8 + 0xbe8]
test r8, r8
jne 0x18005f3d6
bt eax, 0xd
lea r8, str.LIST
lea rax, str.NLST
cmovb r8, rax
lea rcx, [rbx + 0x760]
lea rdx, str.PRET__s
call fcn.18006d9c0
test eax, eax
je 0x18005f429
add rsp, 0x20
pop rbx
ret
mov r8, rcx
lea rcx, [rbx + 0x760]
bt eax, 0x1d
jae 0x18005f419
lea rdx, str.PRET_STOR__s
call fcn.18006d9c0
test eax, eax
je 0x18005f429
add rsp, 0x20
pop rbx
ret
lea rdx, str.PRET_RETR__s
call fcn.18006d9c0
test eax, eax
jne 0x18005f443
mov dword [rbx + 0x81c], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.18005fe30
add rsp, 0x20
pop rbx
ret

Function at 0x18005f780
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
mov rdx, qword [rax + 0x1e0]
cmp dword [rdx + 0x20], 0
je 0x18005f7cd
cmp qword [rcx + 0x7e8], 0
je 0x18005f7cd
add rcx, 0x760
lea rdx, str.REST__d
xor r8d, r8d
call fcn.18006d9c0
test eax, eax
jne 0x18005f7d7
mov dword [rbx + 0x81c], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.18005f350
add rsp, 0x20
pop rbx
ret

Function at 0x18005f960
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x760
mov rax, qword [rbx]
mov rdx, qword [rax + 0x1e0]
cmp dword [rdx + 0x20], 1
jne 0x18005f9ac
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x18005f9ac
lea rdx, str.SIZE__s
call fcn.18006d9c0
test eax, eax
jne 0x18005f9b9
mov dword [rbx + 0x81c], 0x17
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.18005f780
add rsp, 0x20
pop rbx
ret

Function at 0x18005f9c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rdx, qword [rcx]
mov r9, rcx
mov ecx, dword [rdx + 0xe68]
bt ecx, 0x1c
jae 0x18005fa1e
cmp qword [r9 + 0x7e8], 0
je 0x18005fa1e
movsx eax, byte [r9 + 0x80c]
shr ecx, 0xb
not cl
and ecx, 1
shl ecx, 3
or ecx, 0x41
cmp eax, ecx
je 0x18005fa1e
mov rax, qword [rdx + 0x1e0]
mov r8d, reloc.WS2_32.dll_send
mov rcx, r9
mov dword [rax + 0x20], 1
mov edx, dword [rdx + 0xe68]
shr edx, 0xb
and dl, 1
jmp fcn.18005e1a0
mov rcx, r9
jmp fcn.18005f960
Function at 0x18005fa30
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea eax, [rdx - 0xc8]
mov rsi, rcx
mov rcx, qword [rcx]
mov edi, r8d
cmp eax, 0x64
jb 0x18005fa74
lea rdx, str.Couldnt_set_desired_mode
call fcn.18003aca0
lea eax, [rbx + 0x11]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp edx, 0xc8
je 0x18005fa8b
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.18003ae20
mov qword [rsp + 0x48], rbp
cmp edi, 0x13
jne 0x18005faa2
mov rcx, rsi
call fcn.18005f960
jmp 0x18005fbff
cmp edi, 0x14
jne 0x18005fbe1
mov rbp, qword [rsi]
mov rax, qword [rbp + 0x1e0]
mov rdi, qword [rax + 0x10]
mov rax, rbx
mov qword [rsp + 0x40], rbx
cmp dword [rbp + 0xb80], 2
jne 0x18005fb39
test rdi, rdi
je 0x18005fb39
cmp byte [rdi], al
je 0x18005fb39
mov edx, Ordinal_50
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x18005fb34
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdi + rax], bl
jne 0x18005faf0
cmp byte [rax + rdi - 1], 0x2f
je 0x18005fb0f
mov edx, Ordinal_50
mov rcx, rdi
call sub.VCRUNTIME140.dll_strrchr
sub rax, rdi
mov byte [rsp + 0x28], 1
lea r9, [rsp + 0x40]
mov r8, rax
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov rcx, rbp
call fcn.18004fd90
test eax, eax
jne 0x18005fbff
mov rax, qword [rsp + 0x40]
mov rdx, qword [rbp + 0xbe8]
test rdx, rdx
jne 0x18005fb61
test dword [rbp + 0xe68], 0x2000
lea rcx, str.NLST
lea rdx, str.LIST
cmovne rdx, rcx
test rax, rax
lea r8, [0x180084ef0]
mov r9, r8
lea rcx, [0x18007dc04]
cmovne r8, rcx
cmovne r9, rax
lea rcx, [0x180079068]
call fcn.18003dff0
mov rbp, rax
test rax, rax
jne 0x18005fba1
mov rcx, qword [rsp + 0x40]
call qword [fcn.180072a53]
lea ebx, [rbp + 0x1b]
jmp 0x18005fc01
lea rcx, [rsi + 0x760]
mov r8, rbp
lea rdx, [0x18007db6c]
call fcn.18006d9c0
mov rcx, qword [rsp + 0x40]
mov edi, eax
call qword [fcn.180072a53]
mov rcx, rbp
call qword [fcn.180072a53]
test edi, edi
je 0x18005fbd5
mov ebx, edi
jmp 0x18005fc01
mov dword [rsi + 0x81c], 0x1f
jmp 0x18005fc01
cmp edi, 0x15
jne 0x18005fbec
lea r8d, [rdi - 8]
jmp 0x18005fbf5
cmp edi, 0x16
jne 0x18005fc01
lea r8d, [rdi - 8]
mov dl, 1
mov rcx, rsi
call fcn.18005f490
mov ebx, eax
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18006d220
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x40
mov rbp, r8
mov rsi, rdx
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18006d240
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x50], rdi
cmp rbx, rax
ja 0x18006d364
test rbx, rbx
je 0x18006d272
lea rcx, [rbx + rbx]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
jmp 0x18006d27f
lea rcx, [0x180084ef0]
call qword [case.0x180030799.0]
mov rdi, rax
test rax, rax
je 0x18006d364
xor ecx, ecx
test rbx, rbx
je 0x18006d2b4
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rsi]
mov byte [rdi + rcx*2], al
mov byte [rdi + rcx*2 + 1], 0
inc rcx
cmp rcx, rbx
jb 0x18006d2a0
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x18006d34f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x18006d342
mov rcx, qword [rsp + 0x30]
lea r8d, [rbx + rbx]
xor r9d, r9d
mov dword [rsp + 0x68], reloc.WS2_32.dll_recv
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x68]
mov r8, rbp
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, rdi
mov dword [rbp + 0x10], eax
mov byte [rbp + 0x14], al
call qword [fcn.180072a53]
xor eax, eax
jmp 0x18006d369
mov eax, reloc.WLDAP32.dll_Ordinal_27
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
Function at 0x18006d380
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r8
mov dword [rbp - 0x40], 8
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000000
mov rsi, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x18006d4b7
movzx edx, byte [rdi + 1]
movzx ecx, byte [rdi]
movzx eax, dl
movzx r8d, byte [rdi + 5]
shr al, 1
mov byte [rbp - 0x1c], cl
shl cl, 7
or al, cl
shl dl, 6
movzx ecx, byte [rdi + 2]
mov byte [rbp - 0x1b], al
movzx eax, cl
shr al, 2
or al, dl
shl cl, 5
movzx edx, byte [rdi + 3]
mov byte [rbp - 0x1a], al
movzx eax, dl
shr al, 3
or al, cl
shl dl, 4
movzx ecx, byte [rdi + 4]
mov byte [rbp - 0x19], al
movzx eax, cl
shr al, 4
or al, dl
shl cl, 3
mov byte [rbp - 0x18], al
movzx eax, r8b
shr al, 5
or al, cl
shl r8b, 2
movzx ecx, byte [rdi + 6]
mov byte [rbp - 0x17], al
movzx eax, cl
add cl, cl
shr al, 6
or al, r8b
mov byte [rbp - 0x15], cl
mov qword [rsp + 0xa0], r14
lea rcx, [rbp - 0x1c]
xor r14d, r14d
mov byte [rbp - 0x16], al
mov dword [rbp - 0x28], 0x208
mov dword [rbp - 0x24], 0x6601
mov dword [rbp - 0x20], 8
lea edx, [r14 + 8]
call fcn.180071100
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea r8d, [r14 + 0x14]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
lea rdx, [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov r14, qword [rsp + 0xa0]
test eax, eax
jne 0x18006d4bb
mov rcx, qword [rbp - 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x18006d500
mov rax, qword [rsi]
xor r9d, r9d
mov rcx, qword [rbp - 0x30]
xor r8d, r8d
mov qword [rbx], rax
xor edx, edx
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp - 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800264d0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800728c0
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 0x180072902
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 0x180072949
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 0x1800729a2
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 0x180072960
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1800729e3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x18008304a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x18008304b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1800729b0
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 0x5954f0
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
xor rax, rax
xor rcx, rcx
sub edx, 1
cmp ecx, edx
jg 0x595532
add edx, 1
mov r9d, eax
and r9w, 0xf800
movzx r9d, r9w
shr r9d, 0xb
shl eax, 5
or r9w, ax
mov eax, r9d
movzx r9w, byte [r8]
xor ax, r9w
add r8, 1
add ecx, 1
cmp ecx, edx
jne 0x595503
nop
ret
Function at 0x140024408
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x140024455
cmp rcx, 0xffffffffffffffff
je 0x140024455
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002444d
cmp dword [rcx + 0x3c], edx
jl 0x14002444d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14002444d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140024455
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140f548d8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f548e2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f5490b
pop rbp
sub rbp, 0x33
sub rbp, 0xf548d8
sub rsp, 0x20
jmp 0x140f5492a
mov rax, 0xf548d8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff995ae69e
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f54949
jmp 0x140f54960
invalid
Function at 0x1400031e0
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 0x14000323d
lea rbx, [0x140051e30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003224
cmp r10, 2
jb 0x140003224
cmp byte [r9], r8b
jne 0x140003224
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 0x140003200
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000327f
lea rbx, [0x140051e30]
cmp r8b, 0x23
jne 0x140003263
cmp byte [r9], r8b
jne 0x140003263
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 0x140003250
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400033c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400033da
mov qword [r8], 0
lea rdx, [0x1400517fc]
call fcn.140003290
mov rbx, rax
test rax, rax
jne 0x1400033fa
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 0x1400034d3
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 0x1400034d3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400034d3
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 0x1400034d3
cmp rdi, 0xffffffffffffffff
je 0x1400034d3
mov rax, qword [0x14005f9d0]
test rax, rax
je 0x140003470
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 0x1400034d3
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 0x1400034c0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005f9d0]
test rax, rax
je 0x1400034b5
dec dword [rax + 0x3ac]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400034dc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400034ce
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400034de
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 0x140005d50
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x108]
lea r8, [0x140051e30]
movsxd rcx, dword [rcx + 0x100]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x14005f9d0]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
shr ebx, 8
xor rcx, r11
xor ebx, dword [r8 + rcx*4]
not ebx
cmp dword [rax + 0x1d7c], ebx
jne 0x140005ddc
mov dword [rax + 0x1d80], ebx
cmp dword [rax + 0x1db8], ebx
jne 0x140005deb
mov byte [rax + 0x1dbc], 1
cmp dword [rax + 0x1d64], ebx
jne 0x140005e02
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1400240a0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140011c00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov r8, qword [0x14005f9d0]
lea r10, [0x140051e30]
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 0x140011ca1
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1400240a0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
lea rcx, [rdi + 0x100]
call fcn.140024bd0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140012d50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14005f9d0]
mov edi, edx
cmp byte [rbx + 0x212d], 0
jne 0x140012db1
cmp byte [rbx + 0x212e], 0
jne 0x140012db1
movsx r9d, word [rbx + 0x321e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003160
test dil, 1
je 0x140012edb
jmp 0x140012e43
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 [0x140056404]
mov edx, 0x10
mulss xmm1, dword [0x1400563f8]
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 [0x1400562dc]
or dword [rbx + 0x1e28], 0x41
movss dword [rbx + 0x1e88], xmm0
call fcn.140003160
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012e93
lea r11, [0x140051e30]
cmp r9b, 0x23
jne 0x140012e76
cmp byte [r8], r9b
jne 0x140012e76
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 0x140012e63
not ecx
call fcn.14000b6b0
test rax, rax
je 0x140012edb
cmp byte [rax + 0xc7], 0
je 0x140012edb
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, 0x10
movsx r9d, word [rbx + 0x321e]
call fcn.140003160
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000e290
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004e840
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018090
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 0x140018137
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400180ea
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.1400255b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400039c0
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, [0x14005f9c8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001813f
mov rcx, rbx
call fcn.1400039c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140018580
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 0x1400185d2
lea r11, [0x140051e30]
cmp r9b, 0x23
jne 0x1400185b5
cmp byte [r8], r9b
jne 0x1400185b5
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 0x1400185a2
mov r11, qword [0x14005f9d0]
xor r9d, r9d
not eax
mov r10, qword [r11 + 0x32d0]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x14001861e
cmp dword [r9], eax
je 0x140018627
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 0x1400185f5
mov rcx, rbx
pop rbx
jmp fcn.140018490
test r9, r9
je 0x14001861e
mov rax, r9
pop rbx
ret