joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067d80
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.140067a5f
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xf0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140067ece
test eax, eax
je 0x140067e5c
cmp eax, 0x90317
je 0x140067ec8
cmp eax, 0x90321
jne 0x140067eec
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140067d2a
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x140067efa
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x40]
and qword [rdi + 0x50], 0
call fcn.140067f0e
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14009ff76
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140067d2a
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x140067efa
mov byte [rsi + 1], 1
jmp 0x140067ee8
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140067efa
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x140067fb4
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x50], r8
mov rcx, r8
call fcn.1400681e1
mov r15, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea r12, [rsp + 0x32]
lea r13, [rsp + 0x4a]
mov rbp, qword [r14 + 0x10]
mov esi, 0x7fffffff
cmp rdx, rsi
cmovb rsi, rdx
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x60], rax
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x28]
mov qword [rsp + 0x38], rsi
mov rcx, rdi
mov rdx, rbp
mov r8, rbx
xor r9d, r9d
call fcn.14009c1db
mov al, byte [rsp + 0x31]
cmp al, 3
je 0x140068153
mov rdi, qword [rsp + 0x28]
cmp al, 2
je 0x140068174
mov cl, byte [rsp + 0x30]
movzx edx, word [r12 + 4]
mov word [r13 + 4], dx
mov edx, dword [r12]
mov dword [r13], edx
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x48], cl
mov byte [rsp + 0x49], al
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x1400681d3
mov rdx, r15
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14006815a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x14006816b
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rdi
call case.0x140005e92.177
cmp al, 0xd
jne 0x140068123
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140068123
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1400681df
mov rsi, rbp
mov rbp, r14
mov r14, r15
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.140037d65
mov r15, rax
xor ecx, ecx
call fcn.140082af9
test r15, r15
je 0x140068115
mov ecx, 1
mov rdx, rdi
call fcn.140037f27
mov rdi, r15
mov r15, r14
mov r14, rbp
mov rbp, rsi
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
call fcn.140096c58
cmp al, 0xd
jne 0x140068174
mov qword [rsp + 0x28], rdi
mov rcx, r14
lea rdx, [rsp + 0x40]
call fcn.14009c178
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.140096baf
jmp 0x140068025
mov ebx, 1
jmp 0x140068176
cdqe
test rax, rax
je 0x14006816d
mov qword [rsp + 0x80], rax
jmp 0x14006816d
xor eax, eax
mov qword [rsp + 0x78], rax
xor edi, edi
xor ebx, ebx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rdi
test rbx, rbx
jne 0x1400681b9
test rdi, rdi
jne 0x1400681b9
lea rcx, [rsp + 0x68]
call fcn.1400616b2
mov rsi, rdx
lea rcx, [rsp + 0x88]
call fcn.1400616e9
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.1400681f8
xor edi, edi
mov rax, rbx
mov rdx, rdi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.1400a84b0
ud2
Function at 0x1400684de
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.140067a5f
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14006864d
test eax, eax
je 0x1400685c6
cmp eax, 0x90317
je 0x140068647
cmp eax, 0x90321
jne 0x14006866b
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14006847f
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140068679
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.140067f0e
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14009ff76
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14006847f
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140068679
mov byte [rsi + 1], 1
jmp 0x140068667
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140068679
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x140068683
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140068695
add rcx, 8
jmp fcn.140067fb4
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rcx, r8
call fcn.1400681e1
lea rcx, [rsp + 0x58]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rdi + 0x38], rbx
call fcn.140068865
mov r14, rax
mov r15, rdx
lea r12, [rsp + 0x30]
mov rcx, rdi
call fcn.140068905
test rdx, rdx
jne 0x140068747
mov rcx, r12
mov rdx, rdi
call fcn.140066d75
mov eax, dword [rsp + 0x30]
cmp eax, 2
je 0x1400687b4
test eax, eax
je 0x140068747
cmp qword [rdi + 0x110], 0
je 0x14006872e
mov rcx, rdi
call fcn.140067aee
mov rbx, rdx
test rax, rax
jne 0x1400687c0
test rbx, rbx
je 0x140068747
and qword [rdi + 0x110], 0
mov rcx, r12
mov rdx, rdi
call fcn.140067d80
cmp byte [rsp + 0x30], 0
jne 0x1400687b4
cmp byte [rsp + 0x31], 0
je 0x1400686da
mov rcx, rdi
call fcn.140068905
mov rbx, rdx
test rax, rax
je 0x1400687c0
mov r12, rax
cmp r15, rbx
cmovb rbx, r15
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.140067a70
lea rcx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, rbx
call fcn.140082b22
mov rax, qword [rdi + 0x58]
add rax, rbx
cmp rax, qword [rdi + 0x50]
ja 0x14006884c
mov qword [rdi + 0x58], rax
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.1400688d2
jmp 0x1400687f0
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rbx
jmp 0x1400687ca
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1400687f0
mov rcx, rbx
call case.0x140005e92.177
and qword [rdi + 0x38], 0
cmp al, 0xd
jne 0x1400687fd
lea rcx, [rsp + 0x30]
call fcn.14002a3e7
mov edi, 1
xor ebx, ebx
xor eax, eax
jmp 0x140068801
and qword [rdi + 0x38], 0
mov al, 1
xor ebx, ebx
xor edi, edi
jmp 0x140068801
xor edi, edi
mov al, 1
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbx
test al, al
je 0x140068838
test rbx, rbx
jne 0x140068838
lea rcx, [rsp + 0x58]
call fcn.1400616b2
mov rbx, rdx
lea rcx, [rsp + 0x48]
call fcn.1400616e9
mov rcx, rsi
mov rdx, rbx
call fcn.1400681f8
xor ebx, ebx
mov rax, rdi
mov rdx, rbx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1400f78fc]
lea r8, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov edx, 0x3b
call fcn.1400a81a0
int3

Function at 0x14006bc6b
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x328
mov rbx, rdx
mov ebx, edx
Function at 0x140073ed5
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.140073d91
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
lea r12, [rsp + 0x38]
mov edx, 0x800
mov rcx, r12
call fcn.140061fd4
mov rdi, qword [rdi + 8]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x140073f69
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.14009ff5f
jmp 0x140073f37
test eax, eax
jne 0x140073f8b
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x140073fb3
movabs rax, 0xde00000002
jmp 0x140073f93
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.14008fb14
jmp 0x140073fc7
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call fcn.14008fb2d
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14007de00
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14007de25
cmp rax, rcx
je 0x14007de2b
cmp rdx, 4
jae 0x14007de32
xor eax, eax
xor r8d, r8d
jmp 0x14007ded0
pop rbp
jmp fcn.14000df90
xor eax, eax
jmp 0x14007dee7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400ad7f0]
movdqa xmm3, xmmword [0x1400ad800]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14007de60
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14007dee7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14007ded0
pop rbp
ret
Function at 0x140081ac3
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x140081b2f
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x88], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x90], rdx
cmp qword [rcx + 0x30], rax
je 0x140081b6a
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x140081b61
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x140126908]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x140081b4e
jmp 0x140081b63
xor edx, edx
mov dword [rsp + 0x98], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x140081bbb
mov rax, rsi
shr rax, 0x3c
jne 0x140081c81
mov r14, qword [rcx + 8]
lea rbx, [rsi*8]
mov ecx, 8
mov rdx, rbx
call fcn.140096af5
test rax, rax
je 0x140081c86
mov rdi, rax
xor eax, eax
mov rcx, qword [r14 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x140081ba7
mov eax, esi
jmp 0x140081bc4
xor esi, esi
mov edi, 8
xor eax, eax
lea rcx, [rsp + 0x60]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1400fa4bb]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x140081c1b
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x140081c53
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call fcn.140096af5
test rax, rax
je 0x140081c93
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
xor r14d, r14d
test rsi, rsi
je 0x140081c6c
shl rsi, 3
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.1400025ad
mov rax, r14
mov rdx, rbx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14000a890
mov ecx, 8
mov rdx, rbx
call fcn.1400a7da0
mov ecx, 8
mov edx, 0x20
call fcn.1400a7da0
int3

Function at 0x14008222d
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
invalid
jne 0x140082257
invalid
mov rdx, qword [rsp + 0x20]
jmp case.0x14006abfd.270
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
add esp, 0x28
invalid
invalid
ret
Function at 0x1400832c9
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400832f6
xor eax, eax
jmp 0x1400832fb
call fcn.140037547
nop
add rsp, 0x38
ret
Function at 0x140089e80
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
sub esp, 0xa8

Function at 0x14008ac40
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov rax, qword [0x14012f4f8]
cmp rax, 3
jne 0x14008ae32
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x14008ae42
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x14008acd8
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x14008ad94
inc rdx
cmp rax, rdx
jne 0x14008acc0
jmp 0x14008adfd
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x14008ad0e
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x14008ad94
inc rdx
cmp rcx, rdx
jne 0x14008acf0
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x14008ad12
jmp 0x14008ad5e
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x1400ad830]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x14008ad5e
add rcx, 0x10
cmp rcx, rdx
jbe 0x14008ad30
sub rax, rcx
je 0x14008adfd
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x14008ad91
inc rdx
cmp rax, rdx
jne 0x14008ad80
jmp 0x14008adfd
add rdx, rcx
cmp rdx, rdi
jne 0x14008adfd
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x158], 0
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x158]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14008ae11
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14008ae29
lea rax, [0x1400fbe20]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14008ae54
mov rax, qword [rbp + 0x158]
movzx ecx, word [rbp + 0x166]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x14008ae54
mov rbx, rdx
call fcn.1400ab790
mov rdx, rbx
jmp 0x14008ac7c
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call fcn.1400ab7f0
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008b4e0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14012f578]
mov edx, 0x10
xor ecx, ecx
call fcn.14008bee0
test rax, rax
je 0x14008b5b4
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14008b650]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14008b5a6
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x14008b583
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.14000a760
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.14000a760
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400a7da0
ud2

Function at 0x1400914b7
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x140091563
mov rdi, rax
lea rbx, [rsp + 0x30]
and qword [rbx], 0
mov qword [rbx + 8], 8
and qword [rbx + 0x10], 0
movsxd r12, dword [rsp + 0x2c]
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x14009153d
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.14008ffb3
mov rcx, rbx
mov rdx, r14
call fcn.140091840
add r13, 8
jmp 0x14009150d
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LocalFree]
test rax, rax
jne 0x140091550
call fcn.1400a6f94
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
jmp 0x140091574
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a7984
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a79ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a79ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a79ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a79ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a79ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a79d0
xor al, al
add rsp, 0x28
ret

Function at 0x1400ab7f0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov rbx, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.14000a9c0
mov rax, qword [rbp - 0x28]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1400ab879
mov rdi, qword [rbp - 0x20]
mov r14, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400ab8ab
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400ab8bf
lea rcx, [0x1400fbe20]
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x1400ab8db
mov rcx, qword [rbp - 0x20]
mov edx, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.14000a760
mov rcx, qword [rbx]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test r14, r14
je 0x1400ab8db
mov edx, 1
mov rcx, rdi
call fcn.14000a760
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1407d59f8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407d5b7f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407d5a29
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407d5a0f
add dl, dl
jne 0x1407d5a36
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407d5a96
xor eax, eax
add dl, dl
jne 0x1407d5a45
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407d5b4d
add dl, dl
jne 0x1407d5a56
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407d5a63
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407d5a70
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407d5a7d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407d5a8a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407d5a1e
mov eax, 1
add dl, dl
jne 0x1407d5aa6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407d5ab3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407d5a9b
sub eax, ebx
mov ebx, 1
jne 0x1407d5aec
mov ecx, 1
add dl, dl
jne 0x1407d5ace
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407d5adb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407d5ac3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407d5a1e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407d5b08
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407d5b15
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407d5afd
cmp eax, 0x7d00
jae 0x1407d5b3b
cmp eax, 0x500
jb 0x1407d5b36
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407d5a1e
cmp eax, 0x7f
ja 0x1407d5b3e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407d5a1e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407d5b72
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407d5a1e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20