joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dfd50
Capabilities:
Copy file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov r8, rdx
mov rdx, rcx
retf 0x8d48
enter 0x7ee8, 0x75
jne 0x1400dfd80
dec dword [rax - 0x75]
enter 0xffffffffffff8b48, 0x55
ror byte [rax - 0x45], 1
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax + 0x74d83948], al
invalid
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov r8b, 1
call fcn.1400d8db0
mov rax, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
cmp rax, rbx
jne 0x1400dfdd9
mov eax, 1
mov qword [rbp - 8], rax
mov qword [rbp], rdx
add byte [rax - 0x73], cl
enter 0xffffffffffff8948, 0xfffffffffffffffa
cli

Function at 0x1400e5d17
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400e5d1e
test al, 1
je 0x1400e5d3d
test al, 2
jne 0x1400e5d55
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14019d960]
mov edx, 0x23
call fcn.140134810
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14019d9a0]
mov edx, 0x25
call fcn.140134810
int3

Function at 0x1400e683a
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1400e14b6
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400e6876
xor eax, eax
jmp 0x1400e6884
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x1400f8afe
Capabilities:
Get session user name

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
lea rdx, [rsp + 0x2c]
and dword [rdx], 0
xor ecx, ecx
call qword [sym.imp.advapi32.dll_GetUserNameW]
test eax, eax
jne 0x1400f8c39
call fcn.140049a6e
mov rdi, rax
and eax, 3
movabs r14, 0xffffffff00000003
and r14, rdi
cmp eax, 1
jne 0x1400f8b7b
mov rbx, qword [rdi - 1]
mov r15, qword [rdi + 7]
mov rax, qword [r15]
invalid
test rax, rax
je 0x1400f8b56
invalid
mov rcx, rbx
call rax
dec rdi
mov r8, qword [r15 + 8]
test r8, r8
je 0x1400f8b6e
mov rdx, qword [r15 + 0x10]
mov rcx, rbx
mov ecx, ebx
lea rcx, [0x1401c3ce9]
lea r8, [0x1401c3d60]
mov cl, 0xc
invalid
mov edx, 0x16
call fcn.140134810
int3
Function at 0x1400fc640
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400fc760
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x1400fc6a0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x1400fc6a0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1400fc6a0
Function at 0x1400fec90
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.1400fec90
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret

Function at 0x1400fed9a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400fed70
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
ret
Function at 0x1400ffdc0
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400ffe6e
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
cmp r8, 0x10
jb 0x1400fff19
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x1400ffe6e
cmp r8, 0
je 0x1400fffdf
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x1400fff2f
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
Function at 0x14011a8d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
mov rdi, rdx
mov r15d, 8
sub rsi, r8
mov rbx, r8
mov rdx, r8
mov r8d, r15d
mov r14, rcx
mov rax, qword [rsi + rdx]
xor qword [rdx], rax
add rdx, r15
sub r8, 1
jne 0x14011a903
cmp rdi, 1
jbe 0x14011a956
add rsi, 0x40
lea rbp, [rdi - 1]
mov rcx, rbx
call fcn.14011b1a4
mov rcx, rbx
call fcn.14011b09c
call fcn.14011abc0
mov rcx, rbx
mov rdx, r15
mov rax, qword [rsi + rcx]
xor qword [rcx], rax
add rcx, r15
sub rdx, 1
jne 0x14011a93c
add rsi, 0x40
sub rbp, 1
jne 0x14011a921
mov rcx, rbx
call fcn.14011b1a4
mov rcx, rbx
call fcn.14011b09c
shl rdi, 6
mov rcx, r15
sub rdi, rbx
add rdi, r14
mov rax, qword [rdi + rbx]
xor qword [rbx], rax
add rbx, r15
sub rcx, 1
jne 0x14011a973
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14011aa2c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
movups xmm0, xmmword [r8]
mov rsi, rcx
lea rcx, [rax - 0x68]
movups xmm1, xmmword [r8 + 0x10]
mov rdi, rdx
movaps xmmword [rax - 0x68], xmm0
movups xmm0, xmmword [r8 + 0x20]
movaps xmmword [rax - 0x58], xmm1
movups xmm1, xmmword [r8 + 0x30]
movaps xmmword [rax - 0x48], xmm0
movaps xmmword [rax - 0x38], xmm1
call fcn.14011b578
xor ebx, ebx
test rdi, rdi
je 0x14011abaa
mov r14d, 0xffff0000
movabs r15, 0xff000000ff00
movabs r12, 0xf000f000f000f0
mov r9, qword [rsp + rbx*8 + 0x40]
mov r8, qword [rsp + rbx*8 + 0x20]
mov rdx, r9
shl rdx, 0x20
mov eax, r8d
or rdx, rax
shr r8, 0x20
mov rcx, rdx
shr rcx, 0x10
xor rcx, rdx
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 8
xor rcx, rdx
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 4
xor rcx, rdx
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, rdx
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x98], rax
movabs rax, 0xffffffff00000000
and r9, rax
or r9, r8
mov r8d, 8
mov rcx, r9
shr rcx, 0x10
xor rcx, r9
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 8
xor rcx, r9
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 4
xor rcx, r9
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
mov rcx, rsi
xor rax, r9
mov qword [rsp + 0xa0], rax
call fcn.1401336d0
lea rcx, [rsi + 8]
mov r8d, 8
lea rdx, [rsp + 0xa0]
call fcn.1401336d0
inc rbx
add rsi, 0x10
cmp rbx, rdi
jb 0x14011aa96
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14011ae34
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov dword [rcx + 0xf0], 0xa
lea rcx, [rsp + 0x20]
call fcn.14011a7d0
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401336d0
add rbx, 0x10
mov edi, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14011b118
lea rax, [0x1401c9cc0]
xor r9d, r9d
movzx r10d, byte [rdi + rax - 1]
mov rdx, qword [rsp + r9*8 + 0x30]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rsp + r9*8 + 0x20]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rsp + r9*8 + 0x20], rax
inc r9
cmp r9, 2
jb 0x14011ae90
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401336d0
inc rdi
add rbx, 0x10
cmp rdi, 0xa
jbe 0x14011ae71
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14011af20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
mov dword [rcx + 0xf0], 0xe
lea rcx, [rbp - 0x30]
mov rbx, rdx
call fcn.14011a7d0
mov esi, 0x10
lea rdx, [rbp - 0x30]
mov r8d, esi
mov rcx, rdi
call fcn.1401336d0
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x20]
call fcn.14011a7d0
lea rcx, [rdi + 0x10]
mov r8d, esi
lea rdx, [rbp - 0x20]
call fcn.1401336d0
add rdi, 0x20
lea ebx, [rsi - 0xe]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.14011b118
mov rax, rbx
lea rcx, [0x1401c9cc0]
shr rax, 1
xor r9d, r9d
movzx r10d, byte [rax + rcx - 1]
mov rdx, qword [rbp + r9*8 - 0x10]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rbp + r9*8 - 0x30]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rbp + r9*8 - 0x30], rax
inc r9
cmp r9, 2
jb 0x14011afab
mov r8, rsi
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1401336d0
cmp rbx, 0xe
je 0x14011b084
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.14011b118
movdqu xmm0, xmmword [rbp - 0x20]
lea rcx, [rdi + 0x10]
mov r8, rsi
movdqu xmm2, xmmword [rbp - 0x10]
lea rdx, [rbp - 0x20]
psrlq xmm2, 0x30
xorps xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
psllq xmm1, 0x10
xorps xmm1, xmm2
psllq xmm0, 0x20
xorps xmm1, xmm0
psllq xmm2, 0x30
xorps xmm1, xmm2
movdqu xmmword [rbp - 0x20], xmm1
call fcn.1401336d0
add rbx, 2
add rdi, 0x20
cmp rbx, 0xe
jbe 0x14011af88
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret

Function at 0x14011e514
Capabilities:
Encrypt data using curve25519

Disassembly:
mov al, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x140121f84
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
test r8, r8
je 0x140121fa0
sub rdx, rcx
mov al, byte [rcx + rdx]
xor al, byte [rcx]
inc rcx
or r9b, al
sub r8, 1
jne 0x140121f8f
movzx eax, r9b
ret

Function at 0x140121fa8
Capabilities:
Encode data using xor

Disassembly:
neg r8
mov r9, rcx
mov r11, r8
sub rdx, rcx
not r11
mov r10d, 4
mov rcx, qword [r9 + rdx]
mov rax, qword [r9]
and rcx, r8
and rax, r11
xor rcx, rax
mov qword [r9], rcx
lea r9, [r9 + 8]
sub r10, 1
jne 0x140121fbd
ret

Function at 0x140122988
Capabilities:
Encode data using xor

Disassembly:
or rax, 0xffffffffffffffff
mov r9, rdx
mov r10, rcx
test r8, r8
je 0x1401229c3
sub r10, rdx
mov rcx, qword [r9 + r10]
xor rcx, qword [r9]
lea r9, [r9 + 8]
lea rdx, [rcx - 1]
not rcx
shr rdx, 0x3f
shr rcx, 0x3f
and rdx, rcx
neg rdx
and rax, rdx
sub r8, 1
jne 0x14012299a
ret

Function at 0x140123edc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r10d, 1
xor r9d, r9d
lea r11d, [r10 + 0x3f]
mov r8, r10
shr r9, 1
and r8d, 1
neg r8
mov rdx, r8
and rdx, rcx
mov rax, rdx
xor rax, r10
and r10, rdx
shr rax, 1
add r10, rax
movabs rax, 0x8000000000000000
and r8, rax
add r9, r8
sub r11, 1
jne 0x140123eee
mov rbx, qword [rsp + 8]
mov rax, r9
ret

Function at 0x140124a68
Capabilities:
Parse pe header

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

Function at 0x140129b2c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140129b9b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140129b9b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140129b9b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140129b9b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140129b9b
cmp dword [rcx + 0x84], 0xe
jbe 0x140129b9b
cmp dword [rcx + 0xf8], 0
je 0x140129b9b
mov ecx, ebx
call fcn.140129c4c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140129a28
nop
cmp dword [rbp + 0x20], 0
je 0x140129be9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140129bf4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140129b2c

Function at 0x140129d30
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140129b2c
Function at 0x14012d008
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14012d038
xor eax, eax
jmp 0x14012d0fb
mov rbp, rbx
cmp word [rax], si
je 0x14012d05d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14012d044
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14012d040
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14012cf28
movsxd r14, eax
test eax, eax
jne 0x14012d09b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14012d031
mov rcx, r14
call fcn.14012dee4
mov rdi, rax
test rax, rax
jne 0x14012d0b4
xor ecx, ecx
call fcn.14012a7a8
jmp 0x14012d090
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14012cf28
test eax, eax
jne 0x14012d0e5
mov rcx, rdi
call fcn.14012a7a8
jmp 0x14012d0ef
xor ecx, ecx
call fcn.14012a7a8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140130860
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14012bff8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401308ea
cmp byte [rbp - 0x21], r15b
je 0x1401308e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140130920
call fcn.14012e6f4
test eax, eax
jne 0x14013090c
cmp byte [rbp - 0x21], r15b
je 0x140130904
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140130920
cmp byte [rbp - 0x21], r15b
je 0x14013091d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14012b5d8
test eax, eax
jne 0x1401309c0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14012bff8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14013095f
cmp byte [rbp - 0x21], r15b
je 0x140130994
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140130994
call fcn.14012e6f4
test eax, eax
jne 0x140130980
cmp byte [rbp - 0x21], r15b
je 0x140130979
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140130994
cmp byte [rbp - 0x21], r15b
je 0x140130991
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14012b5d8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401309c0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401309c3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401309d1
mov rcx, rdi
call fcn.14012a7a8
cmp byte [rbp + 0x3f], r15b
je 0x1401309e0
mov rcx, qword [rbp + 0x27]
call fcn.14012a7a8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401334e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140133508
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140133508
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1401388e0
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.140008c00
mov rax, qword [rbp - 0x28]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x140138969
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 0x14013899b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1401389af
lea rcx, [0x1401997c0]
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x1401389cb
mov rcx, qword [rbp - 0x20]
mov edx, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.140008930
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 0x1401389cb
mov edx, 1
mov rcx, rdi
call fcn.140008930
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret