joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b8620
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401b862d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401b863d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401b8625
lea eax, [rcx + 1]
jmp 0x1401b864b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401b865e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401b8644
sub eax, 3
jb 0x1401b867e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401b86cd
sar eax, 1
movsxd rbp, eax
jb 0x1401b86b4
jmp 0x1401b868c
add ebx, ebx
jne 0x1401b868a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401b86b4
inc ecx
add ebx, ebx
jne 0x1401b869a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401b86b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401b86ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401b869c
add ecx, 2
jmp 0x1401b86b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401b85e2
jmp 0x1401b862d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x56c00
mov dl, 0x13
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401b8719
cmp rsi, rcx
jae 0x1401b8721
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401b8700
cmp al, 0x8f
ja 0x1401b8700
cmp byte [rsi - 2], 0xf
je 0x1401b8706
sub al, 0xe8
cmp al, 1
ja 0x1401b86ea
cmp rsi, rcx
jae 0x1401b8721
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401b86f0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401b8721
lodsb al, byte [rsi]
jmp 0x1401b8700
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1b5000]
mov eax, dword [rdi]
or eax, eax
je 0x1401b878a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1b81e4]
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 0x1401b872e
jns 0x1401b8763
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1401b876d
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 0x1401b8784
mov qword [rbx], rax
add rbx, 8
jmp 0x1401b874e
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 0x1401b87ce
cmp al, 0xef
ja 0x1401b87b6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1401b8796
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1401b87a5
mov eax, dword [rdi]
add rdi, 4
jmp 0x1401b87a5
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 + 0x237]
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 0x1401b8822
sub rsp, 0xffffffffffffff80
jmp 0x140056a28
Function at 0x3a4da1523
Capabilities:
Create thread
Read file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0xd0]
mov qword [rbp - 0x58], 0
mov dword [rbp - 0x5c], 0
lea rax, section..rdata
mov rdx, rax
lea rax, str.config.yml
mov rcx, rax
call sub.msvcrt.dll_fopen
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x3a4da1571
mov eax, 1
jmp 0x3a4da179a
mov rax, qword [rbp - 8]
mov r8d, 2
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_fseek
mov rax, qword [rbp - 8]
mov rcx, rax
call sub.msvcrt.dll_ftell
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov rcx, rax
call sub.msvcrt.dll_rewind
mov eax, dword [rbp - 0xc]
cdqe
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x3a4da15d1
mov rax, qword [rbp - 8]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov eax, 1
jmp 0x3a4da179a
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x18]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fread
mov qword [rbp - 0x20], rax
mov eax, dword [rbp - 0xc]
cdqe
cmp qword [rbp - 0x20], rax
je 0x3a4da1623
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp - 8]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov eax, 1
jmp 0x3a4da179a
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x28], rax
mov eax, dword [rbp - 0xc]
cdqe
mov qword [rbp - 0x68], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp - 0x30], rax
movabs rax, 0x61636f6c6c41744e
mov qword [rbp - 0x80], rax
movabs rax, 0x6175747269566574
mov qword [rbp - 0x78], rax
movabs rax, 0x79726f6d654d6c
mov qword [rbp - 0x70], rax
movabs rbx, 0x6365746f7250744e
mov qword [rbp - 0xa0], rbx
movabs rbx, 0x6c61757472695674
mov qword [rbp - 0x98], rbx
mov qword [rbp - 0x91], rax
lea rax, [rbp - 0x80]
mov rcx, qword [rbp - 0x30]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0xa0]
mov rcx, qword [rbp - 0x30]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x40], rax
mov rbx, qword [rbp - 0x38]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp - 0x68]
lea rax, [rbp - 0x58]
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
mov r9, rdx
mov r8d, 0
mov rdx, rax
call rbx
mov rcx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x28]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memmove
mov rbx, qword [rbp - 0x40]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea r8, [rbp - 0x68]
lea rax, [rbp - 0x58]
lea rdx, [rbp - 0x5c]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20
mov rdx, rax
call rbx
mov dword [rbp - 0x44], eax
cmp dword [rbp - 0x44], 0
jne 0x3a4da1798
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x50], rax
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x3a4da1788
ud2
add rsp, 0xd8
pop rbx
pop rbp
ret
Function at 0x3a4da1b90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.3a4da27a0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.3a4da27a0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x3a4da1c00
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x3a4da7064]
test esi, esi
mov rbx, rcx
jle 0x3a4da1d30
mov rax, qword [0x3a4da7068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x3a4da1c4b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x3a4da1cd5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x3a4da1c30
mov rcx, rbx
call fcn.3a4da2460
test rax, rax
mov rdi, rax
je 0x3a4da1d52
mov rax, qword [0x3a4da7068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.3a4da25a0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x3a4da7068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x3a4da1d37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x3a4da1cce
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x3a4da1ce0
add dword [0x3a4da7064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x3a4da7068]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x3a4da1cce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.3a4da1b90
nop dword [rax]
xor esi, esi
jmp 0x3a4da1c58
mov rax, qword [0x3a4da7068]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.3a4da1b90
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.3a4da1b90
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x3a4da20d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x3a4da70a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x3a4da7080]
test rbx, rbx
je 0x3a4da212c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x3a4da2123
test rsi, rsi
je 0x3a4da2123
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x3a4da2108
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x3a4da2460
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x3a4da4290]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x3a4da2480
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x3a4da2488
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3a4da2480
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x3a4da24dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x3a4da24d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x3a4da2480
add rax, 0x28
cmp rax, r9
jne 0x3a4da24c0
xor eax, eax
ret

Function at 0x3a4da24e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x3a4da4290]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x3a4da24ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x3a4da2508
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x3a4da24ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x3a4da25a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x3a4da4290]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x3a4da25bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x3a4da25c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x72bb40
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x72bb4d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x72bb5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x72bb45
lea eax, [rcx + 1]
jmp 0x72bb6b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x72bb7e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x72bb64
sub eax, 3
jb 0x72bb9e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x72bbed
sar eax, 1
movsxd rbp, eax
jb 0x72bbd4
jmp 0x72bbac
add ebx, ebx
jne 0x72bbaa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x72bbd4
inc ecx
add ebx, ebx
jne 0x72bbba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x72bbd4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x72bbcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x72bbbc
add ecx, 2
jmp 0x72bbd9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0072bb02
jmp 0x72bb4d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x116800
mov dl, 0x2b
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x72bc39
cmp rsi, rcx
jae 0x72bc41
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x72bc20
cmp al, 0x8f
ja 0x72bc20
cmp byte [rsi - 2], 0xf
je 0x72bc26
sub al, 0xe8
cmp al, 1
ja 0x72bc0a
cmp rsi, rcx
jae 0x72bc41
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x72bc10
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x72bc41
lodsb al, byte [rsi]
jmp 0x72bc20
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x326000]
mov eax, dword [rdi]
or eax, eax
je 0x72bc9e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x32b000]
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 0x72bc4e
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 0x72bc98
mov qword [rbx], rax
add rbx, 8
jmp 0x72bc6e
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 0x72bce2
cmp al, 0xef
ja 0x72bcca
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x72bcaa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x72bcb9
mov eax, dword [rdi]
add rdi, 4
jmp 0x72bcb9
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 + 0x1af]
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 0x72bd36
sub rsp, 0xffffffffffffff80
jmp 0x46b640
Function at 0x18000bb40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movdqa xmm2, xmmword [0x18029df30]
lea rax, [0x1802d7c10]
xor edi, edi
mov ecx, edi
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
lea rax, [rax + 0x40]
add ecx, 0x40
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x20], xmm0
cmp ecx, 0xf100
jb 0x18000bb60
movsxd rax, ecx
cmp rax, 0xf100
jae 0x18000bbe1
lea rdx, [0x1802d7c00]
add rax, rdx
nop dword [rax + rax]
xor byte [rax], 0xed
lea rax, [rax + 1]
inc ecx
cmp ecx, 0xf100
jb 0x18000bbd0
call qword [0x1802ed020]
mov rbx, qword [0x1802ed010]
mov rcx, rbx
call fcn.18000a6b0
mov rax, qword [0x1802ed010]
cmp rax, rbx
cmove rax, rdi
mov qword [0x1802ed010], rax
test rbx, rbx
je 0x18000bc69
mov rcx, qword [rbx + 0x1668]
test rcx, rcx
je 0x18000bc33
test rax, rax
je 0x18000bc27
dec dword [rax + 0x3b4]
call fcn.180042b90
mov rax, qword [0x1802ed010]
mov rcx, qword [rbx + 0x1558]
test rcx, rcx
je 0x18000bc56
test rax, rax
je 0x18000bc4a
dec dword [rax + 0x3b4]
call fcn.180042b90
mov rax, qword [0x1802ed010]
test rax, rax
je 0x18000bc61
dec dword [rax + 0x3b4]
mov rcx, rbx
call fcn.180042b90
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180019250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov esi, dword [rsp + 0x90]
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbx, rcx
test esi, 0xff000000
je 0x1800193d1
mov qword [rsp + 0x40], rbp
mov rbp, qword [rcx + 0x98]
cmp rdx, rbp
je 0x180019298
call fcn.180016c40
mov edx, 6
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.180016cc0
movzx edx, word [rbx + 0x34]
mov rax, qword [rbx + 0x50]
lea ecx, [rdx + 1]
mov word [rax], dx
mov rax, qword [rbx + 0x50]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x50]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x50]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x50]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x50]
mov word [rax + 0xa], dx
movsd xmm0, qword [r15]
mov rax, qword [rbx + 0x48]
movsd qword [rax], xmm0
mov rcx, qword [rbx + 0x48]
mov rax, qword [rsp + 0x70]
movsd xmm0, qword [rax]
movsd qword [rcx + 8], xmm0
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x10], esi
movsd xmm0, qword [r14]
mov rax, qword [rbx + 0x48]
movsd qword [rax + 0x14], xmm0
mov rcx, qword [rbx + 0x48]
mov rax, qword [rsp + 0x78]
movsd xmm0, qword [rax]
movsd qword [rcx + 0x1c], xmm0
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x24], esi
mov rcx, qword [rbx + 0x48]
mov rax, qword [rsp + 0x60]
movsd xmm0, qword [rax]
mov rax, qword [rsp + 0x80]
movsd qword [rcx + 0x28], xmm0
mov rcx, qword [rbx + 0x48]
movsd xmm0, qword [rax]
movsd qword [rcx + 0x30], xmm0
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x38], esi
mov rcx, qword [rbx + 0x48]
mov rax, qword [rsp + 0x68]
movsd xmm0, qword [rax]
mov rax, qword [rsp + 0x88]
movsd qword [rcx + 0x3c], xmm0
mov rcx, qword [rbx + 0x48]
movsd xmm0, qword [rax]
movsd qword [rcx + 0x44], xmm0
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x48], 0x50
add dword [rbx + 0x34], 4
add qword [rbx + 0x50], 0xc
cmp rdi, rbp
mov rbp, qword [rsp + 0x40]
je 0x1800193d1
movsxd rcx, dword [rbx + 0x68]
lea eax, [rcx - 1]
mov dword [rbx + 0x68], eax
test eax, eax
jne 0x1800193b9
xor eax, eax
jmp 0x1800193c2
mov rax, qword [rbx + 0x70]
mov rax, qword [rax + rcx*8 - 0x10]
mov rcx, rbx
mov qword [rbx + 0x98], rax
call fcn.180016a40
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x18001e5d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18001e781
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001e490
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x18001e746
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001e6c0
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x18001e735
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x18001e6fd
mov r8, qword [rax]
cmp r8, rcx
je 0x18001e6f7
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x18001e735
cmp r9, rax
je 0x18001e711
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x18001e75b
cmp r9, rax
jne 0x18001e702
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x18001e670
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x18001e735
lea rcx, str.invalid_hash_bucket_count
call fcn.18003f860
int3
Function at 0x18001f7b0
Capabilities:
Hash data using fnv

Disassembly:
mov dword [rsp + 8], ecx
movabs rax, 0xcbf29ce484222325
movzx edx, cl
xor rdx, rax
mov r8d, ecx
movzx eax, byte [rsp + 9]
movabs rcx, 0x100000001b3
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0xa]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0xb]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1802e6ed0]
and rcx, rdx
mov rdx, qword [0x1802e6ea8]
shl rcx, 4
add rcx, qword [0x1802e6eb8]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x18001f838
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x18001f83a
cmp rax, rcx
je 0x18001f838
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x18001f827
jmp 0x18001f83a
xor eax, eax
test rax, rax
mov rcx, rdx
cmovne rcx, rax
cmp rcx, rdx
je 0x18001f84e
mov rax, qword [rcx + 0x18]
ret
xor eax, eax
ret
Function at 0x180028870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x1800288a4
cmp ecx, r10d
jge 0x180028892
mov rcx, rbx
call fcn.180023600
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x1800288de
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x1800288c0
mov dword [rbx + 0x10], eax
mov qword [rsp + 0x38], rdi
test eax, eax
js 0x18002899b
movsxd rcx, r8d
cmp rcx, 4
jge 0x18002891f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax + rax]
cmp rax, r8
jb 0x180028909
xor dl, dl
jmp 0x180028912
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x180028900
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x18002899b
mov rcx, qword [rbx]
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
ja 0x18002899b
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x180028975
mov rcx, rbx
call fcn.18002d0f0
test eax, eax
je 0x18002899b
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.1800431e0
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret