joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140094400
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
mov rax, rdx
mov qword [r11 - 0x28], rdx
mov ecx, 0x10000
call fcn.140134098
mov rdi, rax
mov qword [rsp + 0x68], rax
mov r8d, 0x8000
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
lea eax, [rcx - 1]
cmp eax, 0x7fff
ja 0x1400944b5
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov r8d, ecx
mov rdx, rdi
mov rcx, rbx
call fcn.1400258d0
nop
mov rcx, rdi
call fcn.140133620
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140133600
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
lea rax, str.Unable_to_retrieve_environment_variable__
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.14005e9c0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x38]
call fcn.140135f84
int3
Function at 0x140096480
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
xor ecx, ecx
mov rax, qword [rsp + 8]
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], rcx
mov qword [rax + 0x48], rcx
mov qword [rax + 0x50], rcx
mov qword [rax + 0x58], rcx
mov qword [rax + 0x60], rcx
mov qword [rax + 0x68], rcx
mov qword [rax + 0x70], rcx
mov qword [rax + 0x78], rcx
mov qword [rax + 0x80], rcx
mov qword [rax + 0x88], rcx
mov qword [rax + 0x90], rcx
mov qword [rax + 0x98], rcx
mov qword [rax + 0xa0], rcx
mov qword [rax + 0xa8], rcx
mov qword [rax + 0xb0], rcx
mov qword [rax + 0xb8], rcx
mov qword [rax + 0xc0], rcx
mov qword [rax + 0xc8], rcx
mov qword [rax + 0xd0], rcx
mov qword [rax + 0xd8], rcx
mov qword [rax + 0xe0], rcx
mov qword [rax + 0xe8], rcx
mov qword [rax + 0xf0], rcx
mov qword [rax + 0xf8], rcx
mov qword [rax + 0x100], rcx
mov qword [rax + 0x108], rcx
mov qword [rax + 0x110], rcx
mov qword [rax + 0x118], rcx
mov qword [rax + 0x120], rcx
mov qword [rax], rcx
mov dword [rax + 8], 0x6a09e667
mov dword [rax + 0xc], 0xbb67ae85
mov dword [rax + 0x10], 0x3c6ef372
mov dword [rax + 0x14], 0xa54ff53a
mov dword [rax + 0x18], 0x510e527f
mov dword [rax + 0x1c], 0x9b05688c
mov dword [rax + 0x20], 0x1f83d9ab
mov dword [rax + 0x24], 0x5be0cd19
ret

Function at 0x1400a57c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
xor ecx, ecx
mov r10, qword [rsp + 0x10]
mov rdx, r10
movzx eax, word [r10]
test ax, ax
je 0x1400a57fe
nop dword [rax]
movzx eax, ax
lea rdx, [rdx + 2]
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
movzx eax, word [rdx]
test ax, ax
jne 0x1400a57e0
lea eax, [rcx + rcx*8]
mov edx, eax
shr rdx, 0xb
mov ecx, eax
mov rax, qword [rsp + 8]
xor rdx, rcx
and edx, 0x3f
mov r8, qword [rax + rdx*8]
test r8, r8
je 0x1400a5872
nop dword [rax]
mov ecx, dword [r8]
sub ecx, 1
je 0x1400a5847
sub ecx, 1
je 0x1400a5841
sub ecx, 1
je 0x1400a5841
cmp ecx, 1
je 0x1400a583b
xor eax, eax
jmp 0x1400a584b
lea rax, [r8 + 0x12]
jmp 0x1400a584b
lea rax, [r8 + 0x18]
jmp 0x1400a584b
lea rax, [r8 + 0x38]
mov r9, r10
sub r9, rax
movzx edx, word [rax]
movzx ecx, word [rax + r9]
sub edx, ecx
jne 0x1400a5865
add rax, 2
test ecx, ecx
jne 0x1400a5851
test edx, edx
je 0x1400a5875
mov r8, qword [r8 + 8]
test r8, r8
jne 0x1400a5820
xor eax, eax
ret
mov rax, r8
ret
Function at 0x1400a9e80
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, r8
test r8, r8
jne 0x1400a9eb9
mov rax, qword [rax + 8]
xor ecx, ecx
mov dword [rax + 0x10], ecx
mov dword [rax], 1
mov qword [rax + 8], rcx
add rsp, 0x60
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x58], rbx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.1401538e8
mov rcx, rdi
call fcn.14015c410
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov rbx, rax
call fcn.1401538e8
test rbx, rbx
jns 0x1400a9f08
mov rax, qword [rsp + 0x70]
xor ecx, ecx
mov rbx, qword [rsp + 0x58]
mov dword [rax + 0x10], ecx
mov dword [rax], 2
mov qword [rax + 8], rcx
add rsp, 0x60
pop rdi
ret
mov rax, qword [section..data]
lea rcx, [rbx + 2]
mov qword [rsp + 0x50], rsi
call qword [case.0x1400cc851.0]
mov rsi, rax
test rax, rax
jne 0x1400a9f4a
mov rax, qword [rsp + 0x70]
xor ecx, ecx
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov dword [rax + 0x10], ecx
mov dword [rax], 3
mov qword [rax + 8], rcx
add rsp, 0x60
pop rdi
ret
mov r9, rdi
mov r8, rbx
mov edx, 1
mov rcx, rsi
call fcn.140154090
cmp rax, rbx
je 0x1400a9f96
mov rax, qword [0x140212008]
mov rcx, rsi
call qword [case.0x1400cc851.0]
mov rax, qword [rsp + 0x70]
xor ecx, ecx
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov dword [rax + 0x10], ecx
mov dword [rax], 2
mov qword [rax + 8], rcx
add rsp, 0x60
pop rdi
ret
mov ecx, dword [rsp + 0x90]
mov r8, rbx
mov rdx, rsi
call fcn.1400a9780
mov edx, eax
lea ecx, [rax - 2]
cmp ecx, 1
ja 0x1400a9fc3
shr rbx, 1
xor ecx, ecx
lea rax, [rbx + rbx]
mov word [rax + rsi], cx
lea rbx, [rax + 2]
mov rax, qword [rsp + 0x98]
mov r9, rsi
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x88]
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x30], edx
mov rdx, qword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov r8, rdx
mov qword [rsp + 0x20], rbx
call fcn.1400a9b30
mov rax, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x60
pop rdi
ret
Function at 0x1400afe40
Capabilities:
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rcx
cmp dword [rcx], 0
jne 0x1400afff9
mov rcx, qword [rcx + 0x10]
sub rcx, qword [rsi + 8]
sar rcx, 4
cmp rcx, 2
jle 0x1400afff9
mov r14, rdx
mov qword [rax - 0x38], rdx
movups xmm0, xmmword [rdx]
movups xmmword [rax - 0x30], xmm0
movsd xmm1, qword [rdx + 0x10]
movsd qword [rax - 0x20], xmm1
mov ebx, 1
mov rdx, rcx
shr rdx, 1
add rdx, rcx
cmp rbx, rdx
jae 0x1400afeb0
add rbx, rbx
cmp rbx, rdx
jb 0x1400afea8
lea rbp, [rbx*8]
mov rdx, rbp
mov rcx, r14
call fcn.1400a5a10
mov rdi, rax
test rax, rax
jne 0x1400aff09
mov rcx, qword [r14]
mov rdi, qword [rsp + 0x28]
cmp rcx, rdi
je 0x1400afef8
nop dword [rax + rax]
mov rbx, qword [rcx]
mov rax, qword [0x140212008]
call qword [case.0x1400cc851.0]
mov rcx, rbx
cmp rbx, rdi
jne 0x1400afee0
mov qword [r14], rdi
mov rax, qword [rsp + 0x30]
mov qword [r14 + 8], rax
jmp 0x1400b0080
mov r8, rbp
xor edx, edx
mov rcx, rdi
call fcn.140176680
mov rbp, qword [rsi + 8]
mov r11, rbp
cmp rbp, qword [rsi + 0x10]
je 0x1400affb1
mov rax, qword [r11 + 8]
test rax, rax
je 0x1400aff35
xor r8d, r8d
jmp 0x1400aff38
mov r8, qword [r11]
test rax, rax
cmovne r8, rax
test r8, r8
je 0x1400affa3
mov eax, r8d
shr eax, 0x10
xor eax, r8d
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
lea r10, [rbx - 1]
and rax, r10
xor ecx, ecx
lea r9, [rdi + rax*8]
mov rdx, qword [r9]
test rdx, rdx
je 0x1400aff94
cmp rdx, r8
je 0x1400affa3
inc rax
add rax, rcx
and rax, r10
inc rcx
cmp rcx, r10
jbe 0x1400aff70
jmp 0x1400affa3
mov qword [r9], r8
movups xmm0, xmmword [r11]
movups xmmword [rbp], xmm0
add rbp, 0x10
add r11, 0x10
cmp r11, qword [rsi + 0x10]
jne 0x1400aff27
mov qword [rsi + 0x10], rbp
mov rcx, qword [r14]
mov rdi, qword [rsp + 0x28]
cmp rcx, rdi
je 0x1400affe8
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rcx]
mov rax, qword [0x140212008]
call qword [case.0x1400cc851.0]
mov rcx, rbx
cmp rbx, rdi
jne 0x1400affd0
mov qword [r14], rdi
mov rax, qword [rsp + 0x30]
mov qword [r14 + 8], rax
jmp 0x1400b0080
mov r11, qword [rsi + 0x10]
mov rcx, qword [rsi + 8]
mov rdx, r11
sub rdx, rcx
mov rax, rdx
and rax, 0xfffffffffffffff0
cmp rax, 0x10
jle 0x1400b0042
mov r10, qword [rcx]
mov r9, qword [rcx + 0x10]
cmp r10, r9
jne 0x1400b002a
mov rax, qword [rcx + 0x18]
cmp qword [rcx + 8], rax
je 0x1400b0042
add rcx, 0x10
sub rdx, 0x10
mov r10, r9
mov rax, rdx
and rax, 0xfffffffffffffff0
cmp rax, 0x10
jg 0x1400b0017
cmp rcx, r11
je 0x1400b007c
mov rdx, rcx
add rcx, 0x10
cmp rcx, r11
je 0x1400b0078
mov rax, qword [rdx]
cmp qword [rcx], rax
jne 0x1400b0065
mov rax, qword [rdx + 8]
cmp qword [rcx + 8], rax
je 0x1400b006f
movups xmm0, xmmword [rcx]
add rdx, 0x10
movups xmmword [rdx], xmm0
add rcx, 0x10
cmp rcx, r11
jne 0x1400b0053
lea rcx, [rdx + 0x10]
mov qword [rsi + 0x10], rcx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b36e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
xor r10d, r10d
mov r9d, edx
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
bts r9d, 8
mov r11, r8
mov rbx, rcx
nop dword [rax]
nop word [rax + rax]
mov edx, r9d
shr r9d, 1
and edx, 1
neg edx
shr rdx, 4
movzx r8d, word [rbx + r9*2]
and edx, 0x7f
shr r8, 4
xor r8, rdx
add r10d, dword [r11 + r8*4]
cmp r9d, 2
jae 0x1400b3710
mov rbx, qword [rsp + 0x20]
mov eax, r10d
ret

Function at 0x1400b3750
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rdi
mov rbx, qword [rax + 0x20]
xor r11d, r11d
mov r10d, dword [rax + 0x18]
mov r9d, 0x100
mov r8d, edx
mov rdi, rcx
or r8d, r9d
nop
mov ecx, r8d
add r10d, r10d
shr ecx, 8
mov eax, r9d
and eax, r10d
add eax, r9d
add ecx, eax
movzx edx, word [rdi + rcx*2]
mov ecx, r8d
shr ecx, 7
add r8d, r8d
and ecx, 1
shr rdx, 4
neg ecx
shr rcx, 4
and ecx, 0x7f
xor rdx, rcx
mov ecx, r8d
xor ecx, r10d
not ecx
and r9d, ecx
add r11d, dword [rbx + rdx*4]
cmp r8d, 0x10000
jb 0x1400b3780
mov eax, r11d
pop rdi
pop rbx
ret

Function at 0x1400b50e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rbp, qword [rsp + 0x30]
cmp dword [rbp + 0xcc], 0
jne 0x1400b5117
mov rcx, rbp
call fcn.1400b1400
mov rcx, rbp
call fcn.1400b1110
mov ecx, dword [rbp + 0xc4]
lea r8, [rbp + 0x2564]
mov eax, dword [rbp + 0x48]
lea r9, [rbp + 0x810]
dec eax
mov dword [rbp + 0xec], 0x40
mov ebx, 1
mov dword [rbp + 0x9168], eax
mov edx, ebx
mov dword [rbp + 0x4d64], eax
shl edx, cl
lea rcx, [rbp + 0x4d64]
call fcn.1400b3470
mov ecx, dword [rbp + 0xc4]
lea r8, [rbp + 0x2964]
shl ebx, cl
lea r9, [rbp + 0x810]
mov edx, ebx
lea rcx, [rbp + 0x9168]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.1400b3470

Function at 0x1400b55a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
xor r10d, r10d
mov rdi, rcx
mov r11, r8
mov rbx, r9
mov esi, edx
nop dword [rax]
nop word [rax + rax]
mov edx, r10d
lea r11, [r11 + 8]
shr edx, 2
mov r9d, r10d
shr r9d, 1
add r10d, 2
mov ecx, r9d
and ecx, 1
neg ecx
lea eax, [rdx + 2]
movzx r8d, word [rdi + rax*2]
movzx eax, word [rdi + 2]
shr rcx, 4
and ecx, 0x7f
shr rax, 4
shr r8, 4
xor r8, rcx
mov ecx, edx
neg ecx
shr rcx, 4
and ecx, 0x7f
mov r8d, dword [rbx + r8*4]
xor rcx, rax
lea eax, [r9 + 4]
movzx edx, word [rdi + rax*2]
mov eax, edx
xor rdx, 0x7f0
add r8d, dword [rbx + rcx*4]
add r8d, esi
shr rax, 4
shr rdx, 4
mov ecx, dword [rbx + rax*4]
add ecx, r8d
mov dword [r11 - 8], ecx
mov ecx, dword [rbx + rdx*4]
add ecx, r8d
mov dword [r11 - 4], ecx
cmp r10d, 8
jb 0x1400b55d0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b7670
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
xor edx, edx
mov rax, qword [rsp + 8]
mov qword [rax + 0x40], rdx
lea r8, [rax + 0x78]
mov word [rax + 0x22], dx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x480], 0xffffffffffffffff
mov dword [rax + 0x3c], 0x20
mov byte [rax + 0x21], 1
mov dword [rax + 0x5c], 4
nop dword [rax]
mov ecx, edx
lea r8, [r8 + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r8 - 4], eax
cmp edx, 0x100
jb 0x1400b76b0
ret

Function at 0x1400b9a80
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
sub rsp, 0x48
lea rax, [r11 - 0x18]
mov r9, r8
mov r8, rdx
mov qword [r11 - 0x20], rax
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call fcn.140154878
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
test rax, rax
je 0x1400b9ac6
xor eax, eax
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
add rsp, 0x48
ret
Function at 0x1400c56c0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400c57b2
mov rcx, rbx
call fcn.1400db360
test al, al
jne 0x1400c57b2
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1400c5700
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.1400ec6c0
test rax, rax
je 0x1400c5745
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.1400ec6c0
mov rsi, rax
test rax, rax
je 0x1400c5745
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x1400c577b
nop word [rax + rax]
movzx ecx, byte [rbx]
call fcn.1400eb110
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400c5760
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400d6bd0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x28
lea rcx, [0x1401953f8]
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1400d6bf9
add rsp, 0x28
pop rdi
pop rbp
ret
mov qword [rsp + 0x48], rbx
lea rdx, str.LoadLibraryExA
mov rcx, rdi
mov qword [rsp + 0x58], r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x40]
lea rdx, [0x140195418]
mov rcx, rbx
mov r14, rax
call fcn.14015e7d8
test rax, rax
je 0x1400d6c5c
mov rcx, rbx
test r14, r14
je 0x1400d6c4e
xor edx, edx
mov rax, r14
lea r8d, [rdx + 8]
call qword [case.0x1400cc851.0]
mov rbp, rax
jmp 0x1400d6d7a
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
jmp 0x1400d6d7a
test r14, r14
je 0x1400d6c92
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d6c92
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
call qword [case.0x1400cc851.0]
mov rbp, rax
jmp 0x1400d6d7a
xor edx, edx
mov qword [rsp + 0x20], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x1400d6d75
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x50], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1400d6cc0
lea ecx, [rax + 1]
mov rax, qword [fcn.140154a40]
add rcx, rdx
call qword [case.0x1400cc851.0]
mov rsi, rax
test rax, rax
je 0x1400d6d60
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400d6d60
mov rax, rdi
nop word [rax + rax]
cmp byte [rsi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1400d6d00
mov ecx, 0x5c
mov word [rax + rsi], cx
inc rdi
cmp byte [rsi + rdi], bpl
jne 0x1400d6d14
mov rcx, rsi
sub rcx, rbx
add rcx, rdi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400d6d30
mov rcx, rsi
test r14, r14
je 0x1400d6d57
xor edx, edx
mov rax, r14
lea r8d, [rdx + 8]
call qword [case.0x1400cc851.0]
jmp 0x1400d6d5d
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rax, qword [fcn.140143670]
mov rcx, rsi
call qword [case.0x1400cc851.0]
mov rsi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x58]
mov rax, rbp
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rbp
ret
Function at 0x1400d6d90
Capabilities:
Initialize winsock library

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x1e8
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test byte [rsp + 0x1f0], 2
je 0x1400d6dff
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400d6de2
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1400d6ddc
shr ax, 8
cmp al, 2
je 0x1400d6dff
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140133600
add rsp, 0x1e8
ret
call fcn.140100440
test eax, eax
jne 0x1400d6e78
lea rcx, str.iphlpapi.dll
call fcn.1400d6bd0
mov qword [0x14021b098], rax
test rax, rax
je 0x1400d6e45
lea rdx, str.if_nametoindex
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14021b090]
test rax, rax
cmovne rcx, rax
mov qword [0x14021b090], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1400fff90
test al, al
lea rcx, [0x14021e6e0]
setne byte [0x14021e6d8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140133600
add rsp, 0x1e8
ret
Function at 0x1400ece30
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm6
call fcn.1400c5b60
mov rcx, qword [rsp + 0x70]
movups xmm6, xmmword [rax]
call fcn.140164370
mov rcx, qword [rsp + 0x78]
mov rdi, rax
call fcn.140164370
mov r8d, 1
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1400ecee0
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1400c5b60
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1400c5bf0
cmp rax, 0x3e8
ja 0x1400ecf0f
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1400ece90
test rdi, rdi
je 0x1400eceed
mov rcx, rdi
call fcn.140143670
test rbx, rbx
je 0x1400ecefa
mov rcx, rbx
call fcn.140143670
xor eax, eax
mov rbx, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rdi, rdi
je 0x1400ecf1c
mov rcx, rdi
call fcn.140143670
test rbx, rbx
je 0x1400ecf29
mov rcx, rbx
call fcn.140143670
mov rbx, qword [rsp + 0x80]
mov eax, 1
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret

Function at 0x1400edb60
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, qword [rsp + 0x70]
mov ecx, 0x2b
test rsi, rsi
je 0x1400edc3b
mov rbp, qword [rsp + 0x60]
xor r14d, r14d
mov rdi, qword [rsp + 0x68]
nop dword [rax]
mov ebx, 4
lea rdx, [rsp + 0x20]
cmp rsi, rbx
mov r8d, 4
mov rcx, rbp
cmovb rbx, rsi
call fcn.1400ccb50
cmp eax, 4
jne 0x1400edbec
cmp byte [0x14021b0a4], r14b
jne 0x1400edbf8
lea r9d, [rax - 2]
mov dword [rsp + 0x20], r14d
mov r8d, eax
lea rdx, [rsp + 0x20]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
mov ecx, eax
test eax, eax
jne 0x1400edc3d
mov eax, dword [rsp + 0x20]
jmp 0x1400edc17
imul eax, dword [0x14021b0a0], 0x41c64e6d
mov ecx, r14d
add eax, 0x3039
mov dword [0x14021b0a0], eax
rol eax, 0x10
mov dword [rsp + 0x20], eax
test rbx, rbx
je 0x1400edc32
sub rsi, rbx
nop
mov byte [rdi], al
inc rdi
shr eax, 8
sub rbx, 1
jne 0x1400edc20
mov dword [rsp + 0x20], eax
test rsi, rsi
jne 0x1400edba0
mov eax, ecx
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400edc50
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub rsi, 1
je 0x1400edd39
mov rbx, qword [rsp + 0x60]
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
xor ebp, ebp
nop dword [rax + rax]
mov r8d, 4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400ccb50
cmp eax, 4
je 0x1400edcb2
test eax, eax
jne 0x1400edd3e
jmp 0x1400edd05
cmp byte [0x14021b0a4], bpl
jne 0x1400edce9
mov r9d, 2
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 2]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
je 0x1400edd05
mov eax, 2
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
imul eax, dword [0x14021b0a0], 0x41c64e6d
add eax, 0x3039
mov dword [0x14021b0a0], eax
rol eax, 0x10
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
cmp ecx, 0xfffffffc
jae 0x1400edc90
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3e
sub ecx, eax
movzx eax, byte [rcx + r14]
mov byte [rdi], al
inc rdi
sub rsi, 1
jne 0x1400edc90
mov byte [rdi], 0
xor eax, eax
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f0f60
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword [0x140212050]
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [case.0x1400cc851.0]
mov rdi, rax
test rax, rax
je 0x1400f0fe4
mov r14, qword [rsp + 0x40]
nop dword [rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x1400f100e
cmp ebx, esi
je 0x1400f100e
cmp ebx, 0x8000
ja 0x1400f100e
cmp ebx, esi
jb 0x1400f1009
mov rax, qword [0x140212050]
mov edx, ebx
mov rcx, rdi
call qword [case.0x1400cc851.0]
mov rdi, rax
test rax, rax
jne 0x1400f0fa0
mov rcx, rbp
mov rax, qword [fcn.140143670]
call qword [case.0x1400cc851.0]
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, rdi
jmp 0x1400f0ff6
mov rcx, rdi
jmp 0x1400f0fe7