joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009eec0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [0x1402682a8]
mov edi, ecx
test rbx, rbx
jne 0x14009f022
mov qword [rsp + 0x60], rbp
mov ecx, reloc.WLDAP32.dll_Ordinal_200
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], r14
call fcn.1401d0330
mov qword [rsp + 0x30], rax
mov rbx, rax
xorps xmm0, xmm0
xor r14d, r14d
mov ebp, reloc.WS2_32.dll_recv
mov dword [rax], 0x1003e9
mov word [rax + 4], 4
lea rcx, [rbx + 0x88]
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 1
mov qword [rax + 0xb0], r14
mov qword [rax + 0xb8], r14
mov qword [rax + 0xc0], r14
xor eax, eax
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x70], xmm0
mov dword [rbx + 0x80], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, 2
lea r8d, [rbp + 1]
mov edx, esi
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov ecx, 0x6888
mov word [rsp + 0x30], si
mov qword [rbx + 8], rax
call qword [sym.imp.WS2_32.dll_htons]
xor ecx, ecx
mov word [rsp + 0x32], ax
call qword [sym.imp.WS2_32.dll_htonl]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x30]
mov r8d, ebp
mov dword [rsp + 0x34], eax
call qword [sym.imp.WS2_32.dll_bind]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
cmp eax, 0xffffffff
jne 0x14009efd6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x14009f016
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9, rbx
mov qword [rsp + 0x28], r14
lea r8, [0x14009faa0]
mov dword [rbx + 0x1c], eax
xor edx, edx
mov dword [rbx + 0x18], r14d
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
mov r14, qword [rsp + 0x70]
mov qword [0x1402682a8], rbx
lea rcx, [rbx + 0x88]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x1402682a8]
mov rax, qword [rcx + 0xb8]
sub rax, qword [rcx + 0xb0]
sar rax, 3
sub edi, eax
inc edi
cmp rax, 4
jae 0x14009f0df
test edi, edi
jle 0x14009f0df
mov ebx, edi
mov ecx, 0xe0
call fcn.1401d0330
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1402682a8]
mov rdx, qword [rcx + 0xb8]
sub rdx, qword [rcx + 0xb0]
mov rcx, rax
sar rdx, 3
call fcn.14009fb50
mov rcx, qword [0x1402682a8]
add rcx, 0xb0
mov qword [rsp + 0x30], rax
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x14009f0b7
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x14009f0c1
lea r8, [rsp + 0x30]
call fcn.14008b400
sub rbx, 1
jne 0x14009f060
mov rcx, qword [0x1402682a8]
add rcx, 0x88
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x14009f0f1
add rcx, 0x88
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401d0310
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14009f280
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rcx, qword [0x1402682a8]
test rcx, rcx
jne 0x14009f29e
lea eax, [rcx - 1]
add rsp, 0x40
pop rsi
ret
cmp rdx, 0x42
je 0x14009f2af
mov eax, 0xfffffffe
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x50], rbx
add rcx, 0x88
mov qword [rsp + 0x58], rbp
movzx ebp, byte [rsi]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
movzx r15d, byte [rsi + 1]
add rsi, 2
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402682a8]
xor edi, edi
lea rcx, [rbx + 0x88]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 0xb0]
mov rdx, qword [rbx + 0xb8]
cmp rax, rdx
je 0x14009f337
nop word [rax + rax]
mov rdi, qword [rax]
mov r8, qword [rdi + 0xb8]
cmp byte [r8], bpl
je 0x14009f337
add rax, 8
cmp rax, rdx
jne 0x14009f310
lea rcx, [rbx + 0x88]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14009f349
lea rcx, [rbx + 0x88]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
jne 0x14009f367
mov rcx, qword [0x1402682a8]
add rcx, 0x88
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xfffffffd
jmp 0x14009f462
cmp qword [rdi + 0xd8], 0
jne 0x14009f38f
mov rcx, qword [0x1402682a8]
add rcx, 0x88
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xfffffffc
jmp 0x14009f462
mov rax, qword [rdi + 0xc8]
mov byte [rax], r15b
lea rax, [rdi + 0x10]
test rax, rax
je 0x14009f3d9
test rsi, rsi
je 0x14009f3c7
movups xmm0, xmmword [rsi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rax + 0x30], xmm1
jmp 0x14009f3eb
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov rcx, qword [0x1402682a8]
lea rdx, [rdi + 0x50]
mov qword [rsp + 0x28], 0x50
mov r9d, 0x100002
mov qword [rsp + 0x20], rdi
call fcn.14009f8d0
test rax, rax
je 0x14009f44c
mov rcx, qword [rdi + 0xd8]
lea rdx, [rdi + 0x50]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov r8d, eax
mov rcx, qword [0x1402682a8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_sendto]
mov rax, qword [rdi + 0xd0]
inc dword [rax]
mov rcx, qword [0x1402682a8]
add rcx, 0x88
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rsi
ret
Function at 0x1400a6fc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov esi, r9d
mov r14, rcx
xor ebp, ebp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x20], rbp
mov rax, qword [0x140268288]
mov qword [rcx + 0x10], rax
mov qword [rcx], r8
mov dword [rcx + 0x1c], 0x280
mov qword [rcx + 0x28], rbp
mov qword [rcx + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x38], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x40], rax
mov qword [r14 + 0x48], rbp
lea ecx, [rbp + 0x58]
call fcn.1401d0330
mov rdi, rax
mov qword [rsp + 0x58], rax
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x24], 0x400
mov dword [rax + 0x20], 8
mov dword [rax + 0x2c], 0x415
mov qword [rax + 0x10], rbp
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea edx, [rbp + 8]
mov r8d, 0x20a8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi + 0x10], rax
lea rcx, [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, dword [rdi + 0x24]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
lea edx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi + 0x18], rax
mov qword [r14 + 0x48], rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov r9, r14
lea r8, [0x1400a7250]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 8], rax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov r9, r14
lea r8, [0x1400a7110]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 0x28], rax
mov dword [r14 + 0x18], esi
mov eax, dword [rsp + 0x70]
mov dword [r14 + 0x1c], eax
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400a9700
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov eax, edx
mov rdx, qword [0x1402683e0]
test rdx, rdx
je 0x1400a994d
mov r8d, dword [0x140263af0]
mov r9d, 2
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
call fcn.140076c30
test eax, eax
je 0x1400a994d
mov qword [rsp + 0x40], rbx
mov ebx, dword [0x140263af0]
mov qword [rsp + 0x48], rbp
mov rbp, qword [0x140268120]
mov qword [rsp + 0x58], rsi
add rbp, 0x50
mov rsi, qword [0x140263b00]
mov rcx, rbp
mov qword [rsp + 0x30], rdi
mov rdi, qword [0x1402683e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400a9930
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [0x140268120]
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0x18]
lea rbp, str..pipemonect_pipe_cap_server
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400a986c
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
xor ecx, ecx
nop word [rax + rax]
movzx edx, word [r8 + rcx*2]
cmp dx, word [rbp + rcx*2]
jne 0x1400a98ad
movzx edx, word [r8 + rcx*2 + 2]
cmp dx, word [rbp + rcx*2 + 2]
jne 0x1400a98ad
add rcx, 2
cmp rcx, 0x20
jne 0x1400a97f0
dec dword [r8 + 0x210]
mov rcx, qword [rbx + 0x10]
cmp dword [rcx + 0x210], 0
ja 0x1400a986c
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [rbx + 8]
mov edx, Ordinal_27
mov rax, qword [rbx]
mov rcx, rbx
mov qword [r8], rax
mov r8, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [r8 + 8], rax
dec qword [rdi + 0x20]
call fcn.1401d0398
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x140268120]
mov rdx, rbp
call fcn.140076d70
mov rcx, qword [0x1402683e0]
mov r8d, dword [0x140263af0]
mov qword [0x140263b00], rax
test rcx, rcx
jne 0x1400a98bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x1400a98db
mov rbx, qword [rbx]
cmp rbx, rax
jne 0x1400a97e0
jmp 0x1400a986c
cmp r8, 2
jb 0x1400a98c8
mov word [rcx], 3
jmp 0x1400a98e1
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], Ordinal_35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov rbp, qword [0x140268120]
mov ebx, dword [0x140263af0]
add rbp, 0x50
mov rdi, qword [0x1402683e0]
mov rcx, rbp
mov rsi, qword [0x140263b00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400a9930
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x1400aa080
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
push r14
sub rsp, 0x40
mov r14, rdx
mov rdx, qword [0x1402683e8]
test rdx, rdx
je 0x1400aa2a2
mov r8d, dword [0x140263af0]
mov r9d, reloc.WS2_32.dll_ntohs
mov dword [rsp + Ordinal_41], 0x28
mov qword [rsp + 0x20], r14
call fcn.140076c30
test eax, eax
je 0x1400aa2a2
mov qword [rsp + 0x50], rbx
mov ebx, dword [0x140263af0]
mov qword [rsp + 0x58], rbp
mov rbp, qword [0x140268120]
mov qword [rsp + 0x38], rsi
add rbp, 0x50
mov rsi, qword [0x140263b00]
mov rcx, rbp
mov qword [rsp + 0x30], rdi
mov rdi, qword [0x1402683e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400aa285
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [0x140268120]
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0x18]
lea rbp, str..pipemonect_pipe_cap_server
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400aa1ec
nop dword [rax]
mov r8, qword [rbx + 0x10]
xor ecx, ecx
nop word [rax + rax]
movzx edx, word [r8 + rcx*2]
cmp dx, word [rbp + rcx*2]
jne 0x1400aa2a9
movzx edx, word [r8 + rcx*2 + 2]
cmp dx, word [rbp + rcx*2 + 2]
jne 0x1400aa2a9
add rcx, 2
cmp rcx, 0x20
jne 0x1400aa170
dec dword [r8 + 0x210]
mov rcx, qword [rbx + 0x10]
cmp dword [rcx + 0x210], 0
ja 0x1400aa1ec
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [rbx + 8]
mov edx, Ordinal_27
mov rax, qword [rbx]
mov rcx, rbx
mov qword [r8], rax
mov r8, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [r8 + 8], rax
dec qword [rdi + 0x20]
call fcn.1401d0398
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x140268120]
mov rdx, rbp
call fcn.140076d70
mov r8d, dword [0x140263af0]
mov r9d, reloc.WS2_32.dll_ntohs
mov rdx, qword [0x1402683e8]
mov dword [rsp + Ordinal_41], 0x28
mov qword [0x140263b00], rax
mov qword [rsp + 0x20], r14
call fcn.140076c30
test eax, eax
je 0x1400aa28e
mov rbp, qword [0x140268120]
mov ebx, dword [0x140263af0]
add rbp, 0x50
mov rdi, qword [0x1402683e8]
mov rcx, rbp
mov rsi, qword [0x140263b00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400aa285
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x30]
add rsp, 0x40
pop r14
ret
mov rbx, qword [rbx]
cmp rbx, rax
jne 0x1400aa160
jmp 0x1400aa1ec
Function at 0x1400ab430
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x40
mov rbp, qword [0x140268120]
lea r14d, [rdx + rdx]
mov edx, dword [0x140263af0]
mov rbx, rcx
mov byte [rsp + 0x68], 0
lea eax, [rdx - 6]
cmp r14d, eax
ja 0x1400ab5e1
mov ecx, 1
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r8d, dword [0x140263af0]
mov r9d, reloc.WS2_32.dll_listen
mov rdx, rax
mov dword [rsp + 0x28], r14d
mov rdi, rax
mov qword [rsp + 0x20], rbx
call fcn.140076c30
test eax, eax
je 0x1400ab5ce
lea rdx, str..pipemonect_pipe_cap_server
mov qword [rsp + 0x30], r15
mov rcx, rbp
mov ebx, 0xffffffff
call fcn.140076d70
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400ab54b
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x60], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8d, [r14 + 6]
mov rdx, rdi
xor r14d, r14d
lea r9, [rsp + 0x70]
mov rcx, r15
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400ab500
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400ab537
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], r14
mov r8d, 1
lea rdx, [rsp + 0x68]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rcx, [rbp + 0x50]
test eax, eax
jne 0x1400ab52e
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400ab537
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, r14d
lea rdx, str..pipemonect_pipe_cap_server
mov rcx, rbp
call fcn.140077000
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
test rdi, rdi
je 0x1400ab55e
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebx, ebx
jne 0x1400ab5dc
cmp byte [rsp + 0x68], bl
je 0x1400ab5dc
lea rdx, [0x140268323]
mov qword [0x140268323], 1
mov cl, 2
call fcn.1400aa2c0
lea rdx, [0x140268323]
mov byte [0x140268323], 1
mov cl, 2
mov byte [0x140268325], 0x19
call fcn.1400aa2c0
lea ecx, [rbx + 0x3c]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140268323]
mov byte [0x140268323], bl
mov cl, 2
mov byte [0x140268325], bl
call fcn.1400aa2c0
mov rdi, qword [rsp + 0x38]
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret
test rdi, rdi
je 0x1400ab5dc
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [rsp + 0x38]
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret
Function at 0x1400ac620
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rcx
lea rsi, [0x140248610]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x1400ac6d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rdi
lea r8, str._s_failed_with__d
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov edx, 0x50
call fcn.1400abed0
xor ecx, ecx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov r9d, 0xc0020001
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], 2
lea edx, [r8 + 1]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1401d0310
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400ae180
Capabilities:
Create thread
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, qword [0x140268270]
mov rdi, rdx
mov edx, 0x4000
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edx, 0x4000
mov ecx, 1
mov qword [0x1402684b8], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
cmp dword [rbx + 0xc8], 0
mov qword [0x1402684b0], rax
je 0x1400ae1f5
test rdi, rdi
je 0x1400ae1f5
mov qword [rbx + 0xd0], rdi
lea rdx, [0x1400ae140]
mov rcx, qword [rdi + 8]
call qword [0x140267e68]
mov rcx, qword [rbx + 0xa8]
xor r14d, r14d
test rcx, rcx
je 0x1400ae213
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1400ae238
mov qword [rsp + 0x28], r14
lea r8, [0x1400ae7e0]
mov r9, rbx
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xa8], rax
mov rcx, qword [0x1402683e0]
test rcx, rcx
je 0x1400ae251
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x1402683e0], r14
mov edx, dword [0x140263af0]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
cmp qword [0x140263b00], 0xffffffffffffffff
mov qword [0x1402683e0], rax
jne 0x1400ae28d
mov rcx, qword [0x140268120]
lea rdx, str..pipemonect_pipe_cap_server
call fcn.140076d70
mov qword [0x140263b00], rax
mov rcx, qword [0x1402683e0]
mov r8d, dword [0x140263af0]
test rcx, rcx
jne 0x1400ae2ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x1400ae2ce
cmp r8, 2
jb 0x1400ae2bb
mov word [rcx], 3
jmp 0x1400ae2d4
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], Ordinal_35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov rbp, qword [0x140268120]
mov ebx, dword [0x140263af0]
add rbp, 0x50
mov rdi, qword [0x1402683e0]
mov rcx, rbp
mov rsi, qword [0x140263b00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400ae31f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x58]
mov eax, 1
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b1c20
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [0x140268518], 0
jne 0x1400b1d37
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov qword [0x1402684f8], rax
test rax, rax
jne 0x1400b1c89
xor r9d, r9d
lea r8, str.vJoyInterface_DLL
lea rdx, str.Create_window_process_on_another_thread_failed_
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401d0310
add rsp, 0x68
ret
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400b1980]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x1402684f8]
mov edx, 0x2710
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400b1ce4
xor r9d, r9d
lea r8, str.vJoyInterface_DLL
lea rdx, str.Creation_of_dummy_window_failed_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
test rbx, rbx
mov rbx, qword [rsp + 0x60]
je 0x1400b1d37
mov rcx, qword [0x140268508]
test rcx, rcx
je 0x1400b1d37
movups xmm0, xmmword [0x1402484d8]
xor r8d, r8d
mov dword [0x140268518], 1
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x3c], 5
movups xmmword [rsp + 0x44], xmm0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401d0310
add rsp, 0x68
ret

Function at 0x1400b46a0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x1d0
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x14026831c], 0
lea rax, vtable.CWifiNetwork_TCP.0
mov qword [rcx], rax
movzx esi, dx
mov rbx, rcx
mov dword [rcx + 8], 0
jne 0x1400b46fb
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x14026831c], 1
mov edx, 1
mov ebp, 2
mov ecx, ebp
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
movzx ecx, si
mov word [rbx + 0x20], bp
mov qword [rbx + 0x10], rax
call qword [sym.imp.WS2_32.dll_htons]
xor ecx, ecx
mov word [rbx + 0x22], ax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbx + 0x10]
lea r8d, [rbp + 0xe]
movzx eax, ax
lea rdx, [rbx + 0x20]
mov dword [rbx + 0x24], eax
call qword [sym.imp.WS2_32.dll_bind]
mov rcx, qword [rbx + 0x10]
lea edx, [rbp - 1]
call qword [sym.imp.WS2_32.dll_listen]
xor eax, eax
lea rdi, [rbx + 0x40]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep stosb byte [rdi], al
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov qword [rbx + 0x58], rax
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1401d0310
mov rbx, qword [rsp + 0x200]
add rsp, 0x1d0
pop rdi
pop rsi
pop rbp
ret