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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
xor ebx, ebx
mov dword [rbp - 0x50], ebx
lea rcx, [rbp - 0x48]
call fcn.1400024c0
nop
lea rcx, [rbp - 0x48]
call fcn.14000a5f4
lea r8, [rbp - 0x48]
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.14000a3d4
lea rcx, [rbp - 0x48]
call fcn.1400085e0
lea edi, [rbx + 1]
test al, al
jne 0x140013bc0
lea rcx, [rbp - 0x48]
call fcn.140007048
lea rdx, str.sfxname
lea rcx, [rbp - 0x28]
call fcn.140001b9c
nop
mov dword [rbp - 0x50], edi
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.140012ecc
test al, al
je 0x140013b6c
lea rcx, [rbp - 0x48]
call fcn.14000694c
test al, al
mov sil, bl
je 0x140013b6f
mov sil, dil
mov eax, edi
and eax, 0xfffffffe
mov dword [rbp - 0x50], eax
lea rcx, [rbp - 0x28]
call fcn.140002050
test sil, sil
jne 0x140013bc0
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.14000a2e8
lea rcx, [rbp - 0x48]
call fcn.1400085e0
test al, al
je 0x140013bc3
mov rcx, r14
call fcn.1400018c0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400018c0
mov r8d, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x140013bc6
mov bl, dil
mov dil, bl
lea rcx, [rbp - 0x48]
call fcn.140002050
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400143a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140015404
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140025236
mov al, 1
jmp 0x140025296
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140025247
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140025294
mov ecx, dword [rcx + 0x18]
nop
call fcn.140029238
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140025294
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140025294
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140025294
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140025296
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400264a4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140015030
sub rsp, rax
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140023e90
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400264f3
mov rax, rbp
jmp 0x1400265fb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x45ec0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002614c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x45ec0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400265f7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400265f7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002614c
test rax, rax
js 0x1400265f7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400265f7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400265e9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400265e9
cmp byte [rcx], 0xd
jne 0x1400265cf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400265de
cmp byte [rcx + 1], 0xa
jne 0x1400265de
inc rcx
jmp 0x1400265de
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x44960]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400265b1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400265fb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400143a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140028310
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 0x140028340
xor eax, eax
jmp 0x140028403
mov rbp, rbx
cmp word [rax], si
je 0x140028365
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002834c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140028348
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.140028230
movsxd r14, eax
test eax, eax
jne 0x1400283a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140028339
mov rcx, r14
call fcn.140022c34
mov rdi, rax
test rax, rax
jne 0x1400283bc
xor ecx, ecx
call fcn.140022bf8
jmp 0x140028398
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.140028230
test eax, eax
jne 0x1400283ed
mov rcx, rdi
call fcn.140022bf8
jmp 0x1400283f7
xor ecx, ecx
call fcn.140022bf8
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 0x14002b8a4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140045ec0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14002b8fb
cmp word [rdx], r13w
jne 0x14002b8fb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14002b900
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14002ba25
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002ba46
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14002b939
mov rdx, r9
mov word [rbx], cx
jmp 0x14002b960
cmp r9, r8
jae 0x14002b970
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14002b91a
jmp 0x14002ba25
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002ba1a
cmp dword [rsp + 0x80], esi
je 0x14002ba1a
lea r8, [0x140045ec0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14002b9f2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14002b9c2
mov word [rbx], r13w
jmp 0x14002ba22
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14002b9cf
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002ba22
cmp word [rsp + 0x70], r13w
jne 0x14002b9ff
cmp rbx, r14
je 0x14002b9bc
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140026154
cmp word [rsp + 0x70], r13w
je 0x14002ba25
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140045ec0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002ba1f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14002ba25
Function at 0x14002ec38
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.140026154
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140026154
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002ed88
cmp rax, 0xffffffffffffffff
je 0x14002ed88
xor edi, edi
test rbp, rbp
jle 0x14002ed33
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400267b8
mov rbx, rax
test rax, rax
jne 0x14002ecc0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002ed29
mov edx, 0x8000
mov ecx, r14d
call fcn.140022030
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.140024e20
cmp eax, 0xffffffff
je 0x14002ed09
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002ecd0
mov edx, r15d
mov ecx, r14d
call fcn.140022030
jmp 0x14002ed29
cmp byte [rsi + 0x38], dil
je 0x14002ed20
cmp dword [rsi + 0x34], 5
jne 0x14002ed20
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002ed29
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140022bf8
jmp 0x14002ed9c
jns 0x14002ed9c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140026154
cmp rax, 0xffffffffffffffff
jne 0x14002ed54
cmp byte [rsi + 0x30], dil
je 0x14002ed9c
mov edi, dword [rsi + 0x2c]
jmp 0x14002ed9c
mov ecx, r14d
call fcn.140029238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002ed9c
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 0x14002ed9c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002ed95
mov eax, dword [rsi + 0x2c]
jmp 0x14002ed9a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140026154
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 0x14002fa40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002fa68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002fa68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140041030
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14010c2f8]
test rax, rax
je 0x14004104f
call rax
mov al, 1
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 0x60], rbx
mov cl, 0x2a
xor ebx, ebx
mov qword [rsp + 0x68], rdi
mov dword [rbp - 0x30], 0x6ba0eb2a
mov r9d, ebx
mov dword [rbp - 0x2c], 0xdad21e78
movabs rdi, 0x8080808080808081
mov dword [rbp - 0x28], 0x3c15e9
lea r10d, [rbx + 0xa]
nop dword [rax]
nop word [rax + rax]
movsx eax, cl
inc eax
movsxd r8, eax
lea rax, [r9 + 0xa]
imul r8, rax
mov rax, rdi
mul r8
shr rdx, 7
imul rax, rdx, 0xff
movsx rdx, cl
sub r8, rax
movzx eax, r9b
and al, 7
shl al, 3
movzx ecx, al
mov rax, rdi
sar rdx, cl
mov rcx, r10
xor r8b, dl
mul r10
add r10, 0xa
shr rdx, 7
imul rax, rdx, 0xff
sub rcx, rax
xor r8b, cl
xor byte [rbp + r9 - 0x2f], r8b
inc r9
cmp r10, 0x6e
jae 0x1400410fc
movzx ecx, byte [rbp - 0x30]
jmp 0x140041090
lea rcx, [rbp - 0x2f]
mov byte [rbp - 0x25], bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r10, rax
test rax, rax
je 0x1400411db
movdqa xmm0, xmmword [0x1400f7cf0]
xor eax, eax
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0x9538bbba
mov word [rbp - 0xc], 0x3167
lea r9d, [rax + 0x15]
mov byte [rbp - 0xa], al
nop dword [rax + rax]
movsx rcx, byte [rbp - 0x20]
lea eax, [rcx + 1]
movsxd r8, eax
lea rax, [rbx + 0x15]
imul r8, rax
mov rax, rdi
mul r8
shr rdx, 7
imul rax, rdx, 0xff
mov rdx, rcx
sub r8, rax
movzx eax, bl
and al, 7
shl al, 3
movzx ecx, al
mov rax, rdi
sar rdx, cl
mov rcx, r9
xor r8b, dl
mul r9
add r9, 0x15
shr rdx, 7
imul rax, rdx, 0xff
sub rcx, rax
xor r8b, cl
xor byte [rbp + rbx - 0x1f], r8b
inc rbx
cmp r9, 0x1ce
jb 0x140041140
lea rdx, [rbp - 0x1f]
mov byte [rbp - 0xa], 0
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c2f8], rax
test rax, rax
je 0x1400411db
call rax
mov rbx, qword [rsp + 0x60]
mov al, 1
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
mov rbx, qword [rsp + 0x60]
xor al, al
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x1400412e0
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
mov rax, qword [0x140101700]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x74], xmm0
mov dword [r11 - 0x24], eax
xor ebx, ebx
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
movups xmmword [r11 - 0x74], xmm0
mov dword [rsp + 0x28], 0x8000000
movups xmmword [r11 - 0x64], xmm0
mov dword [rsp + 0x20], ebx
movups xmmword [r11 - 0x54], xmm0
movups xmmword [r11 - 0x44], xmm0
movups xmmword [r11 - 0x34], xmm0
mov dword [rsp + 0x70], WSAGetLastError
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400413e6
mov qword [rsp + 0x108], rsi
mov esi, dword [rsp + 0x60]
mov qword [rsp + 0x110], rdi
nop dword [rax + rax]
mov rdx, rsi
lea rcx, [0x1400411f0]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [0x14010c2e8], 0
jne 0x1400413be
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x3a98
jl 0x140041390
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x110]
mov eax, esi
mov rsi, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400a6450
add rsp, 0xf0
pop rbx
ret
Function at 0x140047c10
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 0x140047c71
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 0x140047c30
mov ecx, dword [r9]
jmp 0x140047d5b
cmp ecx, 0x4e0
jb 0x140047d5b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
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 [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140047c90
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140047ce0
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 0x140047ee0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 4], edx
lea r9, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r8d, edx
lea r9, [r9 + 4]
shr r8d, 0x1e
xor r8d, edx
imul edx, r8d, 0x6c078965
add edx, eax
inc rax
mov dword [r9 - 4], edx
cmp rax, 0x270
jb 0x140047ef0
mov dword [rcx], 0x270
ret
Function at 0x140051c30
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140051d12
call fcn.140068880
test al, al
jne 0x140051d12
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140051c62
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.1400738c0
test rax, rax
je 0x140051ca7
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.1400738c0
mov rsi, rax
test rax, rax
je 0x140051ca7
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 0x140051cdb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.140063e80
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x140051cc0
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 0x140061c80
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140101700]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140061ce6
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140061cc9
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140061cc3
shr ax, 8
cmp al, 2
je 0x140061ce6
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400a6450
add rsp, 0x1e8
ret
call fcn.140097c20
test eax, eax
jne 0x140061ee5
mov qword [rsp + 0x200], rsi
lea rcx, [0x1400dcb00]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140061d26
mov qword [0x14010afe8], rsi
jmp 0x140061ea2
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, [0x1400dcb20]
call fcn.1400b3c10
test rax, rax
je 0x140061d8a
mov rcx, rbx
test rbp, rbp
je 0x140061d7c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x140061e6a
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x140061e6a
test rbp, rbp
je 0x140061db9
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140061db9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x140061e6a
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 0x140061e62
lea ecx, [rax + 1]
add rcx, 0xc
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140061e59
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140061e59
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x140061e05
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x140061e16
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 0x140061e30
mov rcx, rdi
test rbp, rbp
je 0x140061e50
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x140061e56
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1400b08ac]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x14010afe8], rsi
test rsi, rsi
je 0x140061ea2
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140061ea2
mov qword [0x14010afe0], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1400977d0
test al, al
lea rcx, [0x14010c310]
setne byte [0x14010c308]
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.1400a6450
add rsp, 0x1e8
ret
Function at 0x140074070
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.140052020
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x14005abc3.1
mov rcx, rdi
mov rsi, rax
call case.0x14005abc3.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x140074120
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.140052020
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1400520b0
cmp rax, 0x3e8
ja 0x140074151
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 0x1400740d0
test rsi, rsi
je 0x14007412d
mov rcx, rsi
call fcn.1400b08ac
test rbx, rbx
je 0x14007413a
mov rcx, rbx
call fcn.1400b08ac
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 0x14007415e
mov rcx, rsi
call fcn.1400b08ac
test rbx, rbx
je 0x14007416b
mov rcx, rbx
call fcn.1400b08ac
mov eax, 1
jmp 0x14007413c