joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004558c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor r11d, r11d
mov qword [rsp + 0x20], rcx
mov r9, rcx
test rcx, rcx
jne 0x1400455ef
lea edx, [rcx + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400438bc
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call fcn.1400438bc
jmp 0x140045777
mov rcx, qword [rcx + 0x28]
mov rdx, r11
mov eax, dword [rcx]
add rcx, 4
bswap eax
mov dword [rsp + 0x50], eax
mov eax, dword [rcx]
lea rcx, [rcx + 4]
bswap eax
mov dword [rsp + rdx*4 + 0x54], eax
inc rdx
cmp rdx, 0xf
jl 0x140045602
lea rbx, [rbp - 0x70]
mov edi, 0x30
lea r10, [rbp - 0x78]
mov ecx, dword [r10 - 0x34]
mov r8d, ecx
mov edx, dword [r10]
mov eax, ecx
rol r8d, 0xe
lea r10, [r10 + 4]
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 - 0x3c]
add r8d, dword [r10 - 0x18]
mov dword [rbx], r8d
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x140045624
movups xmm0, xmmword [r9]
lea r12d, [rdi + 0x40]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rsp + 0x28], xmm0
mov edi, dword [rsp + 0x30]
mov esi, dword [rsp + 0x2c]
mov ebx, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x34]
movups xmmword [rsp + 0x38], xmm1
mov r13d, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x38]
mov eax, r10d
mov r8d, r10d
rol eax, 7
mov ecx, r10d
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, r14d
mov eax, r10d
mov edx, ebx
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, r15d
and eax, r10d
xor ecx, eax
lea rax, [0x1400709d0]
add r8d, ecx
mov ecx, esi
add r8d, dword [r11 + rax]
xor ecx, edi
add r8d, dword [rsp + r11 + 0x50]
lea r11, [r11 + 4]
add r8d, r13d
and ecx, ebx
mov eax, ebx
mov r13d, r14d
rol eax, 0xa
mov r14d, r15d
xor edx, eax
mov r15d, r10d
mov eax, ebx
lea r10d, [r9 + r8]
ror eax, 2
mov r9d, edi
xor edx, eax
mov eax, esi
and eax, edi
mov edi, esi
xor ecx, eax
mov esi, ebx
add edx, ecx
lea ebx, [rdx + r8]
sub r12, 1
jne 0x1400456a9
mov dword [rsp + 0x34], r9d
lea rcx, [rsp + 0x28]
mov r9, qword [rsp + 0x20]
lea edx, [r12 + 8]
sub rcx, r9
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x44], r13d
mov eax, dword [rcx + r9]
add dword [r9], eax
lea r9, [r9 + 4]
sub rdx, 1
jne 0x140045766
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140055f90
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400469a8
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1030
call fcn.140055f20
sub rsp, rax
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400469e4
xor eax, eax
jmp 0x140046a07
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400322b0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140055f90
add rsp, 0x1030
pop rbx
ret

Function at 0x140046b1c
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140046b91
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x38]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x80000000
mov ecx, 0xd
call qword [sym.imp.USER32.dll_ExitWindowsEx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140055f90
add rsp, 0x58
ret

Function at 0x140046f5c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x140046ffe
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140047194]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x140046fd4
lea rdx, str.CreateThread_failed
lea rcx, [0x140094860]
call fcn.14001bc8c
lea rcx, [0x140094860]
call fcn.14001bf78
lea edx, [rsi + 2]
lea rcx, [0x140094860]
call fcn.14001bc60
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x108]
mov edx, dword [0x14009eaf8]
test edx, edx
je 0x140046ff4
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x140046f78
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400563d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140056461
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140056461
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140056461
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140056445
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14005643f
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140056447
add rdx, 0x28
jmp 0x140056424
xor edx, edx
test rdx, rdx
jne 0x140056450
xor al, al
jmp 0x140056467
test dword [rdx + 0x24], 0x80000000
je 0x14005645d
xor al, al
jmp 0x140056467
mov al, 1
jmp 0x140056467
xor al, al
jmp 0x140056467
add rsp, 0x18
ret

Function at 0x14005e50c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14005e2e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005e2e0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005e2e0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005e2e0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005e2e0
cmp dword [rcx + 0x84], 0xe
jbe 0x14005e2e0
cmp dword [rcx + 0xf8], esi
je 0x14005e2e0
mov ecx, r14d
call fcn.14005e428
mov ecx, 2
call fcn.140062874
nop
cmp byte [0x14009f560], 0
jne 0x14005e3aa
mov r15d, 1
mov eax, r15d
xchg dword [0x14009f550], eax
test ebx, ebx
jne 0x14005e353
mov rdi, qword [0x140081ee0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14009f558]
cmp rcx, rax
je 0x14005e34a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400570f4]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14009f6c8]
jmp 0x14005e35f
cmp ebx, r15d
jne 0x14005e365
lea rcx, [0x14009f6e0]
call fcn.140060354
nop
test ebx, ebx
jne 0x14005e37c
lea rdx, [0x14006c618]
lea rcx, [0x14006c5f8]
call fcn.140060620
lea rdx, [0x14006c628]
lea rcx, [0x14006c620]
call fcn.140060620
movzx eax, byte [0x14009f560]
test esi, esi
cmove eax, r15d
mov byte [0x14009f560], al
jmp 0x14005e3aa
mov ecx, 2
call fcn.1400628c8
test esi, esi
jne 0x14005e3c1
mov ecx, r14d
call fcn.14005e3dc
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14005e270
Function at 0x14002d190
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002d19d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002d1ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14002d195
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14002d1c5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14002d1b2
sub eax, 3
jb 0x14002d1df
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14002d216
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14002d206
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14002d204
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14002d1f3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14002d152
jmp 0x14002d19d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x17e00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14002d262
cmp rsi, rcx
jae 0x14002d26a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14002d249
cmp al, 0x8f
ja 0x14002d249
cmp byte [rsi - 2], 0xf
je 0x14002d24f
sub al, 0xe8
cmp al, 1
ja 0x14002d233
cmp rsi, rcx
jae 0x14002d26a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14002d239
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002d26a
lodsb al, byte [rsi]
jmp 0x14002d249
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2b000]
mov eax, dword [rdi]
or eax, eax
je 0x14002d2d3
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2d1dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14002d277
jns 0x14002d2ac
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14002d2b6
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14002d2cd
mov qword [rbx], rax
add rbx, 8
jmp 0x14002d297
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14002d30d
cmp al, 0xef
ja 0x14002d2ff
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14002d2df
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14002d2ee
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14002d361
sub rsp, 0xffffffffffffff80
jmp 0x140005268
Function at 0x140002210
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140004650], rbx
je 0x14000225c
cmp rax, rbx
jne 0x14000224f
mov ebx, 1
mov esi, ebx
jmp 0x140002261
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002234
mov ebx, 1
mov eax, dword [0x140004658]
cmp eax, ebx
jne 0x140002277
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400022dc
mov eax, dword [0x140004658]
test eax, eax
jne 0x1400022d6
mov dword [0x140004658], ebx
lea r15, [0x1400033b8]
lea rdi, [0x1400033a0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400022c8
test eax, eax
jne 0x1400022cc
cmp qword [rdi], 0
je 0x1400022bd
mov rax, qword [rdi]
mov rcx, qword [0x140003380]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000229e
test eax, eax
je 0x1400022dc
mov eax, 0xff
jmp 0x1400023b8
mov dword [0x140004064], ebx
mov eax, dword [0x140004658]
cmp eax, ebx
jne 0x140002303
lea rdx, [0x140003398]
lea rcx, [0x140003388]
call sub.msvcrt.dll__initterm
mov dword [0x140004658], 2
test esi, esi
jne 0x140002310
xor eax, eax
xchg qword [0x140004650], rax
cmp qword [0x140004660], 0
je 0x140002344
lea rcx, [0x140004660]
call fcn.1400025c0
test eax, eax
je 0x140002344
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140004660]
mov r9, qword [0x140003380]
call r9
mov r8, qword [0x140004078]
mov rdx, qword [0x140004070]
mov ecx, dword [0x140004068]
call fcn.140001814
mov dword [0x140004060], eax
cmp dword [0x140004080], 0
jne 0x140002374
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140004064], 0
jne 0x140002389
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140004060]
jmp 0x1400023b8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140120000
add rsp, 0x28
jmp 0x140002210

Function at 0x1400024ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400024f8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400024f0
cmp dword [rcx + 0x3c], edx
jl 0x1400024f0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400024f0
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 0x1400024f8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400013bb
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14000d610
xor r9d, r9d
movabs rax, 0xcbf29ce484222325
test rdx, rdx
je 0x14000d644
movabs r10, 0x100000001b3
nop dword [rax]
movzx r8d, byte [r9 + rcx]
inc r9
xor rax, r8
imul rax, r10
cmp r9, rdx
jb 0x14000d630
ret
Function at 0x1400017a8
Capabilities:
Terminate process

Disassembly:
jmp 0x14001ea08
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 0x14001f298
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001f298
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001f2e2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001f2e2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001f2e2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001f2e2
cmp dword [rcx + 0x84], 0xe
jbe 0x14001f2e2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001f2e4
xor al, al
add rsp, 0x28
ret
Function at 0x140003410
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 0x14000346d
lea rbx, [0x1400dbcc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003454
cmp r10, 2
jb 0x140003454
cmp byte [r9], r8b
jne 0x140003454
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 0x140003430
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400034af
lea rbx, [0x1400dbcc0]
cmp r8b, 0x23
jne 0x140003493
cmp byte [r9], r8b
jne 0x140003493
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 0x140003480
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400035f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000360a
mov qword [r8], 0
lea rdx, [0x1400db9fc]
call fcn.1400034c0
mov rbx, rax
test rax, rax
jne 0x14000362a
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 0x140003701
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 0x140003701
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003701
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 0x140003701
cmp rdi, 0xffffffffffffffff
je 0x140003701
mov rax, qword [0x140108760]
test rax, rax
je 0x14000369e
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 0x140003701
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 0x1400036ee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140108760]
test rax, rax
je 0x1400036e3
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000370a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400036fc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000370c
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 0x140005820
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400dbcc0]
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 [0x140108760]
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 + 0x1c6c], ebx
jne 0x1400058ad
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x1400058bc
mov byte [rax + 0x1cac], 1
cmp dword [rax + 0x1c54], ebx
jne 0x1400058d3
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1400160a0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140010330
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140107080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140108760]
mov edi, ecx
cmp byte [rbx + 0x1fad], 0
jne 0x140010391
cmp byte [rbx + 0x1fae], 0
jne 0x140010391
movsx r9d, word [rbx + 0x308e]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003390
test dil, 1
je 0x1400104b8
jmp 0x14001041a
movss xmm1, dword [rbx + 0x1628]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x308e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400f3974]
mulss xmm1, dword [0x1400f3958]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1d30], rax
mov dword [rbx + 0x1d1c], 1
movss dword [rbx + 0x1d28], xmm0
movss dword [rbx + 0x1d2c], xmm1
movss xmm0, dword [rbx + 0x1684]
mulss xmm0, dword [0x1400f389c]
or dword [rbx + 0x1d18], 0x41
movss dword [rbx + 0x1d78], xmm0
call fcn.140003390
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140010470
lea r11, [0x1400dbcc0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140010453
cmp byte [r8], r9b
jne 0x140010453
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 0x140010440
not ecx
call fcn.14000a230
test rax, rax
je 0x1400104b8
cmp byte [rax + 0x8e], 0
je 0x1400104b8
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x308e]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x308e]
call fcn.140003390
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000c6f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c6740
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140014e70
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 + 0x3130], 0
lea rbx, [rcx + 0x3138]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140014f17
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140014eca
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.140016e30
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003cd0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3130]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3140]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140108758]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140014f1f
mov rcx, rbx
call fcn.140003cd0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140038220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140107080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140038266
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x140038256
cmp byte [rax], cl
jne 0x140038266
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x140038247
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400383ca
cmp byte [r8 + 1], dl
je 0x1400383ca
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400382a2
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400382ca
sub dl, 0x61
cmp dl, 0x19
ja 0x1400382bc
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400382ca
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140038285
jmp 0x1400382cd
inc r9
cmp r8, r9
jae 0x1400382ff
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400382f4
bt rdx, rax
jb 0x1400382fa
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400382e0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.140003390
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140038338
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140038330
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400383b8
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140038353
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140038369
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1400383a6
movss xmm2, dword [0x1400f3960]
cmp al, 0x39
ja 0x1400383a6
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140038380
cmp r9b, 0x2d
jne 0x1400383c5
xorps xmm1, xmmword [0x1400f3c60]
movaps xmm0, xmm1
jmp 0x1400383cd
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400383cd
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400c6740
add rsp, 0x90
pop rbx
ret