joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003160
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 0x1400031c1
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 0x140003180
mov ecx, dword [r9]
jmp 0x1400032ab
cmp ecx, 0x4e0
jb 0x1400032ab
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 0x1400031e0
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 0x140003230
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 0x140003c90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003cda
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003cda
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003cda
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003cda
cmp dword [rcx + 0x84], 0xe
jbe 0x140003cda
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003cdc
xor al, al
add rsp, 0x28
ret
Function at 0x427390
Capabilities:
Hash data using murmur3

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x427637
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
movzx ebx, byte [rdx + 0x63]
cmp bl, 1
jne 0x4274d3
movzx ebx, word [rdx + 0x60]
mov word [rsp + 0x16], bx
test bx, bx
jne 0x4274fb
mov rsi, qword [rsp + 0x40]
mov edi, dword [rsi + 0x18]
cmp dword [rdx + 0x58], edi
jne 0x4274fb
mov rbx, qword [rsi + 0x98]
sub rbx, qword [rdx + 0x20]
mov qword [rsi + 0x98], rbx
nop
nop
mov rbx, qword [rdx + 0x18]
nop
movabs rdi, 0x800000000000
lea rax, [rbx + rdi]
mov rdi, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x4274f1
lea rcx, [0x00ae7df0]
mov rax, qword [rcx + rax*8]
shr rdi, 0x16
and rdi, 0xfffff
mov rcx, qword [rax + rdi*8]
test byte [rcx], al
test byte [rax], al
mov rax, rbx
shr rbx, 0x10
and rbx, 0x3f
movzx edi, byte [rcx + rbx + 0x21000]
shr rax, 0xd
and rax, 7
btr edi, eax
mov byte [rcx + rbx + 0x21000], dil
movzx eax, byte [rsp + 0x50]
test al, al
je 0x427481
mov rax, qword [rdx + 0x20]
shl rax, 0xd
sub qword [0x00b047a8], rax
movzx eax, byte [rsp + 0x51]
test al, al
je 0x427499
mov rax, qword [rdx + 0x20]
shl rax, 0xd
add qword [0x00b047a0], rax
mov byte [rdx + 0x63], 3
mov qword [rsp], rsi
mov qword [rsp + 8], rdx
call fcn.00425390
mov rax, qword [rsp + 0x40]
test byte [rax], al
add rax, 8
mov qword [rsp], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 8], rax
call fcn.0041e150
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
cmp bl, 2
jne 0x42761d
cmp word [rdx + 0x60], 0
jne 0x427604
mov rsi, qword [rsp + 0x40]
jmp 0x427469
mov ecx, 0x40
call fcn.0045c170
mov eax, dword [rdx + 0x58]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x18]
mov qword [rsp + 0x20], rcx
mov rbx, qword [rdx + 0x18]
mov qword [rsp + 0x18], rbx
call fcn.004315a0
lea rax, [0x008027b6]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1c
call fcn.00431f50
mov rax, qword [rsp + 0x48]
mov qword [rsp], rax
call fcn.00431f00
lea rax, [0x007f942a]
mov qword [rsp], rax
mov qword [rsp + 8], 5
call fcn.00431f50
mov rax, qword [rsp + 0x18]
mov qword [rsp], rax
call fcn.00431de0
lea rax, [0x007fb017]
mov qword [rsp], rax
mov qword [rsp + 8], 0xc
call fcn.00431f50
movzx eax, word [rsp + 0x16]
mov qword [rsp], rax
call fcn.00431c60
lea rax, [0x007fa5fc]
mov qword [rsp], rax
mov qword [rsp + 8], 0xa
call fcn.00431f50
mov rax, qword [rsp + 0x28]
mov qword [rsp], rax
call fcn.00431c60
lea rax, [0x007f8eac]
mov qword [rsp], rax
mov qword [rsp + 8], 1
call fcn.00431f50
mov rax, qword [rsp + 0x20]
mov qword [rsp], rax
call fcn.00431c60
call fcn.00431840
call fcn.00431630
lea rax, [0x00805d4c]
mov qword [rsp], rax
mov qword [rsp + 8], 0x23
call fcn.00430b90
lea rax, [0x00808110]
mov qword [rsp], rax
mov qword [rsp + 8], 0x29
call fcn.00430b90
lea rax, [0x008080e7]
mov qword [rsp], rax
mov qword [rsp + 8], 0x29
call fcn.00430b90
nop
call fcn.004597b0
jmp fcn.00427390
Function at 0x44a8b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x44aa7e
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x44aa38
mov ecx, dword [rax + 0x18]
mov qword [rsp], rax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], 0
movzx ebx, byte [rsp + 0x88]
mov byte [rsp + 0x28], bl
call fcn.0044a180
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
mov edx, dword [rcx + 0x1c]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
mov dword [rsp + 0x10], edx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0
movzx edx, byte [rsp + 0x88]
mov byte [rsp + 0x28], dl
call fcn.0044a180
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
jne 0x44a9ac
lea rax, [0x007f8eb6]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov dword [rsp + 0xa0], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
cmp eax, 0xffffffff
je 0x44a97c
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rdx + 0x38]
mov rsi, qword [rdx + 0x30]
cmp rcx, rbx
jge 0x44a97c
mov rdi, qword [rdx + 8]
mov rdx, qword [rdx]
jae 0x44aa72
mov ebx, dword [rsi + rcx*4]
cmp rbx, rdi
jae 0x44aa68
mov dword [rsp + 0x3c], eax
lea rax, [rdx + rbx]
mov qword [rsp + 0x48], rax
mov qword [rsp], rax
call fcn.004483c0
mov rax, qword [rsp + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0xa0], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x007f8eb6]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov dword [rsp + 0xa0], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov eax, ebx
mov rcx, rdi
call fcn.0045c160
mov rax, rcx
mov rcx, rbx
call fcn.0045c160
nop
call fcn.004597b0
jmp fcn.0044a8b0
Function at 0x44ab10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x44ac72
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x14]
mov qword [rsp], rax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rcx
mov rbx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 1
call fcn.0044a180
mov eax, dword [rsp + 0x30]
test eax, 7
jne 0x44ab92
mov dword [rsp + 0x90], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
call fcn.0044a740
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx]
mov qword [rsp + 0x48], rbx
movsxd rdx, dword [rdx + 0x14]
mov qword [rsp + 0x40], rdx
call fcn.004315a0
lea rax, [0x007fcc8d]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
call fcn.00431f50
mov rax, qword [rsp + 0x58]
mov qword [rsp], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
call fcn.00431f50
call fcn.004317f0
mov rax, qword [rsp + 0x48]
mov qword [rsp], rax
call fcn.00431de0
call fcn.004317f0
mov rax, qword [rsp + 0x80]
mov qword [rsp], rax
call fcn.00431de0
call fcn.004317f0
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
call fcn.00431de0
call fcn.004317f0
mov eax, dword [rsp + 0x3c]
movsxd rcx, eax
mov qword [rsp], rcx
call fcn.00431d70
call fcn.00431840
call fcn.00431630
mov eax, dword [rsp + 0x3c]
jmp 0x44ab81
call fcn.004597b0
jmp fcn.0044ab10
Function at 0x451a20
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x451b00
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x00459060]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00459660
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
call fcn.004597b0
jmp fcn.00451a20
Function at 0x470170
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
neg rsi
imul rsi, rsi, 0x1c
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rsi, 0x3f
sar rdx, 5
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x47024b
lea rsi, [rdx + rdx*2]
lea rdi, [0x00aae420]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x4701f4
inc rdx
jmp 0x4701cb
cmp r9, 0xffffffffffffffe0
jle 0x4701ff
dec rdx
jmp 0x4701cb
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.0045c160
nop
int3
Function at 0x486bc0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rsp + 8]
xor ebx, ebx
jmp 0x486be1
movzx esi, byte [rax + rbx]
inc rbx
imul edx, edx, 0x1000193
xor edx, esi
cmp rbx, rcx
jl 0x486bd2
mov dword [rsp + 0x28], edx
ret
Function at 0x5c1310
Capabilities:
Parse credit card information

Disassembly:
movzx eax, byte [rsp + 8]
cmp al, 0x61
jb 0x5c1323
cmp al, 0x7a
ja 0x5c1323
mov byte [rsp + 0x18], 0
ret
cmp al, 0x41
jb 0x5c14bb
cmp al, 0x5a
setbe cl
test cl, cl
jne 0x5c131d
cmp al, 0x30
jb 0x5c14b4
cmp al, 0x39
setbe cl
test cl, cl
jne 0x5c131d
mov rcx, qword [rsp + 0x10]
cmp rcx, 3
jne 0x5c14a5
cmp al, 0x2c
ja 0x5c1484
lea edx, [rax - 0x21]
cmp dl, 1
ja 0x5c136a
mov byte [rsp + 0x18], 0
ret
cmp al, 0x24
je 0x5c1364
lea edx, [rax - 0x26]
cmp dl, 6
jbe 0x5c1364
cmp al, 0x2f
ja 0x5c144e
cmp al, 0x26
ja 0x5c1427
cmp al, 0x24
jne 0x5c141d
cmp rcx, 2
jg 0x5c13e2
cmp rcx, 1
je 0x5c13da
cmp rcx, 2
jne 0x5c13bd
cmp al, 0x2f
jne 0x5c13ae
mov eax, 1
mov byte [rsp + 0x18], al
ret
cmp al, 0x3b
je 0x5c13a4
cmp al, 0x2c
je 0x5c13a4
cmp al, 0x3f
sete al
jmp 0x5c13a9
cmp rcx, 7
jne 0x5c13d4
cmp al, 0x21
jne 0x5c13cd
mov byte [rsp + 0x18], 0
ret
add eax, 0xffffffd8
cmp al, 2
jbe 0x5c13c7
mov byte [rsp + 0x18], 1
ret
cmp al, 0x3f
sete byte [rsp + 0x18]
ret
cmp rcx, 5
jne 0x5c1405
cmp al, 0x40
jne 0x5c13f6
mov eax, 1
mov byte [rsp + 0x18], al
ret
cmp al, 0x2f
je 0x5c13ec
cmp al, 0x3f
je 0x5c13ec
cmp al, 0x3a
sete al
jmp 0x5c13f1
cmp rcx, 6
je 0x5c1417
cmp rcx, 7
jne 0x5c13bd
mov byte [rsp + 0x18], 0
ret
mov byte [rsp + 0x18], 1
ret
cmp al, 0x26
je 0x5c138e
jmp 0x5c13bd
lea edx, [rax - 0x2b]
cmp dl, 1
jbe 0x5c138e
lea edx, [rax - 0x2d]
cmp dl, 1
ja 0x5c1441
mov byte [rsp + 0x18], 0
ret
cmp al, 0x2f
je 0x5c138e
jmp 0x5c13bd
cmp al, 0x3d
ja 0x5c146b
lea edx, [rax - 0x3a]
cmp dl, 1
jbe 0x5c138e
cmp al, 0x3d
je 0x5c138e
jmp 0x5c13bd
lea edx, [rax - 0x3f]
cmp dl, 1
jbe 0x5c138e
cmp al, 0x5f
je 0x5c143b
cmp al, 0x7e
je 0x5c143b
jmp 0x5c13bd
lea edx, [rax - 0x3a]
cmp dl, 4
jbe 0x5c1364
cmp al, 0x5b
je 0x5c1364
cmp al, 0x5d
je 0x5c1364
jmp 0x5c1376
cmp rcx, 4
je 0x5c1354
jmp 0x5c1376
xor ecx, ecx
jmp 0x5c1341
xor ecx, ecx
jmp 0x5c1330

Function at 0x7267e0
Capabilities:
Encode data using xor

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov r15, qword [rsp + 0x18]
mov r8, qword [rdi]
mov r9, qword [rdi + 8]
mov r10, qword [rdi + 0x10]
mov r11, qword [rdi + 0x18]
mov r12, qword [rdi + 0x20]
cmp r15, 0x10
jb 0x7268a7
add r8, qword [rsi]
adc r9, qword [rsi + 8]
adc r10, 1
lea rsi, [rsi + 0x10]
mov rax, r11
mul r8
mov rbx, rax
mov rcx, rdx
mov rax, r11
mul r9
add rcx, rax
adc rdx, 0
mov r13, r11
imul r13, r10
add r13, rdx
mov rax, r12
mul r8
add rcx, rax
adc rdx, 0
mov r8, rdx
mov r14, r12
imul r14, r10
mov rax, r12
mul r9
add r13, rax
adc r14, rdx
add r13, r8
adc r14, 0
mov r8, rbx
mov r9, rcx
mov r10, r13
and r10, 3
mov rbx, r13
and rbx, 0xfffffffffffffffc
add r8, rbx
adc r9, r14
adc r10, 0
shrd r13, r14, 2
shr r14, 2
add r8, r13
adc r9, r14
adc r10, 0
sub r15, 0x10
cmp r15, 0x10
jae 0x72680c
test r15, r15
je 0x7268ea
mov rbx, 1
xor rcx, rcx
xor r13, r13
add rsi, r15
shld rcx, rbx, 8
shl rbx, 8
mov r13b, byte [rsi - 1]
xor rbx, r13
dec rsi
dec r15
jne 0x7268bc
add r8, rbx
adc r9, rcx
adc r10, 0
mov r15, 0x10
jmp 0x72681b
mov qword [rdi], r8
mov qword [rdi + 8], r9
mov qword [rdi + 0x10], r10
ret
Function at 0x727d60
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x727df4
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x50]
test byte [rax], al
lea rcx, [rsp + 0x20]
cmp rax, rcx
je 0x727da5
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x10], rax
lea rax, str.expand_32_byte_k
mov qword [rsp + 0x18], rax
call fcn.00726900
mov rax, qword [rsp + 0x48]
test byte [rax], al
mov rcx, qword [rsp + 0x50]
lea rdx, [rcx + 0x10]
cmp rdx, rax
je 0x727dea
mov rcx, qword [rcx + 0x10]
mov qword [rax], rcx
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
call fcn.004597b0
jmp fcn.00727d60
Function at 0x140003db0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400fca58]
movzx ebp, r9b
mov r9d, ecx
movzx esi, dl
test r8b, r8b
je 0x140003dee
inc dword [0x140100c5c]
add rbx, 0x158
mov qword [0x1400fca58], rbx
mov rcx, rbx
lea rax, [0x140100b00]
mov edx, 2
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140003e00
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rax, qword [rax + 0x50]
mov qword [rcx + 0x50], rax
mov dword [rbx + 0x3c], r9d
test r8b, r8b
je 0x140003e96
lea rcx, [0x140105350]
call fcn.140018fa0
xor edi, edi
cmp dword [0x140100e9c], edi
mov qword [0x140105ee8], rdi
je 0x140003eb4
lea rcx, [0x140100c70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140003f40
cmp byte [rbx + 0x12e], dil
jne 0x140003ee8
cmp bpl, 0x65
sete dil
mov byte [rbx + 0x12e], dil
test dil, dil
je 0x140003ee8
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x140105ef4], 0
je 0x140003efa
cmp dword [0x140105ef0], 0
jne 0x140003f03
cmp byte [rbx + 0x12e], 0
je 0x140003f40
cmp byte [rbx + 0x12e], 0
mov byte [rbx + 0x12c], 0
jne 0x140003f40
cmp dword [0x140105ef4], 0
jge 0x140003f28
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140003f40
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x140105ef4]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004e50
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [0x140105f98], 0
mov rdi, r8
mov rsi, rdx
je 0x140004e77
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test rsi, rsi
je 0x140004edb
mov eax, 0xffffffff
cmp r8, rax
jne 0x140004e9c
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140004e90
mov edi, eax
test rdi, rdi
je 0x140004edb
lea rdx, [rdi + 1]
lea rcx, [0x140105f80]
call fcn.140004f00
test rax, rax
je 0x140004e6a
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov rbx, qword [0x140105f98]
mov rdx, rsi
mov rcx, rbx
call fcn.1400b12e4
xor eax, eax
mov word [rbx + rdi*2], ax
mov rbx, qword [rsp + 0x30]
lea rcx, [0x140105f80]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140004fc0
Function at 0x140004fc0
Capabilities:
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rdi, rcx
jne 0x140004fec
call fcn.140005360
test eax, eax
jne 0x140004fec
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rdi
add rsp, 0x20
pop rdi
jmp 0x140005110
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x14000503a
cmp dword [rdi + 0x2c], eax
je 0x140005021
xor esi, esi
cmp qword [rdi + 0x10], rsi
je 0x140005015
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
lea rdx, [0x1400cc2f8]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140005110
mov rcx, qword [rdi + 8]
xor esi, esi
test rcx, rcx
je 0x14000507d
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400050b1
cmp word [rax], si
mov qword [rsp + 0x30], rbx
sete bl
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test bl, bl
mov qword [rdi + 0x18], rsi
mov rbx, qword [rsp + 0x30]
mov dword [rdi + 0x28], esi
je 0x1400050b1
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rdi + 8], rax
cmp dword [rdi + 0x2c], esi
je 0x1400050a1
cmp qword [rdi + 0x10], rsi
je 0x140005095
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rdi + 8]
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1400050cb
mov qword [rdi + 8], rsi
jmp 0x14000507d
cmp dword [rdi + 0x2c], esi
je 0x1400050ef
cmp qword [rdi + 0x10], rsi
je 0x1400050e3
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
lea rdx, [0x1400cc318]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140005110
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 0x2c], esi
je 0x14000514b
cmp qword [rcx + 0x10], rsi
je 0x14000513f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], esi
mov qword [rbx], rsi
cmp qword [rbx + 0x18], rsi
je 0x140005162
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x18], rsi
mov dword [rbx + 0x28], esi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140005175
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000519f
lea r8, [0x1400e8268]
mov rdx, rdi
lea rcx, [0x140105350]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140035ec0
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret