joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054ee4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140054c7c
mov ebx, eax
test eax, eax
jne 0x140054f14
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140054f77
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140054f6e
test al, 0x10
je 0x140054f6e
bt eax, 0xa
jae 0x140054f67
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140054f88
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140054f63
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140054f63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
test edi, edi
jne 0x140054f6e
and dword [rsp + 0x3c], 0
jmp 0x140054f73
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002943c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001cb04
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001cb04
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002958c
cmp rax, 0xffffffffffffffff
je 0x14002958c
xor edi, edi
test rbp, rbp
jle 0x140029537
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f430
mov rbx, rax
test rax, rax
jne 0x1400294c4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002952d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a438
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d7e0
cmp eax, 0xffffffff
je 0x14002950d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400294d4
mov edx, r15d
mov ecx, r14d
call fcn.14001a438
jmp 0x14002952d
cmp byte [rsi + 0x38], dil
je 0x140029524
cmp dword [rsi + 0x34], 5
jne 0x140029524
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002952d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b1cc
jmp 0x1400295a0
jns 0x1400295a0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001cb04
cmp rax, 0xffffffffffffffff
jne 0x140029558
cmp byte [rsi + 0x30], dil
je 0x1400295a0
mov edi, dword [rsi + 0x2c]
jmp 0x1400295a0
mov ecx, r14d
call fcn.1400188f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400295a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400295a0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029599
mov eax, dword [rsi + 0x2c]
jmp 0x14002959e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001cb04
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1414ec000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x1414ec00a
jmp 0x1414ee00f
jmp fcn.140ef9058
Function at 0x180037604
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x180221070]
xor rax, rsp
mov qword [rsp + 0x90], rax
movss xmm6, dword [0x180209788]
movss dword [rsp + 0x24], xmm6
mov rdx, qword [rcx]
cmp rdx, 2
jb 0x1800377e6
mov ecx, 0x68
mov dword [rsp + 0x20], ecx
mov eax, dword [0x180253698]
cmp eax, 0x9f3
jl 0x18003766e
mov ecx, 0x70
jmp 0x180037680
add eax, 0xfffff766
mov r8d, 0x40
cmp eax, 0x45
cmovbe ecx, r8d
mov dword [rsp + 0x20], ecx
movsxd rax, ecx
mov rcx, qword [rax + rdx]
test rcx, rcx
jne 0x180037698
movaps xmm0, xmm6
jmp 0x1800377e9
mov r14d, dword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
test rsi, rsi
jne 0x1800376ad
movaps xmm0, xmm6
jmp 0x1800377e9
xor ebx, ebx
movabs r15, 0x9e94335b2ff148a2
mov dword [rsp + 0x28], ebx
cmp ebx, r14d
jge 0x1800377de
lea eax, [rbx*8]
movsxd rcx, eax
mov rdi, qword [rcx + rsi + 0x20]
and qword [rsp + 0x30], 0
mov qword [rsp + 0x30], rdi
test rdi, rdi
jne 0x1800376ea
jmp 0x1800377d7
lea rcx, [rsp + 0x30]
call fcn.1800373d4
movsd xmm0, qword [rax]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rdi]
cmp byte [rsp + 0x38], 0
je 0x1800377d7
movabs rcx, 0xe4f5464df818902b
mov qword [rsp + 0x50], rcx
movabs rcx, 0x9476320c3799b9ac
mov qword [rsp + 0x58], rcx
movabs rcx, 0xc9e6cd063f107360
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r15
movabs rcx, 0x8d8125289277e27b
mov qword [rsp + 0x70], rcx
movabs rcx, 0xfa19426d52cedcc0
mov qword [rsp + 0x78], rcx
movabs rcx, 0xc9e6cd063f741c2d
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.18011b3f0
test rax, rax
je 0x1800377d7
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [0x18020974c]
jb 0x1800377de
comiss xmm6, xmm0
jb 0x1800377de
mulss xmm6, xmm0
movss dword [rsp + 0x24], xmm6
jmp 0x1800377de
inc ebx
jmp 0x1800376b9
jmp 0x1800377e6
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180118f50
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
ret
Function at 0x18005ef70
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180221070]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0x5a4d
mov r14, r9
mov rbp, r8
cmp word [rdx], ax
jne 0x18005f015
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x18005f015
movzx esi, word [rcx + 0x14]
xor r11d, r11d
movzx ebx, word [rcx + 6]
add rsi, rcx
test rbx, rbx
je 0x18005f015
xor r8d, r8d
lea rcx, [rsi + 0x18]
test dword [rcx + 0x24], 0x20000
jne 0x18005f006
mov rax, qword [rcx]
mov rdi, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
sub rdi, rax
mov byte [rsp + 0x38], 0
movzx r9d, byte [rax]
movzx r10d, byte [rax + rdi]
sub r9d, r10d
jne 0x18005f001
inc rax
test r10d, r10d
jne 0x18005efeb
test r9d, r9d
je 0x18005f039
inc r11d
inc r8
add rcx, 0x28
cmp r8, rbx
jl 0x18005efca
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180118f50
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
movsxd rax, r11d
mov r9, r14
lea rcx, [rax + rax*4]
mov ebx, dword [rsi + rcx*8 + 0x24]
mov r8d, dword [rsi + rcx*8 + 0x20]
add rbx, rdx
mov rdx, rbx
call fcn.18005ee78
cmp rax, 0xffffffffffffffff
je 0x18005f015
add rax, rbx
jmp 0x18005f017
Function at 0x180077eac
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
test rax, rax
je 0x180077eea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
add eax, 0xffffff80
test eax, 0xffffff7f
je 0x180077eea
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180077f60
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x180077f60
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x767e8cf9
lea rcx, [rsi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x180077f5c
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x180077f3c
cmp r11d, 0xe8774b39
je 0x180077f65
test edx, edx
jne 0x180077f1f
mov rax, qword [rax]
jmp 0x180077efb
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbx
add rax, r8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax
Function at 0x180078418
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18007846b
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov rcx, rbx
call fcn.18007693c
call fcn.180077eac
call fcn.180077f94
and qword [rsp + 0x28], 0
lea r8, [0x1800777b4]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18007846b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180078818
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18007883d
xor eax, eax
jmp 0x18007893a
cmp qword [rcx + 0x68], 0
je 0x18007884e
call fcn.18007a970
jmp 0x18007893a
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x180078865
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180078867
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18007889c
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.18011b8e0
mov rax, qword [rsi + 0x50]
sub rbp, rbx
add r14, rbx
mov r8, rbp
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180078934
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1800788d7
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
mov rbx, r8
cmp r8, r15
jbe 0x18007890f
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call fcn.18012576c
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x18007894b
cmp rbp, r15
ja 0x1800788e5
mov r8, rbx
test rbx, rbx
je 0x180078934
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.18012576c
mov r8, rbx
sub r8, rax
sub rdi, r8
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub rdi, rbp
jmp 0x180078937
Function at 0x180078d18
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180221070]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x180078d51
xor eax, eax
jmp 0x180078e73
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x180078d8b
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x180078d8b
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x180078e73
cmp qword [rbx + 0x80], 0
je 0x180078e71
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180078dc6
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180078de9
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.180125b00
cmp eax, edi
cmovne edi, esi
jmp 0x180078e71
lea r8, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp - 0x2f]
lea r8, [rbp - 8]
mov qword [rsp + 0x30], r8
lea r8, [rbp - 0x28]
mov qword [rsp + 0x28], r8
lea r8, [rbp - 0x38]
mov qword [rsp + 0x20], r8
lea r8, [rbp - 0x30]
call qword [rax + 0x38]
test eax, eax
je 0x180078e37
sub eax, 1
je 0x180078e37
cmp eax, 2
jne 0x180078e71
movsx ecx, byte [rbp - 0x30]
jmp 0x180078dd3
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x180078e61
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call fcn.180125488
cmp r14, rax
jne 0x180078e71
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
mov eax, esi
jne 0x180078e73
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180118f50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180079418
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x180221070]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180079487
cmp byte [rcx + 0x71], 0
je 0x180079487
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1800794db
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x1800794a1
sub eax, 1
je 0x1800794a5
cmp eax, 2
jne 0x1800794db
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180118f50
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1800794d2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.180125488
cmp rdi, rax
jne 0x1800794db
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180079489
xor al, al
jmp 0x180079489

Function at 0x18007ab6c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x180221070]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov dword [rbp - 0x30], 0x64616f4c
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x2c], 0x7262694c
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x28], 0x41797261
mov byte [rbp - 0x24], 0
mov dword [rbp - 0x20], 0x4e52454b
mov dword [rbp - 0x1c], 0x41424c45
mov dword [rbp - 0x18], 0x642e4553
mov word [rbp - 0x14], 0x6c6c
mov byte [rbp - 0x12], 0
call fcn.18007abec
mov rcx, rbx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180118f50
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x18007abec
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x180221070]
xor rax, rsp
mov qword [rsp + 0x100], rax
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x64
mov rdi, rdx
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov r8, rcx
xor ecx, ecx
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
jmp 0x18007ac72
mov rcx, qword [rax + 0x60]
lea r8, [rsp + 0x30]
sub r8, rcx
movzx edx, word [rcx]
movzx r9d, word [rcx + r8]
sub edx, r9d
jne 0x18007ac6b
add rcx, 2
test r9d, r9d
jne 0x18007ac55
test edx, edx
je 0x18007ac7b
mov rax, qword [rax]
cmp qword [rax + 0x30], 0
jne 0x18007ac49
jmp 0x18007ac84
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x18007ac91
mov rcx, rbx
call fcn.18007ab6c
test rax, rax
je 0x18007aca1
mov rdx, rdi
mov rcx, rax
call fcn.18007acc4
test rax, rax
jne 0x18007aca3
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180118f50
mov rbx, qword [rsp + 0x130]
add rsp, 0x110
pop rdi
ret
Function at 0x18007acc4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x180221070]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r12d, r12d
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
je 0x18007ae3c
movsxd rax, dword [rcx + 0x3c]
mov r9d, dword [rax + rcx + 0x88]
mov r11d, dword [rax + rcx + 0x8c]
lea r8, [rcx + r9]
test r11d, r11d
je 0x18007ae3c
lea r13d, [r12 + 1]
cmp rdx, 0xffff
ja 0x18007adeb
mov ecx, dword [r8 + 0x1c]
movzx eax, bp
sub ax, word [r8 + 0x10]
add rcx, rbx
add ax, r13w
movzx edx, ax
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x18007adeb
lea eax, [r9 + r11]
cmp edi, eax
jae 0x18007adeb
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.18011bf90
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x18007ad7a
test r8, r8
je 0x18007ae3c
lea rcx, [rsp + 0x20]
call fcn.18011b8e0
mov edx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.18011b82c
lea rdi, [rax + r13]
mov byte [rax], r12b
cmp byte [rdi], 0x23
jne 0x18007adbd
lea rcx, [rdi + 1]
call fcn.180126048
movzx edi, ax
lea rcx, [rsp + 0x20]
call fcn.18007ab6c
mov rsi, rax
cmp rax, rbx
jne 0x18007adde
mov rdx, rbp
mov rcx, rdi
call fcn.180125f4c
test eax, eax
je 0x18007ae3c
mov rdx, rdi
mov rcx, rsi
call fcn.18007acc4
jmp 0x18007ae3e
mov ecx, dword [r8 + 0x18]
mov edi, r12d
mov r15d, dword [r8 + 0x20]
sub ecx, r13d
lea r10d, [rdi + rcx]
mov rsi, rbp
shr r10d, 1
lea rax, [r15 + r10*4]
mov edx, dword [rax + rbx]
add rdx, rbx
sub rsi, rdx
mov al, byte [rdx]
cmp al, byte [rdx + rsi]
jne 0x18007ae23
add rdx, r13
test al, al
jne 0x18007ae10
mov eax, r12d
jmp 0x18007ae28
sbb eax, eax
or eax, r13d
test eax, eax
jns 0x18007ae32
lea edi, [r10 + 1]
jmp 0x18007ae38
jle 0x18007ae69
lea ecx, [r10 - 1]
cmp edi, ecx
jbe 0x18007adf9
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180118f50
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [r8 + 0x24]
add rcx, rbx
cmp word [rcx + r10*2], r12w
je 0x18007ae3c
movzx edx, word [rcx + r10*2]
mov ecx, dword [r8 + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x18007aebb
lea eax, [r9 + r11]
cmp edi, eax
jae 0x18007aebb
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.18011bf90
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x18007aead
jmp 0x18007ad83
lea rax, [rbx + rdi]
jmp 0x18007ae3e
Function at 0x18007d7a4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x180221070]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x180253430]
lea rdx, [rbp - 0x28]
mov rdi, qword [0x180252dd0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x20]
lea rcx, [rbp - 0x10]
sub eax, dword [rbp - 0x28]
movd xmm1, eax
mov eax, dword [rbp - 0x1c]
sub eax, dword [rbp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x10]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x180253438]
cvtsi2ss xmm0, qword [0x180253440]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x180253438], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x14b], 0
mov rbx, qword [0x180252dd0]
mov byte [rdi + 0x14a], al
cmp byte [rbx + 0x3a3], 0
je 0x18007d8ca
cvttss2si eax, dword [rbx + 0x130]
mov rcx, qword [0x180253430]
lea rdx, [rbp - 0x18]
mov dword [rbp - 0x18], eax
cvttss2si eax, dword [rbx + 0x134]
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x14]
mov ecx, dword [rbp - 0x18]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx + 0x130], eax
mov dword [rbx + 0x134], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18007d942
mov rdx, qword [0x180253430]
cmp rax, rdx
je 0x18007d8ff
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18007d942
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18007d942
mov rcx, qword [0x180253430]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18007d942
movd xmm0, dword [rbp - 0x30]
movd xmm1, dword [rbp - 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x130], xmm0
movss dword [rbx + 0x134], xmm1
cmp byte [rdi + 0xc8], 0
je 0x18007d950
or eax, 0xffffffff
jmp 0x18007d95d
mov rax, qword [0x180252dd0]
mov eax, dword [rax + 0x1f98]
cmp dword [0x18024c7e8], eax
je 0x18007d970
mov dword [0x18024c7e8], eax
call fcn.18007d748
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180118f50
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x18007efdc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18007f036
mov r11b, 0x23
lea rdi, [0x18015ac00]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x18007f020
cmp rdx, 2
jb 0x18007f020
cmp byte [r10], r11b
jne 0x18007f020
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18007effe
jmp 0x18007f077
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18007f077
mov r11b, 0x23
lea rdi, [0x18015ac00]
cmp dl, r11b
jne 0x18007f05b
cmp byte [r10], r11b
jne 0x18007f05b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18007f049
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x18007f194
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18007f1b5
and qword [r8], 0
lea rdx, [0x18015aa44]
call fcn.18007f088
mov rbx, rax
test rax, rax
je 0x18007f28a
mov rcx, rax
call fcn.1801265cc
mov esi, eax
cmp eax, 0xffffffff
je 0x18007f282
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1801251e4
test eax, eax
jne 0x18007f282
mov rcx, rbx
call fcn.1801265cc
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18007f282
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1801251e4
test eax, eax
jne 0x18007f282
cmp rdi, 0xffffffffffffffff
je 0x18007f282
mov rax, qword [0x180252dd0]
test rax, rax
je 0x18007f22f
inc dword [rax + 0x3bc]
mov rdx, qword [0x180252dc8]
mov rcx, rdi
call fcn.18007e8dc
mov rsi, rax
test rax, rax
je 0x18007f282
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18012576c
mov rcx, rbx
cmp rax, rdi
je 0x18007f270
call fcn.180125e98
mov rcx, rsi
call fcn.180081708
jmp 0x18007f28a
call fcn.180125e98
test r14, r14
je 0x18007f27d
mov qword [r14], rdi
mov rax, rsi
jmp 0x18007f28c
mov rcx, rbx
call fcn.180125e98
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x180081074
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0xc0]
mov r9d, 4
mov rax, qword [rcx + 0xc8]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x18015ac00]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x18008109d
not r8d
mov ecx, r8d
call fcn.180081348
mov eax, r8d
add rsp, 0x28
ret