joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008e80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x140008ea4
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x140008f25
mov byte [rsp], 0
jmp 0x140008ebd
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x140008f20
movzx eax, byte [rsp + 1]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 0x20]
shl edx, 2
movzx r8d, byte [rsp + 1]
shl r8d, 2
lea edx, [r8 + rdx*4]
movzx r8d, byte [rsp]
add edx, r8d
movsxd rdx, edx
mov r8, qword [rsp + 0x30]
movzx edx, byte [r8 + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 1]
mov r8, qword [rsp + 0x28]
lea rdx, [r8 + rdx*4]
mov byte [rdx + rcx], al
jmp 0x140008eb4
jmp 0x140008e99
add rsp, 0x18
ret

Function at 0x140008f30
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x140008f4b
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x140008fa9
mov byte [rsp], 0
jmp 0x140008f64
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x140008fa7
movzx eax, byte [rsp]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp + 1]
movzx eax, byte [rax + rcx]
lea rcx, str.cw
movzx edx, byte [rsp]
mov r8, qword [rsp + 0x20]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rsp + 1]
movzx eax, byte [rcx + rax]
mov byte [rdx + r8], al
jmp 0x140008f5b
jmp 0x140008f40
add rsp, 0x18
ret

Function at 0x14000a350
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x14000a36b
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x14000a3c9
mov byte [rsp], 0
jmp 0x14000a384
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x14000a3c7
movzx eax, byte [rsp]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp + 1]
movzx eax, byte [rax + rcx]
lea rcx, [0x1400185c0]
movzx edx, byte [rsp]
mov r8, qword [rsp + 0x20]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rsp + 1]
movzx eax, byte [rcx + rax]
mov byte [rdx + r8], al
jmp 0x14000a37b
jmp 0x14000a360
add rsp, 0x18
ret

Function at 0x14000a850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp], 0
jmp 0x14000a86d
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 0x10
jge 0x14000a8a0
movzx eax, byte [rsp]
movzx ecx, byte [rsp]
mov rdx, qword [rsp + 0x28]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x20]
movzx eax, byte [rdx + rax]
xor eax, ecx
movzx ecx, byte [rsp]
mov rdx, qword [rsp + 0x20]
mov byte [rdx + rcx], al
jmp 0x14000a864
add rsp, 0x18
ret
Function at 0x14000b3f0
Capabilities:
Create http request
Delete file
Download and write a file
Get common file path
Get file size
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub rsp, 0x8b8
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x14001c400]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000b644
mov dword [rsp + 0x44], 0xc350
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 5
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x840c0200
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__tool.zaonao.cn_favicon.ico
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14000b630
lea rdx, [rsp + 0x2a0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14000b630
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, [0x14001c4e8]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14000b630
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
je 0x14000b625
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x4b0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000b5cf
cmp dword [rsp + 0x40], 0
jbe 0x14000b5cf
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x4b0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
jmp 0x14000b566
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14000b60c
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x48]
cmp rax, qword [rsp + 0x88]
jne 0x14000b60c
mov dword [rsp + 0x58], 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x50], 0
mov eax, dword [rsp + 0x58]
add rsp, 0x8b8
ret
Function at 0x14000c020
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
nop
nop
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
nop
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
ret
Function at 0x14000c110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov dword [rsp + 0x30], 0xffffffff
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xc8]
cmp dword [rax], 0
je 0x14000c16c
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc8]
mov dword [rax], 0
jmp 0x14000c181
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x24]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov r8d, 0x58
lea rdx, [0x140018750]
lea rcx, [rsp + 0x50]
call fcn.14000e700
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14000c1e5
mov eax, dword [rsp + 0x20]
jmp 0x14000c34d
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0
cmp dword [rsp + 0x68], 0
jne 0x14000c235
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x28], eax
jbe 0x14000c215
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
jmp 0x14000c21d
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x58], 0
jne 0x14000c270
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jbe 0x14000c250
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
jmp 0x14000c258
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000c3a0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14000c1fa
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xd8]
mov ecx, dword [rcx]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xd8]
mov dword [rcx], eax
lea rax, [rsp + 0x24]
cmp qword [rsp + 0xc0], rax
je 0x14000c2ce
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x6c]
mov dword [rax], ecx
jmp 0x14000c2e4
cmp dword [rsp + 0x6c], 0
je 0x14000c2e4
cmp dword [rsp + 0x20], 0xfffffffb
jne 0x14000c2e4
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x50]
call fcn.14000e510
cmp dword [rsp + 0x20], 1
jne 0x14000c2ff
mov dword [rsp + 0x44], 0
jmp 0x14000c349
cmp dword [rsp + 0x20], 2
jne 0x14000c310
mov dword [rsp + 0x40], 0xfffffffd
jmp 0x14000c341
cmp dword [rsp + 0x20], 0xfffffffb
jne 0x14000c331
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
test eax, eax
je 0x14000c331
mov dword [rsp + 0x3c], 0xfffffffd
jmp 0x14000c339
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
add rsp, 0xb8
ret
Function at 0x1400110d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001111a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001111a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001111a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001111a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001111a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001111c
xor al, al
add rsp, 0x28
ret

Function at 0x140013290
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400132f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400132f2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x1400132f2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x1400132f2
cmp dword [rdx + 0x84], 0xe
jbe 0x1400132f2
cmp dword [rdx + 0xf8], 0
je 0x1400132f2
mov ecx, ebx
call fcn.140013150
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14001c898]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140012fd0
cmp dword [rsp + 0x60], 0
jne 0x140013335
mov ecx, ebx
call fcn.140013100
int3
add rsp, 0x40
pop rbx
ret

Function at 0x140013380
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400133dc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400133dc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400133dc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400133dc
cmp dword [rcx + 0x84], 0xe
jbe 0x1400133dc
cmp dword [rcx + 0xf8], 0
je 0x1400133dc
mov ecx, ebx
call fcn.140013150
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14001c898]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140012fd0
cmp dword [rsp + 0x60], 0
jne 0x14001341f
mov ecx, ebx
call fcn.140013100
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140013b30
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14001c5a8]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140013b6c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140010f38
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140013c28
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140013c8e
test ebx, ebx
jne 0x140013c8e
lea ecx, [rax + 2]
call fcn.140010f38
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1400178c0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x1414c6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1414c61df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1414c6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414c606f
add dl, dl
jne 0x1414c6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414c60f6
xor eax, eax
add dl, dl
jne 0x1414c60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414c61ad
add dl, dl
jne 0x1414c60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414c60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414c60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414c60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1414c60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1414c607e
mov eax, 1
add dl, dl
jne 0x1414c6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414c6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414c60fb
sub eax, ebx
mov ebx, 1
jne 0x1414c614c
mov ecx, 1
add dl, dl
jne 0x1414c612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414c613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414c6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414c607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1414c6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414c6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414c615d
cmp eax, 0x7d00
jae 0x1414c619b
cmp eax, 0x500
jb 0x1414c6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414c607e
cmp eax, 0x7f
ja 0x1414c619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414c607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1414c61d2
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 0x1414c607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180016c50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rdx]
mov rbx, rcx
movabs rcx, 0x100000001b3
movabs r8, 0xcbf29ce484222325
mov r9, qword [rax + 0x28]
nop dword [rax]
nop dword [rax + rax]
movsx rdx, byte [r9]
lea r9, [r9 + 1]
xor r8, rdx
imul r8, rcx
test dl, dl
jne 0x180016c80
mov rcx, qword [0x18006fc38]
mov rax, qword [0x18006fc40]
mov qword [rsp + 0x50], r8
cmp rcx, rax
je 0x180016ce0
nop dword [rax + rax]
cmp qword [rcx], r8
jne 0x180016cbb
cmp qword [rcx + 8], rbx
je 0x180016cc4
add rcx, 0x18
cmp rcx, rax
jne 0x180016cb0
cmp rcx, rax
je 0x180016ce0
lea rdx, [rcx + 0x18]
sub rax, rdx
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
sub qword [0x18006fc40], 0x18
lea rdx, [rsp + 0x50]
lea rcx, [0x18006fc50]
call fcn.1800179a0
mov rcx, qword [rax + 8]
cmp qword [rax], rcx
je 0x180016d61
mov rax, qword [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, qword [0x18006fc40]
cmp rdx, qword [0x18006fc48]
movss xmm0, dword [rax + 0x19238f8]
movss dword [rsp + 0x30], xmm0
je 0x180016d50
movups xmm0, xmmword [rsp + 0x20]
movsd xmm1, qword [rsp + 0x30]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
add qword [0x18006fc40], 0x18
add rsp, 0x40
pop rbx
ret
lea r8, [rsp + 0x20]
lea rcx, [0x18006fc38]
call fcn.180017c70
add rsp, 0x40
pop rbx
ret
Function at 0x180050be0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x140]
mov rdi, rcx
mov esi, r8d
mov rbx, rdx
movabs rcx, 0x100000001b3
movabs r10, 0xcbf29ce484222325
mov r11, qword [rax + 0x28]
nop word [rax + rax]
movsx r9, byte [r11]
lea r11, [r11 + 1]
xor r10, r9
imul r10, rcx
test r9b, r9b
jne 0x180050c20
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], r10
lea rcx, [0x18006fc50]
call fcn.1800179a0
mov rdx, qword [rax + 8]
cmp qword [rax], rdx
je 0x180050d24
movaps xmmword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x50]
lea rcx, [0x18006fc50]
movaps xmmword [rsp + 0x20], xmm7
call fcn.1800179a0
movsxd rcx, dword [rdi + 0x28]
mov rax, qword [rax]
movss xmm7, dword [rax + rcx*4 - 4]
lea eax, [rsi - 4]
cmp eax, 1
jbe 0x180050c91
movss xmm6, dword [rbx + 0x1d28]
jmp 0x180050ce8
xor ecx, ecx
lea rax, [rbx + 0x53f0]
nop word [rax + rax]
cmp dword [rax], 0x209b
je 0x180050cbd
inc rcx
add rax, 4
cmp rcx, 6
jl 0x180050ca0
movss xmm6, dword [rsp + 0x50]
jmp 0x180050ccb
movss xmm6, dword [rsp + 0x50]
addss xmm6, dword [0x180064a14]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, qword [rax + 0x1916910]
cmp dword [rcx + 8], 0xc
jne 0x180050ce8
addss xmm6, dword [0x180064a44]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x180050d07
movaps xmm1, xmm6
addss xmm1, dword [0x180064a54]
divss xmm6, xmm1
mulss xmm6, xmm7
subss xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180050d40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x140]
mov rdi, rcx
mov esi, r8d
mov rbx, rdx
movabs rcx, 0x100000001b3
movabs r10, 0xcbf29ce484222325
mov r11, qword [rax + 0x28]
nop word [rax + rax]
movsx r9, byte [r11]
lea r11, [r11 + 1]
xor r10, r9
imul r10, rcx
test r9b, r9b
jne 0x180050d80
mov rax, qword [0x18006fc38]
mov rcx, qword [0x18006fc40]
movaps xmmword [rsp + 0x20], xmm7
cmp rax, rcx
je 0x180050dc4
nop dword [rax]
cmp qword [rax + 8], rbx
jne 0x180050dbb
cmp qword [rax], r10
je 0x180050ddc
add rax, 0x18
cmp rax, rcx
jne 0x180050db0
xorps xmm0, xmm0
movaps xmm7, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
movss xmm7, dword [rax + 0x10]
ucomiss xmm7, dword [0x180064abc]
jp 0x180050dec
je 0x180050dc4
xor ecx, ecx
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
movss xmm6, dword [rax + 0x19238f8]
call fcn.180050be0
addss xmm0, xmm7
xorps xmm1, xmm1
subss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
maxss xmm0, xmm1
jmp 0x180050dc7
Function at 0x180056140
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov r10, rdx
mov r9, rcx
lea rbx, [rcx + 0x42f0]
cmp byte [rcx + 0x149c], 0
jne 0x1800561a8
mov word [rcx + 0x149d], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
mov byte [rcx + 0x14a0], al
movzx eax, byte [rsp + 0x31]
mov byte [rcx + 0x14a1], al
movzx eax, byte [rsp + 0x32]
mov byte [rcx + 0x14a2], al
movzx eax, byte [rsp + 0x33]
mov byte [rcx + 0x14a3], al
mov byte [rcx + 0x14a4], 0
mov byte [rcx + 0x149c], 1
mov dword [rsp + 0x40], r8d
mov eax, dword [rcx + 0x14a0]
mov dword [rsp + 0x30], eax
movzx eax, byte [rcx + 0x149d]
test al, al
je 0x1800561e4
xor ecx, ecx
mov edx, eax
nop word [rax + rax]
mov eax, dword [rsp + rcx + 0x30]
not eax
xor dword [rsp + rcx + 0x40], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1800561d0
movzx eax, byte [r9 + 0x149e]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x180056214
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x30]
not al
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x180056200
movzx eax, byte [r9 + 0x14a4]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x40]
mov dword [r9 + rcx*4 + 0x14a8], eax
mov byte [r9 + 0x14a4], cl
mov dword [rbx + 0x38], r8d
mov r9, qword [rbx + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, r11
test cl, cl
jne 0x180056260
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x18005629a
lea eax, [r8 - 0x1d]
cmp eax, 7
ja 0x18005630f
mov byte [rbx + 0x9c], cl
jmp 0x180056342
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x1800562be
lea eax, [r8 - 0x1a]
cmp eax, 6
ja 0x18005630f
mov byte [rbx + 0x9c], 0
jmp 0x180056342
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x1800562d3
cmp r8d, 0x10
jmp 0x1800562e6
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x1800562f1
cmp r8d, 6
jne 0x18005630f
mov byte [rbx + 0x9c], 0
jmp 0x180056342
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x180056330
cmp rdx, rax
je 0x180056330
cmp byte [rbx + 0x9c], 0xff
je 0x180056342
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x180056342
mov byte [rbx + 0x9c], 0xff
jmp 0x180056342
cmp r8d, 7
jne 0x18005635e
cmp rdx, rcx
je 0x180056369
mov rax, qword [rbx]
mov qword [rbx + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add rax, 0x1a3680
mov dl, 1
mov rcx, rbx
call rax
nop
add rsp, 0x20
pop rbx
ret
cmp r8d, 6
jne 0x18005633b
cmp rdx, rax
jne 0x18005633b
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rdx, r10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.18004a720