joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012ca0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140076040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140077d20]
mov edi, ecx
cmp byte [rbx + 0x4cf1], 0
jne 0x140012d01
cmp byte [rbx + 0x4cf2], 0
jne 0x140012d01
movsx r9d, word [rbx + 0x5e38]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002fd0
test dil, 2
je 0x140012e2f
jmp 0x140012d8a
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e38]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14006e138]
mulss xmm1, dword [0x14006e12c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x49d0], rax
mov dword [rbx + 0x49bc], 1
movss dword [rbx + 0x49c8], xmm0
movss dword [rbx + 0x49cc], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x14006e0c8]
or dword [rbx + 0x49b8], 0x41
movss dword [rbx + 0x4a18], xmm0
call fcn.140002fd0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012de0
lea r11, [0x140061e10]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140012dc3
cmp byte [r8], r9b
jne 0x140012dc3
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 0x140012db0
not ecx
call fcn.14000a170
test rax, rax
je 0x140012e2f
cmp byte [rax + 0xbe], 0
je 0x140012e2f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5e38]
movsx r9d, word [rbx + 0x5e38]
call fcn.140002fd0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000cd00
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140033e90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018380
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140077d20]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400183e3
mov qword [rsp], rbx
lea rbx, [0x140061e10]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400183c3
cmp byte [r8], r9b
jne 0x1400183c3
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 0x1400183b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f00]
not eax
mov r8, qword [r10 + 0x5f08]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001840f
cmp dword [r8 + 8], eax
je 0x140018416
add r8, 0x48
cmp r8, rcx
jne 0x140018400
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14002d050
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140076040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140077d20]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002d26e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002d26e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.1400448e0
mov r8, qword [0x140077d20]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14002d123
movsx rdx, word [r8 + 0x6048]
lea rax, [r8 + 0x604c]
mov r9d, dword [r8 + 0x3f60]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14002d118
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6048], cx
movsx rax, cx
lea rax, [rax*8 + 0x604c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6040]
test rdi, rdi
je 0x14002d140
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14002d143
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x14006ddd8]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14002d186
mov rsi, qword [r8 + 0x90]
jmp 0x14002d189
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14002d1b4
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140077d20]
mov rcx, qword [rax + 0x4ad0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14002d22e
inc rbx
cmp rbx, 5
jl 0x14002d210
jmp 0x14002d25a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14002d270
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140033e90
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140034924
Capabilities:
Parse pe header

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

Function at 0x14003ab5c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400543c0
sub rsp, rax
mov rax, qword [0x140076040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400466ec
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14003abab
mov rax, rbp
jmp 0x14003acb3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x77470]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14004697c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x77470]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14003acaf
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003acaf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14004697c
test rax, rax
js 0x14003acaf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14003acaf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14003aca1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14003aca1
cmp byte [rcx], 0xd
jne 0x14003ac87
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14003ac96
cmp byte [rcx + 1], 0xa
jne 0x14003ac96
inc rcx
jmp 0x14003ac96
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x76350]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14003ac69
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14003acb3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140033e90
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140044e0c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140044c08
Function at 0x140047100
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140077470]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140047157
cmp word [rdx], r13w
jne 0x140047157
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14004715c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140047281
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400472a2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140047195
mov rdx, r9
mov word [rbx], cx
jmp 0x1400471bc
cmp r9, r8
jae 0x1400471cc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140047176
jmp 0x140047281
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140047276
cmp dword [rsp + 0x80], esi
je 0x140047276
lea r8, [0x140077470]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14004724e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14004721e
mov word [rbx], r13w
jmp 0x14004727e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14004722b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14004727e
cmp word [rsp + 0x70], r13w
jne 0x14004725b
cmp rbx, r14
je 0x140047218
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140046984
cmp word [rsp + 0x70], r13w
je 0x140047281
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140077470]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14004727b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140047281
Function at 0x14004b0dc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14004b0f2
mov al, 1
jmp 0x14004b152
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14004b103
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14004b150
mov ecx, dword [rcx + 0x18]
nop
call fcn.14004e6ec
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004b150
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004b150
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14004b150
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14004b152
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14004d7b8
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14004d7e8
xor eax, eax
jmp 0x14004d8ab
mov rbp, rbx
cmp word [rax], si
je 0x14004d80d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14004d7f4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14004d7f0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14004d6d8
movsxd r14, eax
test eax, eax
jne 0x14004d84b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14004d7e1
mov rcx, r14
call fcn.140049838
mov rdi, rax
test rax, rax
jne 0x14004d864
xor ecx, ecx
call fcn.140047ed8
jmp 0x14004d840
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14004d6d8
test eax, eax
jne 0x14004d895
mov rcx, rdi
call fcn.140047ed8
jmp 0x14004d89f
xor ecx, ecx
call fcn.140047ed8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140052014
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140040ea8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14005209e
cmp byte [rbp - 0x21], r15b
je 0x140052099
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400520d4
call fcn.140048128
test eax, eax
jne 0x1400520c0
cmp byte [rbp - 0x21], r15b
je 0x1400520b8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400520d4
cmp byte [rbp - 0x21], r15b
je 0x1400520d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14004be24
test eax, eax
jne 0x140052174
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140040ea8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140052113
cmp byte [rbp - 0x21], r15b
je 0x140052148
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140052148
call fcn.140048128
test eax, eax
jne 0x140052134
cmp byte [rbp - 0x21], r15b
je 0x14005212d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140052148
cmp byte [rbp - 0x21], r15b
je 0x140052145
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14004be24
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140052174
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140052177
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140052185
mov rcx, rdi
call fcn.140047ed8
cmp byte [rbp + 0x3f], r15b
je 0x140052194
mov rcx, qword [rbp + 0x27]
call fcn.140047ed8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140052ec4
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.140046984
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140046984
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140053014
cmp rax, 0xffffffffffffffff
je 0x140053014
xor edi, edi
test rbp, rbp
jle 0x140052fbf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140047e60
mov rbx, rax
test rax, rax
jne 0x140052f4c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140052fb5
mov edx, 0x8000
mov ecx, r14d
call fcn.140045c9c
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.14004912c
cmp eax, 0xffffffff
je 0x140052f95
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140052f5c
mov edx, r15d
mov ecx, r14d
call fcn.140045c9c
jmp 0x140052fb5
cmp byte [rsi + 0x38], dil
je 0x140052fac
cmp dword [rsi + 0x34], 5
jne 0x140052fac
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140052fb5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140047ed8
jmp 0x140053028
jns 0x140053028
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140046984
cmp rax, 0xffffffffffffffff
jne 0x140052fe0
cmp byte [rsi + 0x30], dil
je 0x140053028
mov edi, dword [rsi + 0x2c]
jmp 0x140053028
mov ecx, r14d
call fcn.14004e6ec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140053028
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 0x140053028
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140053021
mov eax, dword [rsi + 0x2c]
jmp 0x140053026
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140046984
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 0x1400542f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140054318
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140054318
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140ba20b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140ba2237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140ba20e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba20c7
add dl, dl
jne 0x140ba20ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba214e
xor eax, eax
add dl, dl
jne 0x140ba20fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba2205
add dl, dl
jne 0x140ba210e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba211b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba2128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba2135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ba2142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ba20d6
mov eax, 1
add dl, dl
jne 0x140ba215e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba216b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba2153
sub eax, ebx
mov ebx, 1
jne 0x140ba21a4
mov ecx, 1
add dl, dl
jne 0x140ba2186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ba2193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba217b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba20d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ba21c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ba21cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba21b5
cmp eax, 0x7d00
jae 0x140ba21f3
cmp eax, 0x500
jb 0x140ba21ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba20d6
cmp eax, 0x7f
ja 0x140ba21f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba20d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ba222a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140ba20d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140027cb4
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.14001babc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001babc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027e04
cmp rax, 0xffffffffffffffff
je 0x140027e04
xor edi, edi
test rbp, rbp
jle 0x140027daf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001e0e0
mov rbx, rax
test rax, rax
jne 0x140027d3c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027da5
mov edx, 0x8000
mov ecx, r14d
call fcn.140015690
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.14001c7bc
cmp eax, 0xffffffff
je 0x140027d85
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027d4c
mov edx, r15d
mov ecx, r14d
call fcn.140015690
jmp 0x140027da5
cmp byte [rsi + 0x38], dil
je 0x140027d9c
cmp dword [rsi + 0x34], 5
jne 0x140027d9c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027da5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a168
jmp 0x140027e18
jns 0x140027e18
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001babc
cmp rax, 0xffffffffffffffff
jne 0x140027dd0
cmp byte [rsi + 0x30], dil
je 0x140027e18
mov edi, dword [rsi + 0x2c]
jmp 0x140027e18
mov ecx, r14d
call fcn.140016c88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027e18
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 0x140027e18
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027e11
mov eax, dword [rsi + 0x2c]
jmp 0x140027e16
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001babc
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 0x140f5b1c8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f5b1d2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f5b1fb
pop rbp
sub rbp, 0x33
sub rbp, 0xf5b1c8
sub rsp, 0x20
jmp 0x140f5b21a
mov rax, 0xf5b1c8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6278aed0
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f5b239
jmp 0x140f5b250
cwde
pop rcx
cmp dword [rbx + 0x59], ebx
in al, dx
rcl al, 1
rcr byte [rax - 0x2e27eeaf], 1
rcl al, 1
cwde
sar dword [rcx], 1
cwde
invalid
Function at 0x231941990
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0x12
mov byte [rbp - 0x20], 0x2c
mov byte [rbp - 0x1f], 0x10
mov byte [rbp - 0x1e], 6
mov byte [rbp - 0x1d], 0x6d
mov byte [rbp - 0x1c], 0x84
mov byte [rbp - 0x1b], 0xc0
mov byte [rbp - 0x1a], 0x73
mov byte [rbp - 0x19], 0x7d
mov byte [rbp - 0x18], 0x2e
mov byte [rbp - 0x17], 0x1b
mov byte [rbp - 0x16], 0xb
mov byte [rbp - 0x15], 0x6a
mov byte [rbp - 0x14], 0x99
mov byte [rbp - 0x13], 0xd3
mov byte [rbp - 0x12], 0x74
mov byte [rbp - 0x11], 0x69
mov byte [rbp - 0x10], 0x13
mov byte [rbp - 0xf], 0x75
lea rax, [0x231f5d520]
mov rcx, rax
call sym.__emutls_get_address
movzx eax, byte [rax]
test al, al
jne 0x231941a59
lea rax, [0x231f5d540]
mov rcx, rax
call sym.__emutls_get_address
mov rcx, rax
lea rax, [rbp - 0x20]
mov rdx, rax
call method.ay::obfuscated_data_18ull__1801899356874306919ull__char_.obfuscated_data_ay::obfuscator_18ull__1801899356874306919ull__char__const_
lea rax, [0x231f5d520]
mov rcx, rax
call sym.__emutls_get_address
mov byte [rax], 1
lea rax, [0x231f5d540]
mov rcx, rax
call sym.__emutls_get_address
mov r8d, 0
mov rdx, rax
lea rax, [method.ay::obfuscated_data_18ull__1801899356874306919ull__char_.obfuscated_data__]
mov rcx, rax
call dbg.__cxa_thread_atexit
lea rax, [0x231f5d540]
mov rcx, rax
call sym.__emutls_get_address
add rsp, 0x40
pop rbp
ret