joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463b00
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x439797
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x38], r14
mov dword [0x005c8a58], 0x2710
lea rax, [0x005b09e0]
jmp 0x439526
mov qword [rsp + 0x30], rax
call fcn.0044f440
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 0x220]
test rax, rax
jne 0x439510
xor eax, eax
jmp 0x439553
mov rcx, rax
shl rax, 6
lea rdx, [0x0061c560]
mov qword [rdx + rax + 8], 0
mov qword [rdx + rax + 0x10], 0
lea rax, [rcx + 1]
cmp rax, 2
jl 0x43952f
xor eax, eax
jmp 0x439580
mov rcx, rax
shl rax, 4
lea rdx, [0x0061ce28]
mov qword [rdx + rax], 0
mov qword [rdx + rax + 8], 0
lea rax, [rcx + 1]
cmp rax, 0x23
jl 0x43955d
call fcn.0040b7a0
call fcn.00439480
call fcn.00403ca0
nop
lea rax, [0x0061bfd8]
mov ebx, 8
mov rcx, rbx
call fcn.004315c0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x30]
mov rbx, 0xffffffffffffffff
mov rax, rcx
nop dword [rax]
call fcn.004398c0
call fcn.0044f1c0
call fcn.0045a700
call fcn.0040a2e0
call fcn.0044ce80
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
test byte [rax], al
call fcn.00431660
call fcn.00445ac0
call fcn.00417ee0
nop
nop
lea rax, [0x005c8a38]
nop dword [rax]
call fcn.0040ae00
call fcn.00463620
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp]
mov qword [0x005c8a28], rax
mov eax, dword [0x0061bf18]
mov dword [rsp + 0x1c], eax
mov ebx, 0xa
lea rax, [0x004f65d0]
nop
call fcn.00407ae0
call fcn.0044e1e0
movsxd rcx, eax
cmp rax, rcx
mov ecx, 0
cmove ecx, eax
sete al
and eax, ebx
nop dword [rax]
test al, al
je 0x439668
test ecx, ecx
jg 0x43966c
mov ecx, dword [rsp + 0x1c]
mov eax, ecx
call fcn.00441e80
test rax, rax
jne 0x439785
nop
nop
lea rax, [0x005c8a38]
call fcn.0040b020
cmp dword [0x0061c3a0], 1
jle 0x4396c5
mov byte [0x0061c175], 1
mov byte [0x0061c170], 1
mov rcx, qword [0x005c7ea0]
mov qword [rsp + 0x40], rcx
mov rdx, qword [0x005c7ea8]
mov qword [rsp + 0x28], rdx
xor eax, eax
nop dword [rax + rax]
jmp 0x439777
cmp qword [0x005bed68], 0
jne 0x439706
mov qword [0x005bed68], 7
cmp dword [0x0061c170], 0
jne 0x4396f3
lea rax, [0x004f5de0]
mov qword [0x005bed60], rax
jmp 0x439706
lea rdi, [0x005bed60]
lea rax, [0x004f5de0]
call fcn.00461840
cmp qword [0x005beda8], 1
jne 0x43973f
mov qword [0x005beda8], 0
cmp dword [0x0061c170], 0
jne 0x439731
mov qword [0x005beda0], 0
jmp 0x43973f
lea rdi, [0x005beda0]
xor eax, eax
call fcn.00461840
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov qword [rsp + 0x20], rax
mov rdx, qword [rcx + rax*8]
test byte [rdx], al
add rdx, 0x1268
mov rax, rdx
nop
call fcn.0042ee80
mov rax, qword [rsp + 0x20]
inc rax
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
cmp rax, rdx
jl 0x439749
nop dword [rax]
jmp 0x4396c5
lea rax, [0x004ffbd7]
mov ebx, 0x2b
call fcn.00435d80
nop
call fcn.0045f600
nop dword [rax]
jmp 0x4394e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
jmp 0x4394e0
Function at 0x463d60
Capabilities:
Run powershell expression

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
lea rax, [0x005009f9]
mov ebx, 0x32
call fcn.00435d80
nop
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
jmp 0x45d5a0

Function at 0x140f7b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140f7b1df
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 0x140f7b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f7b06f
add dl, dl
jne 0x140f7b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f7b0f6
xor eax, eax
add dl, dl
jne 0x140f7b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f7b1ad
add dl, dl
jne 0x140f7b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f7b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f7b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f7b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f7b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f7b07e
mov eax, 1
add dl, dl
jne 0x140f7b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f7b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f7b0fb
sub eax, ebx
mov ebx, 1
jne 0x140f7b14c
mov ecx, 1
add dl, dl
jne 0x140f7b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f7b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f7b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f7b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f7b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f7b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f7b15d
cmp eax, 0x7d00
jae 0x140f7b19b
cmp eax, 0x500
jb 0x140f7b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f7b07e
cmp eax, 0x7f
ja 0x140f7b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f7b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f7b1d2
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 0x140f7b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18001b288
Capabilities:
Encode data using xor

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
lea rsi, [0x180047840]
mov ebp, 0x800
lea r8, str.._._._.._._._1
mov rcx, rsi
mov r9d, 0x1800
mov edx, ebp
call fcn.18001b3b8
xor r14d, r14d
mov eax, r14d
xor byte [rax + rsi], 0x8a
inc rax
cmp rax, rbp
jl 0x18001b2ca
lea rcx, [rsp + 0x20]
mov r8d, ebp
mov rdx, rsi
call fcn.180016104
jmp 0x18001b37a
lea rcx, [rsp + 0x20]
call fcn.18001624c
lea rcx, [rsp + 0x20]
movsx ebx, ax
call fcn.18001624c
mov rcx, qword [0x180051d08]
movsx rdi, di
mov edx, ebx
shl rdi, 4
mov word [rdi + rcx], bx
dec edx
je 0x18001b364
dec edx
je 0x18001b34d
dec edx
jne 0x18001b37a
lea rcx, [rsp + 0x20]
movsx edx, ax
movsx rbx, ax
call fcn.1800161e8
mov rcx, qword [0x180051d08]
mov r8, rbx
mov rcx, qword [rdi + rcx + 8]
mov rdx, rax
call fcn.18001f920
jmp 0x18001b37a
lea rcx, [rsp + 0x20]
call fcn.180016114
mov rcx, qword [0x180051d08]
mov dword [rdi + rcx + 8], eax
jmp 0x18001b37a
lea rcx, [rsp + 0x20]
call fcn.18001624c
mov rdx, qword [0x180051d08]
mov word [rdi + rdx + 8], ax
lea rcx, [rsp + 0x20]
call fcn.18001624c
movzx edi, ax
test ax, ax
jg 0x18001b2eb
mov r8, rbp
xor edx, edx
mov rcx, 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
jmp fcn.18001f530

Function at 0x18001b3b8
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x18001b3fe
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov ebx, edx
mov r11, rcx
xor r10d, r10d
movsxd rdi, r9d
mov eax, r10d
mov rcx, rdi
inc r10d
cdq
idiv r9d
movsxd rax, edx
sub rcx, rax
mov al, byte [rcx + r8 - 1]
xor byte [r11], al
inc r11
cmp r10d, ebx
jl 0x18001b3d1
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x18001b400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov ebx, edx
mov r11, rcx
test edx, edx
jle 0x18001b42d
mov eax, r10d
inc r10d
cdq
idiv r9d
movsxd rax, edx
mov cl, byte [rax + r8]
xor byte [r11], cl
inc r11
cmp r10d, ebx
jl 0x18001b411
mov rbx, qword [rsp + 8]
ret
Function at 0x140033310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, qword [0x14006dd78]
mov eax, 0xffffffff
test edx, edx
je 0x1400333d4
mov r9d, edx
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
mov ecx, eax
and cl, 1
neg cl
sbb edx, edx
shr eax, 1
and edx, 0xedb88320
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
sub r9, 1
jne 0x140033330
not eax
ret
Function at 0x1400393d4
Capabilities:
Parse pe header

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

Function at 0x14003cdd8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14003cc43
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003cc43
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003cc43
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003cc43
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003cc43
cmp dword [rcx + 0x84], 0xe
jbe 0x14003cc43
cmp dword [rcx + 0xf8], 0
je 0x14003cc43
mov ecx, ebx
call fcn.14003ccf4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14003cad0
nop
cmp dword [rbp + 0x20], 0
je 0x14003cc91
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003cc9c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003cbd4
Function at 0x14004e694
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 0x14004e6c4
xor eax, eax
jmp 0x14004e787
mov rbp, rbx
cmp word [rax], si
je 0x14004e6e9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14004e6d0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14004e6cc
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.14004e5b4
movsxd r14, eax
test eax, eax
jne 0x14004e727
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14004e6bd
mov rcx, r14
call fcn.14004b8e0
mov rdi, rax
test rax, rax
jne 0x14004e740
xor ecx, ecx
call fcn.140049b34
jmp 0x14004e71c
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.14004e5b4
test eax, eax
jne 0x14004e771
mov rcx, rdi
call fcn.140049b34
jmp 0x14004e77b
xor ecx, ecx
call fcn.140049b34
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 0x14004e7a4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14004e82b
mov rsi, rbx
cmp word [rax], bp
je 0x14004e7ea
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14004e7d4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14004e7d0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14004b8e0
mov rdi, rax
test rax, rax
je 0x14004e818
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003ab60
mov rbp, rdi
xor ecx, ecx
call fcn.140049b34
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400527e8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400527fe
mov al, 1
jmp 0x14005285e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005280f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005285c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14004f390
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005285c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005285c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005285c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005285e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140053e04
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.14003fa28
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140053e8e
cmp byte [rbp - 0x21], r15b
je 0x140053e89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140053ec4
call fcn.140049d84
test eax, eax
jne 0x140053eb0
cmp byte [rbp - 0x21], r15b
je 0x140053ea8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140053ec4
cmp byte [rbp - 0x21], r15b
je 0x140053ec1
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.14004d384
test eax, eax
jne 0x140053f64
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14003fa28
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140053f03
cmp byte [rbp - 0x21], r15b
je 0x140053f38
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140053f38
call fcn.140049d84
test eax, eax
jne 0x140053f24
cmp byte [rbp - 0x21], r15b
je 0x140053f1d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140053f38
cmp byte [rbp - 0x21], r15b
je 0x140053f35
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.14004d384
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140053f64
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140053f67
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140053f75
mov rcx, rdi
call fcn.140049b34
cmp byte [rbp + 0x3f], r15b
je 0x140053f84
mov rcx, qword [rbp + 0x27]
call fcn.140049b34
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 0x140055380
Capabilities:
Parse pe header

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

Disassembly:
call fcn.141bde1df
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 0x141bde089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141bde06f
add dl, dl
jne 0x141bde096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141bde0f6
xor eax, eax
add dl, dl
jne 0x141bde0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141bde1ad
add dl, dl
jne 0x141bde0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141bde0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141bde0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141bde0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141bde0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141bde07e
mov eax, 1
add dl, dl
jne 0x141bde106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141bde113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141bde0fb
sub eax, ebx
mov ebx, 1
jne 0x141bde14c
mov ecx, 1
add dl, dl
jne 0x141bde12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141bde13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141bde123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141bde07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141bde168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141bde175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141bde15d
cmp eax, 0x7d00
jae 0x141bde19b
cmp eax, 0x500
jb 0x141bde196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141bde07e
cmp eax, 0x7f
ja 0x141bde19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141bde07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141bde1d2
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 0x141bde07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400111ea
Capabilities:
Terminate process

Disassembly:
jmp 0x140015080
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001126c
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012d90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012db0
xor al, al
jmp 0x140012e31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012dc3
xor al, al
jmp 0x140012e31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012ded
xor al, al
jmp 0x140012e31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012e01
xor al, al
jmp 0x140012e31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012e13
xor al, al
jmp 0x140012e31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012e2f
xor al, al
jmp 0x140012e31
mov al, 1
add rsp, 0x38
ret
Function at 0x14002b58c
Capabilities:
Extract resource via kernel32 functions

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, 0x20
mov rdi, qword [rcx + 0x100]
xor r14d, r14d
mov rsi, rcx
mov rbp, qword [rcx + 0xf8]
cmp qword [rcx + 0xf0], r14
je 0x14002b5ee
call fcn.1400152e8
mov rdx, qword [rsi + 0xf0]
lea r8d, [r14 + 5]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rbp, rbp
je 0x14002b5ff
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov ebx, 1
test rdi, rdi
je 0x14002b643
mov eax, dword [rdi]
mov edx, 0xffff
mov ecx, eax
shr ecx, 0x10
cmp cx, dx
jne 0x14002b627
mov eax, dword [rdi + 0xc]
movzx edx, word [rdi + 0x12]
movzx ecx, word [rdi + 0x14]
jmp 0x14002b62f
movzx edx, word [rdi + 0xa]
movzx ecx, word [rdi + 0xc]
test eax, 0x1801
jne 0x14002b640
test dx, dx
jne 0x14002b640
test cx, cx
je 0x14002b643
mov ebx, r14d
cmp qword [rsi + 0xf0], r14
je 0x14002b655
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14002b674
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x14002b6bb
cmp dword [rcx + 0xe8], 0
jne 0x14002b6bb
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.1400152e8
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14002ba40
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14002b67c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x14002b6bb
cmp dword [rcx + 0xe8], 0
jne 0x14002b6bb
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.1400152e8
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14002ba40
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret