joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b0da0
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
test rcx, rcx
jne 0x1400b0db6
xor eax, eax
add rsp, 0x50
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x40], r13
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401181b8]
mov r13d, eax
je 0x1400b0de7
mov rcx, rbx
call fcn.1400b29c0
test al, al
je 0x1400b0de7
xor eax, eax
mov r13, qword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x68], rbp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400b0e10
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp rbx, rbp
jne 0x1400b0e28
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x50
pop rbx
ret
cmp byte [0x140116910], 0
jne 0x1400b0e45
mov rdx, rbp
mov rcx, rbx
call fcn.1400b0d00
test rax, rax
jne 0x1400b0f90
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
xor r15b, r15b
xor r14b, r14b
test rbp, rbp
je 0x1400b0ece
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r12d, eax
test eax, eax
je 0x1400b0ed3
cmp dword [0x1401181b8], eax
je 0x1400b0eaa
mov rcx, rbp
call fcn.1400b29c0
test al, al
jne 0x1400b0eaa
mov ecx, dword [0x1401181b8]
mov r8d, 1
mov edx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r14b
test r13d, r13d
je 0x1400b0ed3
cmp r12d, r13d
je 0x1400b0ed3
mov r8d, 1
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r15b
jmp 0x1400b0ed3
mov r12d, dword [rsp + 0x60]
xor edi, edi
mov rdx, rbp
mov rcx, rbx
call fcn.1400b0d00
mov rsi, rax
test rax, rax
jne 0x1400b0f37
inc edi
cmp edi, 5
jl 0x1400b0ed5
xor r8d, r8d
lea ecx, [rax + 2]
xor r9d, r9d
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140016e30
xor r8d, r8d
lea ecx, [rsi + 2]
xor r9d, r9d
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140016e30
mov rdx, rbp
mov rcx, rbx
call fcn.1400b0d00
mov rsi, rax
mov rdi, qword [rsp + 0x78]
test r14b, r14b
mov r14, qword [rsp + 0x38]
je 0x1400b0f58
mov ecx, dword [0x1401181b8]
xor r8d, r8d
mov edx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test r15b, r15b
mov r15, qword [rsp + 0x30]
je 0x1400b0f71
xor r8d, r8d
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r12, qword [rsp + 0x48]
test rsi, rsi
je 0x1400b0f89
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rax, rsi
jmp 0x1400b0f8b
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
Function at 0x1400b10f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
test r8b, r8b
je 0x1400b110b
call fcn.1400811d0
jmp 0x1400b111b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
test edi, edi
js 0x1400b118e
je 0x1400b118e
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.140001a70
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400b117b
add edi, esi
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x1400b117b
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001a70
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400b1150
mov rax, rbx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b13a0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11be0]
mov eax, 0x11ce0
call fcn.1400d12f0
sub rsp, rax
movzx eax, word [rdx]
mov rdi, rcx
mov rcx, qword [rbp + 0x11c10]
cmp ax, 0x41
je 0x1400b13d9
cmp ax, 0x61
jne 0x1400b1443
cmp word [rdx + 2], 0
jne 0x1400b1443
cmp word [r8], 0
jne 0x1400b1443
cmp word [r9], 0
jne 0x1400b1443
cmp word [rcx], 0
jne 0x1400b1443
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400b1426
cmp byte [rdi + 0x12a], 0
jne 0x1400b1426
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400b1424
mov rcx, rbx
call fcn.1400b2a70
test al, al
je 0x1400b1426
xor ebx, ebx
cmp byte [rbp + 0x11c20], 0
je 0x1400b143b
test rbx, rbx
je 0x1400b143b
mov qword [rdi + 0xf8], rbx
mov rax, rbx
jmp 0x1400b15b1
test ax, ax
jne 0x1400b1466
cmp word [r8], ax
jne 0x1400b1466
cmp word [r9], ax
jne 0x1400b1466
cmp word [rcx], ax
jne 0x1400b1466
mov rcx, rdi
call fcn.1400b15d0
jmp 0x1400b15b1
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea rax, [0x1400e145c]
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov dword [rsp + 0x30], ebx
mov qword [rbp + 0xf48], rax
mov byte [rbp + 0x1781], bl
mov dword [rbp + 0x1784], ebx
mov qword [rbp + 0x1788], rbx
mov qword [rbp + 0x1790], rbx
mov qword [rbp + 0x1798], rbx
mov dword [rbp + 0x17a0], ebx
mov qword [rbp + 0x17a8], rbx
mov qword [rbp + 0x17b8], rbx
mov qword [rbp + 0x17c0], rbx
call fcn.1400b2c90
test eax, eax
je 0x1400b1580
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c18]
mov byte [rbp + 0x1781], al
mov rax, qword [rbp + 0x11c28]
mov qword [rbp + 0x1798], rax
mov eax, dword [rbp + 0x11c30]
mov dword [rbp + 0x17a0], eax
je 0x1400b1584
mov rax, qword [rbp + 0xf68]
cmp rax, 0xffff
je 0x1400b1555
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400b1580
mov rdx, qword [rbp + 0xf68]
mov rcx, rdi
call fcn.1400b2b00
test al, al
jne 0x1400b154e
mov rcx, qword [rbp + 0xf68]
lea edx, [rbx - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400b1580
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c0], rax
je 0x1400b156f
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c0], rax
call fcn.1400b31b0
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.1400b32a0
test rax, rax
jne 0x1400b1596
xor eax, eax
jmp 0x1400b15b1
lea rdx, [rsp + 0x30]
lea rcx, [0x1400b1680]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp + 0x1788]
cmp byte [rbp + 0x11c20], bl
je 0x1400b15b1
test rax, rax
je 0x1400b15b1
mov qword [rdi + 0xf8], rax
lea r11, [rsp + 0x11ce0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400b31b0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1890]
test rcx, rcx
je 0x1400b328d
mov eax, dword [rbx]
test eax, eax
je 0x1400b328d
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400b31ef
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400b320d
lea rdx, [rbx + 0x189c]
mov r8d, 0x7fff
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400b320d
mov word [rbx + 0x189c], si
test byte [rbx], 4
je 0x1400b3226
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x1400b3264
mov rcx, qword [rbx + 0x1890]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400b3264
movzx r8d, byte [rbx + 0x1850]
mov ecx, dword [rsp + 0x30]
lea rdx, [rbx + 0x11a9c]
call fcn.140078bf0
test eax, eax
jne 0x1400b3264
mov word [rbx + 0x11a9c], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x1400b328d
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1189a]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
add rsp, 0x20
pop rbx
ret

Function at 0x1400b3b40
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11cd8
call fcn.1400d12f0
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400b3bfe
xor r9d, r9d
lea rcx, [0x1400e145c]
mov byte [rsp + 0x18a0], dl
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400b4450]
mov dword [rsp + 0x20], r9d
mov byte [rsp + 0x1871], r9b
mov dword [rsp + 0x1874], r9d
mov qword [rsp + 0x1878], r9
mov qword [rsp + 0x1880], r9
mov qword [rsp + 0x1888], r9
mov dword [rsp + 0x1890], r9d
mov qword [rsp + 0x18a8], r9
mov qword [rsp + 0x18b0], r9
mov qword [rsp + 0x1898], rax
mov dword [rsp + 0x18a4], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1878], 0
je 0x1400b3bfe
mov rax, qword [0x140111488]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x1400b3bfe
mov edx, 1
call fcn.140001a70
mov eax, 1
add rsp, 0x11cd8
ret
Function at 0x1400b3c10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push r12
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
movzx r12d, dl
mov rbx, rcx
jne 0x1400b3c3a
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140111488]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.1400b41b0
cmp byte [rbx], 0
mov rbp, rax
je 0x1400b3c71
test rax, rax
jne 0x1400b3c7a
jmp 0x1400b3d12
test rax, rax
jne 0x1400b3d0d
test rdi, rdi
je 0x1400b3d0d
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.140001a70
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400b3cef
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rsi + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x1400b3cef
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001a70
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400b3cc0
mov rax, qword [0x140111488]
mov rsi, qword [rsp + 0x38]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x1400b3d0d
mov edx, 1
call fcn.140001a70
cmp byte [rbx], 0
je 0x1400b3d26
xor r9d, r9d
mov r8, rbp
movzx edx, r12b
mov rcx, rbx
call fcn.1400b3d50
jmp 0x1400b3d32
movzx edx, r12b
mov rcx, rbx
call fcn.1400b3f20
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1400b3f20
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x11ce0
call fcn.1400d12f0
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx edi, dl
mov rbx, rcx
je 0x1400b40e5
xor edx, edx
call fcn.1400b4100
test eax, eax
jne 0x1400b3f60
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
mov qword [rsp + 0x11cf0], rbp
mov qword [rsp + 0x11cf8], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140111488]
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.1400b41b0
mov ecx, dword [0x14011819c]
xor ebp, ebp
test rax, rax
lea rax, [0x1400e145c]
cmovne ecx, ebp
mov qword [rsp + 0x1048], rax
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x1884], ebp
mov qword [rsp + 0x1888], rbp
mov qword [rsp + 0x1890], rbp
mov dword [0x14011819c], ecx
mov qword [rsp + 0x18b8], rbp
mov qword [rsp + 0x18c0], rbp
test dil, dil
je 0x1400b3fea
mov byte [rsp + 0x1881], bpl
test ecx, ecx
je 0x1400b3ff2
mov byte [rsp + 0x1881], 1
mov rax, qword [0x1401181a8]
mov dword [rsp + 0x18a0], ecx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x1898], rax
mov rax, qword [rbx + 0x10]
lea rcx, [0x1400b42d0]
mov qword [rsp + 0x18a8], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1888]
test rax, rax
je 0x1400b40a9
lea rdx, [rsp + 0x20]
lea rcx, [0x1400b2900]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400b4070
mov rcx, qword [rsp + 0x1888]
call fcn.1400b3810
mov qword [rsp + 0x1888], rbx
jmp 0x1400b4078
mov rbx, qword [rsp + 0x1888]
mov rcx, rbx
call fcn.1400b0da0
mov rcx, qword [rsp + 0x1888]
call fcn.1400b3810
mov r11, qword [0x140111488]
mov ecx, dword [r11 + 0x74]
cmp ecx, 0xffffffff
jle 0x1400b40d5
mov edx, 1
call fcn.140001a70
jmp 0x1400b40d5
mov eax, dword [0x14011819c]
test eax, eax
je 0x1400b40d5
cmp eax, 1
mov dword [0x14011819c], ebp
setg al
test al, al
je 0x1400b40d5
mov rcx, rsi
call fcn.1400b3810
xor edx, edx
mov rcx, rbx
call fcn.1400b3f20
mov rsi, qword [rsp + 0x11cf8]
mov rbp, qword [rsp + 0x11cf0]
mov eax, 1
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
Function at 0x1400c960c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400c947c

Function at 0x1400d3278
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1401102b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400cd0a8
xor ebx, ebx
cmp qword [0x140114a68], rbx
mov rdi, rax
jne 0x1400d338b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400d3462
lea rdx, [0x1400e09e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d3462
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140114a68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140114a70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140114a78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140114a88], rax
test rax, rax
je 0x1400d3382
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140114a80], rax
jmp 0x1400d3392
mov rax, qword [0x140114a80]
jmp 0x1400d3399
mov rax, qword [0x140114a80]
mov r11, qword [0x140114a88]
cmp rax, rdi
je 0x1400d3400
cmp r11, rdi
je 0x1400d3400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140114a88]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400d3400
test rax, rax
je 0x1400d3400
call rsi
test rax, rax
je 0x1400d33fa
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400d33fa
test byte [rsp + 0x40], 1
jne 0x1400d3400
bts ebp, 0x15
jmp 0x1400d3440
mov rcx, qword [0x140114a70]
cmp rcx, rdi
je 0x1400d3440
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400d3440
call rax
mov rbx, rax
test rax, rax
je 0x1400d3440
mov rcx, qword [0x140114a78]
cmp rcx, rdi
je 0x1400d3440
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400d3440
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140114a68]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400d3462
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400d3464
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d0860
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d55cf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1401102b0]
jne 0x1400d087a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400d0876
repz ret
ror rcx, 0x10
jmp 0x1400d5528
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140114bb0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140114ca8]
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 0x1400d55ad
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, [0x140114bb0]
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 0x1400d55cf
mov rax, qword [rsp + 0x88]
mov qword [0x140114ca8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140114c48], rax
mov rax, qword [0x140114ca8]
mov qword [0x140114b20], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140114c30], rax
mov dword [0x140114b10], 0xc0000409
mov dword [0x140114b14], 1
mov rax, qword [0x1401102b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1401102b8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140114ba8], eax
mov ecx, 1
call fcn.1400d2f98
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400e13b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140114ba8], 0
jne 0x1400d5656
mov ecx, 1
call fcn.1400d2f98
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 0x180003578
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov eax, dword [rsp + 0x60]
mov rbx, r9
mov rdi, r8
mov rbp, rdx
mov r13, rcx
test eax, eax
jle 0x1800035fe
lea r12d, [rax - 1]
mov rsi, rdx
shr r12d, 4
sub rsi, r8
inc r12d
mov rdx, rbx
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_recv
sub rdx, rdi
mov al, byte [rsi + rcx]
xor al, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
sub r8, 1
jne 0x1800035c4
mov r8, rbx
mov rdx, rbx
mov rcx, r13
call fcn.180001540
add rdi, 0x10
sub rsi, 0x10
movdqu xmm5, xmmword [rbx]
add rbx, 0x10
sub r12, 1
movdqu xmmword [rbp], xmm5
jne 0x1800035b5
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x180003618
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x260
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18002b028]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor ecx, ecx
mov rax, r8
mov qword [r11 - 0x38], rcx
mov qword [r11 - 0x30], rcx
mov esi, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x80
mov rdx, rax
call section..text
cmp esi, 0x10
jl 0x1800036b5
lea rdi, [rsp + 0x230]
sub rdi, rbx
shr rsi, 4
movdqu xmm6, xmmword [rbx]
lea rcx, [rsp + 0x20]
mov r8, rbx
mov rdx, rbx
call fcn.18000255c
mov ecx, reloc.WS2_32.dll_recv
mov al, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x180003694
sub rdi, 0x10
sub rsi, 1
movdqa xmmword [rsp + 0x230], xmm6
jne 0x18000367b
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180012970
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret

Function at 0x180003964
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rbp, qword [rcx]
mov r13, rcx
mov ecx, edx
mov ebx, edx
or rsi, 0xffffffffffffffff
call fcn.180003a20
movsxd rdi, eax
mov rcx, rdi
call fcn.1800129d0
and dword [rsp + 0x20], 0
mov r9d, edi
mov r8d, ebx
mov rcx, rbp
mov rdx, rax
mov r12, rax
call fcn.180005ce4
movsxd r11, eax
test eax, eax
je 0x1800039f8
xor r9d, r9d
lea rbx, str.2ae06f136eb6588508eefd4b5f6c98d8345f1104746d15141
xor r8d, r8d
xor eax, eax
xor edx, edx
mov rcx, rsi
mov rdi, rbx
repne scasb al, byte [rdi]
movsxd rax, r9d
inc r9d
not rcx
dec rcx
div rcx
mov al, byte [rdx + rbx]
xor byte [r8 + r12], al
inc r8
cmp r8, r11
jne 0x1800039c7
mov qword [r13], r12
mov esi, r11d
test rbp, rbp
je 0x180003a05
mov rcx, rbp
call fcn.180012990
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x180006658
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov r12, rcx
mov ebp, r8d
cmp qword [rcx + 8], rbx
jne 0x180006689
xor eax, eax
jmp 0x1800066b9
test r8d, r8d
je 0x1800066b4
mov rcx, qword [r12 + 8]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x180006685
movsxd rcx, eax
add ebx, eax
sub ebp, eax
add rsi, rcx
cmp ebx, edi
jb 0x18000668e
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x1800066d4
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov r12, rcx
mov rcx, qword [rcx + 8]
mov dword [rax + 0x18], 4
lea rax, [rax + 0x18]
mov ebp, r8d
mov rdi, rdx
mov esi, r8d
xor ebx, ebx
lea r9, [rsp + 0x50]
and dword [rax - 0x10], ebx
mov edx, 0xffff
mov r8d, 0x1006
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp qword [r12 + 8], rbx
jne 0x18000672d
xor eax, eax
jmp 0x18000675c
test ebp, ebp
je 0x180006757
mov rcx, qword [r12 + 8]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x180006729
movsxd rcx, eax
add ebx, eax
sub esi, eax
add rdi, rcx
cmp ebx, ebp
jb 0x180006731
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1800074f0
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x110
mov rax, qword [0x18002b028]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rcx
mov ecx, 0x1000
call fcn.1800129d0
xor r12d, r12d
mov ecx, 0x104
mov byte [rsp + 0xe0], 0x25
mov byte [rsp + 0xe1], 0x53
mov byte [rsp + 0xe2], 0x59
mov rsi, rax
mov byte [rsp + 0xe3], 0x53
mov byte [rsp + 0xe4], 0x54
mov byte [rsp + 0xe5], 0x45
mov byte [rsp + 0xe6], 0x4d
mov byte [rsp + 0xe7], 0x52
mov byte [rsp + 0xe8], 0x4f
mov byte [rsp + 0xe9], 0x4f
mov byte [rsp + 0xea], 0x54
mov byte [rsp + 0xeb], 0x25
mov byte [rsp + 0xec], 0x5c
mov byte [rsp + 0xed], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0xee], 0x79
mov byte [rsp + 0xef], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0xf0], 0x74
mov byte [rsp + 0xf1], 0x65
mov byte [rsp + 0xf2], WSAStartup
mov byte [rsp + 0xf3], gethostname
mov byte [rsp + 0xf4], gethostname
mov byte [rsp + 0xf5], 0x5c
mov byte [rsp + 0xf6], 0x63
mov byte [rsp + 0xf7], WSAStartup
mov byte [rsp + 0xf8], 0x64
mov byte [rsp + 0xf9], gethostbyname
mov byte [rsp + 0xfa], 0x65
mov byte [rsp + 0xfb], 0x78
mov byte [rsp + 0xfc], 0x65
mov byte [rsp + 0xfd], r12b
call fcn.1800129d0
lea rcx, [rsp + 0xe0]
mov rdx, rax
mov r8d, 0x104
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea r9, str._c__s
or r8, 0xffffffffffffffff
mov edx, 0xfff
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call fcn.180012f6c
xor eax, eax
lea rdi, [rsp + 0x70]
lea edx, [rax + 0x68]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdx
rep stosb byte [rdi], al
lea ecx, [rax + 0x18]
mov dword [rsp + 0x70], edx
lea rdi, [rsp + 0x50]
mov rdx, rsi
mov dword [rsp + 0xac], 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov word [rsp + 0xb0], r12w
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, rsi
mov edi, eax
call fcn.180012990
mov rcx, rbx
call fcn.180012990
mov eax, edi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180012970
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret