joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400033c8
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x30
mov esi, r8d
mov r12, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 0x14], eax
je 0x140003407
mov r9d, 1
xchg dword [rdi + 0x10], r9d
cmp r9d, 1
je 0x1400033f4
mov dword [rdi + 0x14], eax
inc dword [rdi + 0x18]
and qword [rsp + 0x20], 0
xor r9d, r9d
lea eax, [rsi + 0xe]
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x60]
lea rcx, [rdi + 0x80]
mov dword [rsp + 0x60], eax
call fcn.14000105c
and qword [rsp + 0x20], 0
xor r9d, r9d
lea rbx, [rdi + 0x30]
lea rcx, [rdi + 0x80]
lea r8d, [r9 + 0xa]
mov rdx, rbx
call fcn.14000105c
lea rcx, [rdi + 0x80]
mov r9d, 1
mov r8d, esi
mov rdx, r12
mov qword [rsp + 0x20], rbx
call fcn.14000105c
cmp qword [rdi + 0x88], 0
jne 0x14000347a
xor ebx, ebx
jmp 0x140003486
mov ebx, dword [rdi + 0x90]
sub ebx, dword [rdi + 0x88]
mov r12, qword [rdi + 0x88]
mov r15d, 0x40000
jmp 0x1400034c3
xor esi, esi
mov rcx, qword [rdi + 0xb0]
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x1400034b8
inc esi
cmp esi, 0xf
jl 0x140003497
cmp esi, 0xf
je 0x1400034ef
add r12, r15
sub ebx, r15d
cmp ebx, r15d
jge 0x140003495
test ebx, ebx
jle 0x1400034ef
xor esi, esi
mov rcx, qword [rdi + 0xb0]
xor r9d, r9d
mov r8d, ebx
mov rdx, r12
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x1400034ef
inc esi
cmp esi, 0xf
jl 0x1400034ce
mov rax, qword [rdi + 0x88]
lea rcx, [rdi + 0x80]
mov edx, 0x400
mov qword [rdi + 0x90], rax
call fcn.1400011ec
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [rdi + 0x14]
jne 0x140003526
dec dword [rdi + 0x18]
jne 0x140003526
and dword [rdi + 0x14], 0
and dword [rdi + 0x10], 0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov eax, 1
add rsp, 0x30
pop r15
pop r12
pop rdi
ret
Function at 0x1400035ac
Capabilities:
Create thread
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x30
mov eax, dword [rcx + 0x21c]
xor esi, esi
movzx ebx, r8w
mov rbp, rdx
mov rdi, rcx
test eax, eax
jne 0x1400035e0
mov dword [rcx + 0x23c], 0x598
jmp 0x1400035f4
cmp eax, 0x598
jbe 0x1400035ee
xor eax, eax
jmp 0x14000376f
mov dword [rcx + 0x23c], eax
mov dword [rcx + 0x8c], esi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [rdi + 0xd8], 0x598
lea rcx, [rdi + 0xe8]
mov qword [rdi + 0x258], rax
mov eax, dword [rdi + 0x70]
mov dword [rdi + 0xdc], eax
mov eax, dword [rdi + 0x74]
mov dword [rdi + 0xe0], eax
mov edx, dword [rdi + 0xdc]
call fcn.140001694
mov r15d, 1
mov qword [rdi + 0x4c], 5
mov dword [rdi + 0x48], r15d
mov dword [rdi + 0x54], r15d
mov eax, r15d
lock xadd qword [0x1400215d0], rax
add rax, r15
mov qword [rdi + 0x68], rax
jne 0x14000367a
mov eax, r15d
lock xadd qword [0x1400215d0], rax
add rax, r15
mov qword [rdi + 0x68], rax
mov rcx, qword [rdi + 0x58]
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 0x1001
mov dword [rsp + 0x50], 0x40000
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 0x58]
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 0x1002
mov dword [rsp + 0x50], 0x40000
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
movzx r8d, bx
mov rdx, rbp
mov rcx, rdi
call fcn.140003784
test eax, eax
je 0x140003729
lea rax, [rdi + 0x80]
lea r8, [0x140003964]
mov r9, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call fcn.140007c9c
mov qword [rdi + 0x78], rax
test rax, rax
je 0x14000371c
mov rcx, qword [rdi + 0x40]
mov esi, r15d
call qword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x14000376d
mov r9d, 0x65f
mov edx, 8
jmp 0x140003737
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, inet_ntoa
mov r9d, eax
lea r8, str.CUdpSocket::Start
mov rcx, rdi
call fcn.140004900
mov dword [rdi + 0x48], esi
mov qword [rdi + 0x4c], 5
mov dword [rdi + 0x54], r15d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call fcn.140004464
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret
Function at 0x140003784
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x70
mov rax, qword [0x14001c258]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor esi, esi
movzx r12d, r8w
mov r13, rdx
lea r14d, [rsi + 2]
mov rbp, rcx
lea r8d, [rsi + 0x11]
mov edx, r14d
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x1400037d3
xor eax, eax
jmp 0x140003946
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x30], rcx
mov edi, 4
lea r8, [rsp + 0x50]
mov rcx, rax
mov edx, 0x9800000c
mov r9d, edi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rcx, qword [rbp + 0x58]
mov ebx, 0xffff
lea r9, [rsp + 0x50]
lea r8d, [rdi - 9]
mov edx, ebx
mov dword [rsp + 0x20], edi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbp + 0x58]
lea r9, [rsp + 0x50]
mov r8d, edi
mov edx, ebx
mov dword [rsp + 0x20], edi
call qword [sym.imp.WS2_32.dll_setsockopt]
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov rcx, r13
mov qword [rbp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov r8, r13
xor edx, edx
xor ecx, ecx
mov r9d, eax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.14000726c
mov rcx, r13
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov r8, r13
xor edx, edx
mov r9d, eax
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rdi
mov byte [rbx + rdi], sil
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, rdi
mov rbx, rax
call fcn.140007274
test rbx, rbx
je 0x1400037cc
movzx ecx, r12w
mov word [rsp + 0x58], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov rdx, qword [rbp + 0x60]
mov r8d, gethostbyname
mov word [rsp + 0x5a], ax
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov rcx, qword [rbp + 0x58]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x140003944
mov rcx, qword [rbp + 0x58]
lea rdx, [rsp + 0x58]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14000393f
cmp eax, 0xffffffff
jne 0x140003944
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140003944
mov esi, 1
mov eax, esi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140007290
add rsp, 0x70
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003d04
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x20
mov eax, dword [rdx + 0x14]
xor ebp, ebp
mov rbx, rcx
test eax, eax
je 0x140003d3e
mov dword [rcx + 0x48], 1
mov dword [rcx + 0x4c], 2
mov dword [rcx + 0x50], eax
mov dword [rcx + 0x54], 1
xor eax, eax
jmp 0x140003dea
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x58]
mov r8d, 0x23
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x140003d77
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbx + 0x48], 1
mov dword [rbx + 0x4c], 2
mov dword [rbx + 0x50], eax
mov dword [rbx + 0x54], 1
jmp 0x140003d37
mov dword [rbx + 0x88], 1
lea r9, [rbx + 0x220]
lea rcx, [rbx + 0x268]
mov r8, rbx
mov rdx, rbx
mov dword [rbx + 0x8c], 1
call fcn.140004e70
mov rcx, qword [rbx + 0x58]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov esi, ebp
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140003dcd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp eax, 0x2733
cmove esi, ebp
mov rcx, qword [rbx + 0x68]
call fcn.140002ce0
test esi, esi
je 0x140003de5
mov ecx, 0x80004005
call fcn.140001338
int3
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x1400042c4
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
mov rdi, rcx
mov eax, dword [rdi + 0x218]
test eax, eax
jle 0x140004419
lea rcx, [rdi + 0x1b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [rdi + 0x1e8]
cmp rsi, qword [rdi + 0x1f0]
je 0x14000431d
mov rax, qword [rsi + 8]
mov qword [rdi + 0x1e8], rax
and qword [rax + 0x10], 0
jmp 0x140004332
test rsi, rsi
je 0x140004347
and qword [rdi + 0x1e8], 0
and qword [rdi + 0x1f0], 0
test rsi, rsi
je 0x140004347
and qword [rsi + 8], 0
and qword [rsi + 0x10], 0
dec dword [rdi + 0x1e0]
lea rcx, [rdi + 0x1b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x140004419
mov r8d, dword [rsi + 0x30]
mov rdx, qword [rsi + 0x28]
mov rcx, qword [rdi + 0x58]
sub r8d, dword [rsi + 0x28]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov ebp, eax
test eax, eax
jle 0x14000439e
lea rcx, [rdi + 0x1b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rdi + 0x218], ebp
lea rcx, [rdi + 0x1b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400043a3
cmp eax, 0xffffffff
je 0x1400043b7
lea rcx, [rdi + 0xb8]
mov rdx, rsi
call fcn.140001514
jmp 0x1400042e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140004439
lea rcx, [rdi + 0x1b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0x1e8]
test rax, rax
je 0x1400043ee
mov qword [rax + 0x10], rsi
mov rax, qword [rdi + 0x1e8]
mov qword [rsi + 8], rax
jmp 0x1400043ff
and qword [rsi + 0x10], 0
and qword [rsi + 8], 0
mov qword [rdi + 0x1f0], rsi
inc dword [rdi + 0x1e0]
lea rcx, [rdi + 0x1b8]
mov qword [rdi + 0x1e8], rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
lea rcx, [rdi + 0xb8]
mov rdx, rsi
mov dword [rdi + 0x48], 1
mov dword [rdi + 0x4c], 3
mov dword [rdi + 0x50], eax
mov dword [rdi + 0x54], 1
call fcn.140001514
xor eax, eax
jmp 0x14000441e
Function at 0x140004464
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [rbx + 0x8c]
mov esi, eax
mov r12d, 1
cmp edx, 3
je 0x1400044e9
xor edi, edi
xor eax, eax
lock cmpxchg dword [rbx + 0x1b0], r12d
je 0x1400044ca
mov eax, edi
and eax, 0xfff
cmp eax, 0xfff
jne 0x1400044ba
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
jmp 0x1400044c5
mov eax, edi
and eax, 0x3f
cmp al, 0x3f
jne 0x1400044c5
pause
add edi, r12d
jmp 0x140004497
mov eax, dword [rbx + 0x8c]
cmp eax, r12d
je 0x140004519
mov eax, dword [rbx + 0x8c]
test eax, eax
je 0x140004519
mov dword [rbx + 0x1b0], 0
lea r8, str.CUdpSocket::CheckStoping
mov r9d, 0x139f
mov edx, r12d
mov rcx, rbx
call fcn.140004900
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r12
ret
mov dword [rbx + 0x8c], 2
mov dword [rbx + 0x1b0], 0
mov edx, esi
mov rcx, rbx
call fcn.14000473c
mov eax, dword [rbx + 0x88]
test eax, eax
je 0x140004569
cmp dword [rbx + 0x54], 0
je 0x14000455f
mov rcx, qword [rbx + 0x58]
xor r9d, r9d
lea rdx, [0x140018ce0]
lea r8d, [r9 + 0x10]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbx + 0x88], 0
cmp dword [rbx + 0x48], 0
je 0x140004587
mov rcx, qword [rbx + 0x68]
call fcn.140002ce0
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
xchg dword [rbx + 0x20], eax
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14000459b
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
and qword [rbx + 0x60], 0
mov rcx, qword [rbx + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x1400045bd
mov edx, r12d
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.WS2_32.dll_closesocket]
or qword [rbx + 0x58], 0xffffffffffffffff
mov rcx, rbx
call fcn.1400045d0
mov eax, r12d
jmp 0x140004503
Function at 0x140004af4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 8]
mov edi, r8d
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbx + 0x1c], eax
xor eax, eax
xchg dword [rbx + 0x20], eax
xor eax, eax
mov qword [rbx + 0x30], rax
mov word [rbx + 0x38], ax
mov rax, qword [rbx + 0x1c]
mov qword [rbx + 0x30], rax
mov eax, dword [rbx + 0x8c]
mov word [rbx + 0x38], 0x1ca
cmp eax, 3
je 0x140004b5c
mov rcx, rbx
call fcn.140004464
movzx r8d, di
mov rdx, rsi
mov rcx, rbx
call fcn.1400035ac
mov rcx, qword [rbx + 0x358]
mov edx, 0x1770
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140004b9e
cmp eax, 0x102
je 0x140004b8d
cmp eax, 0xffffffff
jne 0x140004b9a
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
jmp 0x140004bde
mov ecx, 1
xchg dword [rbx + 0x20], ecx
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r11, [rsp + 0x40]
lea r8, [0x140004bf0]
mov qword [rsp + 0x28], r11
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call fcn.140007c9c
mov qword [rbx + 0x360], rax
mov al, 1
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000561c
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov rbx, rcx
mov r9, rcx
lea r8, [0x140005414]
xor edx, edx
xor ecx, ecx
call fcn.140007c9c
mov ecx, 0xbb8
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
add rsp, 0x30
pop rbx
jmp qword [rax]
Function at 0x1400069cc
Capabilities:
Create thread
Hide graphical window

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14001c258]
xor rax, rsp
mov qword [rbp + 0x70], rax
lea rcx, [0x140006254]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, eax
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call qword [sym.imp.USER32.dll_GetInputState]
call fcn.14000626c
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x140005f40]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x1400215c0], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400215c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x60]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
and qword [rsp + 0x40], 0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x48], select
repne scasb al, byte [rdi]
lea rax, [rsp + 0x30]
mov byte [rsp + 0x30], 0
not rcx
lea rdi, [rcx - 1]
lea rcx, [rsp + 0x60]
cmp rcx, rax
jb 0x140006aef
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x60]
cmp rcx, rax
jbe 0x140006aef
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov r9, rdi
sub r8, rax
call fcn.140006cb4
jmp 0x140006b66
cmp rdi, 0xfffffffffffffffe
jbe 0x140006b02
lea rcx, str.string_too_long
call fcn.140007184
int3
cmp rdi, 0xf
jbe 0x140006b1a
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
call fcn.140006e40
jmp 0x140006b29
test rdi, rdi
jne 0x140006b2e
and qword [rsp + 0x40], rdi
mov byte [rsp + 0x30], dil
test rdi, rdi
je 0x140006b66
cmp qword [rsp + 0x48], 0x10
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x60]
cmovae rcx, qword [rsp + 0x30]
mov r8, rdi
call fcn.1400072c0
cmp qword [rsp + 0x48], 0x10
lea rax, [rsp + 0x30]
cmovae rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rdi
mov byte [rax + rdi], 0
cmp qword [rsp + 0x48], 0x10
jb 0x140006b78
mov rcx, qword [rsp + 0x30]
call fcn.140007274
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140007290
mov rdi, qword [rsp + 0x190]
add rsp, 0x180
pop rbp
ret
Function at 0x1400081f7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001c258]
jne 0x1400072aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400072a6
repz ret
ror rcx, 0x10
jmp 0x140008150
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14001f5f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14001f6e8]
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 0x1400081d5
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, [0x14001f5f0]
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 0x1400081f7
mov rax, qword [rsp + 0x88]
mov qword [0x14001f6e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14001f688], rax
mov rax, qword [0x14001f6e8]
mov qword [0x14001f560], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14001f670], rax
mov dword [0x14001f550], 0xc0000409
mov dword [0x14001f554], 1
mov rax, qword [0x14001c258]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001c260]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14001f5e8], eax
mov ecx, 1
call fcn.14000b470
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400168f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14001f5e8], 0
jne 0x14000827e
mov ecx, 1
call fcn.14000b470
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 0x1400088b0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140008720
Function at 0x14000b938
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 [0x14001c258]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140009f7c
xor ebx, ebx
cmp qword [0x140020560], rbx
mov rdi, rax
jne 0x14000ba4b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000bb22
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000bb22
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140020560], 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 [0x140020568], 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 [0x140020570], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140020580], rax
test rax, rax
je 0x14000ba42
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 [0x140020578], rax
jmp 0x14000ba52
mov rax, qword [0x140020578]
jmp 0x14000ba59
mov rax, qword [0x140020578]
mov r11, qword [0x140020580]
cmp rax, rdi
je 0x14000bac0
cmp r11, rdi
je 0x14000bac0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140020580]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000bac0
test rax, rax
je 0x14000bac0
call rsi
test rax, rax
je 0x14000baba
lea rcx, [rsp + 0x30]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000baba
test byte [rsp + 0x40], 1
jne 0x14000bac0
bts ebp, 0x15
jmp 0x14000bb00
mov rcx, qword [0x140020568]
cmp rcx, rdi
je 0x14000bb00
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000bb00
call rax
mov rbx, rax
test rax, rax
je 0x14000bb00
mov rcx, qword [0x140020570]
cmp rcx, rdi
je 0x14000bb00
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000bb00
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140020560]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000bb22
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000bb24
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140007290
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800019a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800019ca
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0xf]
xor dl, byte [rcx + 0xe]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800019b0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180003990
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800039ba
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0xb]
xor dl, byte [rcx + 0xa]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800039a0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret

Function at 0x1800039d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800039fa
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x17]
xor dl, byte [rcx + 0x16]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800039e0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret

Function at 0x180003a10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x180003a3a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0xc]
xor dl, byte [rcx + 0xb]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180003a20
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180004d10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x180004d3a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0xd]
xor dl, byte [rcx + 0xc]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180004d20
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret

Function at 0x180004d50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x180004d7a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0xe]
xor dl, byte [rcx + 0xd]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180004d60
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180006940
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18000696a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x10]
xor dl, byte [rcx + 0xf]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180006950
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret