joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f600
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test r8d, r8d
je 0x14001f680
mov rdx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x28]
mov r8d, gethostbyname
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x14001f6fb
cmp word [rdi], 2
mov rcx, qword [rbx + 0x28]
mov eax, reloc.WS2_32.dll_recv
mov r8d, 0x1c
mov rdx, rdi
cmove r8d, eax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14001f670
cmp eax, 0xffffffff
jne 0x14001f6fb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14001f6fb
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp word [rdx], 2
mov rcx, qword [rcx + 0x28]
mov eax, reloc.WS2_32.dll_recv
mov r8d, 0x1c
cmove r8d, eax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14001f6fb
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x28]
mov r8d, 0x23
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x14001f6fb
mov dword [rbx + 0x70], 1
xor ecx, ecx
mov dword [rbx + 0x74], 1
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x120]
cmp eax, 2
jne 0x14001f670
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4c7
test eax, eax
cmove eax, ecx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x214]
mov rbx, rcx
test eax, eax
jne 0x14001faee
nop dword [rax + rax]
mov r8d, dword [rbx + 0x44]
mov rdx, qword [rbx + 0x88]
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test eax, eax
jle 0x14001fa97
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r9, qword [rbx]
mov rdx, qword [rbx + 0x88]
mov r8d, edi
mov rcx, rbx
call qword [r9 + 0x140]
cmp eax, 2
jne 0x14001faa0
mov rdx, qword [rbx + 0x38]
lea rcx, str._C_CNNID:__Iu__OnReceive___event_return_HR_ERROR__connection_will_be_closed___n
call fcn.14001f220
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4c7
test eax, eax
cmove eax, ecx
mov dword [rbx + 0x18], 1
mov dword [rbx + 0x1c], 4
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0xffffffff
je 0x14001fae1
test eax, eax
je 0x14001fabe
mov eax, dword [rbx + 0x214]
test eax, eax
je 0x14001fa10
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rbx + 0x18], 1
mov qword [rbx + 0x1c], 5
mov dword [rbx + 0x24], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14001fa72
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001fbb0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov eax, dword [rdx + 0x30]
mov r12, r8
mov rdi, rdx
sub eax, dword [rdx + 0x28]
mov rsi, rcx
je 0x14001fc6f
nop
mov r8d, dword [rsi + 0x44]
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rsi + 0x28]
cmp eax, r8d
cmovl r8d, eax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov ebp, eax
test eax, eax
jle 0x14001fc5e
lea rcx, [rsi + 0x1b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rsi + 0x210], ebp
lea rcx, [rsi + 0x1b0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov rdx, qword [rdi + 0x28]
mov r8d, ebp
mov rcx, rsi
call qword [rax + 0x130]
cmp eax, 2
jne 0x14001fc52
mov rdx, qword [rsi + 0x38]
lea rcx, str._C_CNNID:__Iu__OnSend___event_should_not_return_HR_ERROR____n
call fcn.14001f220
mov edx, ebp
mov rcx, rdi
call fcn.14001f090
jmp 0x14001fc63
cmp eax, 0xffffffff
je 0x14001fc8f
mov eax, dword [rdi + 0x30]
sub eax, dword [rdi + 0x28]
jne 0x14001fbe0
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
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14001fca6
mov dword [r12], 1
jmp 0x14001fc6f
mov dword [rsi + 0x20], eax
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], 3
xor eax, eax
mov dword [rsi + 0x24], 1
jmp 0x14001fc74

Function at 0x140020e90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rax, [rcx + 0x68]
mov rbx, rcx
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x140020c20]
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call fcn.140024bf8
test rax, rax
mov qword [rbx + 0x60], rax
mov rbx, qword [rsp + 0x40]
setne dil
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x1400210c0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rdx + 0x14]
mov rbx, rcx
test eax, eax
je 0x1400210f0
mov dword [rcx + 0x20], eax
mov dword [rcx + 0x18], 1
mov dword [rcx + 0x1c], 2
xor eax, eax
mov dword [rcx + 0x24], 1
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x28]
mov r8d, 0x23
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x14002112f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbx + 0x18], 1
mov dword [rbx + 0x1c], 2
mov dword [rbx + 0x24], 1
mov dword [rbx + 0x20], eax
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x68], 1
xor ecx, ecx
mov dword [rbx + 0x6c], 1
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x108]
cmp eax, 2
je 0x140021195
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14002118a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14002118a
test eax, eax
je 0x14002118a
mov ecx, 0x80004005
call fcn.140019cf0
int3
mov eax, 1
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4c7
mov dword [rbx + 0x1c], 5
test eax, eax
cmove eax, ecx
xor ecx, ecx
mov dword [rbx + 0x18], ecx
mov dword [rbx + 0x24], ecx
mov dword [rbx + 0x20], eax
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140021230
Capabilities:
Connect socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rsi, rdx
mov rdi, rcx
test r8d, r8d
je 0x1400212b0
mov rdx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x28]
lea r8d, [rbx + 0x30]
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x14002129e
cmp word [rsi], 2
mov rcx, qword [rdi + 0x28]
mov eax, reloc.WS2_32.dll_recv
mov r8d, 0x1c
mov rdx, rsi
cmove r8d, eax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140021299
cmp eax, 0xffffffff
jne 0x14002129e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14002129e
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp word [rdx], 2
mov rcx, qword [rcx + 0x28]
mov eax, reloc.WS2_32.dll_recv
mov r8d, 0x1c
cmove r8d, eax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14002129e
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x28]
mov r8d, 0x23
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x14002129e
mov dword [rdi + 0x68], 1
xor ecx, ecx
mov dword [rdi + 0x6c], 1
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 0x108]
cmp eax, 2
jne 0x14002133d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4c7
test eax, eax
cmove eax, ecx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rdi + 0x28]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140021364
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
cmove eax, ebx
mov ebx, eax
mov rdx, qword [rdi + 0x38]
lea rcx, str._C_CNNID:__Iu__send_0_bytes__detect_package__n
call fcn.14001f220
test ebx, ebx
je 0x140021299
mov ecx, 0x80004005
call fcn.140019cf0
int3

Function at 0x140021390
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x210]
mov eax, dword [rcx + 0x50]
inc dword [rcx + 0x210]
xor edi, edi
mov rbx, rcx
cmp edx, eax
jb 0x1400213d1
mov dword [rcx + 0x18], 1
mov qword [rcx + 0x1c], 5
mov dword [rcx + 0x24], edi
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rcx + 0x28]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400213f8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
cmove eax, edi
mov edi, eax
mov rdx, qword [rbx + 0x38]
lea rcx, str._C_CNNID:__Iu__send_0_bytes__detect_package__n
call fcn.14001f220
test edi, edi
je 0x140021431
mov dword [rbx + 0x18], 1
mov dword [rbx + 0x1c], 5
mov dword [rbx + 0x20], edi
mov dword [rbx + 0x24], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400214e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x20c]
mov rbx, rcx
test eax, eax
jne 0x140021609
xor esi, esi
nop word [rax + rax]
mov r8d, dword [rbx + 0x44]
mov rdx, qword [rbx + 0x80]
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test eax, eax
jle 0x1400215bf
mov rcx, qword [rbx + 0x80]
mov edx, eax
mov dword [rbx + 0x210], esi
call fcn.14001c680
test eax, eax
jne 0x14002161e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x80]
mov r8d, edi
mov rcx, rbx
call qword [rax + 0x128]
cmp eax, 2
jne 0x1400215fb
mov rdx, qword [rbx + 0x38]
lea rcx, str._C_CNNID:__Iu__OnReceive___event_return_HR_ERROR__connection_will_be_closed___n
call fcn.14001f220
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4c7
test eax, eax
cmove eax, ecx
mov dword [rbx + 0x18], 1
mov dword [rbx + 0x1c], 4
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 0xffffffff
jne 0x1400215e1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140021609
cmp eax, 0x2744
je 0x1400215fb
cmp eax, 0x2746
jne 0x140021595
jmp 0x1400215fb
test eax, eax
jne 0x1400215fb
mov rdx, qword [rbx + 0x38]
lea rcx, str._C_CNNID:__Iu__recv_0_bytes__detect_package__n
mov dword [rbx + 0x210], esi
call fcn.14001f220
mov eax, dword [rbx + 0x20c]
test eax, eax
je 0x140021510
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov dword [rbx + 0x24], esi
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x18], 1
mov qword [rbx + 0x1c], 5
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140021cc0
Capabilities:
Send data
Send data on socket

Disassembly:
push r12
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov rsi, rcx
call fcn.140021650
mov rdi, rax
lea rbx, [rsi + 0xa8]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140021e65
nop dword [rax + rax]
mov r8d, dword [rdi + 0x30]
sub r8d, dword [rdi + 0x28]
xor r9d, r9d
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.WS2_32.dll_send]
mov ebp, eax
test eax, eax
jle 0x140021d87
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rsi + 0x208], ebp
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r9, qword [rsi]
mov r8d, ebp
mov rdx, qword [rdi + 0x28]
mov rcx, rsi
call qword [r9 + 0x118]
cmp eax, 2
jne 0x140021d80
mov rdx, qword [rsi + 0x38]
lea rcx, str._C_CNNID:__Iu__OnSend___event_should_not_return_HR_ERROR____n
call fcn.14001f220
mov rbx, qword [rsp + 0x28]
jmp 0x140021d8c
cmp eax, 0xffffffff
je 0x140021dce
lea rcx, [rbx + 0x30]
mov rdx, rdi
call fcn.14001b8d0
test eax, eax
jne 0x140021da4
mov rcx, rdi
call fcn.14001f200
mov rcx, rsi
call fcn.140021650
mov rdi, rax
lea rbx, [rsi + 0xa8]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140021d10
jmp 0x140021e65
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140021e31
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 0x1d8]
test rax, rax
je 0x140021e05
mov qword [rax + 0x10], rdi
mov rax, qword [rsi + 0x1d8]
mov qword [rdi + 8], rax
jmp 0x140021e14
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rax
mov qword [rsi + 0x1e0], rdi
mov qword [rsi + 0x1d8], rdi
inc dword [rsi + 0x1d0]
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
jmp 0x140021e82
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], 3
mov dword [rsi + 0x20], eax
mov dword [rsi + 0x24], 1
lea rcx, [rbx + 0x30]
mov rdx, rdi
call fcn.14001b8d0
test eax, eax
jne 0x140021e61
mov rcx, rdi
call fcn.14001f200
xor eax, eax
jmp 0x140021e87
test rdi, rdi
je 0x140021e82
lea rcx, [rbx + 0x30]
mov rdx, rdi
call fcn.14001b8d0
test eax, eax
jne 0x140021e82
mov rcx, rdi
call fcn.14001f200
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret

Function at 0x140022850
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rax, [rcx + 0x60]
mov rbx, rcx
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x140022400]
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call fcn.140024bf8
test rax, rax
mov qword [rbx + 0x58], rax
mov rbx, qword [rsp + 0x40]
setne dil
mov eax, edi
add rsp, 0x30
pop rdi
ret

Function at 0x140026fb0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140026e20
Function at 0x14002decc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x14002def6
call fcn.140028e0c
and dword [rax], 0
call fcn.140028dec
mov ebx, reloc.WS2_32.dll_shutdown
mov dword [rax], ebx
call fcn.140028d84
mov eax, ebx
jmp 0x14002df46
test edx, 0xfffffff9
jne 0x14002ded9
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002df1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140028e2c
call fcn.140028dec
mov eax, dword [rax]
jmp 0x14002df46
test al, 0x10
jne 0x14002df44
test al, 1
je 0x14002df44
test bl, 2
je 0x14002df44
call fcn.140028e0c
mov dword [rax], 5
call fcn.140028dec
mov dword [rax], ntohs
jmp 0x14002df16
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14002f7ab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140059610]
jne 0x140027b1a
rol rcx, 0x10
test cx, 0xffff
jne 0x140027b16
repz ret
ror rcx, 0x10
jmp 0x14002f704
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140068280]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140068378]
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 0x14002f789
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, [0x140068280]
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 0x14002f7ab
mov rax, qword [rsp + 0x88]
mov qword [0x140068378], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140068318], rax
mov rax, qword [0x140068378]
mov qword [0x1400681f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140068300], rax
mov dword [0x1400681e0], 0xc0000409
mov dword [0x1400681e4], 1
mov rax, qword [0x140059610]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140059618]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140068278], eax
mov ecx, 1
call fcn.140033c0c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14004b158]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140068278], 0
jne 0x14002f832
mov ecx, 1
call fcn.140033c0c
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 0x140034d90
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 [0x140059610]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14002a4a4
xor ebx, ebx
cmp qword [0x1400687c8], rbx
mov rdi, rax
jne 0x140034ea3
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140034f7a
lea rdx, [0x14004bba8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140034f7a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400687c8], 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 [0x1400687d0], 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 [0x1400687d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400687e8], rax
test rax, rax
je 0x140034e9a
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 [0x1400687e0], rax
jmp 0x140034eaa
mov rax, qword [0x1400687e0]
jmp 0x140034eb1
mov rax, qword [0x1400687e0]
mov r11, qword [0x1400687e8]
cmp rax, rdi
je 0x140034f18
cmp r11, rdi
je 0x140034f18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400687e8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140034f18
test rax, rax
je 0x140034f18
call rsi
test rax, rax
je 0x140034f12
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 0x140034f12
test byte [rsp + 0x40], 1
jne 0x140034f18
bts ebp, 0x15
jmp 0x140034f58
mov rcx, qword [0x1400687d0]
cmp rcx, rdi
je 0x140034f58
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140034f58
call rax
mov rbx, rax
test rax, rax
je 0x140034f58
mov rcx, qword [0x1400687d8]
cmp rcx, rdi
je 0x140034f58
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140034f58
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400687c8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140034f7a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140034f7c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140027b00
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800205f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x180131038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
xor eax, eax
mov qword [rcx], rax
mov ecx, 0xe0
call fcn.1800c44c0
mov rdi, rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0xe0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, vtable.kjellkod::Active.0
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x58], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.1800c44c0
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [rbx + 0x28]
lea edx, [rbp + 2]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [rbx + 0x78]
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
xorps xmm0, xmm0
movups xmmword [rdi + 0xc8], xmm0
mov byte [rdi + 0xd8], bpl
mov qword [rsi], rdi
mov dword [rsp + 0x30], 1
lea ecx, [rbp + 0x10]
call fcn.1800c44c0
mov qword [rax], rdi
lea rcx, [0x180020370]
mov qword [rax + 8], rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x18004e210]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180020755
mov rcx, qword [rsi]
cmp dword [rcx + 0xd0], ebp
jne 0x18002074e
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rcx + 0xc8], xmm1
cmp dword [rsp + 0x48], ebp
jne 0x18002074e
mov rax, rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800c44a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1800371e0
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x60], rdi
lea rcx, str.ntdll.dll
mov edi, edx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1800372b9
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
movabs rbp, 0x7fffffffffffffff
mov qword [rsp + 0x38], r14
movabs r14, 0x7ffffffed5fa0dfe
mov qword [rsp + 0x30], r15
movabs r15, 0x12a05f200
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x180037256
imul rax, rax, 0x64
jmp 0x180037274
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jg 0x180037284
lea rcx, [rax + r15]
mov qword [rsp + 0x68], rcx
jmp 0x180037289
mov qword [rsp + 0x68], rbp
lea rcx, [rsp + 0x68]
call fcn.1800482d0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180037238
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
cmp edi, 1
mov rdi, qword [rsp + 0x60]
jne 0x180037302
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea rax, [0x1801323d0]
mov qword [0x1801323d8], rsi
mov qword [rsp + 0x28], rax
lea r8, [0x180038010]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1801323c8], rax
mov eax, 1
add rsp, 0x40
pop rsi
ret