joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400026f0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.ServiceWinTest::pause_handler
call section..text
lea rcx, str.stop_thread
add rsp, 0x28
jmp section..text

Function at 0x140002740
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.ServiceWinTest::stop_handler
call section..text
lea rcx, str.stop_thread
add rsp, 0x28
jmp section..text

Function at 0x140003040
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub rsp, 0xa48
mov rax, qword [0x1400160d0]
xor rax, rsp
mov qword [rsp + 0xa30], rax
lea rcx, str.mvwifisetup.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1400185c8], rax
test rax, rax
jne 0x1400030fe
lea rdx, [rsp + 0x20]
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1400030a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Couldnt_get_current_directory___GLE__d_n
mov edx, eax
call section..text
jmp 0x140003201
lea r9, str.mvwifisetup.dll
lea r8, [rsp + 0x20]
lea rdx, str._s_s
lea rcx, [rsp + 0x420]
call fcn.140003d30
lea rcx, [rsp + 0x420]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1400185c8], rax
test rax, rax
jne 0x1400030fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.mvwifisetup.dll
lea rcx, str.Couldnt_load__s___GLE__d_n
mov r8d, eax
call section..text
jmp 0x140003201
lea rdx, str.WiFiGetNetworkCredentials
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400185c8]
lea rdx, str.WiFiRescanNetworkCredentials
mov qword [0x1400185c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400185c8]
lea rdx, str.WiFiGetConfigFile
mov qword [0x1400185b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400185c8]
lea rdx, str.WiFiSetConfigFile
mov qword [0x1400185b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400185c8]
lea rdx, str.WiFiSetUsernamePassword
mov qword [0x1400185a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400185c8]
lea rdx, str.WiFiGetAdaptorCredentials
mov qword [0x1400185a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1400185c0], 0
mov qword [0x140018598], rax
je 0x1400031e8
cmp qword [0x1400185b8], 0
je 0x1400031e8
cmp qword [0x1400185b0], 0
je 0x1400031e8
cmp qword [0x1400185a8], 0
je 0x1400031e8
cmp qword [0x1400185a0], 0
je 0x1400031e8
mov al, 1
mov rcx, qword [rsp + 0xa30]
xor rcx, rsp
call fcn.140003d10
add rsp, 0xa48
ret
lea rcx, str.One_of_the_GetProcAddress_calls_failed..._n
call section..text
mov rcx, qword [0x1400185c8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
mov rcx, qword [rsp + 0xa30]
xor rcx, rsp
call fcn.140003d10
add rsp, 0xa48
ret
Function at 0x1400034c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1400160d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
lea rcx, str.start_thread
call section..text
xor edi, edi
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0x18
mov dword [rsp + 0x30], edi
mov word [rsp + 0x50], di
call fcn.140006c10
lea r8, str.5C4E04BB_F4FB_4629_8D29_B2F9B6C90BE4
lea rdx, str..pipe_s
lea rcx, [rsp + 0x50]
call fcn.140003d30
lea r11, [rsp + 0x30]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], r11
lea r8, [0x140003220]
lea rcx, [rsp + 0x38]
xor edx, edx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov qword [rbx + 0x6a8], rax
setne al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140003d10
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret

Function at 0x140004edb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400160d0]
jne 0x140003d2a
rol rcx, 0x10
test cx, 0xffff
jne 0x140003d26
repz ret
ror rcx, 0x10
jmp 0x140004e34
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400176a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140017798]
mov qword [rsp + 0x58], r11
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 0x140004eb9
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, [0x1400176a0]
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 0x140004edb
mov rax, qword [rsp + 0x88]
mov qword [0x140017798], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140017738], rax
mov rax, qword [0x140017798]
mov qword [0x140017610], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140017720], rax
mov dword [0x140017600], 0xc0000409
mov dword [0x140017604], 1
mov rax, qword [0x1400160d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400160d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140017698], eax
mov ecx, 1
call fcn.14000a10c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140010618]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140017698], 0
jne 0x140004f62
mov ecx, 1
call fcn.14000a10c
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 0x140007840
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400076a8
Function at 0x14000c794
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400086d0
xor ebx, ebx
mov rdi, rax
cmp qword [0x140018488], rbx
jne 0x14000c89a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14000c96f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000c96f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140018488], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140018490], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140018498], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400184a8], rax
test rax, rax
je 0x14000c891
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400184a0], rax
jmp 0x14000c8a1
mov rax, qword [0x1400184a0]
jmp 0x14000c8a8
mov rax, qword [0x1400184a0]
mov r11, qword [0x1400184a8]
cmp rax, rdi
je 0x14000c910
cmp r11, rdi
je 0x14000c910
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400184a8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14000c910
test rax, rax
je 0x14000c910
call rsi
test rax, rax
je 0x14000c90a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000c90a
test byte [rsp + 0x38], 1
jne 0x14000c910
bts ebp, 0x15
jmp 0x14000c94e
mov rcx, qword [0x140018490]
cmp rcx, rdi
je 0x14000c94e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000c94e
call rax
mov rbx, rax
test rax, rax
je 0x14000c94e
mov rcx, qword [0x140018498]
cmp rcx, rdi
je 0x14000c94e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000c94e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140018488]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000c96f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000c971
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1800111a4
Capabilities:
Terminate process

Disassembly:
jmp 0x180014ef0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14097b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14097b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14097b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14097b06f
add dl, dl
jne 0x14097b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14097b0f6
xor eax, eax
add dl, dl
jne 0x14097b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14097b1ad
add dl, dl
jne 0x14097b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14097b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14097b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14097b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14097b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14097b07e
mov eax, 1
add dl, dl
jne 0x14097b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14097b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14097b0fb
sub eax, ebx
mov ebx, 1
jne 0x14097b14c
mov ecx, 1
add dl, dl
jne 0x14097b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14097b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14097b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14097b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14097b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14097b15d
cmp eax, 0x7d00
jae 0x14097b19b
cmp eax, 0x500
jb 0x14097b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097b07e
cmp eax, 0x7f
ja 0x14097b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14097b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14097b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004349f0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00434a00]
mov dword [rax], 1
mov rax, qword [0x00434a10]
mov dword [rax], 1
mov rax, qword [0x004349e0]
mov dword [rax], 1
mov rax, qword [0x004348a0]
cmp word [rax], 0x5a4d
je 0x4010d0
mov rax, qword [0x004349d0]
mov dword [0x00437008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010c2
mov ecx, 2
call sym.__set_app_type
mov rcx, 0xffffffffffffffff
call dbg._encode_pointer
mov rdx, qword [0x00434930]
mov qword [rdx], rax
mov rdx, qword [0x00434920]
mov qword [rdx], rax
mov rax, qword [0x00434990]
mov edx, dword [rax]
mov rax, qword [sym.imp.msvcrt.dll__fmode]
mov rax, qword [rax]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00434850]
cmp dword [rax], 1
je 0x401120
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401133
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058

Function at 0x401530
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov eax, 0x305e0
call fcn.00402ab0
sub rsp, rax
lea rbp, [rsp + 0x80]
call dbg.__main
lea rax, [rbp - 0x60]
lea rdx, section..rdata
mov ecx, 0x305b5
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x305b5
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x30558], rax
mov rax, qword [rbp + 0x30558]
mov rcx, rax
lea rax, [rbp - 0x60]
mov edx, 0x305b5
mov r8, rdx
mov rdx, rax
call sym.memcpy
mov rax, qword [rbp + 0x30558]
call rax
mov eax, 0
add rsp, 0x305e0
pop rbp
ret
Function at 0x4017d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x00437054]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x4018ea
mov rax, qword [0x00437058]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x40181e
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x4018d0
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x401802
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x401922
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x00437058]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x00437058]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401905
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4018c9
sub eax, 0x40
and eax, 0xffffffbf
je 0x4018c9
mov r9, rbp
add r9, qword [0x00437058]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4018f1
add dword [0x00437054], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebp, ebp
jmp 0x40182b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
mov rax, qword [0x00437058]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call dbg.__report_error
nop
nop word cs:[rax + rax]

Function at 0x402500
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x402510
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x402520
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402561
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402558
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402563
add rax, 0x28
cmp rax, r9
jne 0x402544
xor eax, eax
repz ret

Function at 0x402610
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x004348a0]
cmp word [rbx], 0x5a4d
je 0x402630
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402624
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg._FindPESection
Function at 0x402880
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004379c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004379a0]
test rbx, rbx
je 0x4028d4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4028cb
test rsi, rsi
je 0x4028cb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4028b0
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x004379c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
Function at 0x140687058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406871df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140687089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14068706f
add dl, dl
jne 0x140687096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406870f6
xor eax, eax
add dl, dl
jne 0x1406870a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406871ad
add dl, dl
jne 0x1406870b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406870c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406870d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406870dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406870ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14068707e
mov eax, 1
add dl, dl
jne 0x140687106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140687113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406870fb
sub eax, ebx
mov ebx, 1
jne 0x14068714c
mov ecx, 1
add dl, dl
jne 0x14068712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14068713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140687123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140687168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140687175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14068715d
cmp eax, 0x7d00
jae 0x14068719b
cmp eax, 0x500
jb 0x140687196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068707e
cmp eax, 0x7f
ja 0x14068719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406871d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14068707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000b840
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rdx + 0x10]
movups xmm1, xmmword [rdx]
movups xmm0, xmmword [rdx + 4]
mov r9d, dword [rdx + 0xc]
add r9d, eax
bswap r9d
movd xmm2, r9d
shufps xmm2, xmm0, 0xd4
unpcklps xmm0, xmm1
shufps xmm0, xmm2, 0x21
xorps xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
ret
Function at 0x14001ec20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x140056280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140056310
cmp r11, r10
ja 0x140056386
cmp r10, rdx
ja 0x14005639a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140056312
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400562f0
jmp 0x140056374
ja 0x14005631a
mov r11, r10
cmp rax, r8
jne 0x1400562b4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140056350
mov rdi, r8
sub ecx, edx
jns 0x14005636b
jmp 0x140056376
cmp r8, rsi
je 0x1400563ab
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140056376
xor al, 1
cmp rdi, rsi
jne 0x140056330
jmp 0x140056376
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140389ac0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140389830
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1403898b0
ud2

Function at 0x1400586f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x14005890d
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movq mm4, rax
Function at 0x14005f6c0
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 0x14005f702
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14005f70a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14005f71b
jmp 0x14005f732
xor r10d, r10d
jmp 0x14005f7bd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14005f732
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14005f749
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
jo 0x14005f794
cmp r10, r8
jbe 0x14005f769
add r11, r8
jmp case.0x140047d5c.431
mov r11, qword [rax + 0x18]

Function at 0x140074d90
Capabilities:
Get local ipv4 addresses
Get socket information
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rbx, rdx
mov rsi, rcx
movzx eax, byte [0x1404a3530]
add eax, 0x42e780
mov rcx, qword [0x1404a3498]
test rcx, rcx
jne 0x140074dd5
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
test eax, eax
je 0x14007523a
mov rcx, rax
mov qword [0x1404a3498], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14007523a
mov ecx, 8
mov edx, 0x18
call fcn.140389330
ud2

Function at 0x1400757c0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x110
mov rbx, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov edi, 0x17
cmove edi, eax
mov rax, qword [0x1404a33b8]
cmp rax, 3
jne 0x140075d28
mov byte [rsp + 0xd8], 1
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
lea rax, str.C:Users_rosesxrq.cargo_registry_srcindex.crates.io_6f17d22bba15001f_socket2_0.5.5_src_syswindows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1404a33b8]
lea r9, [0x140434f30]
cmp eax, dword [rax]