joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000038ec
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
lea rdx, [0x100001730]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100003a1f
and dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x50]
lea rdx, [0x100001780]
xor r8d, r8d
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x100005914]
test eax, eax
cmove ecx, dword [rsp + 0x40]
mov dword [0x100005914], ecx
test ecx, ecx
je 0x100003a14
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, [0x1000017b0]
xor r8d, r8d
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x1000051b8]
lea r9, [rsp + 0x50]
test eax, eax
lea rax, [rsp + 0x48]
lea rdx, [0x1000017e8]
cmove ecx, dword [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov dword [0x1000051b8], ecx
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x100005918]
test eax, eax
cmove ecx, dword [rsp + 0x40]
mov dword [0x100005918], ecx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x100005914], 0
je 0x100003a3a
lea rdx, [0x10000384c]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
add rsp, 0x38
ret
Function at 0x180039fd4
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rbx, rcx
test r8, r8
je 0x18003a03a
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18003a02b
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18003a021
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180039ff5
mov r8, qword [rbx]
mov rcx, qword [0x1800fd7f0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18003a04c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x40]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800fd810]
mov r8, qword [rbx]
mov al, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rbp, [r8 - 5]
cmove rbp, r8
lea rdi, [r8 - 5]
test al, al
lea r14, [rcx*2 + 5]
cmove rdi, r8
mov rdx, r14
mov rcx, rdi
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18003a0b7
mov eax, 0xa
jmp 0x18003a143
test esi, esi
je 0x18003a0d9
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18003a0fa
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18003a0fa
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18003a0f4
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18003a0fa
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x18003a550
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18003a567
cmp r8b, 0x90
je 0x18003a567
cmp r8b, 0xcc
jne 0x18003a589
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18003a585
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18003a589
add edx, r10d
cmp edx, r9d
jb 0x18003a575
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x18003a8f0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rsi, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x18003a93a
lea rax, [rdi - 0x40000000]
cmp rsi, rax
cmovb rsi, rax
mov rbx, qword [0x1800fd800]
lea r15, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r15
cmovbe r15, qword [rbp - 0x50]
sub r15, 0xfff
test rbx, rbx
je 0x18003a977
cmp rbx, rsi
jb 0x18003a972
cmp rbx, r15
jae 0x18003a972
cmp qword [rbx + 8], 0
jne 0x18003aad3
mov rbx, qword [rbx]
jmp 0x18003a958
mov r14, rdi
cmp rdi, rsi
jb 0x18003a9fb
mov r12d, dword [rbp - 0x38]
xor edx, edx
mov rax, r14
div r12
sub r14, rdx
sub r14, r12
cmp r14, rsi
jb 0x18003a9f2
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003a9f2
cmp dword [rbp - 0x10], 0x10000
je 0x18003a9c2
mov r14, qword [rbp - 0x28]
cmp r14, r12
jb 0x18003a9f2
jmp 0x18003a98e
test r14, r14
je 0x18003a9f2
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18003aa93
cmp r14, rsi
jae 0x18003a97f
test rbx, rbx
jne 0x18003aa93
cmp rdi, r15
ja 0x18003aad3
mov r14d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov esi, r14d
div r14
mov eax, r14d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18003aad3
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003aad3
cmp dword [rbp - 0x10], 0x10000
je 0x18003aa69
xor edx, edx
lea edi, [r14 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div rsi
sub rdi, rdx
cmp rdi, r15
jmp 0x18003aa22
test rdi, rdi
je 0x18003aad3
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x18003a9f5
and qword [rbx + 8], 0
lea rcx, [rbx + 0x40]
and dword [rbx + 0x10], 0
mov rdx, rcx
sub rdx, rbx
mov rax, qword [rbx + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rbx + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x18003aaa6
mov rax, qword [0x1800fd800]
mov qword [rbx], rax
mov qword [0x1800fd800], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180041f10
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x40
xor eax, eax
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x1800f7990]
mov qword [rsp + 0x60], r14
mov r14, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov r8d, dword [rbx + 0x2ee4]
mov ecx, dword [rbx + 0x2ee0]
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x3c], al
cmp ecx, r8d
jne 0x180042005
lea edi, [rcx + 1]
test r8d, r8d
je 0x180041f6e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180041f73
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, r8d
jle 0x180042005
mov rdx, qword [0x1800f79a0]
inc dword [rbx + 0x3b0]
movsxd rcx, edi
shl rcx, 5
mov qword [rsp + 0x58], rsi
call qword [section..data]
mov rdx, qword [rbx + 0x2ee8]
mov rsi, rax
test rdx, rdx
je 0x180041fed
movsxd r8, dword [rbx + 0x2ee0]
mov rcx, rax
shl r8, 5
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2ee8]
test rcx, rcx
je 0x180041fe0
mov rax, qword [0x1800f7990]
test rax, rax
je 0x180041fe0
dec dword [rax + 0x3b0]
mov rdx, qword [0x1800f79a0]
call qword [0x1800f6008]
mov ecx, dword [rbx + 0x2ee0]
mov qword [rbx + 0x2ee8], rsi
mov rsi, qword [rsp + 0x58]
mov dword [rbx + 0x2ee4], edi
mov rax, qword [rbx + 0x2ee8]
movups xmm0, xmmword [rsp + 0x20]
movsxd rcx, ecx
movups xmm1, xmmword [rsp + 0x30]
shl rcx, 5
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
movsxd rcx, dword [rbx + 0x2ee0]
mov rdi, rcx
shl rdi, 5
lea eax, [rcx + 1]
mov rcx, r14
mov dword [rbx + 0x2ee0], eax
add rdi, qword [rbx + 0x2ee8]
call fcn.180045740
mov rbx, qword [rsp + 0x50]
lea r8, [r14 + 1]
mov qword [rdi], rax
mov r10d, 0xffffffff
movzx r9d, byte [r14]
mov edx, r10d
mov r14, qword [rsp + 0x60]
test r9b, r9b
je 0x1800420a6
lea r11, [0x1800d1c00]
cmp r9b, 0x23
jne 0x180042089
cmp byte [r8], r9b
jne 0x180042089
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180042076
not edx
mov rax, rdi
mov dword [rdi + 8], edx
add rsp, 0x40
pop rdi
ret

Function at 0x180043b80
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180043bd0
lea r11, [0x1800d1c00]
nop dword [rax]
cmp r9b, 0x23
jne 0x180043bb3
cmp byte [r8], r9b
jne 0x180043bb3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180043ba0
mov r11, qword [0x1800f7990]
not eax
movsxd rcx, dword [r11 + 0x1a00]
mov r9, qword [r11 + 0x1a08]
mov r10, rcx
mov rdx, rcx
mov r8, r9
test ecx, ecx
je 0x180043c38
nop dword [rax]
nop dword [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180043c29
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180043c2c
mov rdx, r8
test rdx, rdx
jne 0x180043c00
mov r8, qword [r11 + 0x1a08]
shl r10, 4
add r10, r8
cmp r9, r10
je 0x180043c4e
cmp dword [r9], eax
jne 0x180043c4e
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180044550
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov r8, qword [0x1800f7990]
lea r10, [0x1800d1c00]
mov rsi, rcx
mov rax, qword [r8 + 0x1a18]
mov byte [rax + 0x80], 1
mov rbp, qword [r8 + 0x1a18]
mov rax, qword [0x1800f7990]
mov r14, qword [rax + 0x1a18]
xor eax, eax
test rcx, rcx
cmovne edx, eax
add edx, 0x11223347
lea rbx, [r14 + 0x1f0]
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov r8d, edx
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, dl
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, edx
shr eax, 8
movzx edx, al
mov eax, r8d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rdx, rcx
shr r8, 0x18
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
xor r8, rcx
shr edi, 8
xor edi, dword [r10 + r8*4]
mov r8d, dword [r14 + 0x1f4]
not edi
cmp r9d, r8d
jne 0x180044647
lea ecx, [r9 + 1]
test r8d, r8d
je 0x180044630
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180044635
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180052d20
mov r9d, dword [rbx]
mov rax, qword [r14 + 0x1f8]
movsxd rcx, r9d
mov dword [rax + rcx*4], edi
lea rcx, str.columns
inc dword [rbx]
movsxd rdx, dword [rbp + 0x1f0]
test rsi, rsi
mov rax, qword [rbp + 0x1f8]
cmovne rcx, rsi
mov r8d, dword [rax + rdx*4 - 4]
xor edx, edx
call fcn.1800455e0
mov rcx, qword [0x1800f7990]
mov edx, eax
cmp dword [rcx + 0x1a4c], eax
jne 0x180044695
mov dword [rcx + 0x1a50], eax
cmp dword [rcx + 0x1a7c], edx
jne 0x1800446a4
mov byte [rcx + 0x1a80], 1
mov rcx, qword [0x1800f7990]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rax, qword [rcx + 0x1a18]
dec dword [rax + 0x1f0]
mov eax, edx
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x180044b70
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1f8]
mov r9, r8
movsxd r8, dword [rcx + 0x1f0]
mov r10, rdx
xor ecx, ecx
mov rdx, r9
sub rdx, r10
test r9, r9
mov r8d, dword [rax + r8*4 - 4]
cmove rdx, rcx
mov rcx, r10
jmp fcn.1800455e0

Function at 0x1800455e0
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 0x18004563d
lea rbx, [0x1800d1c00]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180045624
cmp r10, 2
jb 0x180045624
cmp byte [r9], r8b
jne 0x180045624
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 0x180045600
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18004567f
lea rbx, [0x1800d1c00]
cmp r8b, 0x23
jne 0x180045663
cmp byte [r9], r8b
jne 0x180045663
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 0x180045650
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180046700
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x1800d2061]
mov dword [rsp + 0x2c], eax
lea r11, [0x1800d1c00]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x180046753
cmp byte [r8], r9b
jne 0x180046753
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180046740
mov ecx, dword [rbx + 0x2ed4]
lea rax, [0x1800509e0]
mov edi, dword [rbx + 0x2ed0]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x1800508f0]
mov qword [rsp + 0x38], rax
lea rax, [0x180050ab0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180046863
inc edi
test ecx, ecx
je 0x1800467bf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800467c4
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180046863
mov rax, qword [0x1800f7990]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x1800467e8
inc dword [rax + 0x3b0]
mov rdx, qword [0x1800f79a0]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [section..data]
mov rdx, qword [rbx + 0x2ed8]
mov rsi, rax
test rdx, rdx
je 0x180046851
movsxd rcx, dword [rbx + 0x2ed0]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2ed8]
test rcx, rcx
je 0x180046844
mov rax, qword [0x1800f7990]
test rax, rax
je 0x180046844
dec dword [rax + 0x3b0]
mov rdx, qword [0x1800f79a0]
call qword [0x1800f6008]
mov qword [rbx + 0x2ed8], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2ed4], edi
movsxd rax, dword [rbx + 0x2ed0]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2ed8]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2ed0]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1800470f0
Capabilities:
Hash data with crc32

Disassembly:
push r13
push r14
sub rsp, 0x38
mov r13, qword [0x1800f7990]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x30], rdi
mov rdi, rcx
mov qword [rsp + 0x28], r12
test rdx, rdx
jne 0x180047139
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x180047130
test r13, r13
je 0x180047145
inc dword [r13 + 0x3b0]
mov rdx, qword [0x1800f79a0]
lea rcx, [rbx + 1]
call qword [section..data]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x58], rax
mov r14, rax
lea r12, [rax + rbx]
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r12], 0
xor esi, esi
mov rdi, r14
cmp r14, r12
jae 0x180047323
mov qword [rsp + 0x20], r15
nop word [rax + rax]
movzx eax, byte [rdi]
cmp al, 0xa
je 0x180047374
cmp al, 0xd
je 0x180047374
mov rbx, rdi
cmp rdi, r12
jae 0x1800471c3
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x1800471c3
cmp al, 0xd
je 0x1800471c3
inc rbx
cmp rbx, r12
jb 0x1800471b0
mov byte [rbx], 0
movzx eax, byte [rdi]
cmp al, 0x3b
je 0x18004730c
cmp al, 0x5b
jne 0x1800472f3
cmp rbx, rdi
jbe 0x1800472f3
cmp byte [rbx - 1], 0x5d
lea r14, [rbx - 1]
jne 0x1800472f3
lea rsi, [rdi + 1]
mov byte [r14], 0
mov r8, r14
mov rcx, rsi
sub r8, rsi
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x180047232
lea rcx, [rax + 1]
mov edx, 0x5b
sub r14, rcx
mov r8, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180047232
mov byte [r15], 0
jmp 0x18004723c
lea rsi, str.Window
mov rax, rdi
movzx r9d, byte [rsi]
lea r11, [rax + 1]
mov r10, qword [0x1800f7990]
mov r14d, 0xffffffff
lea r8, [rsi + 1]
mov eax, r14d
test r9b, r9b
je 0x180047296
nop dword [rax]
cmp r9b, 0x23
jne 0x180047273
cmp byte [r8], r9b
jne 0x180047273
cmp byte [r8 + 1], r9b
cmove eax, r14d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
lea rcx, [0x1800d1c00]
inc r8
xor eax, dword [rcx + rdx*4]
test r9b, r9b
jne 0x180047260
movsxd rcx, dword [r10 + 0x2ed0]
xor r8d, r8d
xor edx, edx
not eax
test ecx, ecx
jle 0x1800472c9
mov r10, qword [r10 + 0x2ed8]
mov r9, rcx
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1800472cf
inc r8d
inc rdx
add rcx, 0x30
cmp rdx, r9
jl 0x1800472b6
xor esi, esi
xor ebp, ebp
jmp 0x18004730c
movsxd rax, r8d
lea rsi, [rax + rax*2]
shl rsi, 4
add rsi, r10
je 0x1800472cb
mov rax, qword [rsi + 0x10]
mov r8, r11
mov rdx, rsi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x18004730c
test rsi, rsi
je 0x18004730c
test rbp, rbp
je 0x18004730c
mov r9, rdi
mov r8, rbp
mov rdx, rsi
mov rcx, r13
call qword [rsi + 0x18]
lea rdi, [rbx + 1]
cmp rdi, r12
jb 0x180047190
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test r14, r14
je 0x180047353
mov rax, qword [0x1800f7990]
test rax, rax
je 0x180047353
dec dword [rax + 0x3b0]
mov rdx, qword [0x1800f79a0]
mov rcx, r14
call qword [0x1800f6008]
mov byte [r13 + 0x2eb4], 1
add rsp, 0x38
pop r14
pop r13
ret
inc rdi
jmp 0x180047190
Function at 0x18004c600
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800f7990]
lea rdx, [0x1800d1c00]
mov r8d, ecx
mov rsi, qword [rax + 0x1a18]
lea rbx, [rsi + 0x1f0]
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rsi + 0x1f4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x18004c6c2
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18004c6ab
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18004c6b0
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180052d20
mov r9d, dword [rbx]
mov rax, qword [rsi + 0x1f8]
mov rsi, qword [rsp + 0x40]
movsxd rcx, r9d
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18004c790
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800f7990]
lea rdx, [0x1800d1c00]
mov r8, rcx
mov rsi, qword [rax + 0x1a18]
lea rbx, [rsi + 0x1f0]
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rsi + 0x1f4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x18004c89b
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18004c884
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18004c889
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180052d20
mov r9d, dword [rbx]
mov rax, qword [rsi + 0x1f8]
mov rsi, qword [rsp + 0x40]
movsxd rcx, r9d
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18004fa30
Capabilities:
Write file on windows

Disassembly:
push r14
push r15
sub rsp, 0x28
mov rax, qword [0x1800f7990]
xor r15d, r15d
mov r14, rcx
mov dword [rax + 0x2eb8], r15d
test rcx, rcx
je 0x18004fb70
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], rdi
mov rdi, qword [0x1800f7990]
lea rbx, [rdi + 0x2ec0]
mov dword [rdi + 0x2eb8], r15d
mov r8d, dword [rbx + 4]
test r8d, r8d
jns 0x18004faa2
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.180052be0
mov eax, r15d
mov dword [rbx], r15d
cmp dword [rbx + 4], eax
jne 0x18004fabc
mov edx, 8
mov rcx, rbx
call fcn.180052be0
mov eax, dword [rbx]
movsxd rcx, eax
mov ebp, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov ecx, dword [rbx]
cmp dword [rdi + 0x2ed0], r15d
jle 0x18004fb07
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rdi + 0x2ed8]
mov r8, rbx
add r9, rsi
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add rsi, 0x30
cmp ebp, dword [rdi + 0x2ed0]
jl 0x18004fae0
mov ecx, dword [rbx]
test ecx, ecx
lea eax, [rcx - 1]
lea rdx, [0x1800d2180]
mov rcx, r14
cmove eax, r15d
movsxd rsi, eax
mov rax, qword [rdi + 0x2ec8]
lea rdi, [0x1800f7998]
test rax, rax
cmovne rdi, rax
call fcn.180045380
mov rbp, qword [rsp + 0x48]
mov rbx, rax
test rax, rax
je 0x18004fb61
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop r15
pop r14
ret