joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b31a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4b33db
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rbx
nop
call fcn.004b2ce0
xorps xmm15, xmm15
mov r14, qword [0x006b9128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
add qword [rcx + 0x68], rax
mov rdx, qword [rcx + 0x60]
test rdx, rdx
jle 0x4b32ea
nop dword [rax]
cmp rdx, 0x40
ja 0x4b33cd
lea rsi, [rdx - 0x40]
mov rdi, rsi
neg rsi
sar rdi, 0x3f
and rdi, rdx
lea rdx, [rcx + rdi]
lea rdx, [rdx + 0x20]
cmp rax, rsi
cmovl rsi, rax
mov qword [rsp + 0x28], rsi
mov rbx, qword [rsp + 0x60]
cmp rbx, rdx
je 0x4b3259
mov rax, rdx
mov rcx, rsi
nop
call fcn.00467e20
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x60]
add rdx, rsi
mov qword [rcx + 0x60], rdx
cmp rdx, 0x40
jne 0x4b32c1
mov qword [rsp], rcx
lea rax, [rcx + 0x20]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.004b3800
xorps xmm15, xmm15
mov r14, qword [0x006b9128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
cmp rax, rsi
jb 0x4b33c2
mov rdi, qword [rsp + 0x70]
sub rdi, rsi
mov rdx, rdi
neg rdx
sar rdx, 0x3f
and rdx, rsi
mov r8, rax
sub r8, rsi
add rbx, rdx
jmp 0x4b32f7
mov r8, rax
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
cmp r8, 0x40
jl 0x4b3375
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdi
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
and r8, 0xffffffffffffffc0
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rdi
call fcn.004b3800
xorps xmm15, xmm15
mov r14, qword [0x006b9128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov r8, qword [rsp + 0x38]
and rax, r8
and rax, 0xffffffffffffffc0
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rax]
sub r8, rdx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
test r8, r8
je 0x4b33b8
lea rdx, [rcx + 0x20]
cmp r8, 0x40
mov esi, 0x40
cmovl rsi, r8
cmp rbx, rdx
je 0x4b33b4
mov qword [rsp + 0x38], rsi
mov rax, rdx
mov rcx, rsi
nop dword [rax + rax]
call fcn.00467e20
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
mov qword [rcx + 0x60], rsi
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rcx, rax
mov rax, rsi
call fcn.00467560
mov rax, rdx
mov ecx, 0x40
call fcn.00467560
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004651c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004b31a0
Function at 0x4c5540
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
mov ax, word [rsp + 8]
push rcx
mov rcx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rdi, qword gs:[0x30]
mov dword [rdi + 0x68], 0
sub rsp, 0x80
cmp ecx, 4
jle 0x4c5580
cmp ecx, 0x10
jle 0x4c5576
int 3
mov rdi, rsp
cld
rep movsq qword [rdi], qword [rsi]
mov rsi, rsp
sub rsp, 8
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
mov r9, qword [rsi + 0x18]
movq xmm0, rcx
movq xmm1, rdx
movq xmm2, r8
movq xmm3, r9
mov r10, rcx
syscall
add rsp, 0x88
pop rcx
mov dword [rsp + 0x28], eax
ret

Function at 0x4c6c60
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c739f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4c6c8d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4c6f11
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4c6f3d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00583880]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004e3360]
lea rbx, [0x00581820]
call fcn.00436960
inc rax
cmp rax, r8
jge 0x4c6f62
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4c6f97
lea rdi, [0x004e33e0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4c6c83
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4c6f7b
jmp 0x4c6f50
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004651c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004c6c60

Function at 0x4c7540
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4c7557
inc rax
cmp rax, 4
jge 0x4c756f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4c7554
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4c7580
inc rax
cmp rax, 4
jge 0x4c758e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4c75b7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4c759b
jmp 0x4c757d
Function at 0x4d6060
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4d62f9
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x004f8380]
call fcn.0040e4a0
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x00506f3a]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004f8380]
call fcn.0040e4a0
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x00506cc2]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004f82c0]
call fcn.0040e4a0
cmp dword [0x006b9190], 0
jne 0x4d60f7
mov rcx, qword [rsp + 0x70]
jmp 0x4d6104
call fcn.004670e0
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x00507de5]
mov qword [rax], rcx
nop
lea rax, [0x004f82c0]
call fcn.0040e4a0
cmp dword [0x006b9190], 0
jne 0x4d6140
mov rcx, qword [rsp + 0x68]
jmp 0x4d614d
call fcn.004670e0
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x00507910]
mov qword [rax], rcx
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rcx
lea rax, [0x004e45a0]
call fcn.0040e4a0
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.004cf320
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x4d62ee
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x004e4540]
call fcn.0040e4a0
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.004cf320
movzx ecx, word [0x006b8f04]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x78], rdx
lea rax, [0x004e4600]
nop dword [rax]
call fcn.0040e4a0
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.004c5540
xorps xmm15, xmm15
mov r14, qword [0x006b9128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x40]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.00463b20
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.004674a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004651c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.004d6060
Function at 0x4d6340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea r12, [rsp - 0x98]
cmp r12, qword [r14 + 0x10]
jbe 0x4d6519
push rbp
mov rbp, rsp
sub rsp, 0x110
movups xmmword [rsp + 0xd0], xmm15
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xf0], xmm15
movups xmmword [rsp + 0x100], xmm15
mov qword [rsp + 0x39], 0
mov byte [rsp + 0x41], 0
mov byte [rsp + 0x39], 0x6e
movabs rdx, 0x6c6c642e6c6c6474
mov qword [rsp + 0x3a], rdx
lea rax, [rsp + 0x19]
lea rbx, [rsp + 0x39]
mov ecx, 9
call fcn.00450080
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xbc], 0
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0xbc], 0x6e72656b
movabs rdx, 0x6c6c642e32336c65
mov qword [rsp + 0xc0], rdx
lea rax, [rsp + 0x9c]
lea rbx, [rsp + 0xbc]
mov ecx, 0xc
call fcn.00450080
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x8e], 0
mov qword [rsp + 0x94], 0
mov word [rsp + 0x8e], 0x656b
mov dword [rsp + 0x90], 0x6c656e72
movabs rdx, 0x6c6c642e65736162
mov qword [rsp + 0x94], rdx
lea rax, [rsp + 0x6e]
lea rbx, [rsp + 0x8e]
mov ecx, 0xe
call fcn.00450080
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x62], 0
mov dword [rsp + 0x6a], 0
mov dword [rsp + 0x62], 0x61766461
movabs rdx, 0x6c6c642e32336970
mov qword [rsp + 0x66], rdx
lea rax, [rsp + 0x42]
lea rbx, [rsp + 0x62]
mov ecx, 0xc
call fcn.00450080
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x100], rax
xor eax, eax
jmp 0x4d650a
mov qword [rsp + 0xc8], rax
shl rax, 4
mov rdx, qword [rsp + rax + 0xd0]
mov rbx, qword [rsp + rax + 0xd8]
mov rax, rdx
call fcn.004d6540
mov rax, qword [rsp + 0xc8]
inc rax
cmp rax, 4
jl 0x4d64db
add rsp, 0x110
pop rbp
ret
call fcn.004651c0
nop
jmp fcn.004d6340
Function at 0x140002d80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002ddd
lea rbx, [0x140035c10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002dc4
cmp r10, 2
jb 0x140002dc4
cmp byte [r9], r8b
jne 0x140002dc4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002da0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002e1f
lea rbx, [0x140035c10]
cmp r8b, 0x23
jne 0x140002e03
cmp byte [r9], r8b
jne 0x140002e03
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002df0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002f60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002f7a
mov qword [r8], 0
lea rdx, [0x1400357ac]
call fcn.140002e30
mov rbx, rax
test rax, rax
jne 0x140002f9a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140003071
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003071
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003071
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003071
cmp rdi, 0xffffffffffffffff
je 0x140003071
mov rax, qword [0x1400764f0]
test rax, rax
je 0x14000300e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003071
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000305e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400764f0]
test rax, rax
je 0x140003053
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000307a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000306c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000307c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140005310
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140035c10]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400764f0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x4ed4], ebx
jne 0x1400053a6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140017ec0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140011bd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140041040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400764f0]
mov edi, ecx
cmp byte [rbx + 0x5a15], 0
jne 0x140011c31
cmp byte [rbx + 0x5a16], 0
jne 0x140011c31
movsx r9d, word [rbx + 0x6b0a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002d00
test dil, 1
je 0x140011d58
jmp 0x140011cba
movss xmm1, dword [rbx + 0x4898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x6b0a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14003b19c]
mulss xmm1, dword [0x14003b190]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x5778], rax
mov dword [rbx + 0x5764], 1
movss dword [rbx + 0x5770], xmm0
movss dword [rbx + 0x5774], xmm1
movss xmm0, dword [rbx + 0x48f4]
mulss xmm0, dword [0x14003b128]
or dword [rbx + 0x5760], 0x41
movss dword [rbx + 0x57c0], xmm0
call fcn.140002d00
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140011d10
lea r11, [0x140035c10]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140011cf3
cmp byte [r8], r9b
jne 0x140011cf3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140011ce0
not ecx
call fcn.14000af10
test rax, rax
je 0x140011d58
cmp byte [rax + 0x96], 0
je 0x140011d58
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x6b0a]
mov edx, 0x10
movsx r9d, word [rbx + 0x6b0a]
call fcn.140002d00
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d690
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400323a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140016770
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6bf0], 0
lea rbx, [rcx + 0x6bf8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016817
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400167ca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140018b20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400033c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6bf0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6c00]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400764e8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001681f
mov rcx, rbx
call fcn.1400033c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140016d90
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400764f0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140016df3
mov qword [rsp], rbx
lea rbx, [0x140035c10]
nop dword [rax]
cmp r9b, 0x23
jne 0x140016dd3
cmp byte [r8], r9b
jne 0x140016dd3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140016dc0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x6b68]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140016e27
mov r10, qword [r10 + 0x6b70]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140016e2e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140016e14
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140032ef8
Capabilities:
Parse pe header

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
xor ebx, ebx
cmp eax, ebx
setne al
cmp al, bl
mov byte [rsp + 0x60], al
je 0x40725f
call qword [sym.imp.USER32.dll_EmptyClipboard]
cmp eax, ebx
je 0x40725f
mov esi, dword [rdi + 8]
mov rbp, qword [rdi]
lea rcx, [rsp + 0x68]
inc esi
mov edx, 0x2002
mov qword [rsp + 0x68], rbx
add rsi, rsi
mov r8, rsi
int3
lea rcx, [rsp + 0x60]
call fcn.00407178
mov al, bl
add rsp, 0x28
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x407e54
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor ecx, ecx
cmp eax, ecx
setne al
add rsp, 0x28
ret

Function at 0x407e6c
Capabilities:
Get common file path

Disassembly:
push rbx
push rdi
sub rsp, 0x278
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rdi, rcx
mov dword [rcx + 8], 0
mov rax, qword [rcx]
mov word [rax], 0
mov word [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov ecx, 0x114
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test eax, eax
je 0x407f6e
cmp ebx, 0x114
jae 0x407ed8
mov word [rsp + 0x268], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.004039f4
mov al, 1
jmp 0x407f6e
lea rcx, [rsp + 0x20]
call fcn.00403810
nop
cmp ebx, dword [rsp + 0x2c]
jbe 0x407ef5
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.0040349c
mov rdx, qword [rsp + 0x20]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r11d, eax
test eax, eax
jne 0x407f17
mov rcx, qword [rsp + 0x20]
call fcn.004047d4
xor al, al
jmp 0x407f6e
mov rcx, qword [rsp + 0x20]
mov word [rcx + rbx*2], 0
xor eax, eax
cmp word [rcx], ax
je 0x407f35
inc eax
add rcx, 2
cmp word [rcx], 0
jne 0x407f29
mov dword [rsp + 0x28], eax
cmp eax, r11d
jne 0x407f62
lea eax, [rbx - 1]
cmp eax, r11d
jne 0x407f62
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.00403a5c
nop
mov rcx, qword [rsp + 0x20]
call fcn.004047d4
mov al, 1
jmp 0x407f6e
mov rcx, qword [rsp + 0x20]
call fcn.004047d4
xor al, al
add rsp, 0x278
pop rdi
pop rbx
ret
Function at 0x4080bc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbp, r9
mov rsi, r8
mov r12b, dl
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
shl ebx, 2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor edi, ebx
shl edi, 0xc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r13d, eax
xor r13d, edi
xor edi, edi
mov ebx, edi
lea r15d, [rdi + 1]
mov dword [rsi + 8], edi
mov rcx, qword [rsi]
mov byte [rcx], dil
cmp r12b, dil
je 0x408184
mov r10d, r13d
mov r9, rdi
mov r11d, 8
mov r8d, r10d
and r8d, 0xf
shr r10d, 4
lea edx, [r8 + 0x30]
lea eax, [r8 + 0x37]
movzx ecx, al
movzx eax, dl
cmp r8d, 0xa
cmovb ecx, eax
mov byte [rsp + r9 + 0x38], cl
add r9, r15
sub r11, r15
jne 0x408128
mov byte [rsp + r9 + 0x38], dil
cmp rbp, rdi
je 0x408167
mov rcx, rsi
call fcn.00404108
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.00403244
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 2
cmove eax, r15d
add r13d, eax
mov r12b, r15b
cmp rbp, rdi
je 0x40819b
lea rdx, str..tmp
mov rcx, rsi
call fcn.00403244
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.0040387c
nop
mov rdx, qword [rsi]
lea rcx, [rsp + 0x28]
call fcn.00403c9c
mov rcx, qword [rsp + 0x28]
int3

Function at 0x409dac
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x48
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbp, rcx
movsxd rbx, dword [rcx + 8]
mov rdi, rbx
test ebx, ebx
je 0x409dfc
shl rdi, 3
add ebx, 0xffffffff
sub rdi, 8
mov rax, qword [rbp]
mov rsi, qword [rdi + rax]
test rsi, rsi
je 0x409df8
mov rcx, qword [rsi]
call fcn.004047d4
mov rcx, rsi
call fcn.004047d4
test ebx, ebx
jne 0x409dd4
mov dword [rbp + 8], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test eax, eax
je 0x409f01
mov rcx, rdi
xor ebx, ebx
mov qword [rsp + 0x80], rbx
test eax, eax
je 0x409e3b
add rcx, rcx
call fcn.0040479c
mov rbx, rax
mov qword [rsp + 0x80], rax
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
test eax, eax
je 0x409ef7
cmp eax, edi
ja 0x409ef7
lea rcx, [rsp + 0x28]
call fcn.00403810
nop
xor r13d, r13d
xor edi, edi
test esi, esi
je 0x409ed8
mov r12, rbx
cmp word [r12], 0
jne 0x409ece
lea rdx, [rbx + r13*2]
lea rcx, [rsp + 0x28]
call fcn.004039f4
lea r13d, [rdi + 1]
mov rcx, rbp
int3
inc edi
add r12, 2
cmp edi, esi
jb 0x409e6f
cmp r13d, esi
sete dil
mov rcx, qword [rsp + 0x28]
call fcn.004047d4
nop
mov rcx, rbx
call fcn.004047d4
mov al, dil
jmp 0x409f01
mov rcx, rbx
call fcn.004047d4
xor al, al
add rsp, 0x48
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret