joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ad0c
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push r12
sub rsp, 0x30
cmp qword [rcx + 0x10], 0xffffffffffffffff
mov rbx, rcx
je 0x14000ad71
mov rcx, qword [rcx + 0x10]
lea r9, [rax + 8]
mov edx, 0xffff
mov dword [rax + 8], 1
mov r8d, 0x80
mov dword [rax - 0x18], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14000ad58
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14000ad6c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
or qword [rbx + 0x10], 0xffffffffffffffff
cmp qword [rbx], 0xffffffffffffffff
je 0x14000adc1
mov rcx, qword [rbx]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov dword [rsp + 0x40], 1
mov r8d, 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14000adaa
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14000adbd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
or qword [rbx], 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r12
ret
Function at 0x14000bdc0
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov dword [rax + 0x18], r8d
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
mov r15, r9
mov dword [rax + 0x10], r12d
mov rbp, rcx
mov word [rax + 0x18], r12w
cmp edx, 0xc0000120
je 0x14000bf7a
cmp dword [rcx + 0x2c], r12d
jne 0x14000bf7a
mov rdi, qword [r9 + 0x10]
or rsi, 0xffffffffffffffff
test edx, edx
je 0x14000be50
add edx, 0xffffd8ca
cmp edx, 0x3f
ja 0x14000bf5d
movabs rcx, 0x8000000000519001
bt rcx, rdx
jae 0x14000bf5d
or rsi, rsi
cmp rdi, rsi
je 0x14000be43
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rbp
call fcn.14000b9e0
jmp 0x14000bf91
lea rdx, [r9 + 0x78]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x78]
call fcn.14000bb70
test eax, eax
js 0x14000bf4c
cmp dword [rsp + 0x78], r12d
je 0x14000bf4c
lea r9, [rbp + 0x10]
mov dword [rsp + 0x20], 8
mov edx, 0xffff
mov r8d, 0x700b
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, 0xa0
call fcn.14000c820
mov r14, rax
test rax, rax
je 0x14000bf01
mov qword [rax], rsi
lea rcx, [rax + 0x68]
mov dword [rax + 8], 1
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], 1
mov qword [rax + 0x90], r12
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_InitializeCriticalSection]
mov dword [r14 + 0x98], r12d
mov qword [r14], rsi
mov qword [r14 + 0x10], rsi
mov dword [r14 + 0x3c], r12d
mov word [r14 + 0x44], r12w
mov word [r14 + 0x20], r12w
mov dword [r14 + 0x64], r12d
mov qword [r14 + 0x30], r12
jmp 0x14000bf04
mov r14, r12
test r14, r14
je 0x14000bf4c
mov eax, dword [rsp + 0x30]
mov rdx, rdi
movzx r9d, word [rsp + 0x80]
mov rcx, r14
mov r8d, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14000a8c0
test eax, eax
js 0x14000bf5a
xor r8d, r8d
lea rcx, [0x140015b90]
mov rdx, r14
call fcn.14000b758
test eax, eax
je 0x14000bf5a
inc dword [0x140015bc0]
jmp 0x14000bf5a
cmp rdi, rsi
je 0x14000bf5a
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdi, rsi
mov rcx, qword [rbp + 0x10]
mov r8, r15
mov rdx, rdi
mov qword [rsp + 0x20], rbp
call fcn.14000c014
test eax, eax
je 0x14000bf99
jmp 0x14000be35
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14000bf89
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_SetEvent]
mov rcx, rbp
call fcn.14000bfb8
mov rcx, r15
call fcn.14000a744
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000c328
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r13
push r15
sub rsp, 0xd0
mov rax, qword [0x1400153a0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov esi, ecx
mov rdi, r8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_ntohs]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x80
call sub.msvcrt.dll_memset
mov edx, 1
xor r15d, r15d
mov dword [rsp + 0x28], edx
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea r13d, [rdx + 1]
mov ecx, r13d
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c3aa
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
jmp 0x14000c448
xor r8d, r8d
lea rdx, [0x14000c480]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_1.dll_BindIoCompletionCallback]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], r15d
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], r15d
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1002
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp esi, 0xffffffff
je 0x14000c44c
xor eax, eax
mov dword [rsp + 0x40], r13d
mov r8d, 0x80
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x44], esi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x14000c44c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, edi
jmp 0x14000c451
mov qword [rdi], rbx
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000cf30
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop r13
pop rdi
ret

Function at 0x14000c4a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400153a0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x80
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x14000c500
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x14000c525
test rsi, rsi
je 0x14000c516
cmp word [rsp + 0x30], 0x17
mov eax, dword [rsp + 0x34]
cmove eax, dword [rsp + 0x38]
mov dword [rsi], eax
test rdi, rdi
je 0x14000c523
movzx eax, word [rsp + 0x32]
mov word [rdi], ax
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14000cf30
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000c5e4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140015c88], 0
mov esi, r8d
mov rbp, rcx
je 0x14000c611
mov eax, 0x3eb
jmp 0x14000c6e8
cmp r8d, 0x240
ja 0x14000c63e
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x2b8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14000c66a
and dword [rax], 0
jmp 0x14000c66a
lea eax, [r8 + 0x78]
movsxd rbx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14000c66a
mov dword [rax], 1
mov dword [rax + 0x68], esi
test rdi, rdi
jne 0x14000c674
lea eax, [rdi + 8]
jmp 0x14000c6e8
xor edx, edx
lea rbx, [rdi + 0x30]
mov rcx, rbx
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
and dword [rdi + 0x50], 0
lea rax, [0x14000b620]
mov qword [rdi + 0x18], rax
lea rdx, [rdi + 0x78]
mov rax, qword [rsp + 0x68]
lea r9, [0x140015a24]
mov qword [rdi + 0x20], rax
mov r8d, esi
mov rax, qword [rsp + 0x70]
mov rcx, rbp
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x10], rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_ReadFile]
test eax, eax
jne 0x14000c6e4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
cmp eax, 0x3e5
je 0x14000c6e4
mov rcx, rdi
call fcn.14000a744
jmp 0x14000c6e6
xor ebx, ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000c704
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140015c88], 0
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
je 0x14000c731
mov eax, 0x3eb
jmp 0x14000c793
lea rbx, [rdx + 0x30]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
lea rax, [0x14000b680]
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rax
lea rdx, [rdi + 0x78]
mov rax, qword [rsp + 0x68]
lea r9, [0x140015a24]
mov qword [rdi + 0x20], rax
mov r8d, ebp
mov rax, qword [rsp + 0x70]
mov rcx, rsi
mov qword [rdi + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_WriteFile]
test eax, eax
jne 0x14000c791
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000c793
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000cc90
Capabilities:
Terminate process

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, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140015cb8], rbx
je 0x14000ccf7
cmp rax, rbx
jne 0x14000ccea
mov ebx, 1
mov esi, ebx
jmp 0x14000ccfc
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000cccf
mov ebx, 1
mov eax, dword [0x140015cc0]
cmp eax, ebx
jne 0x14000cd14
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000cd80
mov eax, dword [0x140015cc0]
test eax, eax
jne 0x14000cd75
mov dword [0x140015cc0], ebx
lea r15, [0x14000fb38]
lea rdi, [0x14000fb20]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000cd67
test eax, eax
jne 0x14000cd6b
cmp qword [rdi], r14
je 0x14000cd5c
mov rax, qword [rdi]
mov rcx, qword [0x14000fad8]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000cd3e
test eax, eax
je 0x14000cd7b
mov eax, 0xff
jmp 0x14000ced4
mov dword [0x140015400], ebx
mov edi, 0x1f
mov eax, dword [0x140015cc0]
cmp eax, ebx
jne 0x14000cda7
lea rdx, [0x14000fb18]
lea rcx, [0x14000fae0]
call sub.msvcrt.dll__initterm
mov dword [0x140015cc0], 2
test esi, esi
jne 0x14000cdb5
mov rax, r14
xchg qword [0x140015cb8], rax
cmp qword [0x140015cd8], r14
je 0x14000cde8
lea rcx, [0x140015cd8]
call fcn.14000d340
test eax, eax
je 0x14000cde8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140015cd8]
mov r9, qword [0x14000fad8]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000ce01
mov eax, 0xff
jmp 0x14000ced4
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000ce85
cmp word [rcx], r14w
je 0x14000ce1a
test edx, edx
jne 0x14000ce85
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x14000ce30
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000ce1a
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001998
mov dword [0x1400153fc], eax
cmp dword [0x140015420], r14d
jne 0x14000ce6e
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140015400], r14d
jne 0x14000ce83
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400153fc]
jmp 0x14000ced4
cmp word [rcx], 0x22
jne 0x14000ce99
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000ce0a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400a7000
add rsp, 0x28
jmp 0x14000cc90
Function at 0x14000d23c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000d288
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000d280
cmp dword [rcx + 0x3c], edx
jl 0x14000d280
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000d280
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 0x14000d288
mov rax, rdx
add rsp, 0x18
ret
Function at 0x401eab
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea r12, [0x0048aa60]
xor ebx, ebx
mov rdi, rcx
mov rbp, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [fcn.00442300]
cmp rbx, rbp
jl 0x401f21
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x0044613c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00442240
mov rcx, r12
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r13, qword [rdi + rbx*8]
mov ecx, 1
inc rbx
call rsi
xor r8d, r8d
mov rcx, rax
mov rdx, r13
call fcn.00401e14
jmp 0x401ed6

Function at 0x402138
Capabilities:
Read file on windows

Disassembly:
push r13
push rbx
sub rsp, 0x38
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov rbx, r8
mov r9, r13
call sub.msvcrt.dll_fread
cmp rbx, rax
je 0x40216c
mov rcx, r13
mov qword [rsp + 0x28], rax
call fcn.0040206f
mov rax, qword [rsp + 0x28]
add rsp, 0x38
pop rbx
pop r13
ret

Function at 0x4024be
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
mov rcx, rdx
mov edx, 1
mov r9, r12
call sub.msvcrt.dll_fwrite
mov rcx, r12
mov rbx, rax
call fcn.0040206f
movsxd rax, ebx
add rsp, 0x28
pop rbx
pop r12
ret

Function at 0x402ba5
Capabilities:
Write file on windows

Disassembly:
push r12
push rdi
sub rsp, 0x28
xor r8d, r8d
mov r12, rcx
mov r10, rdx
test rdx, rdx
je 0x402bcc
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r10
mov r9, r12
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r12
add rsp, 0x28
pop rdi
pop r12
jmp fcn.00442240

Function at 0x402c9d
Capabilities:
Get thread local storage value

Disassembly:
push r13
sub rsp, 0x30
mov dword [rsp + 0x40], ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsp + 0x40]
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop r13
ret
Function at 0x40d150
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
mov r8d, 4
xor esi, esi
mov rax, rdx
mov rbx, rdx
cqo
idiv r8
lea r11, [rax*4]
xor eax, eax
cmp r11, rax
jg 0x40d197
cmp r11, 0xfffffffffffffffd
mov eax, 0
mov r8d, 4
cmovl r11, rax
mov rax, rbx
cqo
idiv r8
add r11, rcx
xor r8d, r8d
jmp 0x40d1d4
mov r10d, dword [rcx + rax]
add rax, 4
imul r10d, r10d, 0xcc9e2d51
rol r10d, 0xf
imul r9d, r10d, 0x1b873593
xor r9d, esi
rol r9d, 0xd
lea r9d, [r9 + r9*4]
lea esi, [r9 - 0x19ab949c]
jmp 0x40d16f
dec rdx
shl r8d, 8
movzx eax, byte [r11 + rdx]
or r8d, eax
test rdx, rdx
jg 0x40d1c5
imul eax, r8d, 0xcc9e2d51
xor esi, ebx
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
mov edx, eax
shr edx, 0x10
xor eax, edx
imul edx, eax, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
pop rbx
pop rsi
ret
xor edx, edx
test rcx, rcx
je 0x40d21b
mov rdx, qword [rcx]
add rcx, 0x10
jmp 0x40d150

Function at 0x40d211
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
mov r8d, 4
xor esi, esi
mov rax, rdx
mov rbx, rdx
cqo
idiv r8
lea r11, [rax*4]
xor eax, eax
cmp r11, rax
jg 0x40d197
cmp r11, 0xfffffffffffffffd
mov eax, 0
mov r8d, 4
cmovl r11, rax
mov rax, rbx
cqo
idiv r8
add r11, rcx
xor r8d, r8d
jmp 0x40d1d4
mov r10d, dword [rcx + rax]
add rax, 4
imul r10d, r10d, 0xcc9e2d51
rol r10d, 0xf
imul r9d, r10d, 0x1b873593
xor r9d, esi
rol r9d, 0xd
lea r9d, [r9 + r9*4]
lea esi, [r9 - 0x19ab949c]
jmp 0x40d16f
dec rdx
shl r8d, 8
movzx eax, byte [r11 + rdx]
or r8d, eax
test rdx, rdx
jg 0x40d1c5
imul eax, r8d, 0xcc9e2d51
xor esi, ebx
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
mov edx, eax
shr edx, 0x10
xor eax, edx
imul edx, eax, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
pop rbx
pop rsi
ret
xor edx, edx
test rcx, rcx
je 0x40d21b
mov rdx, qword [rcx]
add rcx, 0x10
jmp 0x40d150
Function at 0x41490a
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rsi, [0x0044b520]
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
test dl, dl
mov rbx, rcx
mov edx, 6
cmovne rsi, rax
test rcx, rcx
je 0x414947
mov rax, qword [rcx]
mov ecx, 3
shl rax, 2
cqo
idiv rcx
lea rdx, [rax + 6]
xor ecx, ecx
call fcn.004055ca
mov rcx, rax
test rbx, rbx
je 0x41496b
mov r9, qword [rbx]
mov edi, 3
mov rax, r9
cqo
idiv rdi
mov r11, rdx
jmp 0x414971
xor r9d, r9d
xor r11d, r11d
sub r9, r11
lea rax, [rcx + 0x10]
xor r10d, r10d
cmp r10, r9
jne 0x414995
movabs r8, 0xaaaaaaaaaaaaaaac
imul r8, r10
test rbx, rbx
jne 0x4149f1
jmp 0x414a03
movzx edx, byte [rbx + r10 + 0x11]
movzx r8d, byte [rbx + r10 + 0x10]
add rax, 4
shl r8d, 0x10
shl edx, 8
or edx, r8d
movzx r8d, byte [rbx + r10 + 0x12]
add r10, 3
mov edi, edx
shr edi, 0x12
or r8d, edx
shr edx, 0xc
mov dil, byte [rsi + rdi]
and edx, 0x3f
mov byte [rax - 4], dil
mov dl, byte [rsi + rdx]
mov byte [rax - 3], dl
mov edx, r8d
and r8d, 0x3f
shr edx, 6
and edx, 0x3f
mov dl, byte [rsi + rdx]
mov byte [rax - 2], dl
mov dl, byte [rsi + r8]
mov byte [rax - 1], dl
jmp 0x41497b
mov rax, qword [rbx]
mov edi, 3
cqo
idiv rdi
dec rdx
je 0x414a48
cmp r11, 2
jne 0x414a79
movzx edx, byte [rbx + r9 + 0x10]
movzx eax, byte [rbx + r9 + 0x11]
shl edx, 0x10
shl eax, 8
or eax, edx
shr edx, 0x12
mov dl, byte [rsi + rdx]
mov byte [rcx + r8 + 0x10], dl
mov edx, eax
shr eax, 6
shr edx, 0xc
and eax, 0x3c
and edx, 0x3f
mov dl, byte [rsi + rdx]
mov byte [rcx + r8 + 0x11], dl
mov al, byte [rsi + rax]
mov byte [rcx + r8 + 0x12], al
jmp 0x414a6f
movzx eax, byte [rbx + r10 + 0x10]
mov edx, eax
shl eax, 4
shr edx, 2
and eax, 0x30
mov dl, byte [rsi + rdx]
mov byte [rcx + r8 + 0x10], dl
mov al, byte [rsi + rax]
mov byte [rcx + r8 + 0x12], 0x3d
mov byte [rcx + r8 + 0x11], al
mov byte [rcx + r8 + 0x13], 0x3d
add r8, 4
mov rdx, r8
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.004055ca
Function at 0x41efed
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x488
lea rbp, [0x0044f2e0]
lea r14, [rsp + 0x78]
mov r12, rcx
mov rsi, rdx
mov edx, 0x408
mov rcx, r14
mov rdi, r8
call fcn.0041eef0
mov ecx, 0x20
call fcn.004055b4
mov rcx, r12
mov rbx, rax
call fcn.0040658b
mov r12, rax
test r12, r12
je 0x41f048
mov rcx, qword [r12]
test cl, 0x1f
jne 0x41f054
xor eax, eax
test rdi, rdi
je 0x41f07a
mov rax, qword [rdi]
jmp 0x41f07a
inc rcx
call fcn.00405439
mov rdx, r12
mov rcx, rax
mov r9, rax
call fcn.0041ef8f
mov rdx, rbp
mov rcx, r9
call fcn.0041ef69
mov r12, r9
jmp 0x41f03a
lea r9, [rdi + 0x10]
xor r8d, r8d
test rsi, rsi
je 0x41f089
mov r8, qword [rsi]
mov qword [rsp + 0x20], rax
lea rdx, [rsi + 0x10]
mov rcx, r14
xor r13d, r13d
mov edi, 0x1f
lea rbp, [rsp + 0x440]
call fcn.0041d845
lea rdx, [rdi - 0x1f]
test r12, r12
jne 0x41f0dc
mov edx, 0x408
mov rcx, r14
call fcn.0041c280
mov rcx, r13
call fcn.0040658b
add rsp, 0x488
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp rdi, qword [r12]
jge 0x41f0b3
mov r8, rdi
mov rcx, r12
call fcn.004076c0
xor r11d, r11d
test rax, rax
je 0x41f0f8
mov r11, qword [rax]
lea rdx, [rsp + 0x50]
mov rsi, rbx
lea r15, [rsp + 0x68]
xor r10d, r10d
mov qword [rsp + 0x30], rdx
cmp r11, r10
jg 0x41f125
xor edx, edx
test rbx, rbx
je 0x41f1d5
mov rdx, qword [rbx]
jmp 0x41f1d5
xor edx, edx
lea r8, [rax + r10]
mov cl, byte [r8 + rdx + 0x10]
xor cl, byte [rbp + rdx]
mov byte [rsi + rdx + 0x10], cl
inc rdx
cmp rdx, 0x10
jne 0x41f12b
mov qword [rsp + 0x20], 0x10
add rsi, 0x10
mov r8d, 0x10
mov rcx, r14
mov r9, rsi
mov rdx, rsi
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r11
call fcn.0041ccca
mov edx, 0x10
mov rcx, r15
call fcn.0041eef0
mov edx, 0x10
mov rcx, r15
call fcn.0041eef0
mov rdx, qword [rsp + 0x30]
mov r8, rsi
mov rcx, rbp
mov qword [rsp + 0x68], 0
mov r9d, 0x10
mov qword [rsp + 0x70], 0xf
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x50], xmm0
call fcn.00407801
mov r10, qword [rsp + 0x48]
mov r11, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
add r10, 0x10
jmp 0x41f10d
mov rcx, r13
add rdi, 0x20
call fcn.0040546c
mov rdx, rbx
mov rcx, rax
mov r13, rax
call fcn.0041ef8f
jmp 0x41f0aa
Function at 0x41f37f
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x468
lea r12, [rsp + 0x58]
mov rbp, rcx
mov rbx, rdx
mov edx, 0x408
mov rcx, r12
mov rsi, r8
call fcn.0041eef0
mov ecx, 0x20
call fcn.004055b4
mov qword [rsp + 0x50], 0
mov rdi, rax
xor eax, eax
test rsi, rsi
je 0x41f3cd
mov rax, qword [rsi]
lea r9, [rsi + 0x10]
xor r8d, r8d
test rbx, rbx
je 0x41f3dc
mov r8, qword [rbx]
mov qword [rsp + 0x20], rax
lea rdx, [rbx + 0x10]
mov rcx, r12
mov esi, 0x1f
lea r14, [rsp + 0x440]
call fcn.0041d845
lea rdx, [rsi - 0x1f]
test rbp, rbp
je 0x41f409
cmp rsi, qword [rbp]
jl 0x41f427
mov edx, 0x408
mov rcx, r12
lea rsi, [rsp + 0x50]
call fcn.0041c280
lea rbx, [0x0044f2e0]
jmp 0x41f4f4
mov r8, rsi
mov rcx, rbp
xor r15d, r15d
call fcn.004076c0
mov rbx, rax
test rax, rax
je 0x41f440
mov r15, qword [rax]
lea rax, [rsp + 0x68]
xor r13d, r13d
lea r11, [rbx + 0x10]
mov qword [rsp + 0x38], rax
cmp r15, r13
jg 0x41f462
xor edx, edx
test rdi, rdi
je 0x41f4c6
mov rdx, qword [rdi]
jmp 0x41f4c6
lea rdx, [r11 + r13]
mov r9, r14
mov r8d, 0x10
mov rcx, r12
mov qword [rsp + 0x20], 0x20
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x48], r13
call fcn.0041d140
mov r11, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov rdx, r12
mov r8b, byte [rbx + rax + 0x10]
mov cl, byte [rdx + 0x3e8]
inc rdx
xor cl, byte [rdx + 0x3c7]
mov byte [rdi + rax + 0x10], cl
inc rax
mov byte [rdx + 0x3c7], r8b
cmp rdx, qword [rsp + 0x38]
jne 0x41f497
add r13, 0x10
jmp 0x41f451
mov rcx, qword [rsp + 0x50]
add rsi, 0x20
call fcn.0040546c
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.0041ef8f
jmp 0x41f3fa
mov rdx, rbx
mov rcx, rsi
call fcn.0040b5ad
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.0040a6c8
test al, al
jne 0x41f4e9
mov rcx, qword [rsp + 0x50]
call fcn.0040658b
add rsp, 0x468
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret