joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c8428
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1800baa08
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1800c84c9
cmp ebx, dword [rsp + 0x30]
je 0x1800c84c2
test esi, esi
je 0x1800c84c2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1800c849d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800c84aa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800c8487
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800c84ae
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1800c84cb
mov eax, 1
jmp 0x1800c84cb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800cd588
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800c1180
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800c1180
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800cd6d8
cmp rax, 0xffffffffffffffff
je 0x1800cd6d8
xor edi, edi
test rbp, rbp
jle 0x1800cd683
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800be258
mov rbx, rax
test rax, rax
jne 0x1800cd610
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800cd679
mov edx, 0x8000
mov ecx, r14d
call fcn.1800cd40c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800c08a8
cmp eax, 0xffffffff
je 0x1800cd659
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800cd620
mov edx, r15d
mov ecx, r14d
call fcn.1800cd40c
jmp 0x1800cd679
cmp byte [rsi + 0x38], dil
je 0x1800cd670
cmp dword [rsi + 0x34], 5
jne 0x1800cd670
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800cd679
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800bdf74
jmp 0x1800cd6ec
jns 0x1800cd6ec
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800c1180
cmp rax, 0xffffffffffffffff
jne 0x1800cd6a4
cmp byte [rsi + 0x30], dil
je 0x1800cd6ec
mov edi, dword [rsi + 0x2c]
jmp 0x1800cd6ec
mov ecx, r14d
call fcn.1800caa04
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800cd6ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800cd6ec
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800cd6e5
mov eax, dword [rsi + 0x2c]
jmp 0x1800cd6ea
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800c1180
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1800ce080
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800ce0a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800ce0a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000ac80
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movzx r12d, r9b
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
mov qword [rsp + 0x30], r14
mov ecx, r14d
mov qword [rsp + 0x38], rcx
mov dword [r11 - 0x58], 0x67452301
mov dword [r11 - 0x54], 0xefcdab89
mov dword [r11 - 0x50], 0x98badcfe
mov dword [r11 - 0x4c], 0x10325476
test r8, r8
je 0x14000ad5e
cmp r8, 0x40
jb 0x14000ad32
mov rbp, r8
shr rbp, 6
imul rax, rbp, 0xffffffffffffffc0
add rdi, rax
nop dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000a2a0
add rbx, 0x40
add qword [rsp + 0x30], 0x40
sub rbp, 1
jne 0x14000ad10
mov rcx, qword [rsp + 0x38]
test rdi, rdi
je 0x14000ad5e
nop word [rax + rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rsp + rcx + 0x40], al
mov rcx, qword [rsp + 0x38]
inc rcx
mov qword [rsp + 0x38], rcx
sub rdi, 1
jne 0x14000ad40
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14000aa90
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rsp + 0x24], 2
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rsi
call fcn.1400088a0
mov qword [rsi + 0x10], r14
lea rbp, str.0123456789abcdef
movzx edi, byte [rsp + 0x20]
movzx ebx, byte [rsp + 0x20]
nop
movzx r15d, byte [rsp + r14 + 0x90]
mov eax, r15d
shr rax, 4
movzx r9d, byte [rax + rbp]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x14000adf1
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x14000ade6
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000ae02
movzx r8d, dil
mov edx, 1
mov rcx, rsi
call fcn.1400089f0
and r15d, 0xf
movzx r9d, byte [r15 + rbp]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x14000ae37
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x14000ae2c
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000ae48
movzx r8d, bl
mov edx, 1
mov rcx, rsi
call fcn.1400089f0
inc r14
cmp r14, 0x10
jl 0x14000adb0
test r12b, r12b
je 0x14000ae92
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14000ae6c
mov rcx, qword [rsi]
mov rdx, rcx
jmp 0x14000ae6f
mov rdx, rsi
mov rbx, rcx
mov rdi, qword [rsi + 0x10]
add rdi, rdx
cmp rcx, rdi
je 0x14000ae92
nop
movsx ecx, byte [rbx]
call fcn.1400b6854
mov byte [rbx], al
inc rbx
cmp rbx, rdi
jne 0x14000ae80
mov rax, rsi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400ab2e0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000af70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x208
xor edi, edi
call fcn.1400dc620
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ecx, eax
lea rdx, [rsp + 0x30]
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x14000afff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x14000afff
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x14000afff
lea rax, [rsp + 0x40]
xor ecx, ecx
lea edx, [rdi + 0x1c]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x14000b020
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140004740
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400ab2e0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x14000df20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
mov rdi, rax
call fcn.1400dc620
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000dfb1
nop dword [rax]
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x14000df8d
mov rdx, qword [rbx]
lea rcx, [rsp + 0x4c]
call fcn.1400b6e6c
mov rcx, rdi
test eax, eax
je 0x14000e02d
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000df80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14000dff9
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000dff4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e078
mov rcx, r8
call fcn.1400ab300
xor ecx, ecx
xor eax, eax
mov word [rbx], cx
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rcx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400ab2e0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
mov edi, dword [rsp + 0x28]
cmp rdx, 7
jbe 0x14000e072
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000e06d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e078
mov rcx, r8
call fcn.1400ab300
xor ecx, ecx
mov eax, edi
jmp 0x14000dffd
call fcn.1400b5948
int3
Function at 0x14000e080
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000e1a8
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000e0c0
add rbx, rbx
mov dword [rsp + 0x20], 4
mov r8, rbx
mov r9d, 0x1000
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x14000e1a8
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000e1a8
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000e1a8
mov qword [rsp + 0x30], 0
mov r9, rax
mov dword [rsp + 0x28], 0
xor edx, edx
mov r8d, 0x400
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test rbx, rbx
je 0x14000e1a8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, 1
jmp 0x14000e1aa
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400137c0
Capabilities:
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r15, rdx
mov rbx, rcx
lea r14, [rcx + 0x10]
lea rsi, [rcx + 8]
cmp dword [rcx], 0
jne 0x14001397c
mov r8, qword [r14]
sub r8, qword [rsi]
sar r8, 4
cmp r8, 2
jle 0x14001397c
mov qword [rax - 0x38], rdx
movups xmm0, xmmword [rdx]
movups xmmword [rax - 0x48], xmm0
movups xmmword [rax - 0x30], xmm0
movsd xmm0, qword [rdx + 0x10]
movsd qword [rax - 0x20], xmm0
mov ebx, 1
mov rcx, r8
shr rcx, 1
add rcx, r8
cmp rbx, rcx
jae 0x140013838
nop
add rbx, rbx
cmp rbx, rcx
jb 0x140013830
lea rbp, [rbx*8]
mov rdx, rbp
mov rcx, r15
call fcn.140012640
mov rdi, rax
test rax, rax
jne 0x14001388d
mov rcx, qword [r15]
movups xmm0, xmmword [rsp + 0x20]
movq rdi, xmm0
cmp rcx, rdi
je 0x14001387a
mov rbx, qword [rcx]
call fcn.1400b5590
mov rcx, rbx
cmp rbx, rdi
jne 0x140013865
movups xmm0, xmmword [rsp + 0x20]
mov qword [r15], rdi
psrldq xmm0, 8
movq qword [r15 + 8], xmm0
jmp 0x140013a0d
mov r8, rbp
xor edx, edx
mov rcx, rdi
call fcn.1400dc620
mov rsi, qword [rsi]
mov r11, rsi
cmp rsi, qword [r14]
je 0x14001393f
nop dword [rax]
mov rax, qword [r11 + 8]
test rax, rax
je 0x1400138be
xor r8d, r8d
jmp 0x1400138c1
mov r8, qword [r11]
test rax, rax
cmovne r8, rax
test r8, r8
je 0x140013932
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
nop dword [rax]
lea r9, [rdi + rax*8]
mov rdx, qword [r9]
test rdx, rdx
je 0x140013924
cmp rdx, r8
je 0x140013932
inc rax
add rax, rcx
and rax, r10
inc rcx
cmp rcx, r10
jbe 0x140013900
jmp 0x140013932
mov qword [r9], r8
movups xmm0, xmmword [r11]
movups xmmword [rsi], xmm0
add rsi, 0x10
add r11, 0x10
cmp r11, qword [r14]
jne 0x1400138b0
mov qword [r14], rsi
mov rcx, qword [r15]
movups xmm0, xmmword [rsp + 0x20]
movq rdi, xmm0
cmp rcx, rdi
je 0x140013969
mov rbx, qword [rcx]
call fcn.1400b5590
mov rcx, rbx
cmp rbx, rdi
jne 0x140013954
movups xmm0, xmmword [rsp + 0x20]
mov qword [r15], rdi
psrldq xmm0, 8
movq qword [r15 + 8], xmm0
jmp 0x140013a0d
mov r11, qword [r14]
mov rax, qword [rsi]
mov rdx, r11
sub rdx, rax
mov rcx, rdx
and rcx, 0xfffffffffffffff0
cmp rcx, 0x10
jle 0x1400139cb
mov r10, qword [rax]
nop dword [rax + rax]
mov r9, qword [rax + 0x10]
cmp r10, r9
jne 0x1400139b3
mov rcx, qword [rax + 0x18]
cmp qword [rax + 8], rcx
je 0x1400139cb
add rax, 0x10
sub rdx, 0x10
mov r10, r9
mov rcx, rdx
and rcx, 0xfffffffffffffff0
cmp rcx, 0x10
jg 0x1400139a0
cmp rax, r11
je 0x140013a09
mov rdx, rax
add rax, 0x10
cmp rax, r11
je 0x140013a05
nop dword [rax]
mov rcx, qword [rdx]
cmp qword [rax], rcx
jne 0x1400139f2
mov rcx, qword [rdx + 8]
cmp qword [rax + 8], rcx
je 0x1400139fc
movups xmm0, xmmword [rax]
add rdx, 0x10
movups xmmword [rdx], xmm0
add rax, 0x10
cmp rax, r11
jne 0x1400139e0
lea rax, [rdx + 0x10]
mov qword [rbx + 0x10], rax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x140019780
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [rdx]
xor r8d, r8d
mov r11, rdx
mov r10, rcx
mov r9, rdx
test al, al
je 0x1400197b5
movsx eax, al
lea r9, [r9 + 1]
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
movzx eax, byte [r9]
test al, al
jne 0x140019793
lea eax, [r8 + r8*8]
mov ecx, eax
shr rax, 0xb
xor rax, rcx
and eax, 0x3f
mov r8, qword [r10 + rax*8]
test r8, r8
je 0x140019821
nop
mov ecx, dword [r8]
sub ecx, 1
je 0x1400197f7
sub ecx, 1
je 0x1400197f1
sub ecx, 1
je 0x1400197f1
cmp ecx, 1
je 0x1400197eb
xor eax, eax
jmp 0x1400197fb
lea rax, [r8 + 0x11]
jmp 0x1400197fb
lea rax, [r8 + 0x18]
jmp 0x1400197fb
lea rax, [r8 + 0x38]
mov r9, r11
sub r9, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x140019814
inc rax
test ecx, ecx
jne 0x140019801
test edx, edx
je 0x140019824
mov r8, qword [r8 + 8]
test r8, r8
jne 0x1400197d0
xor eax, eax
ret
mov rax, r8
ret
Function at 0x140028f60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140028fc1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140028f80
mov ecx, dword [r9]
jmp 0x1400290a8
cmp ecx, 0x4e0
jb 0x1400290a8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140028fe0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140029030
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1400322c0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400323a2
call fcn.1400479f0
test al, al
jne 0x1400323a2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1400322f2
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.140053da0
test rax, rax
je 0x140032337
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.140053da0
mov rsi, rax
test rax, rax
je 0x140032337
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 0x14003236b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.140044680
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x140032350
mov rsi, qword [rsp + 0x30]
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 + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140042460
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x1400424c6
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400424a9
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1400424a3
shr ax, 8
cmp al, 2
je 0x1400424c6
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400ab2e0
add rsp, 0x1e8
ret
call fcn.140077660
test eax, eax
jne 0x1400426c5
mov qword [rsp + 0x200], rsi
lea rcx, [0x1400e37c0]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140042506
mov qword [0x14011b378], rsi
jmp 0x140042682
mov qword [rsp + 0x1f0], rbx
lea rdx, str.LoadLibraryExA
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, [0x1400e37e0]
call fcn.1400be2e0
test rax, rax
je 0x14004256a
mov rcx, rbx
test rbp, rbp
je 0x14004255c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x14004264a
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x14004264a
test rbp, rbp
je 0x140042599
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140042599
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x14004264a
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 0x140042642
lea ecx, [rax + 1]
add rcx, 0xc
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140042639
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140042639
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x1400425e5
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x1400425f6
mov rdx, rdi
sub rdx, rbx
add rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140042610
mov rcx, rdi
test rbp, rbp
je 0x140042630
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x140042636
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1400b5590]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x14011b378], rsi
test rsi, rsi
je 0x140042682
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140042682
mov qword [0x14011b370], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140077210
test al, al
lea rcx, [0x14011d030]
setne byte [0x14011d028]
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.1400ab2e0
add rsp, 0x1e8
ret
Function at 0x140054550
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.1400326b0
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x14003ae60.1
mov rcx, rdi
mov rsi, rax
call case.0x14003ae60.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x140054600
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1400326b0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140032740
cmp rax, 0x3e8
ja 0x140054631
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 0x1400545b0
test rsi, rsi
je 0x14005460d
mov rcx, rsi
call fcn.1400b5590
test rbx, rbx
je 0x14005461a
mov rcx, rbx
call fcn.1400b5590
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 0x14005463e
mov rcx, rsi
call fcn.1400b5590
test rbx, rbx
je 0x14005464b
mov rcx, rbx
call fcn.1400b5590
mov eax, 1
jmp 0x14005461c