joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b600
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x80
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x1401c7a78]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001b757
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x14001b647
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001b630
add rsp, 0x80
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14001b757
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14001b724
cmp ecx, 1
jne 0x14001b757
lea rdx, [rbx + 0x20]
mov dword [rbx + 0x18], 2
lea rcx, [rsp + 0x30]
call fcn.14008b130
xorps xmm0, xmm0
lea rax, vtable.boost::asio::multiple_exceptions.0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x58], xmm0
call fcn.14008b130
lea rcx, [rsp + 0x30]
call fcn.14008b2f0
lea rcx, [rsp + 0x20]
call fcn.14008b1e0
lea r8, [0x1401bcf58]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14008b170
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14008b130
lea rcx, [rsp + 0x20]
call fcn.14008b2f0
lea rcx, [rsp + 0x68]
call fcn.14008b2f0
lea rax, vtable.std::exception.0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x50], rax
call fcn.1400d6b00
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x20]
call fcn.14008b100
lea rcx, [rsp + 0x40]
call fcn.14008b2f0
add rsp, 0x80
pop rbx
ret
lea rcx, [rsp + 0x20]
mov dword [rbx + 0x18], 1
call fcn.14008b1e0
lea rcx, [rsp + 0x20]
call fcn.14008b220
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x20]
call fcn.14008b100
lea rcx, [rsp + 0x20]
call fcn.14008b2f0
add rsp, 0x80
pop rbx
ret
Function at 0x14001bd20
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x230
mov rax, qword [0x1401bf0a0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r14, rcx
mov qword [rsp + 0x38], rcx
mov ecx, 0x38
call fcn.1400ba2b0
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.14001a730
mov dword [rsp + 0x20], eax
test eax, eax
setne byte [rsp + 0x24]
lea rsi, [0x140195cb8]
mov qword [rsp + 0x28], rsi
test eax, eax
jne 0x14001bf0c
mov qword [rdi + 0x28], r14
xor ebx, ebx
mov qword [rdi + 0x30], rbx
mov qword [r14], rdi
mov eax, 1
lock xadd dword [0x1401c77a8], eax
inc eax
cmp eax, 1
jne 0x14001bdc6
lea ecx, [rbx + 2]
lea rdx, [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1401c77ac], eax
lock xadd dword [0x1401c77ac], ebx
test ebx, ebx
jne 0x14001bf1e
mov ecx, 0xb0
call fcn.1400ba2b0
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov rdx, r14
mov rcx, rax
call fcn.14001adc0
mov r15, rax
mov qword [rsp + 0x30], rax
mov rbp, qword [r14]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140051440
mov rcx, qword [r15 + 0x18]
cmp qword [rbp + 0x28], rcx
jne 0x14001bee4
mov qword [rsp + 0x40], rbp
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x48], 1
mov rbx, qword [rbp + 0x30]
test rbx, rbx
je 0x14001be90
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001be5e
test rdi, rdi
je 0x14001be5e
cmp rax, rdi
jne 0x14001be5e
mov al, 1
jmp 0x14001be83
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001be81
test rsi, rsi
je 0x14001be81
lea rdx, [rsi + 8]
add rcx, 8
call fcn.1400d7710
test eax, eax
jne 0x14001be81
mov al, 1
jmp 0x14001be83
xor al, al
test al, al
jne 0x14001bef8
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x14001be47
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [r15 + 8], xmm0
mov rdx, qword [rbp + 0x30]
mov qword [r15 + 0x20], rdx
mov qword [rbp + 0x30], r15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [r14 + 0x10], r15
mov rax, r14
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400ba210
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [rsp + 0x50]
call fcn.14001a9c0
nop
mov rcx, rax
call fcn.14003e460
nop
lea rcx, [rsp + 0x68]
call fcn.14001a970
nop
mov rcx, rax
call fcn.14003e490
nop
lea rdx, str.mutex
lea rcx, [rsp + 0x20]
call fcn.14001a330
nop
mov dword [rsp + 0x20], ebx
mov byte [rsp + 0x24], 1
mov qword [rsp + 0x28], rsi
lea rdx, str.winsock
lea rcx, [rsp + 0x20]
call fcn.14001a330
int3
Function at 0x14001c320
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor ebp, ebp
mov rdi, r9
mov r14, rdx
mov rsi, rcx
cmp rcx, 0xffffffffffffffff
je 0x14001c43e
mov qword [rsp + 0x68], rbx
test r8b, r8b
je 0x14001c3a0
movzx eax, byte [rdx]
test al, 8
je 0x14001c3a0
lea rcx, [0x140195cb8]
mov dword [rsp + 0x60], ebp
or al, 8
mov qword [rsp + 0x38], rcx
mov byte [rdx], al
lea r9, [rsp + 0x60]
mov edx, 0xffff
mov dword [rsp + 0x30], ebp
mov rcx, rsi
mov byte [rsp + 0x34], bpl
mov r8d, 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea rcx, [rsp + 0x30]
setne dl
call fcn.14001c280
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, rdi
mov ebx, eax
setne dl
call fcn.14001c280
test ebx, ebx
je 0x14001c3d9
mov eax, dword [rdi]
cmp eax, 0x2733
jne 0x14001c3ee
mov rcx, qword [rdi + 8]
movabs rdx, 0x8fafd21e25c5e09b
cmp qword [rcx + 8], rdx
je 0x14001c409
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
cmp eax, 0x4d5
jne 0x14001c3d9
mov rax, qword [rdi + 8]
movabs rdx, 0x8fafd21e25c5e09b
cmp qword [rax + 8], rdx
jne 0x14001c3d9
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], ebp
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r14], 0xfc
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, rdi
mov ebx, eax
setne dl
call fcn.14001c280
jmp 0x14001c3d9
mov eax, ebp
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x14001c450
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x40
mov r8d, dword [rdx]
lea rax, [0x140195cb8]
mov rbx, rdx
sub r8d, 0x79
je 0x14001c49c
sub r8d, 0x450
je 0x14001c492
sub r8d, 6
je 0x14001c488
cmp r8d, 1
jne 0x14001c4b6
mov dword [rsp + 0x30], 0x2751
jmp 0x14001c4a4
mov dword [rsp + 0x30], 0x2743
jmp 0x14001c4a4
mov dword [rsp + 0x30], 0x274d
jmp 0x14001c4a4
mov dword [rsp + 0x30], 0x274c
mov byte [rsp + 0x34], 1
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
cmp byte [rdx + 4], 0
jne 0x14001c510
cmp rcx, 0xffffffffffffffff
jne 0x14001c4e2
mov dword [rsp + 0x30], 0x2719
mov byte [rsp + 0x34], 1
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
add rsp, 0x40
pop rbx
ret
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0xffff
mov r8d, 0x7010
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
mov rcx, rbx
setne dl
add rsp, 0x40
pop rbx
jmp fcn.14001c280
add rsp, 0x40
pop rbx
ret
Function at 0x14001cd20
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rbx, [rcx + 0x30]
mov qword [rbp - 0x10], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov byte [rdi + 0x1e8], 1
mov byte [rdi + 0x1d8], 1
xor r14d, r14d
cmp qword [rdi + 0x1e0], r14
je 0x14001cda9
mov byte [rbp + 0x20], r14b
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x20], 1
mov dword [rbp + 0x28], r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x28]
lea r8d, [r14 + 1]
lea rdx, [rbp - 0x20]
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.WS2_32.dll_WSASend]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rbp - 8], r14b
mov rcx, qword [rdi + 0x1e0]
test rcx, rcx
je 0x14001cdf1
call fcn.14001aa40
mov rbx, qword [rdi + 0x1e0]
test rbx, rbx
je 0x14001cdea
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov rcx, rbx
call fcn.1400ba290
mov qword [rdi + 0x1e0], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
lea rbx, [rdi + 0x68]
mov esi, 4
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.140031c70
add rbx, 0x48
sub rsi, 1
jne 0x14001ce02
mov rbx, qword [rdi + 0x1d0]
test rbx, rbx
je 0x14001ce46
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [rax + 0x28]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14001ce30
mov rbx, qword [rdi + 0x28]
mov rdx, qword [rbp - 0x40]
mov r10, rdx
lea rdi, [0x140195cb8]
test rdx, rdx
je 0x14001ceb1
mov rax, rdx
test rax, rax
je 0x14001ce80
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp - 0x38]
test rax, rax
cmove rcx, r14
mov qword [rbp - 0x38], rcx
mov qword [rdx + 0x20], r14
lock dec dword [rbx + 0x30]
mov rax, qword [r10 + 0x28]
mov dword [rbp - 0x30], r14d
mov byte [rbp - 0x2c], 0
mov qword [rbp - 0x28], rdi
xor r9d, r9d
lea r8, [rbp - 0x30]
mov rdx, r10
xor ecx, ecx
call rax
mov rdx, qword [rbp - 0x40]
mov r10, rdx
mov rax, rdx
test rdx, rdx
jne 0x14001ce60
test r10, r10
je 0x14001cf0d
mov rax, r10
nop dword [rax]
test rax, rax
je 0x14001cee0
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp - 0x38]
test rax, rax
cmove rcx, r14
mov qword [rbp - 0x38], rcx
mov qword [rdx + 0x20], r14
mov rax, qword [r10 + 0x28]
mov dword [rbp - 0x20], r14d
mov byte [rbp - 0x1c], 0
mov qword [rbp - 0x18], rdi
xor r9d, r9d
lea r8, [rbp - 0x20]
mov rdx, r10
xor ecx, ecx
call rax
mov rdx, qword [rbp - 0x40]
mov r10, rdx
mov rax, rdx
test rdx, rdx
jne 0x14001cec0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14001daa0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r12d, r9d
mov rdi, r8
mov rbx, rdx
mov r13, rcx
cmp qword [r8], 0xffffffffffffffff
je 0x14001db34
mov dword [rbp - 0x10], 1
movabs rcx, 0x8fafd21e25c5e09b
lea rdi, [0x1401bfd68]
mov rax, qword [0x1401bfd70]
cmp rax, rcx
je 0x14001db18
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x14001db18
mov rax, qword [0x1401bfd68]
mov edx, 1
mov rcx, rdi
call qword [rax + 0x30]
jmp 0x14001db1a
mov al, 1
mov byte [rbp - 0xc], al
mov qword [rbp - 8], rdi
mov rax, qword [rbp + 0x60]
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
movups xmmword [rbx], xmm0
jmp 0x14001dc80
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x58]
mov r14d, dword [rbp + 0x50]
mov edx, r14d
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
sete dl
mov r15, qword [rbp + 0x60]
mov rcx, r15
call fcn.14001c280
cmp rsi, 0xffffffffffffffff
je 0x14001dba4
cmp r12d, 0x17
jne 0x14001dba4
mov dword [rbp + 0x40], 0
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x40]
lea edx, [r12 + 0x12]
lea r8d, [r12 + 4]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
cmp rsi, 0xffffffffffffffff
jne 0x14001dbb3
movups xmm0, xmmword [r15]
jmp 0x14001dc7d
mov rdx, qword [r13 + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x14001dbe3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x10], eax
test eax, eax
setne byte [rbp - 0xc]
xor r13d, r13d
jmp 0x14001dbee
xor r13d, r13d
mov dword [rbp - 0x10], r13d
mov byte [rbp - 0xc], r13b
lea r12, [0x140195cb8]
mov qword [rbp - 8], r12
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [r15], xmm0
mov rax, qword [r15]
shr rax, 0x20
test al, al
je 0x14001dc34
movups xmmword [rbx], xmm0
mov dword [rbp - 0x10], r13d
mov byte [rbp - 0xc], 0
mov qword [rbp - 8], r12
mov byte [rbp + 0x40], 0
lea r9, [rbp - 0x10]
mov r8b, 1
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.14001c320
jmp 0x14001dc80
mov qword [rbp - 0x10], 0xffffffffffffffff
mov qword [rdi], rsi
sub r14d, 1
je 0x14001dc57
cmp r14d, 1
je 0x14001dc51
mov byte [rdi + 8], 0
jmp 0x14001dc5b
mov byte [rdi + 8], 0x20
jmp 0x14001dc5b
mov byte [rdi + 8], select
lea rcx, [rdi + 0x10]
movzx r8d, byte [rbp + 0x40]
call fcn.14003e4c0
mov dword [rbp - 0x10], r13d
mov byte [rbp - 0xc], 0
mov qword [rbp - 8], r12
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [r15], xmm0
movups xmmword [rbx], xmm0
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14001dcb0
Capabilities:
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rdi, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x78], 0
je 0x14001dcea
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rdi
jmp fcn.14001b8f0
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x14001dd12
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rdi
jmp fcn.14001b8f0
xor eax, eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x78]
mov dword [rsp + 0x78], eax
mov r8d, r10d
mov eax, dword [rsp + 0x70]
mov rdx, r11
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
mov rbx, qword [rsp + 0x50]
je 0x14001dd91
cmp eax, 0x3e5
je 0x14001dd91
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14001b8f0
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14001b850
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rbx, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x78], 0
je 0x14001ddea
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rbx
jmp fcn.14001b8f0
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x14001de12
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rbx
jmp fcn.14001b8f0
mov eax, dword [rsp + 0x70]
lea r9, [rsp + 0x78]
xor edx, edx
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x50]
mov dword [rsp + 0x78], edx
mov r8d, r10d
mov qword [rsp + 0x58], rsi
mov rdx, r11
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x14001de6b
mov eax, 0x2746
jmp 0x14001de78
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
mov rsi, qword [rsp + 0x58]
je 0x14001dea7
cmp eax, 0x3e5
je 0x14001dea7
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14001b8f0
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14001b850
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
Function at 0x14002e1c0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1401bf0a0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r15d, r15d
lea rdi, [0x1401c7a38]
mov eax, dword [rdx + rcx]
cmp dword [0x1401c7a30], eax
jle 0x14002e26a
lea rcx, [0x1401c7a30]
call fcn.1400ba860
cmp dword [0x1401c7a30], 0xffffffff
jne 0x14002e26a
xorps xmm0, xmm0
movdqu xmmword [0x1401c7a38], xmm0
mov qword [0x1401c7a48], r15
mov qword [0x1401c7a50], r15
lea ecx, [r15 + 0x10]
call fcn.140005bf0
mov qword [rax + 8], r15
mov qword [0x1401c7a38], rax
mov qword [rax], rdi
lea rcx, [0x140165c70]
call fcn.1400baf20
lea rcx, [0x1401c7a30]
call fcn.1400ba800
mov rcx, qword [0x1401c7a48]
sub rcx, qword [0x1401c7a40]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x14002e3f0
mov dword [rsp + 0x28], r15d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbp, rax
test rax, rax
je 0x14002e3f0
mov esi, r15d
cmp dword [rsp + 0x28], r15d
jle 0x14002e3e7
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov r14, rbp
nop dword [rax]
mov rbx, qword [r14]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov ecx, select
call fcn.140005bf0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], r15
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x14002e331
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400059a0
mov qword [rsp + 0x30], r15
mov rbx, qword [0x1401c7a48]
cmp rbx, qword [0x1401c7a50]
je 0x14002e3ab
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], r15
mov ecx, select
call fcn.140005bf0
mov qword [rax + 8], r15
mov qword [rbx], rax
mov qword [rax], rbx
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140005f50
nop
mov rdx, qword [0x1401c7a48]
mov r8, rdx
mov rcx, rdi
call fcn.1400322a0
add qword [0x1401c7a48], 0x28
jmp 0x14002e3b9
lea r8, [rsp + 0x40]
mov rdx, rbx
call fcn.140040940
nop
lea rcx, [rsp + 0x40]
call fcn.1400060b0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], r15
mov edx, select
call fcn.1400ba290
inc esi
add r14, 8
cmp esi, dword [rsp + 0x28]
jl 0x14002e2e0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ba210
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140043920
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x430
mov rax, qword gs:[0x58]
mov rsi, r8
mov qword [rsp + 0x450], rbx
mov rbp, rdx
mov ebx, 4
mov edi, ecx
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x1401c7770], eax
jle 0x140043b62
lea rcx, [0x1401c7770]
call fcn.1400ba860
cmp dword [0x1401c7770], 0xffffffff
jne 0x140043b62
mov eax, dword [rbx]
cmp dword [0x1401c7760], eax
mov qword [rsp + 0x420], r15
jle 0x140043b40
lea rcx, [0x1401c7760]
call fcn.1400ba860
cmp dword [0x1401c7760], 0xffffffff
jne 0x140043b40
mov qword [rsp + 0x458], r12
xor r12d, r12d
mov qword [rsp + 0x460], r13
movzx r11d, r12w
mov qword [rsp + 0x428], r14
mov r13d, pe_nt_image_headers64
lea ebx, [r12 + 8]
lea r14d, [rbx + 0x78]
lea r15d, [r12 + 1]
nop word [rax + rax]
mov r10d, r12d
movzx r9d, r11w
movzx eax, r15w
movzx ecx, r14w
nop
movzx r8d, cx
or r8w, ax
movzx edx, r8w
and dx, r9w
cmp dx, cx
je 0x140043a0a
cmp dx, ax
jne 0x140043a0e
xor r9w, r8w
shr cx, 1
add ax, ax
cmp cx, ax
ja 0x1400439f0
mov ecx, ebx
nop dword [rax + rax]
movzx eax, r9w
shl eax, 0x1f
xor eax, r10d
shr r9w, 1
mov r10d, eax
add eax, eax
sar r10d, 0x1f
and r10d, 0x4c11db7
xor r10d, eax
sub ecx, r15d
jne 0x140043a20
mov eax, r15d
mov ecx, 0x80000000
nop
mov r8d, ecx
or r8d, eax
mov edx, r8d
and edx, r10d
cmp edx, ecx
je 0x140043a64
cmp edx, eax
jne 0x140043a67
xor r10d, r8d
shr ecx, 1
add eax, eax
cmp ecx, eax
ja 0x140043a50
movzx r9d, r11w
movzx eax, r15w
movzx ecx, r14w
nop dword [rax + rax]
movzx r8d, cx
or r8w, ax
movzx edx, r8w
and dx, r9w
cmp dx, cx
je 0x140043a9a
cmp dx, ax
jne 0x140043a9e
xor r9w, r8w
shr cx, 1
add ax, ax
cmp cx, ax
ja 0x140043a80
movzx eax, r9w
inc r11w
mov dword [rsp + rax*4 + 0x20], r10d
cmp r11w, r13w
jb 0x1400439e0
mov r13, qword [rsp + 0x460]
lea r15, [0x1401c7360]
mov r12, qword [rsp + 0x458]
lea rdx, [rsp + 0x20]
mov rax, r15
nop
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r14
movups xmmword [rax + 0x60], xmm0
add rax, r14
movups xmmword [rax - 0x10], xmm1
sub rbx, 1
jne 0x140043ae0
lea rcx, [0x1401c7760]
call fcn.1400ba800
mov r14, qword [rsp + 0x428]
jmp 0x140043b47
lea r15, [0x1401c7360]
lea rcx, [0x1401c7770]
mov qword [0x1401c7768], r15
call fcn.1400ba800
mov r15, qword [rsp + 0x420]
mov rbx, qword [rsp + 0x450]
test rsi, rsi
je 0x140043b9a
mov rdx, qword [0x1401c7768]
nop word [rax + rax]
movzx eax, dil
shr edi, 8
xor al, byte [rbp]
lea rbp, [rbp + 1]
movzx ecx, al
xor edi, dword [rdx + rcx*4]
sub rsi, 1
jne 0x140043b80
mov eax, edi
add rsp, 0x430
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400470e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
xor esi, esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
lea ecx, [rsi + 0x10]
call fcn.140005bf0
mov qword [rax + 8], rsi
mov qword [rdi], rax
mov qword [rax], rdi
lea ecx, [rsi + 0x10]
call fcn.1400ba2b0
mov rbx, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rsp + 0x58], eax
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
lea rbp, [0x1401c7240]
mov ecx, dword [rax + rdx]
cmp dword [0x1401c7290], ecx
jle 0x140047188
lea rcx, [0x1401c7290]
call fcn.1400ba860
cmp dword [0x1401c7290], 0xffffffff
jne 0x140047188
lea edx, [rsi + 2]
mov rcx, rbp
call fcn.140089c80
lea rcx, [0x140165d30]
call fcn.1400baf20
lea rcx, [0x1401c7290]
call fcn.1400ba800
mov qword [rsp + 0x68], rbp
mov rcx, rbp
call fcn.140089cd0
test eax, eax
jne 0x140047282
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14005ae30
nop
mov rcx, rbp
call fcn.140089cf0
nop
mov qword [rdi + 0x20], rsi
mov qword [rdi + 0x28], rsi
mov qword [rsp + 0x58], rbx
mov ecx, 0x18
call fcn.1400ba2b0
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_struct_boost::regex_traits_wrapper_struct_boost::regex_traits_char__class_boost::w32_regex_traits_char____.0
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rsi
mov qword [rdi + 0x38], rsi
mov qword [rdi + 0x40], rsi
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], rsi
mov dword [rdi + 0x58], esi
lea rcx, [rdi + 0x5c]
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.1400d92b0
mov dword [rdi + 0x15c], esi
mov qword [rdi + 0x170], rsi
mov qword [rdi + 0x168], rsi
mov qword [rdi + 0x160], rsi
mov dword [rdi + 0x178], esi
lea rbx, [rdi + 0x180]
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov ecx, select
call fcn.140005bf0
mov qword [rax + 8], rsi
mov qword [rbx], rax
mov qword [rax], rbx
mov word [rdi + 0x1a0], 0
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, eax
call fcn.140089430
int3

Function at 0x140066540
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
cmp rcx, rdx
je 0x14006657a
nop dword [rax + rax]
movsx r9d, byte [rcx]
mov rax, r8
shl rax, 6
sub r9d, 0x61c88647
add r9, rax
inc rcx
mov rax, r8
shr rax, 2
add r9, rax
xor r8, r9
cmp rcx, rdx
jne 0x140066550
movabs rax, 0x200000005
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
bts r8d, 0x1e
mov eax, r8d
ret