joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096d38
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.140083450
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140096dc2
cmp byte [rbp - 0x21], r15b
je 0x140096dbd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140096df8
call fcn.14002dc14
test eax, eax
jne 0x140096de4
cmp byte [rbp - 0x21], r15b
je 0x140096ddc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140096df8
cmp byte [rbp - 0x21], r15b
je 0x140096df5
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.140075154
test eax, eax
jne 0x140096e98
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140083450
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140096e37
cmp byte [rbp - 0x21], r15b
je 0x140096e6c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140096e6c
call fcn.14002dc14
test eax, eax
jne 0x140096e58
cmp byte [rbp - 0x21], r15b
je 0x140096e51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140096e6c
cmp byte [rbp - 0x21], r15b
je 0x140096e69
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.140075154
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140096e98
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140096e9b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140096ea9
mov rcx, rdi
call fcn.14008669c
cmp byte [rbp + 0x3f], r15b
je 0x140096eb8
mov rcx, qword [rbp + 0x27]
call fcn.14008669c
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 0x14009b1f8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14009b218
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14009330c
or eax, 0xffffffff
jmp 0x14009b21a
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400bd570
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov ebx, ecx
call fcn.14017c500
test eax, eax
jne 0x1400bd70d
mov qword [rsp + 0x30], rbp
xor ebp, ebp
cmp byte [0x140679504], bpl
mov qword [rsp + 0x38], rsi
jne 0x1400bd5a5
mov esi, ebp
jmp 0x1400bd5c1
mov ecx, 5
call qword [0x140679570]
mov rsi, rax
test rax, rax
je 0x1400bd5c1
mov rcx, rax
call qword [0x140679580]
test ebx, ebx
jle 0x1400bd6ef
test rdi, rdi
je 0x1400bd6ef
cmp dword [0x140971250], ebp
jne 0x1400bd678
xor ecx, ecx
call fcn.1400b8b50
movups xmm0, xmmword [str.expand_32_byte_k]
movaps xmmword [0x140971250], xmm0
test rax, rax
jne 0x1400bd618
xorps xmm0, xmm0
mov qword [0x140971280], rax
movups xmmword [0x140971260], xmm0
mov dword [0x140971288], eax
movups xmmword [0x140971270], xmm0
jmp 0x1400bd65c
mov ecx, dword [0x1406796b0]
test ecx, ecx
je 0x1400bd64a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140971260], xmm0
mov dword [0x140971260], ecx
movups xmmword [0x140971270], xmm0
mov qword [0x140971280], rax
mov dword [0x140971288], eax
jmp 0x1400bd65c
lea r8, [0x140971260]
mov edx, 0x2c
mov rcx, rax
call qword [rax + 0x68]
mov eax, dword [0x140971280]
xor cl, cl
mov byte [0x1409712d0], cl
mov dword [0x14097128c], eax
mov dword [0x140971280], ebp
jmp 0x1400bd67f
movzx ecx, byte [0x1409712d0]
movzx eax, cl
lea rbp, [0x140971290]
cmp ebx, eax
jle 0x1400bd6d1
nop dword [rax]
test cl, cl
je 0x1400bd6af
movzx r8d, cl
mov rdx, rbp
mov rcx, rdi
call fcn.1405f7a20
movzx ecx, byte [0x1409712d0]
sub ebx, ecx
add rdi, rcx
inc dword [0x140971280]
lea rdx, [0x140971250]
mov rcx, rbp
call fcn.1400bd290
mov cl, 0x40
mov byte [0x1409712d0], cl
cmp ebx, 0x40
jg 0x1400bd690
movzx eax, cl
mov rcx, rdi
sub eax, ebx
movsxd r8, ebx
movsxd rdx, eax
add rdx, rbp
call fcn.1405f7a20
sub byte [0x1409712d0], bl
jmp 0x1400bd6f5
mov dword [0x140971250], ebp
test rsi, rsi
je 0x1400bd703
mov rcx, rsi
call qword [0x140679590]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14011a000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x14011a109
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, str.main
mov qword [rsp + 0x20], r15
lea r15, [0x140646ac0]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x14011a081
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x14011a0bc
test ecx, ecx
jne 0x14011a0ca
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.1400c0eb0
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x14011a0a0
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x14011a040
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x14011a0cf
inc r8
jmp 0x14011a070
test r10d, r10d
jne 0x14011a099
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x14011a0f5
test edx, edx
je 0x14011a081
inc rax
jmp 0x14011a0e0
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x14011a099
inc rax
jmp 0x14011a0e0
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14018bdd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1409713a8]
mov rdi, qword [0x140971410]
test rax, rax
jne 0x14018c037
movdqa xmm1, xmmword [0x140652b10]
lea r9d, [rax + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x48], xmm0
xor edx, edx
lea r8, [0x14096d4f0]
movdqu xmmword [rsp + 0x58], xmm1
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x48], al
mov qword [rsp + 0x58], rax
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14006fef0
mov r9, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
sub r9, rbx
lea rcx, [r9 - 1]
test rcx, rcx
je 0x14018be5e
nop dword [rax + rax]
movzx eax, byte [rbx + rcx - 1]
sub byte [rbx + rcx], al
sub rcx, 1
jne 0x14018be50
xor edx, edx
test r9, r9
je 0x14018befd
cmp r9, 0x40
jb 0x14018bedc
movdqa xmm2, xmmword [0x140652ba0]
lea rax, [rbx + 0x20]
mov rcx, r9
and rcx, 0xffffffffffffffc0
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add rdx, 0x40
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x50]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rdx, rcx
jb 0x14018be82
cmp rdx, r9
jae 0x14018befd
mov rcx, r9
lea rax, [rbx + rdx]
sub rcx, rdx
nop word [rax + rax]
xor byte [rax], 0xfa
lea rax, [rax + 1]
sub rcx, 1
jne 0x14018bef0
lea rdx, [rbx + 8]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14018bf10
lea rax, [r9 - 8]
cmp r8, rax
jb 0x14018bf27
lea r8, [r9 - 9]
lea rcx, [rsp + 0x48]
call fcn.1400a92b0
test rbx, rbx
je 0x14018bf6b
mov rdx, qword [rsp + 0x40]
mov rax, rbx
sub rdx, rbx
cmp rdx, 0x1000
jb 0x14018bf63
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018c066
mov rcx, rbx
call fcn.14002bfb4
cmp qword [rsp + 0x60], 0x10
lea rbx, [rsp + 0x48]
cmovae rbx, qword [rsp + 0x48]
call fcn.14002e690
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x60]
mov qword [0x1409713a8], rax
test rax, rax
jne 0x14018bfe9
cmp rdx, 0x10
jb 0x14018bfd6
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018bfd1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018c066
call fcn.14002bfb4
mov eax, 0xc0000138
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
cmp rdx, 0x10
jb 0x14018c024
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018c018
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018c066
call fcn.14002bfb4
mov rax, qword [0x1409713a8]
movdqa xmm0, xmmword [0x140652b10]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov r9d, 0x20
mov dword [rsp + 0x20], 0
lea r8, str.ChainingModeCBC
mov rcx, rdi
lea rdx, str.ChainingMode
call rax
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call fcn.140012048
int3
Function at 0x140581f84
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140581ffc
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140581ffc
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140581ffc
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140581ff0
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14058200e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140581fde
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140581ffe
Function at 0x14058f220
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.140067804
cdqe
add rsp, 0x28
ret

Function at 0x14058f4f0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov edx, 0x2b
mov rsi, r8
mov rbp, rcx
test r8, r8
je 0x14058f5bb
xor r14d, r14d
nop dword [rax]
mov edi, 4
lea rdx, [rsp + 0x50]
cmp rsi, rdi
mov r8d, 4
mov rcx, rbp
cmovb rdi, rsi
call fcn.14059cbc0
cmp eax, 4
jne 0x14058f56c
cmp byte [0x14096f724], r14b
jne 0x14058f578
lea r9d, [rax - 2]
mov dword [rsp + 0x50], r14d
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
mov edx, eax
test eax, eax
jne 0x14058f5bd
mov eax, dword [rsp + 0x50]
jmp 0x14058f597
imul eax, dword [0x14096f720], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x14096f720], eax
rol eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x14058f5b2
sub rsi, rdi
nop
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x14058f5a0
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x14058f520
mov eax, edx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14058f5d0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov r11, rsp
push rsi
push r12
push r14
push r15
sub rsp, 0xd8
mov rax, qword [0x140678038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, r8
lea r15, [rsp + 0x30]
and rax, 0xfffffffffffffffe
mov r14, r8
mov rsi, rdx
mov r12, rcx
cmp rax, 0x100
jae 0x14058f77c
test r14b, 1
je 0x14058f77c
mov qword [r11 + 0x18], rbx
dec r14
mov qword [r11 - 0x28], rbp
mov ecx, 0x2b
mov qword [r11 - 0x30], rdi
mov rbp, r14
shr rbp, 1
lea rdi, [rsp + 0x30]
mov qword [r11 - 0x38], r13
je 0x14058f6fb
xor r13d, r13d
nop word [rax + rax]
mov ebx, 4
lea rdx, [rsp + 0x20]
cmp rbp, rbx
mov r8d, 4
mov rcx, r12
cmovb rbx, rbp
call fcn.14059cbc0
cmp eax, 4
jne 0x14058f69c
cmp byte [0x14096f724], r13b
jne 0x14058f6ac
lea r9d, [rax - 2]
mov dword [rsp + 0x20], r13d
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 0x14058f73d
mov eax, dword [rsp + 0x20]
jmp 0x14058f6cb
imul eax, dword [0x14096f720], 0x41c64e6d
mov ecx, r13d
add eax, 0x3039
mov dword [0x14096f720], eax
rol eax, 0x10
mov dword [rsp + 0x20], eax
test rbx, rbx
je 0x14058f6f2
sub rbp, rbx
nop dword [rax]
nop word [rax + rax]
mov byte [rdi], al
inc rdi
shr eax, 8
sub rbx, 1
jne 0x14058f6e0
mov dword [rsp + 0x20], eax
test rbp, rbp
jne 0x14058f650
mov eax, ecx
test ecx, ecx
jne 0x14058f73d
test r14, r14
je 0x14058f738
lea rdx, str.0123456789abcdef
nop dword [rax]
movzx ecx, byte [r15]
lea r15, [r15 + 1]
mov eax, ecx
and ecx, 0xf
shr rax, 4
movzx eax, byte [rax + rdx]
mov byte [rsi], al
movzx eax, byte [rcx + rdx]
mov byte [rsi + 1], al
add rsi, 2
sub r14, 2
jne 0x14058f710
mov byte [rsi], 0
xor eax, eax
mov rdi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x110]
mov r13, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140586b60
add rsp, 0xd8
pop r15
pop r14
pop r12
pop rsi
ret
mov eax, 0x2b
jmp 0x14058f75d
Function at 0x1405a82a0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x140628170]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1405a82ca
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, [0x140628180]
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140628190]
mov rcx, rbx
mov r14, rax
call fcn.14060bcd0
test rax, rax
je 0x1405a832d
mov rcx, rbx
test r14, r14
je 0x1405a8317
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x1405a8365
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1405a8365
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x1405a8428
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1405a8390
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.1405fd4d0]
mov rdi, rax
test rax, rax
je 0x1405a841a
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1405a841a
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1405a83c0
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x1405a83d4
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1405a83f0
mov rcx, rdi
test r14, r14
je 0x1405a8411
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x1405a8417
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.1405fc8f4]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x1405a8490
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140678038]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x1405a84f6
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1405a84d9
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1405a84d3
shr ax, 8
cmp al, 2
je 0x1405a84f6
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140586b60
add rsp, 0x1e8
ret
call fcn.1405e4de0
test eax, eax
jne 0x1405a8700
mov qword [rsp + 0x200], rsi
lea rcx, [0x140628170]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1405a8536
mov qword [0x14096f818], rsi
jmp 0x1405a86bd
mov qword [rsp + 0x1f0], rbx
lea rdx, [0x140628180]
mov rcx, rdi
mov qword [rsp + 0x1f8], rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rbx, str.iphlpapi.dll
mov rbp, rax
mov rcx, rbx
lea rdx, [0x140628190]
call fcn.14060bcd0
test rax, rax
je 0x1405a859a
mov rcx, rbx
test rbp, rbp
je 0x1405a858c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x1405a867c
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x1405a867c
test rbp, rbp
je 0x1405a85c9
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1405a85c9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1405a867c
xor edx, edx
mov qword [rsp + 0x1e0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r14d, eax
test eax, eax
je 0x1405a8674
lea ecx, [rax + 1]
add rcx, 0xc
call qword [fcn.1405fd4d0]
mov rdi, rax
test rax, rax
je 0x1405a866b
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1405a866b
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x1405a8615
mov edx, 0x5c
mov word [rax + rdi], dx
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], sil
jne 0x1405a8630
mov rdx, rdi
sub rdx, rbx
add rdx, rcx
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1405a8642
mov rcx, rdi
test rbp, rbp
je 0x1405a8662
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x1405a8668
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1405fc8f4]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x14096f818], rsi
test rsi, rsi
je 0x1405a86bd
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14096f810]
test rax, rax
cmovne rcx, rax
mov qword [0x14096f810], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1405e4990
test al, al
lea rcx, [0x1409719c0]
setne byte [0x1409719b8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rdi, qword [rsp + 0x208]
xor eax, eax
mov rsi, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140586b60
add rsp, 0x1e8
ret
Function at 0x1405bbfc0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.140598820
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x14059f600.1
mov rcx, rdi
mov rsi, rax
call case.0x14059f600.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1405bc070
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.140598820
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1405988b0
cmp rax, 0x3e8
ja 0x1405bc0a1
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1405bc020
test rsi, rsi
je 0x1405bc07d
mov rcx, rsi
call fcn.1405fc8f4
test rbx, rbx
je 0x1405bc08a
mov rcx, rbx
call fcn.1405fc8f4
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x1405bc0ae
mov rcx, rsi
call fcn.1405fc8f4
test rbx, rbx
je 0x1405bc0bb
mov rcx, rbx
call fcn.1405fc8f4
mov eax, 1
jmp 0x1405bc08c
Function at 0x1405bc550
Capabilities:
Resolve dns

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x1405bc6ee
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1405bc6ce
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1405bc5be
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1405bc5b0
inc rbx
jmp 0x1405bc5c0
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1405bc5cd
lea ebp, [rax + 0xe]
jmp 0x1405bc5d9
cmp eax, 0x17
jne 0x1405bc671
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x1405bc671
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1405bc671
cmp rax, rbp
jb 0x1405bc671
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [fcn.1405fd4d0]
mov r14, rax
test rax, rax
je 0x1405bc680
mov ecx, dword [rsi]
mov r8, rbp
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.1405f7a20
test rbx, rbx
je 0x1405bc65e
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.1405f7a20
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x1405bc66e
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1405bc5a0
jmp 0x1405bc686
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x1405bc6a0
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x1405bc6c9
test rdi, rdi
je 0x1405bc6c5
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.1405fc8f4]
mov rdi, rbx
test rbx, rbx
jne 0x1405bc6b0
xor edi, edi
jmp 0x1405bc6dd
test rdi, rdi
jne 0x1405bc6dd
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
ret

Function at 0x1405bccd0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call fcn.140098434
test rax, rax
je 0x1405bcd06
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
add rsp, 0x30
pop rbx
ret