joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007ac80
Capabilities:
Access the windows event log

Disassembly:
push rsp
and al, 0x5c
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r13
mov eax, 0x278
call fcn.18003ac00
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rax, qword [0x1800e7b20]
xor rax, rbp
mov qword [rbp + 0x210], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x18007ad00
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x18007ad00
lea rbx, [rbp + 0x268]
call fcn.18004514c
mov rdx, qword [rbp + 0x260]
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.1800a81dc
jmp 0x18007aec8
mov r8, qword [rbp + 0x260]
mov rcx, r8
call fcn.18007a930
inc eax
mov edi, eax
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18007ad29
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.18003ac00
sub rsp, rcx
xor esi, esi
lea rbx, [rsp + 0x50]
test rbx, rbx
jne 0x18007ad50
lea rbx, str.no_stack_
jmp 0x18007ae23
mov r9d, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x18007ad99
mov rdx, rsi
test rdi, rdi
je 0x18007ad99
nop word [rax + rax]
mov rax, qword [rbp + 0x260]
inc rdx
movsx ecx, byte [rdx + rax - 1]
mov word [rbx + rdx*2 - 2], cx
cmp rdx, rdi
jb 0x18007ad80
mov rdx, rsi
test rdi, rdi
je 0x18007ae23
mov r10d, 0x53
lea r9, [0x180000000]
lea r11d, [r10 + 0x20]
lea r12d, [r10 - 0x10]
lea r13d, [r10 + 0x10]
nop
cmp word [rbx + rdx*2], 0x25
jne case.0x18007adf2.47
lea r8, [rbx + rdx*2 + 2]
nop dword [rax]
movzx eax, word [r8]
add eax, 0xffffffd6
cmp eax, 0x49
ja case.0x18007adf2.47
cdqe
movzx eax, byte [r9 + rax + 0x7af00]
mov ecx, dword [r9 + rax*4 + 0x7aee8]
add rcx, r9
jmp rcx
inc rdx
add r8, 2
jmp 0x18007add0
mov word [rbx + rdx*2 + 2], r10w
jmp case.0x18007adf2.47
mov word [rbx + rdx*2 + 2], r11w
jmp case.0x18007adf2.47
mov word [rbx + rdx*2 + 2], r12w
jmp case.0x18007adf2.47
mov word [rbx + rdx*2 + 2], r13w
inc rdx
cmp rdx, rdi
jb 0x18007adc0
lea r9, [rbp + 0x268]
lea rcx, [rbp + 0x10]
mov r8, rbx
mov edx, 0xff
call fcn.180040ec0
mov word [rbp + 0x20e], si
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x18007aeaf
call fcn.18007ab50
test eax, eax
jle 0x18007aeaf
lea rdx, str.OPENSSL
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [rsp + 0x40], rsi
mov ecx, 1
mov rbx, rax
lea rax, [rbp + 0x10]
mov edx, ecx
mov qword [rbp], rax
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov word [rsp + 0x28], cx
mov rcx, rbx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x18007aec8
lea r8, str.OpenSSL:_FATAL
lea rdx, [rbp + 0x10]
mov r9d, reloc.WS2_32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x210]
xor rcx, rbp
call fcn.180038100
lea rsp, [rbp + 0x228]
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18007af50
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.18003ac00
sub rsp, rax
mov r9, r8
mov r8d, edx
mov rdx, rcx
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.18007ac80
add rsp, 0x28
jmp fcn.18004d850
Function at 0x180080150
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x20
call fcn.18003ac00
sub rsp, rax
mov rbx, r8
call fcn.18007fb60
test eax, eax
js 0x18008038e
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x1800801d9
lea rdx, [rbx + r9*4 + 8]
lea r8, [rbx + 8]
nop dword [rax + rax]
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
sub rdx, 0x10
add r8, 0x10
cmp r10, r9
jl 0x180080190
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x18008038c
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x180000000]
nop dword [rax]
mov r8d, dword [r10 + 0xe]
add r10, 0x10
inc r11d
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0xc2e30]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
mov r9d, dword [rdi + rdx*4 + 0xc3a30]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0xc4230]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0xc4630]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
xor r9d, dword [rdi + rcx*4 + 0xc3e30]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0xc2e30]
movzx eax, byte [r10 + 3]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
mov r8d, dword [rdi + rdx*4 + 0xc3a30]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0xc4230]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0xc3e30]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0xc4630]
mov eax, r9d
mov dword [r10 + 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0xc2e30]
movzx eax, byte [r10 + 7]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
mov r8d, dword [rdi + rdx*4 + 0xc3a30]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0xc4230]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0xc3e30]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0xc4630]
mov r9d, dword [r10 + 0xa]
mov dword [r10 + 6], r8d
movzx edx, byte [rdi + rax*4 + 0xc2e30]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
mov r8d, dword [rdi + rdx*4 + 0xc4230]
mov eax, r9d
xor r8d, dword [rdi + rcx*4 + 0xc3e30]
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0xc3a30]
movzx ecx, byte [rdi + rax*4 + 0xc2e30]
xor r8d, dword [rdi + rcx*4 + 0xc4630]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x180080200
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x180081580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.18003ac00
sub rsp, rax
mov rax, qword [0x1800e7b20]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov rsi, rcx
movzx r10d, byte [rax]
mov ebx, dword [r15]
lea rdi, [rax + 1]
movzx ecx, byte [rdi + 6]
mov qword [rbp - 0x18], rax
movzx eax, byte [rdi]
shl eax, 8
mov r14, rdx
movzx edx, byte [rdi + 3]
or r10d, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
shl eax, 0x10
mov r12d, r8d
lea r8, [rdi + 5]
or r10d, eax
movzx eax, byte [rdi + 2]
xor r13d, r13d
shl eax, 0x18
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r15
or r10d, eax
movzx eax, byte [rdi + 4]
shl eax, 8
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0x10], r10b
or edx, eax
movzx eax, byte [r8]
or ecx, eax
mov eax, r10d
shr eax, 8
shl ecx, 0x10
mov byte [rbp - 0xf], al
or edx, ecx
mov eax, r10d
shr eax, 0x10
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0xc], dl
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 9], al
test r12d, r12d
je 0x18008173c
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx r8d, dl
movzx r9d, r10b
dec r12d
test ebx, ebx
jne 0x1800816d8
lea r8d, [rbx + 1]
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.18007c900
mov r10d, dword [rbp - 0x30]
mov edx, dword [rbp - 0x2c]
movzx r9d, byte [rbp - 0x30]
movzx r8d, byte [rbp - 0x2c]
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x10], r9b
mov byte [rbp - 0xc], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
inc r13d
mov byte [rbp - 9], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x180081672
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x18008173c
mov rax, qword [rbp - 0x18]
mov byte [rax], r9b
mov eax, r10d
shr eax, 8
mov byte [rdi], al
mov eax, r10d
shr r10d, 0x18
shr eax, 0x10
mov byte [rdi + 1], al
mov byte [rdi + 2], r10b
mov byte [rdi + 3], r8b
mov eax, edx
shr eax, 8
mov byte [rdi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [rdi + 5], al
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180038100
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18008e480
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r9, rcx
test rcx, rcx
je 0x18008e4d8
movzx eax, byte [rcx]
test al, al
je 0x18008e4d8
mov r10d, 0x100
nop dword [rax + rax]
movsx edx, al
inc r9
or edx, r10d
add r10d, 0x100
mov eax, edx
shr eax, 2
xor eax, edx
and eax, 0xf
movzx ecx, al
movzx eax, byte [r9]
imul edx, edx
rol r8d, cl
xor r8d, edx
test al, al
jne 0x18008e4a0
mov eax, r8d
shr eax, 0x10
xor eax, r8d
ret
xor eax, eax
ret

Function at 0x1800a5550
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
mov qword [rsp + 0x38], rbp
mov rbp, rcx
lea r8, [rsp + 0x68]
lea rdx, str.SystemCurrentControlSetControlProductOptions
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1800a566f
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductSuite
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800a566f
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1800a566f
lea ecx, [rdi + 0x40]
mov edx, eax
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1800a566a
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductSuite
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800a5661
cmp dword [rsp + 0x60], 7
jne 0x1800a5661
mov qword [rsp + 0x50], rbx
mov rbx, rsi
cmp byte [rsi], dil
je 0x1800a565c
nop dword [rax + rax]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1800a5657
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cdqe
add rbx, rax
cmp byte [rbx], dil
jne 0x1800a5630
jmp 0x1800a565c
mov edi, 1
mov rbx, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x38]
test rcx, rcx
je 0x1800a5684
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x1800a5690
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800e7b20]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
call fcn.18002cb70
test eax, eax
je 0x1800a5767
call fcn.18002cbd0
test eax, eax
je 0x1800a5759
xor edx, edx
xor ecx, ecx
mov r8d, 0x20000
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x1800a5707
lea r8d, [rbx + 4]
lea rdx, str.TermService
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
jne 0x1800a570b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x1800a5769
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1800a5745
mov eax, dword [rsp + 0x24]
cmp eax, 4
je 0x1800a5740
cmp eax, 2
jne 0x1800a5745
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1800a5767
lea rcx, str.Terminal_Server
call fcn.1800a5550
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180038100
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
jmp 0x1800a5690

Function at 0x1800a5a10
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800e7b20]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
call fcn.18002cb70
test eax, eax
je 0x1800a5767
call fcn.18002cbd0
test eax, eax
je 0x1800a5759
xor edx, edx
xor ecx, ecx
mov r8d, 0x20000
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x1800a5707
lea r8d, [rbx + 4]
lea rdx, str.TermService
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
jne 0x1800a570b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x1800a5769
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1800a5745
mov eax, dword [rsp + 0x24]
cmp eax, 4
je 0x1800a5740
cmp eax, 2
jne 0x1800a5745
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1800a5767
lea rcx, str.Terminal_Server
call fcn.1800a5550
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180038100
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
jmp 0x1800a5690
Function at 0x1800ab9f0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x180103d74]
test ecx, ecx
jne 0x1800abb54
mov eax, dword [0x180103d70]
cmp eax, 3
ja 0x1800abb54
inc eax
mov qword [rsp + 0x20], rbx
mov dword [0x180103d70], eax
call fcn.18002cb70
test eax, eax
je 0x1800aba36
lea rcx, str.psapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1800aba43
lea rcx, [0x1800cca78]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x1800aba55
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.EnumProcesses
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.EnumProcessModules
mov rcx, rbx
mov qword [0x180103d20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProcessMemoryInfo
mov rcx, rbx
mov qword [0x180103d28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetModuleFileNameExA
mov rcx, rbx
mov qword [0x180103d30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetModuleFileNameExW
mov rcx, rbx
mov qword [0x180103d38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetModuleInformation
mov rcx, rbx
mov qword [0x180103d40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProcessImageFileNameA
mov rcx, rbx
mov qword [0x180103d48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProcessImageFileNameW
mov rcx, rbx
mov qword [0x180103d50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetMappedFileNameA
mov rcx, rbx
mov qword [0x180103d58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetMappedFileNameW
mov rcx, rbx
mov qword [0x180103d60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x20]
mov qword [0x180103d68], rax
mov dword [0x180103d74], 1
mov eax, 1
add rsp, 0x28
ret
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1800abb60
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x180103dec]
test ecx, ecx
jne 0x1800abd20
mov eax, dword [0x180103de8]
cmp eax, 3
ja 0x1800abd20
inc eax
mov qword [rsp + 0x20], rbx
mov dword [0x180103de8], eax
call fcn.18002cb70
test eax, eax
je 0x1800abba6
lea rcx, str.wtsapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1800abbb3
lea rcx, [0x1800ccbd0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x1800abbc5
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.WTSOpenServerA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSOpenServerW
mov rcx, rbx
mov qword [0x180103d78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSCloseServer
mov rcx, rbx
mov qword [0x180103d80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSFreeMemory
mov rcx, rbx
mov qword [0x180103d88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateSessionsA
mov rcx, rbx
mov qword [0x180103d90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateSessionsW
mov rcx, rbx
mov qword [0x180103d98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSTerminateProcess
mov rcx, rbx
mov qword [0x180103da0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateProcessesA
mov rcx, rbx
mov qword [0x180103da8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateProcessesW
mov rcx, rbx
mov qword [0x180103db0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSSendMessageA
mov rcx, rbx
mov qword [0x180103db8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSSendMessageW
mov rcx, rbx
mov qword [0x180103dc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSQuerySessionInformationA
mov rcx, rbx
mov qword [0x180103dc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSQuerySessionInformationW
mov rcx, rbx
mov qword [0x180103dd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSWaitSystemEvent
mov rcx, rbx
mov qword [0x180103dd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x20]
mov qword [0x180103de0], rax
mov dword [0x180103dec], 1
mov eax, 1
add rsp, 0x28
ret
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1400012d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x150], rax
xorps xmm0, xmm0
mov dword [rsp + 0x64], 2
xor ebx, ebx
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
mov dword [rsp + 0x60], ebx
mov ecx, 0x202
movdqa xmmword [rbp - 0x80], xmm1
lea rdx, [rbp - 0x50]
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x6c], 6
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000139d
mov qword [rsp + 0x50], rbx
jns 0x14000134e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov r9d, 0x400
mov qword [rsp + 0x20], rcx
mov r8d, eax
mov ecx, 0x1300
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rdx, qword [rsp + 0x50]
lea r8, [0x1400044d8]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rax, 0xffffffffffffffff
jmp 0x1400014d8
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov edx, 1
mov dword [rsp + 0x20], ebx
mov r8d, 6
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [0x1400066c0], rax
cmp rax, 0xffffffffffffffff
jne 0x1400013d9
mov qword [rsp + 0x50], rbx
jmp 0x140001348
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rbx
lea rdx, str.14725
mov qword [rsp + 0x38], rbx
lea rcx, str.qlauncher.ru
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_GetAddrInfoExW]
test eax, eax
jne 0x1400013cf
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
mov rcx, qword [0x1400066c0]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
je 0x1400014d1
mov qword [rsp + 0x50], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov r9d, 0x400
mov qword [rsp + 0x20], rcx
mov r8d, eax
mov ecx, 0x1300
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rdx, qword [rsp + 0x50]
lea r8, [0x1400044d8]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
mov rcx, qword [0x1400066c0]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
jne 0x140001453
mov rax, qword [0x1400066c0]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400026d0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rbp
ret
Function at 0x1400016f0
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx ebx, cl
mov edi, ebx
mov edx, ebx
test cl, cl
je 0x1400017be
sub edx, 1
je 0x140001777
cmp edx, 1
jne 0x14000175e
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WINMM.dll_PlaySoundW]
test eax, eax
jne 0x14000174f
mov r9d, 0x10
lea r8, [0x140004588]
lea rdx, [0x1400045c8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [0x1400066b0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
sub bl, 3
cmp bl, 0x13
ja 0x1400018cd
lea ecx, [rdi - 2]
call fcn.140001650
jmp 0x1400018cd
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WINMM.dll_PlaySoundW]
test eax, eax
jne 0x1400017a4
mov r9d, 0x10
lea r8, [0x140004588]
lea rdx, [0x1400045c8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [0x1400066b0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov r9d, 1
jmp 0x140001851
mov rcx, qword [0x1400066b0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rbx, qword [0x1400066c8]
test rbx, rbx
jne 0x1400017e0
mov ecx, 0x80070057
jmp 0x14000180d
mov rax, qword [rbx]
xor r8d, r8d
movss xmm1, dword [0x140004888]
mov rcx, rbx
call qword [rax + 0x38]
test eax, eax
jne 0x14000180b
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + 0x70]
cmp eax, 1
jbe 0x140001812
mov ecx, eax
call fcn.140001160
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x4000d
mov ecx, 0x67
mov rdx, rax
call qword [sym.imp.WINMM.dll_PlaySoundW]
test eax, eax
jne 0x14000184e
mov r9d, 0x10
lea r8, [0x140004588]
lea rdx, [0x140004598]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor r9d, r9d
xor ebx, ebx
lea r8, [0x140001500]
mov qword [rsp + 0x28], rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400066b0], rax
test rax, rax
jne 0x1400018cd
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
mov r9d, 0x400
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rdx, qword [rsp + 0x40]
lea r8, [0x140004520]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400026d0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret