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

Disassembly:
jmp 0x1400e463c
jmp 0x140101bc0
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400e466e
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400e4651
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400011f4
Function at 0x140005be1
Capabilities:
Get common file path

Disassembly:
jmp 0x1401a11fc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140215b80]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.140005f97
lea rdx, [rsp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x1401a1270
xor edi, edi
cmp word [rsp + 0x20], di
je 0x1401a12cb
cmp word [rsp + 0x22], 0x3a
jne 0x1401a12cb
movzx ecx, word [rsp + 0x20]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
jmp 0x1401a12cb
lea esi, [rax + 1]
mov edx, 2
mov ecx, esi
call fcn.14000702c
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1401a1298
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1401a12a5
call fcn.14000367f
mov dword [rax], listen
jmp 0x1401a12c3
cmp word [rbx], di
je 0x1401a12c3
cmp word [rbx + 2], 0x3a
jne 0x1401a12c3
movzx ecx, word [rbx]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
mov rcx, rbx
call fcn.140001307
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000433b
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140005f15
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401b5ad0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1401b5b11
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1401b5b05
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1401b5b13
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1401b5af3
xor eax, eax
ret

Function at 0x1400060d2
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400c3600
mov r10, rcx
test rdx, rdx
je 0x1400c3665
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 0x1400c3610
ret

Function at 0x1400063a2
Capabilities:
Terminate process

Disassembly:
jmp 0x140127090
sub rsp, 0x28
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401270aa
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140007324
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140006f2d
Capabilities:
Get common file path

Disassembly:
jmp 0x14005ba90
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x14005baba
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExW
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1401cb834]
mov rcx, rbx
mov r14, rax
call fcn.140003a62
test rax, rax
je 0x14005bb1b
mov rcx, rbx
test r14, r14
je 0x14005bb08
xor edx, edx
mov r8d, 8
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test r14, r14
je 0x14005bb52
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005bb52
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r15d, eax
test eax, eax
je 0x14005bc1c
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], bp
jne 0x14005bb80
lea ecx, [rax + 1]
add rcx, rdx
add rcx, rcx
call qword [fcn.140004f2a]
mov rsi, rax
test rax, rax
je 0x14005bc0e
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14005bc0e
mov rax, rdi
cmp word [rsi + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x14005bbb3
mov dword [rsi + rax*2], 0x5c
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x14005bbc5
add rdi, rdi
sub rdi, rbx
add rdi, rsi
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rbx + rdi], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x14005bbe0
mov rcx, rsi
test r14, r14
je 0x14005bc05
xor edx, edx
mov r8d, 8
call r14
jmp 0x14005bc0b
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
mov rcx, rsi
call qword [fcn.1400035cb]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x140007289
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140167bb0
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov qword [r11 - 0x48], rdx
lea rax, [r11 + 0x18]
mov qword [r11 - 0x40], rcx
mov rbx, rdx
mov qword [r11 - 0x38], rax
mov r14, rcx
lea r12, [0x140000000]
lea r15d, [rbp + 1]
mov edi, ebp
movzx eax, word [r14]
cmp ax, word [rdi + r12 + 0x1e512c]
je 0x140167c13
cmp ax, word [rdi + r12 + 0x1e5134]
jne 0x140167cba
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140167c2f
cmp rax, qword [rbx + 8]
jbe 0x140167c2f
movzx ecx, bp
jmp 0x140167c4f
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012df
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x140167c4d
add qword [rsi + 8], r15
jmp 0x140167c4f
mov ecx, ebp
add rdi, 2
mov word [r14], cx
cmp rdi, 6
jne 0x140167bf5
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffd
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140167c7a
cmp rax, qword [rbx + 8]
ja 0x140167c96
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x140167c96
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006726
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x80], rax
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140167cce
cmp rax, qword [rbx + 8]
jbe 0x140167cce
movzx eax, bp
jmp 0x140167ceb
lea rcx, [rsp + 0x20]
call fcn.14000483b
mov eax, 7
jmp 0x140167d91
mov rdi, qword [rbx]
mov rcx, qword [rdi]
call fcn.1400012df
mov ecx, 0xffff
cmp ax, cx
je 0x140167ce9
add qword [rdi + 8], r15
jmp 0x140167ceb
mov eax, ebp
mov word [r14], ax
mov rdi, rbp
cmp ax, word [rdi + r12 + 0x1e5140]
je 0x140167d0c
cmp ax, word [rdi + r12 + 0x1e5150]
jne 0x140167daf
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140167d28
cmp rax, qword [rbx + 8]
jbe 0x140167d28
movzx ecx, bp
jmp 0x140167d48
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012df
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x140167d46
add qword [rsi + 8], r15
jmp 0x140167d48
mov ecx, ebp
add rdi, 2
mov word [r14], cx
movzx eax, cx
cmp rdi, 0xa
jne 0x140167cf2
mov rax, qword [rbx + 0x10]
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140167d70
cmp rax, qword [rbx + 8]
ja 0x140167d8c
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x140167d8c
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006726
mov eax, 3
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.14000483b
movzx eax, al
xor eax, r15d
lea eax, [rax*4 + 3]
jmp 0x140167d91
Function at 0x14000757c
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140126470
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401e3020]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1401e3018]
call fcn.140125ee8
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1401264b0
call qword [case.0x1400e066e.0]
jmp 0x1401264b6
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400076cb
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401b2fe8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400037d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401b3072
cmp byte [rbp - 0x21], r15b
je 0x1401b306d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401b30a8
call fcn.140007fc2
test eax, eax
jne 0x1401b3094
cmp byte [rbp - 0x21], r15b
je 0x1401b308c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401b30a8
cmp byte [rbp - 0x21], r15b
je 0x1401b30a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140008468
test eax, eax
jne 0x1401b3148
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400037d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401b30e7
cmp byte [rbp - 0x21], r15b
je 0x1401b311c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401b311c
call fcn.140007fc2
test eax, eax
jne 0x1401b3108
cmp byte [rbp - 0x21], r15b
je 0x1401b3101
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401b311c
cmp byte [rbp - 0x21], r15b
je 0x1401b3119
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140008468
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401b3148
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401b314b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401b3159
mov rcx, rdi
call fcn.140001307
cmp byte [rbp + 0x3f], r15b
je 0x1401b3168
mov rcx, qword [rbp + 0x27]
call fcn.140001307
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400078d8
Capabilities:
Parse pe header

Disassembly:
jmp 0x14018a2ac
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14018a077
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14018a077
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14018a077
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14018a077
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14018a077
cmp dword [rcx + 0x84], 0xe
jbe 0x14018a077
cmp dword [rcx + 0xf8], 0
je 0x14018a077
mov ecx, ebx
call fcn.14018a1fc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140189d78
nop
cmp dword [rbp + 0x20], 0
jne 0x14018a0d8
call fcn.140001f7d
cmp eax, 1
jne 0x14018a0c8
xor dl, dl
jmp 0x14018a0d2
call fcn.140003e09
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14018a0e3
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14018a124
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14018a008

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

Disassembly:
jmp 0x1400e45f8
jmp 0x140101ba8
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400e462a
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400e460d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140005362
Function at 0x140007bad
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140167e50
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
push rdi
sub rsp, 0x40
lea rax, [r11 + 0x18]
mov qword [r11 - 0x28], rdx
mov qword [r11 - 0x18], rax
lea rdi, [0x140000000]
mov qword [r11 - 0x20], rcx
mov r10, rcx
xor r11d, r11d
mov ebp, 0xffff
mov r8d, r11d
movzx eax, word [r10]
cmp ax, word [r8 + rdi + 0x1e50d0]
je 0x140167eab
cmp ax, word [r8 + rdi + 0x1e50d8]
jne 0x140167f54
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140167ec8
cmp rax, qword [rdx + 8]
jbe 0x140167ec8
movzx ecx, r11w
jmp 0x140167ee8
mov r9, qword [rdx]
mov rax, qword [r9 + 0x10]
cmp rax, qword [r9 + 8]
je 0x140167ee5
movzx ecx, word [rax]
add rax, 2
mov qword [r9 + 0x10], rax
cmp cx, bp
jne 0x140167ee8
mov ecx, r11d
add r8, 2
mov word [r10], cx
cmp r8, 6
jne 0x140167e8d
mov rax, qword [rdx + 0x10]
lea ebx, [r8 - 5]
dec rax
mov esi, 0xfffd
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140167f16
cmp rax, qword [rdx + 8]
ja 0x140167f32
sub cx, bx
cmp cx, si
ja 0x140167f32
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x140167f32
add rax, 0xfffffffffffffffe
mov qword [rcx + 0x10], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x60], rax
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140167f68
cmp rax, qword [rdx + 8]
jbe 0x140167f68
movzx r8d, r11w
jmp 0x140167f8a
lea rcx, [rsp + 0x20]
call fcn.140007d74
mov eax, 7
jmp 0x140168032
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x140167f87
movzx r8d, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
cmp r8w, bp
jne 0x140167f8a
mov r8d, r11d
mov word [r10], r8w
mov r9, r11
cmp r8w, word [r9 + rdi + 0x1e50e0]
je 0x140167fab
cmp r8w, word [r9 + rdi + 0x1e50f0]
jne 0x140168047
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140167fc8
cmp rax, qword [rdx + 8]
jbe 0x140167fc8
movzx ecx, r11w
jmp 0x140167fe8
mov r8, qword [rdx]
mov rax, qword [r8 + 0x10]
cmp rax, qword [r8 + 8]
je 0x140167fe5
movzx ecx, word [rax]
add rax, 2
mov qword [r8 + 0x10], rax
cmp cx, bp
jne 0x140167fe8
mov ecx, r11d
add r9, 2
mov word [r10], cx
movzx r8d, cx
cmp r9, 0xa
jne 0x140167f91
mov rax, qword [rdx + 0x10]
dec rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140168011
cmp rax, qword [rdx + 8]
ja 0x14016802d
sub cx, bx
cmp cx, si
ja 0x14016802d
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x14016802d
add rax, 0xfffffffffffffffe
mov qword [rcx + 0x10], rax
mov eax, 3
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.140007d74
movzx eax, al
xor eax, ebx
lea eax, [rax*4 + 3]
jmp 0x140168032
Function at 0x140014fa0
Capabilities:
Create process on windows

Disassembly:
jmp 0x140014fa0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov dword [rsp + 0x80], WSASetLastError
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x100]
call fcn.140001960
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140015070
lea rdx, str.CreateProcess_failed:
lea rcx, [0x140218d10]
call fcn.140001b22
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.140003724
mov qword [rsp + 0x60], rax
lea rdx, [0x1400013d9]
mov rcx, qword [rsp + 0x60]
call fcn.14000461f
nop
jmp 0x140015087
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0xf0
pop rdi
ret
Function at 0x14003b2c0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14003b3a2
call fcn.140006857
test al, al
jne 0x14003b3a2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14003b2f2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.140005b73
test rax, rax
je 0x14003b337
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.140005b73
mov rsi, rax
test rax, rax
je 0x14003b337
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x14003b36b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.140008116
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14003b350
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400486c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1400486c0
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x48
mov rax, qword [rcx]
lea rbp, [rcx + 0x18]
mov r12, qword [rbp]
mov rdi, rdx
mov r15, r8
mov r10, rcx
mov edx, dword [rax + 8]
and edx, 0xa
cmp edx, 0xa
jne 0x1400486fe
add r12, 0x348
jmp 0x140048705
add r12, 0x2d8
cmp edx, 0xa
mov eax, 0x5f8
mov ecx, 0x540
mov esi, 0
cmovne eax, ecx
mov qword [r9], rsi
mov bl, 1
add rax, rdi
je 0x1400488b0
cmp byte [rax + 0x6c], sil
je 0x1400488b0
cmp qword [rdi + 0xca0], rsi
je 0x1400488b0
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x88], r13
test rax, rax
je 0x140048760
test byte [rax + 4], 0x10
lea r13, [rax + 0x118]
jne 0x140048767
lea r13, [rdi + 0xca8]
cmp qword [rdi + 0x6c0], rsi
jbe 0x14004885f
mov qword [rsp + 0x40], r14
mov r14, rsi
nop dword [rax]
mov rbx, qword [rdi + 0xca0]
add rbx, r14
cmp qword [rbx + 0x18], 0
je 0x140048839
mov rdx, qword [rbx]
mov rcx, qword [r15]
call fcn.1400079b9
test eax, eax
je 0x140048839
mov rcx, qword [rbp]
mov rdx, qword [rbx + 8]
cmp byte [rcx + 0x3c0], 0
jne 0x1400487c0
test rdx, rdx
je 0x1400487d5
jmp 0x140048839
test rdx, rdx
je 0x140048839
mov rcx, qword [rcx + 0x98]
call fcn.1400079b9
test eax, eax
je 0x140048839
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x38]
cmp byte [rcx + 0x3c1], 0
jne 0x1400487ec
cmp eax, 0xffffffff
je 0x1400487f9
jmp 0x140048839
cmp eax, 0xffffffff
je 0x140048839
cmp dword [rcx + 0x7d0], eax
jne 0x140048839
mov eax, dword [rbx + 0x34]
cmp dword [r15 + 0x1c], eax
jne 0x140048839
mov eax, dword [rbx + 0x3c]
cmp dword [r15 + 0x20], eax
jne 0x140048839
mov rcx, qword [rcx + 0x3e0]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rcx]
call fcn.1400079b9
test eax, eax
je 0x140048839
lea r8, [rbx + 0x40]
mov rdx, r12
mov rcx, rdi
call fcn.140049dd0
test al, al
jne 0x1400488c0
inc rsi
add r14, 0xb0
cmp rsi, qword [rdi + 0x6c0]
jb 0x140048780
mov bl, 1
mov r10, qword [rsp + 0x80]
mov r14, qword [rsp + 0x40]
mov rax, qword [r10 + 0x18]
lea r9, str.Found
mov ecx, dword [r15 + 0x1c]
lea r8, str._s_cached_session_ID_for__s:___s:_d
mov dword [rsp + 0x30], ecx
test bl, bl
mov rcx, qword [r15]
mov rdx, qword [rax + 0x3e0]
lea rax, [0x1401c9ad0]
mov qword [rsp + 0x28], rcx
cmovne r9, rax
mov rcx, qword [rdx]
mov rdx, r10
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.140006bd1
mov r13, qword [rsp + 0x88]
movzx eax, bl
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
inc dword [r13]
mov eax, dword [r13]
mov rcx, qword [rsp + 0x98]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x18]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400488ee
mov rax, qword [rbx + 0x20]
mov qword [rcx], rax
xor bl, bl
jmp 0x140048852
Function at 0x140048c20
Capabilities:
Convert ip address from string

Disassembly:
jmp 0x140048c20
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140215b80]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov dword [rcx + 0x20], r8d
mov rdi, rcx
mov rax, qword [rdx]
mov ebp, 0x1b
mov ecx, dword [rax + 8]
mov rax, qword [rdx + 0x18]
and ecx, 0xa
cmp cl, 0xa
jne 0x140048c75
mov rbx, qword [rax + 0xf0]
mov rsi, qword [rax + 0xf8]
mov ecx, dword [rax + 0x100]
jmp 0x140048c83
mov rbx, qword [rax + 0x68]
mov rsi, qword [rax + 0x70]
mov ecx, dword [rax + 0x7cc]
xor r14d, r14d
mov dword [rdi + 0x1c], ecx
test rbx, rbx
je 0x140048db4
cmp byte [rbx], r14b
je 0x140048db4
mov rcx, rbx
call qword [case.0x14004ad5c.1]
mov qword [rdi], rax
mov rcx, rax
test rax, rax
je 0x140048db9
test rsi, rsi
je 0x140048cee
mov r8, rsi
sub r8, rbx
nop
movzx edx, byte [rbx]
movzx eax, byte [rbx + r8]
sub edx, eax
jne 0x140048cd3
inc rbx
test eax, eax
jne 0x140048cc0
test edx, edx
je 0x140048cee
mov rcx, rsi
call qword [case.0x14004ad5c.1]
mov qword [rdi + 8], rax
test rax, rax
jne 0x140048cf2
jmp 0x140048db9
mov qword [rdi + 8], rcx
mov rbx, qword [rdi]
test rbx, rbx
je 0x140048d4b
cmp byte [rbx], r14b
je 0x140048d4b
lea r8, [rsp + 0x20]
mov rdx, rbx
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x140048d25
mov dword [rdi + 0x18], 1
mov eax, r14d
jmp 0x140048dec
lea r8, [rsp + 0x20]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x140048d4b
mov dword [rdi + 0x18], 2
mov eax, r14d
jmp 0x140048dec
mov rax, qword [rdi]
mov rbx, 0xffffffffffffffff
mov dword [rdi + 0x18], r14d
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140048d60
test rbx, rbx
je 0x140048d78
cmp byte [rax + rbx - 1], 0x2e
jne 0x140048d78
dec rbx
cmp rbx, 0xffff
jae 0x140048daf
lea rdx, [rbx + 1]
mov ecx, 1
call qword [fcn.140004cb4]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140048db9
mov rdx, qword [rdi]
mov r8, rbx
mov rcx, rax
call fcn.1400064ce
mov rax, qword [rdi + 0x10]
mov byte [rbx + rax], r14b
mov eax, r14d
jmp 0x140048dec
mov ebp, 2
mov rcx, qword [rdi + 8]
cmp rcx, qword [rdi]
je 0x140048dc8
call qword [fcn.1400035cb]
mov rcx, qword [rdi + 0x10]
call qword [fcn.1400035cb]
mov rcx, qword [rdi]
call qword [fcn.1400035cb]
mov eax, ebp
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi], r14
mov dword [rdi + 0x18], r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000433b
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret