joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c2531670
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1c2532390
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.1c2532390
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x1c25316e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x1c25380e4]
mov r12, rcx
test ebx, ebx
jle 0x1c2531810
mov rax, qword [0x1c25380e8]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x1c253172b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x1c25317b5
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x1c2531710
mov rcx, r12
call fcn.1c2531e90
mov rsi, rax
test rax, rax
je 0x1c2531832
mov rax, qword [0x1c25380e8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.1c2531fc0
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1c25380e8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1c2531817
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1c25317ae
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1c25317c0
add dword [0x1c25380e4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x1c25380e8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1c25317ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1c2531670
nop dword [rax]
xor ebx, ebx
jmp 0x1c2531738
mov rax, qword [0x1c25380e8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1c2531670
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1c2531670
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1c2531ae0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x1c2538120]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1c2538100]
test rbx, rbx
je 0x1c2531b3c
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1c2531b33
test r12, r12
je 0x1c2531b33
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1c2531b18
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1c2531e90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1c2534260]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1c2531eb0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1c2531eb8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1c2531eb0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1c2531f05
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1c2531efc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1c2531eb0
add rax, 0x28
cmp rax, r9
jne 0x1c2531ee8
xor eax, eax
ret

Function at 0x1c2531f10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1c2534260]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1c2531f30
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1c2531f38
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1c2531f30
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1c2531fc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1c2534260]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1c2531fe0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1c2531fe8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1c2532450
Capabilities:
Terminate process

Disassembly:
push r12
mov r12, r8
sub rsp, 0x20
cmp edx, 1
je 0x1c2532474
cmp edx, 6
jne 0x1c25324a3
test r8, r8
je 0x1c25324a3
mov rax, qword [0x1c2538090]
mov qword [r8], rax
jmp 0x1c25324a3
mov qword [0x1c2538090], rcx
call fcn.1c2532b30
mov rcx, r12
call fcn.1c2532b70
mov ecx, 1
call qword [fcn.1c2532390]
mov rcx, rax
call sub.msvcrt.dll_fflush
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x20
mov eax, 1
pop r12
ret

Function at 0x1c25324f0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rbx
mov ebx, ecx
sub rsp, 0x28
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r11, qword [rax + 0x10]
lea rsi, [rax + 0x10]
cmp r11, rsi
je 0x1c253252f
movzx edx, word [r11 + 0x58]
mov rcx, qword [r11 + 0x60]
call fcn.1c25326c0
cmp eax, ebx
jne 0x1c253252a
mov rax, qword [r11 + 0x30]
jmp 0x1c2532531
mov r11, qword [r11]
jmp 0x1c253250d
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x1c2532540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
mov r11, rdx
push r13
mov r13d, r8d
push r12
mov r12, rcx
push rbp
push rdi
push rsi
push rbx
xor ebx, ebx
sub rsp, 0x230
movsxd rdi, dword [rdx + 0x3c]
add rdi, rdx
mov esi, dword [rdi + 0x88]
add rsi, rdx
mov ebp, dword [rsi + 0x20]
mov r14d, dword [rsi + 0x18]
add rbp, rdx
cmp r14d, ebx
jbe 0x1c253269e
mov ecx, dword [rbp + rbx*4]
xor edx, edx
add rcx, r11
call fcn.1c25326c0
mov r8d, eax
lea rax, [rbx + 1]
cmp r8d, r13d
jne 0x1c2532696
mov eax, dword [rsi + 0x24]
add rbx, rbx
add rbx, r11
movzx edx, word [rbx + rax]
mov eax, dword [rsi + 0x1c]
lea rdx, [r11 + rdx*4]
mov r8d, dword [rdx + rax]
add r8, r11
cmp r8, rsi
jb 0x1c25326a1
mov eax, dword [rdi + 0x8c]
add rax, r11
add rax, rsi
cmp r8, rax
jae 0x1c25326a1
xor eax, eax
lea rdi, [rsp + 0x38]
mov ecx, 0x3d
xor edx, edx
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x13c]
mov ecx, 0x3d
mov qword [rsp + 0x28], 0
rep stosd dword [rdi], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x12c], 0
mov qword [rsp + 0x134], 0
mov rcx, r8
mov r9d, edx
call fcn.1c25328a0
cmp r9, rax
jae 0x1c253263a
cmp byte [r8 + r9], 0x2e
je 0x1c253263c
inc edx
jmp 0x1c253261f
xor edx, edx
mov eax, edx
lea rdx, [rsp + 0x28]
mov rsi, r8
mov rdi, rdx
mov rcx, rax
lea r13, [rsp + 0x12c]
rep movsb byte [rdi], byte [rsi]
lea rsi, [r8 + rax + 1]
mov rdi, r13
mov rcx, rsi
call fcn.1c25328a0
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rcx, r12
call fcn.1c2532710
xor edx, edx
mov rcx, r13
mov r11, rax
call fcn.1c25326c0
xor r9d, r9d
mov rdx, r11
mov rcx, r12
mov r8d, eax
call fcn.1c2532540
mov r8, rax
jmp 0x1c25326a1
mov rbx, rax
jmp 0x1c2532576
xor r8d, r8d
add rsp, 0x230
mov rax, r8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x1c25326c0
Capabilities:
Hash data using djb2

Disassembly:
mov r9, rcx
mov eax, 0x1505
mov r8b, byte [r9]
test rdx, rdx
jne 0x1c25326d6
test r8b, r8b
jne 0x1c25326eb
ret
mov r10d, r9d
sub r10d, ecx
cmp r10, rdx
jae 0x1c2532704
test r8b, r8b
jne 0x1c25326eb
inc r9
jmp 0x1c25326f5
cmp r8b, 0x60
jbe 0x1c25326f5
sub r8d, 0x20
imul eax, eax, 0x21
movzx r8d, r8b
inc r9
add eax, r8d
jmp 0x1c25326c8
ret
Function at 0x1c25328e0
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push r14
xor eax, eax
push r13
push r12
mov r12, rcx
mov ecx, 8
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
lea rdi, [rsp + 0x50]
lea r13, [rsp + 0x50]
mov qword [rsp + 0x38], 0
rep stosd dword [rdi], eax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x34], 0
call fcn.1c2531490
mov ecx, 0x70e61753
mov r14, rax
call fcn.1c25324f0
xor r9d, r9d
mov r8d, 0x9e456a43
mov rcx, r13
mov rdx, rax
mov qword [rsp + 0x68], rax
call fcn.1c2532540
mov rdx, qword [rsp + 0x68]
xor r9d, r9d
mov rcx, r13
mov r8d, 0xf783b8ec
mov qword [rsp + 0x50], rax
call fcn.1c2532540
mov rdx, qword [rsp + 0x68]
xor r9d, r9d
mov rcx, r13
mov r8d, 0x50e92888
mov qword [rsp + 0x58], rax
call fcn.1c2532540
movsxd rbx, dword [r14 + 0x3c]
xor r8d, r8d
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x30]
add rbx, r14
mov eax, dword [rbx + 0x50]
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
mov dword [rsp + 0x30], eax
call qword [rsp + 0x58]
test eax, eax
js 0x1c2532b1d
movzx eax, word [rbx + 0x14]
xor r8d, r8d
lea rbp, [rbx + rax + 0x18]
mov rax, rbp
movzx ecx, word [rbx + 6]
mov rdx, qword [rsp + 0x38]
cmp ecx, r8d
jbe 0x1c2532a0a
mov ecx, dword [rax + 0xc]
mov esi, dword [rax + 0x14]
inc r8d
add rax, 0x28
add rdx, rcx
add rsi, r14
mov ecx, dword [rax - 0x18]
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
jmp 0x1c25329df
mov r8d, dword [rbx + 0x90]
test r8d, r8d
je 0x1c2532a21
add r8, rdx
mov rcx, r13
call fcn.1c2532800
mov eax, dword [rbx + 0xb0]
test eax, eax
je 0x1c2532a3d
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rbx + 0x30]
lea r8, [rcx + rax]
call fcn.1c25327b0
xor r13d, r13d
mov esi, 0x20
mov edi, 0x40
lea r14, [rsp + 0x48]
movzx eax, word [rbx + 6]
mov rcx, qword [rsp + 0x38]
cmp eax, r13d
jbe 0x1c2532ae6
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x34], 0
add rcx, rax
mov eax, dword [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 0x24]
mov edx, eax
mov ecx, eax
shr edx, 0x1f
and ecx, 0x40000000
jne 0x1c2532b09
lea r9d, [rdx*8]
mov r8d, eax
and r8d, 0x20000000
jne 0x1c2532af8
and eax, 0x60000000
cmp eax, 0x60000000
cmove r9d, esi
test r8d, r8d
setne al
test al, dl
je 0x1c2532ac0
test ecx, ecx
cmovne r9d, edi
lea rax, [rsp + 0x34]
lea rdx, [rsp + 0x40]
mov r8, r14
mov qword [rsp + 0x20], rax
or rcx, 0xffffffffffffffff
inc r13d
add rbp, 0x28
call qword [rsp + 0x60]
jmp 0x1c2532a4f
mov eax, dword [rbx + 0x28]
mov r8, r12
mov edx, 1
add rax, rcx
call rax
jmp 0x1c2532b1d
mov r9d, eax
sar r9d, 0x1f
and r9d, 0x70
add r9d, 0x10
jmp 0x1c2532aa2
mov r9d, eax
sar r9d, 0x1f
and r9d, 2
add r9d, 2
jmp 0x1c2532a96
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x180002eb0
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x60], 0
jne 0x180002ed7
xor al, al
jmp 0x180002f9c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x180002f16
xor al, al
jmp 0x180002f9c
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
inc eax
mov eax, eax
mov ecx, eax
call fcn.18001be7c
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x180002f3f
xor al, al
jmp 0x180002f9c
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
inc eax
mov eax, eax
mov edx, eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.180016d30
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
mov r9, qword [rax]
mov r8d, 1
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x180002f9a
xor al, al
jmp 0x180002f9c
mov al, 1
add rsp, 0x48
ret
Function at 0x180010f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x24]
imul eax, dword [rsp + 0x50]
mov eax, eax
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp], 0
jmp 0x180010fd0
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x18]
imul eax, dword [rsp + 0x50]
cmp dword [rsp], eax
jae 0x18001105a
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x10]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x18001101d
inc rax
test dl, dl
jne 0x18001100a
xor eax, eax
jmp 0x180011022
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x180011055
mov eax, dword [rsp]
imul eax, dword [rsp + 0x50]
mov eax, eax
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
imul eax, dword [rsp + 0x50]
mov eax, eax
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
jmp 0x18001105c
jmp 0x180010fc8
xor eax, eax
add rsp, 0x48
ret
Function at 0x180022e4f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800867d0]
jne 0x18001adda
rol rcx, 0x10
test cx, 0xffff
jne 0x18001add6
repz ret
ror rcx, 0x10
jmp 0x180022da8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180088790]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180088888]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180022e2d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180088790]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180022e4f
mov rax, qword [rsp + 0x88]
mov qword [0x180088888], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180088828], rax
mov rax, qword [0x180088888]
mov qword [0x180088700], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180088810], rax
mov dword [0x1800886f0], 0xc0000409
mov dword [0x1800886f4], 1
mov rax, qword [0x1800867d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800867d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180088788], eax
mov ecx, 1
call fcn.18002d03c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800426a0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180088788], 0
jne 0x180022ed6
mov ecx, 1
call fcn.18002d03c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180037260
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800867d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1800254ec
xor ebx, ebx
cmp qword [0x180089770], rbx
mov rdi, rax
jne 0x180037373
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18003744a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18003744a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180089770], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180089778], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x180089780], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180089790], rax
test rax, rax
je 0x18003736a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180089788], rax
jmp 0x18003737a
mov rax, qword [0x180089788]
jmp 0x180037381
mov rax, qword [0x180089788]
mov r11, qword [0x180089790]
cmp rax, rdi
je 0x1800373e8
cmp r11, rdi
je 0x1800373e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180089790]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1800373e8
test rax, rax
je 0x1800373e8
call rsi
test rax, rax
je 0x1800373e2
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1800373e2
test byte [rsp + 0x40], 1
jne 0x1800373e8
bts ebp, 0x15
jmp 0x180037428
mov rcx, qword [0x180089778]
cmp rcx, rdi
je 0x180037428
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180037428
call rax
mov rbx, rax
test rax, rax
je 0x180037428
mov rcx, qword [0x180089780]
cmp rcx, rdi
je 0x180037428
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180037428
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180089770]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18003744a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18003744c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18001adc0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140006560
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 0x1400065bd
lea rbx, [0x140118c80]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400065a4
cmp r10, 2
jb 0x1400065a4
cmp byte [r9], r8b
jne 0x1400065a4
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 0x140006580
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400065ff
lea rbx, [0x140118c80]
cmp r8b, 0x23
jne 0x1400065e3
cmp byte [r9], r8b
jne 0x1400065e3
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 0x1400065d0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140016370
Capabilities:
Hash data with crc32

Disassembly:
movsxd r8, dword [rcx + 0x108]
mov r9, rdx
mov rax, qword [rcx + 0x110]
mov r10d, dword [rax + r8*4 - 4]
lea r8, [0x140118c80]
not r10d
movzx eax, dl
movzx ecx, r10b
xor rcx, rax
shr r10d, 8
mov rax, rdx
shr rax, 8
movzx edx, al
mov rax, r9
xor r10d, dword [r8 + rcx*4]
movzx ecx, r10b
xor rdx, rcx
shr r10d, 8
shr rax, 0x10
xor r10d, dword [r8 + rdx*4]
movzx ecx, r10b
shr r10d, 8
movzx edx, al
mov rax, r9
xor rdx, rcx
shr rax, 0x18
xor r10d, dword [r8 + rdx*4]
movzx ecx, r10b
shr r10d, 8
movzx edx, al
mov rax, r9
xor rdx, rcx
shr rax, 0x20
xor r10d, dword [r8 + rdx*4]
movzx ecx, r10b
shr r10d, 8
movzx edx, al
mov rax, r9
xor rdx, rcx
shr rax, 0x28
xor r10d, dword [r8 + rdx*4]
movzx ecx, r10b
shr r10d, 8
movzx edx, al
mov rax, r9
xor rdx, rcx
shr rax, 0x30
shr r9, 0x38
xor r10d, dword [r8 + rdx*4]
movzx ecx, r10b
shr r10d, 8
movzx edx, al
xor rdx, rcx
xor r10d, dword [r8 + rdx*4]
movzx edx, r10b
shr r10d, 8
xor rdx, r9
xor r10d, dword [r8 + rdx*4]
not r10d
mov eax, r10d
ret
Function at 0x140016460
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x140118c80]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x108]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x140016810
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x1401765d0]
lea r9, [0x140118c80]
mov r8d, ecx
mov rbx, qword [rax + 0x40c8]
movzx eax, r8b
movsxd rdi, dword [rbx + 0x108]
mov rsi, qword [rbx + 0x110]
mov ebp, dword [rsi + rdi*4 - 4]
not ebp
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor ebp, dword [r9 + rcx*4]
movzx ecx, bpl
xor rdx, rcx
shr ebp, 8
shr eax, 0x10
xor ebp, dword [r9 + rdx*4]
movzx ecx, bpl
shr ebp, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
shr rax, 0x18
xor ebp, dword [r9 + rdx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
xor ebp, dword [r9 + rcx*4]
mov ecx, dword [rbx + 0x10c]
not ebp
cmp edi, ecx
jne 0x140016919
inc edi
test ecx, ecx
je 0x1400168c2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400168c7
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140016919
movsxd rcx, edi
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x110]
mov rsi, rax
test rdx, rdx
je 0x14001690c
movsxd r8, dword [rbx + 0x108]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x110]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x110], rsi
mov dword [rbx + 0x10c], edi
movsxd rax, dword [rbx + 0x108]
mov dword [rsi + rax*4], ebp
inc dword [rbx + 0x108]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret