joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d8828
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400ce32c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400d88c9
cmp ebx, dword [rsp + 0x30]
je 0x1400d88c2
test esi, esi
je 0x1400d88c2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400d889d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400d88aa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400d8887
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400d88ae
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400d88cb
mov eax, 1
jmp 0x1400d88cb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d8ce0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400d8d00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400bdaec
or eax, 0xffffffff
jmp 0x1400d8d02
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400d965c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400d96a6
call fcn.1400bdb58
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1400bdb78
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1400b5788
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400ab140
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400d96b1
lea eax, [rbx + 1]
jmp 0x1400d9693
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400d9691
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400d9693
Function at 0x1400da8d4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400b5e40
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400da95e
cmp byte [rbp - 0x21], r15b
je 0x1400da959
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400da994
call fcn.1400cbdfc
test eax, eax
jne 0x1400da980
cmp byte [rbp - 0x21], r15b
je 0x1400da978
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400da994
cmp byte [rbp - 0x21], r15b
je 0x1400da991
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400b58d8
test eax, eax
jne 0x1400daa34
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400b5e40
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400da9d3
cmp byte [rbp - 0x21], r15b
je 0x1400daa08
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400daa08
call fcn.1400cbdfc
test eax, eax
jne 0x1400da9f4
cmp byte [rbp - 0x21], r15b
je 0x1400da9ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400daa08
cmp byte [rbp - 0x21], r15b
je 0x1400daa05
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400b58d8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400daa34
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400daa37
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400daa45
mov rcx, rdi
call fcn.1400cbaa0
cmp byte [rbp + 0x3f], r15b
je 0x1400daa54
mov rcx, qword [rbp + 0x27]
call fcn.1400cbaa0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400db790
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400db7b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400db7b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14003b3c5
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400863d0
xor r8d, r8d
xor edx, edx
jmp 0x1400860b4

Function at 0x14003c1fd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400aeb20
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400d0008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1400d3178]
xor r11d, r11d
lea rdi, [0x1400bba84]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x1400aeb90
mov rax, 0xfffffffffffffffe
jmp 0x1400aecdd
cmp word [r10 + 6], r11w
jne 0x1400aebff
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400aebba
test r14, r14
je 0x1400aebab
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400aecdd
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400aebc8
mov r8b, 2
jmp 0x1400aebe6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400aebd6
mov r8b, 3
jmp 0x1400aebe6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400aecd2
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400aec28
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400aecd2
cmp bl, bpl
jb 0x1400aecd2
cmp bl, r8b
jae 0x1400aecd2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400aec55
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400aecd2
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1400aec37
cmp r9, rbp
jae 0x1400aec81
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400aeb84
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400aecd2
cmp edx, 0x110000
jae 0x1400aecd2
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400aecd2
test r14, r14
je 0x1400aecc0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.14003db20
jmp 0x1400aecdd
mov rdx, rsi
mov rcx, r10
call fcn.14003e192
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003c694
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003c24d
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140043a08
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140043a95
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140043a95
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140043a95
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140043a7c
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140043a76
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140043a7e
add rdx, 0x28
jmp 0x140043a5b
xor edx, edx
test rdx, rdx
jne 0x140043a87
xor al, al
jmp 0x140043a9b
cmp dword [rdx + 0x24], 0
jge 0x140043a91
xor al, al
jmp 0x140043a9b
mov al, 1
jmp 0x140043a9b
xor al, al
jmp 0x140043a9b
add rsp, 0x18
ret

Function at 0x14003c518
Capabilities:
Query environment variable

Disassembly:
jmp 0x140099fd0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14009a057
mov rsi, rbx
cmp word [rax], bp
je 0x14009a016
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14009a000
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140099ffc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003b037
mov rdi, rax
test rax, rax
je 0x14009a044
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003c699
mov rbp, rdi
xor ecx, ecx
call fcn.14003b177
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14003c7e8
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140051b84
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400bca48]
mov ecx, 2
lea r8, [0x1400bca40]
lea rdx, str.FlsGetValue
call fcn.140051654
mov ecx, ebx
test rax, rax
je 0x140051bbe
add rsp, 0x20
pop rbx
jmp qword [0x1400de020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14003c937
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140051ad4
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400bca08]
xor ecx, ecx
lea r8, [0x1400bca00]
lea rdx, str.FlsAlloc
call fcn.140051654
test rax, rax
je 0x140051b0d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400de020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x14003c9aa
Capabilities:
Get geographical location

Disassembly:
jmp 0x14008ef98
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1400bdfc8]
mov rbp, rcx
lea r8, [0x1400bdfc0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.14008e4b4
test rax, rax
je 0x14008eff8
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400de030]
jmp 0x14008f012
xor edx, edx
mov rcx, rbp
call fcn.14003c29d
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14003c9be
Capabilities:
Terminate process

Disassembly:
jmp 0x1400431d8
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14003cb08
Capabilities:
Parse pe header

Disassembly:
jmp 0x140086368
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400860b4

Function at 0x14003cfd1
Capabilities:
Parse pe header

Disassembly:
jmp 0x140043fbc
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140044006
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140044006
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140044006
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140044006
cmp dword [rcx + 0x84], 0xe
jbe 0x140044006
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140044008
xor al, al
add rsp, 0x28
ret
Function at 0x14003d21a
Capabilities:
Create process memory minidump

Disassembly:
jmp 0x140041fd7
jmp qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
Function at 0x14003d44f
Capabilities:
Terminate process

Disassembly:
jmp 0x14008d7d0
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14008d7ea
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.14003db2a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14003dc15
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140051bdc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400bca68]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400bca60]
call fcn.140051654
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140051c1c
call qword [0x1400de020]
jmp 0x140051c22
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003dda0
Capabilities:
Parse pe header

Disassembly:
jmp 0x140086358
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140086123
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140086123
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140086123
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140086123
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140086123
cmp dword [rcx + 0x84], 0xe
jbe 0x140086123
cmp dword [rcx + 0xf8], 0
je 0x140086123
mov ecx, ebx
call fcn.14008629c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140085e0c
nop
cmp dword [rbp + 0x20], 0
je 0x140086171
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400861ac
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400860b4
Function at 0x140002e50
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 0x140002ead
lea rbx, [0x1400d1c60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002e94
cmp r10, 2
jb 0x140002e94
cmp byte [r9], r8b
jne 0x140002e94
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 0x140002e70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002eef
lea rbx, [0x1400d1c60]
cmp r8b, 0x23
jne 0x140002ed3
cmp byte [r9], r8b
jne 0x140002ed3
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 0x140002ec0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000304a
mov qword [r8], 0
lea rdx, [0x1400d16b8]
call fcn.140002f00
mov rbx, rax
test rax, rax
jne 0x14000306a
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 0x140003141
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 0x140003141
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003141
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 0x140003141
cmp rdi, 0xffffffffffffffff
je 0x140003141
mov rax, qword [0x14010c570]
test rax, rax
je 0x1400030de
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 0x140003141
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 0x14000312e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14010c570]
test rax, rax
je 0x140003123
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000314a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000313c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000314c
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 0x140010b20
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rax, qword [0x14010c570]
lea r10, [0x1400d1c60]
mov r9, qword [rax + 0x1b90]
movsxd rdx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
not r8d
movzx eax, cl
movzx edx, r8b
shr r8d, 8
xor rdx, rax
movzx eax, byte [rsp + 0x31]
xor r8d, dword [r10 + rdx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x32]
xor r8d, dword [r10 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor rcx, rax
movzx eax, byte [rsp + 0x33]
xor r8d, dword [r10 + rcx*4]
lea rcx, [r9 + 0x108]
movzx edx, r8b
xor rdx, rax
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
lea rdx, [rsp + 0x30]
not r8d
mov dword [rsp + 0x30], r8d
call fcn.140021cd0
add rsp, 0x28
ret

Function at 0x1400119a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14010b0c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14010c570]
mov edi, edx
cmp byte [rbx + 0x1ef5], 0
jne 0x140011a00
cmp byte [rbx + 0x1ef6], 0
jne 0x140011a00
mov r9d, dword [rbx + 0x2f38]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140002dd0
test dil, 1
je 0x140011b29
jmp 0x140011a8f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2f38]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400f8bd0]
mulss xmm1, dword [0x1400f8bc0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1c5c], rax
mov dword [rbx + 0x1c44], 1
movss dword [rbx + 0x1c54], xmm0
mov byte [rbx + 0x1c7c], 1
movss dword [rbx + 0x1c58], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x1400f8b40]
or dword [rbx + 0x1c40], 0x41
movss dword [rbx + 0x1ca0], xmm0
call fcn.140002dd0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140011ae0
lea r11, [0x1400d1c60]
nop
cmp r9b, 0x23
jne 0x140011ac3
cmp byte [r8], r9b
jne 0x140011ac3
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 0x140011ab0
not ecx
call fcn.14000a620
test rax, rax
je 0x140011b29
cmp byte [rax + 0xbf], 0
je 0x140011b29
mov byte [rax + 0xc6], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xdc], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2f38]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2f38]
call fcn.140002dd0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000d170
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400bc650
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400165a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x14010c570]
cmp byte [rbx + 0x3000], 0
je 0x14001668c
cmp qword [rbx + 0x3008], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3010]
je 0x140016674
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x14001661b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400229c0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.1400036f0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3008]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3018]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14010c568]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1400036f0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret

Function at 0x140016910
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 0x140016962
lea r11, [0x1400d1c60]
cmp r9b, 0x23
jne 0x140016945
cmp byte [r8], r9b
jne 0x140016945
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 0x140016932
mov r11, qword [0x14010c570]
xor r9d, r9d
mov r10, qword [r11 + 0x2fe8]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x1400169ae
not eax
cmp dword [r9], eax
je 0x1400169b7
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x2fe0]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140016985
mov rcx, rbx
pop rbx
jmp fcn.140016820
mov rax, r9
pop rbx
ret