joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009dc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
xor r11d, r11d
lea rdi, [0x140000000]
mov r8d, r11d
mov rbx, rcx
movabs rsi, 0x2492492492492493
movabs rbp, 0xcccccccccccccccd
nop dword [rax + rax]
mov rcx, r8
lea r10, [rbx + r8*2]
mov rax, rsi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
mov rax, rbp
mul r8
movzx r9d, byte [rcx + rdi + 0xf28e8]
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
movzx eax, byte [r8 + rdi + 0xf28e0]
add r9w, ax
add r9w, r11w
inc r11d
xor word [r10], r9w
movsxd r8, r11d
cmp r8, 8
jb 0x140009e00
mov rbp, qword [rsp + 0x10]
mov rax, rbx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x14000b360
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x14000b50a
cmp byte [rcx + 0x71], 0
je 0x14000b50a
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x14000b3ba
xor al, al
jmp 0x14000b50c
mov qword [rbp - 0x18], sendto
mov qword [rbp - 0x20], 0
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.14000b080
nop
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
nop word [rax + rax]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, rcx
lea r8, [rbp - 0x30]
cmovae r8, rcx
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x14000b42e
sub eax, 1
jne 0x14000b4a2
jmp 0x14000b432
mov byte [rdi + 0x71], 0
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, rcx
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x14000b47f
lea rax, [rbp - 0x30]
cmp r9, 0x10
cmovae rax, rcx
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.1400c7360
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x14000b4af
cmp byte [rdi + 0x71], 0
je 0x14000b4b3
test rbx, rbx
jne 0x14000b3f0
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.14000b170
jmp 0x14000b3df
sub eax, 2
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
je 0x14000b4b3
xor bl, bl
jmp 0x14000b4b5
mov bl, 1
cmp r9, 0x10
jb 0x14000b505
lea rax, [r9 + 1]
cmp rax, 0x1000
jb 0x14000b500
test byte [rbp - 0x30], 0x1f
je 0x14000b4d3
call fcn.1400c459c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000b4e2
call fcn.1400c459c
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000b4f1
call fcn.1400c459c
int3
cmp rcx, 0x27
jbe 0x14000b4fd
call fcn.1400c459c
int3
mov rcx, rax
call fcn.1400c0268
movzx eax, bl
jmp 0x14000b50c
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c0280
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14000c140
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
lea rbx, [0x140000000]
mov r8d, r10d
mov r11, rcx
movabs rdi, 0x2492492492492493
movabs rsi, 0xcccccccccccccccd
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
lea r9, [r8 + r11]
mov rax, rdi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
mov rax, rsi
mul r8
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
movzx eax, byte [rcx + rbx + 0xf28e8]
add al, byte [r8 + rbx + 0xf28e0]
add al, r10b
inc r10d
xor byte [r9], al
movsxd r8, r10d
cmp r8, 0x1b
jb 0x14000c180
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000c1f0
Capabilities:
Create service
Modify service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor edx, edx
mov rbx, rcx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14000c22c
xor al, al
jmp 0x14000c2c9
xor ecx, ecx
lea rax, [0x1400f13f8]
mov qword [rsp + 0x60], rcx
lea r8, str.AntiCheatExpert_Service
mov qword [rsp + 0x58], rcx
lea rdx, str.AntiCheatExpert_Service
mov qword [rsp + 0x50], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rcx
mov rcx, rdi
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x110
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x14000c225
lea rax, str.Service_for_AntiCheatExpert
mov edx, 1
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c0280
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret

Function at 0x14000c2f0
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor sil, sil
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x14000c384
mov r8d, 0xf01ff
mov qword [rsp + 0x60], rdi
lea rdx, str.AntiCheatExpert_Service
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14000c372
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
mov rcx, rdi
setne sil
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x60]
movzx eax, sil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c0280
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
Function at 0x14000c3a0
Capabilities:
Start service

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rdx
mov dword [rdx], 0
xor edx, edx
xor ecx, ecx
xor dil, dil
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
jne 0x14000c3ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
xor al, al
jmp 0x14000c477
mov r8d, sendto
mov qword [rsp + 0x40], rsi
lea rdx, str.AntiCheatExpert_Service
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x14000c45d
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], 0
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000c43c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x14000c44a
mov rcx, rsi
mov dil, 1
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000c465
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov dword [rbx], eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000c465
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x40]
movzx eax, dil
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c0280
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c4a0
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x50
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
xor ecx, ecx
xor bpl, bpl
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x14000c5bd
mov r8d, 0x20
mov qword [rsp + 0x60], rbx
lea rdx, str.AntiCheatExpert_Service
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x14000c5ab
xor eax, eax
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
lea edx, [rax + 1]
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_ControlService]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14000c59d
mov qword [rsp + 0x70], r14
mov r14d, 0x64
nop dword [rax]
cmp dword [rsp + 0x24], 1
je 0x14000c595
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x2710
jae 0x14000c598
mov ecx, 0x2710
cmp dword [rsp + 0x38], ecx
cmova ecx, dword [rsp + 0x38]
cmp ecx, r14d
cmova ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14000c550
jmp 0x14000c598
mov bpl, 1
mov r14, qword [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x60]
movzx eax, bpl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c0280
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret

Function at 0x14000c5e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c61a
xor al, al
jmp 0x14000c682
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x238
call fcn.1400c1990
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000c66f
nop word [rax + rax]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14000cf00
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000c650
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 8]
cmp qword [rdi], rax
setne al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400c0280
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x14000ddd0
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x4a0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
call fcn.14000eb70
mov qword [rdi], rax
xor edx, edx
mov r8d, 0x438
lea rcx, [rsp + 0x50]
call fcn.1400c1990
mov dword [rsp + 0x50], 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000df80
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14000df76
nop word [rax + rax]
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
mov rbx, rax
mov rdx, qword [rsp + 0x68]
cmp byte [rcx + 0x19], 0
jne 0x14000de9d
cmp qword [rcx + 0x20], rdx
jae 0x14000de91
mov rcx, qword [rcx + 0x10]
jmp 0x14000de97
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14000de85
cmp rbx, rax
je 0x14000dea8
cmp rdx, qword [rbx + 0x20]
jae 0x14000dedd
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.14000f060
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000f0b0
mov rbx, qword [rsp + 0x30]
add rbx, 0x28
lea rcx, [rsp + 0x50]
mov eax, 8
nop dword [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rbx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rbx + 0x60], xmm0
lea rbx, [rbx + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rbx - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rax, 1
jne 0x14000def0
movups xmm0, xmmword [rcx]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbx + 0x20], xmm0
mov rcx, qword [rcx + 0x30]
mov qword [rbx + 0x30], rcx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14000de70
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1400c0280
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000f9a0
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r12, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.1400c1990
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rbp - 0x28], 7
xor ebx, ebx
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x40], bx
cmp word [rbp - 0x20], bx
jne 0x14000fa1e
mov r8d, ebx
jmp 0x14000fa30
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14000fa26
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140003290
nop
lea rdi, [rbp - 0x40]
mov r8, qword [rbp - 0x40]
mov r9, qword [rbp - 0x28]
cmp r9, 8
cmovae rdi, r8
lea rcx, [rbp - 0x40]
cmovae rcx, r8
mov rax, qword [rbp - 0x30]
lea rax, [rcx + rax*2]
lea r14, [rbp - 0x40]
cmovae r14, r8
mov rsi, rbx
mov r15, rax
sub r15, r14
inc r15
shr r15, 1
cmp r14, rax
cmova r15, rbx
test r15, r15
je 0x14000fab1
sub r14, rdi
nop dword [rax + rax]
movzx ecx, word [rdi + r14]
call fcn.1400c7cbc
mov word [rdi], ax
lea rdi, [rdi + 2]
inc rsi
cmp rsi, r15
jne 0x14000fa90
mov r9, qword [rbp - 0x28]
mov r8, qword [rbp - 0x40]
lea rdx, [rbp - 0x40]
cmp r9, 8
cmovae rdx, r8
mov edi, 0x541
mov eax, dword [rbp - 0x30]
lea r8d, [rax + rax]
test r8d, r8d
je 0x14000faff
lea r9, [0x1400f2990]
nop word [rax + rax]
mov eax, edi
shr eax, 0x18
xor al, byte [rdx]
lea rdx, [rdx + 1]
movzx ecx, al
mov eax, edi
shl eax, 8
mov edi, dword [r9 + rcx*4]
xor edi, eax
add r8d, 0xffffffff
jne 0x14000fae0
call fcn.14000c050
movzx eax, al
add eax, edi
mov qword [r12], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
cmp byte [rax], 0
jne 0x14000fb1d
mov r8, rbx
jmp 0x14000fb2b
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000fb21
lea rcx, [r12 + 8]
mov rdx, rax
call fcn.140001610
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x30], rcx
mov r8d, 0xfde9
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140007e90
nop
mov rdx, qword [rsp + 0x30]
cmp byte [rdx], 0
je 0x14000fb79
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14000fb70
lea rcx, [r12 + 0x28]
mov r8, rbx
call fcn.140001610
nop
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
je 0x14000fb9c
call fcn.1400c4368
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x14000fbb6
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140003450
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400c0280
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140011d60
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x202
mov byte [0x140120e4c], 0
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140011dba
movzx ecx, word [rsp + 0x20]
cmp cl, 2
jne 0x140011dba
movzx eax, byte [0x140120e4c]
mov edx, 1
shr cx, 8
cmp cl, 2
cmove eax, edx
mov byte [0x140120e4c], al
lea rax, [0x140120e4c]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400c0280
add rsp, 0x1d8
ret
Function at 0x140011e60
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rcx
mov qword [rbp + 0x37], sendto
xor r14d, r14d
mov qword [rbp + 0x2f], r14
mov byte [rbp + 0x1f], r14b
cmp byte [rdx], r14b
jne 0x140011eb0
mov r8d, r14d
jmp 0x140011ebd
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140011eb4
lea rcx, [rbp + 0x1f]
call fcn.140001610
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r14
mov esi, r14d
mov dword [rbp - 0x39], r14d
mov dword [rbp - 0x31], 2
xor eax, eax
mov qword [rbp - 0x2d], rax
mov qword [rbp - 0x25], rax
mov qword [rbp - 0x1d], rax
mov qword [rbp - 0x15], rax
mov qword [rbp - 0xd], rax
mov dword [rbp - 5], eax
mov qword [rbp - 0x59], r14
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae rcx, qword [rbp + 0x1f]
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x31]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140011f2a
mov esi, 1
mov dword [rbp - 0x39], esi
jmp 0x140011f72
mov rdi, qword [rbp - 0x59]
test rdi, rdi
je 0x140011f68
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x51]
call fcn.1400128a0
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140011f40
mov esi, dword [rbp - 0x39]
mov rdi, qword [rbp - 0x59]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rax, qword [rbp + 0x37]
cmp rax, 0x10
jb 0x140011fc8
inc rax
mov rcx, qword [rbp + 0x1f]
cmp rax, 0x1000
jb 0x140011fc3
test cl, 0x1f
je 0x140011f96
call fcn.1400c459c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140011fa5
call fcn.1400c459c
int3
sub rcx, rax
cmp rcx, 8
jae 0x140011fb4
call fcn.1400c459c
int3
cmp rcx, 0x27
jbe 0x140011fc0
call fcn.1400c459c
int3
mov rcx, rax
call fcn.1400c0268
test esi, esi
je 0x140011fd3
xor bl, bl
jmp 0x14001206a
mov qword [rbx + 0x470], r14
lea rcx, [rbx + 0x6e]
xor edx, edx
mov r8d, 0x400
call fcn.1400c1990
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r14
lea rdx, [rbp - 0x51]
lea rcx, [rbp + 7]
call fcn.140012740
mov r9, qword [rbp + 7]
mov rax, r9
mov rdx, qword [rbp + 0xf]
cmp r9, rdx
je 0x140012046
cmp word [rax], 2
jne 0x140012033
mov rcx, qword [rbx + 0x470]
add rcx, rcx
movups xmm0, xmmword [rax]
movups xmmword [rbx + rcx*8 + 0x6e], xmm0
inc qword [rbx + 0x470]
cmp qword [rbx + 0x470], 0x40
jae 0x140012046
add rax, 0x10
cmp rax, rdx
jne 0x140012014
cmp qword [rbx + 0x470], 0
setne bl
test r9, r9
je 0x14001206a
mov r8, qword [rbp + 0x17]
sub r8, r9
sar r8, 4
mov rdx, r9
call fcn.140012a00
nop
mov rdx, qword [rbp - 0x51]
test rdx, rdx
je 0x140012083
mov r8, qword [rbp - 0x41]
sub r8, rdx
sar r8, 4
call fcn.140012a00
movzx eax, bl
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400c0280
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140012600
Capabilities:
Check mutex on windows
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401150f8]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rcx], 0xffffffffffffffff
mov edi, r9d
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
je 0x140012716
cmp qword [rcx + 0x470], 0
je 0x140012716
xor ecx, ecx
call fcn.1400c46ac
xor edx, edx
div qword [rbx + 0x470]
add rdx, rdx
movups xmm0, xmmword [rbx + rdx*8 + 0x6e]
movups xmmword [rsp + 0x30], xmm0
test dil, 8
jne 0x14001267d
cmp edi, 4
je 0x14001267d
movzx eax, word [rsp + 0x30]
cmp eax, 2
je 0x140012676
cmp eax, 0x17
jne 0x14001269c
mov ecx, 0x1f90
jmp 0x140012691
movzx eax, word [rsp + 0x30]
cmp eax, 2
je 0x14001268c
cmp eax, 0x17
jne 0x14001269c
mov ecx, 0x1f91
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x32], ax
mov eax, dword [0x140120e38]
test al, 1
jne 0x1400126cf
or eax, 1
xor r8d, r8d
xor edx, edx
mov dword [0x140120e38], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
lea rcx, [0x1400e1270]
mov qword [0x140120e30], rax
call fcn.1400c0250
mov rcx, qword [0x140120e30]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], socket
xor r9d, r9d
mov r8d, ebp
mov qword [rsp + 0x20], rax
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x140120e30]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, ebx
jmp 0x140012718
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c0280
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret