joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002430
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002448
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002450
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002460
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400024ad
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400024a4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400024af
add rax, 0x28
cmp rax, r9
jne 0x140002490
xor eax, eax
ret

Function at 0x1400024b0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002540
mov rdx, qword [0x140004390]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000252e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000252e
cmp word [rax + 0x18], 0x20b
jne 0x14000252e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002540
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002519
add rbx, 0x28
cmp rbx, rdi
je 0x140002540
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002510
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002550
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004390]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002570
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002578
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002570
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400025cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400025c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002570
add rax, 0x28
cmp rax, r9
jne 0x1400025b0
xor eax, eax
ret

Function at 0x1400025d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004390]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400025ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400025f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400025ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002610
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004390]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002630
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002638
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002630
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002680
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002677
test rcx, rcx
je 0x140002630
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002668
xor eax, eax
ret

Function at 0x140002690
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004390]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400026af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400026b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400026d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004390]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026f0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400026f0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002744
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002750
add rdx, 0x28
cmp rdx, r9
jne 0x140002730
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002760
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140004390]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002782
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002790
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002782
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002782
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002782
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400027e5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400027f8
add rdx, 0x28
cmp r10, rdx
jne 0x1400027d0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002807
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002817
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400027ee
test ecx, ecx
jg 0x140002800
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x180003340
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
lea rsi, [0x180022fe0]
mov r12, rcx
mov rbp, rcx
mov rdi, rsi
mov rbx, rsi
sub rdi, rcx
sub rdi, 0x2000
sub r12, rsi
mov rcx, rbp
call fcn.180001100
lea r11, [rbp + 0x2004]
mov ecx, 4
nop dword [rax]
mov eax, dword [r11 - 4]
add r11, 0x10
xor dword [rdi + r11 - 0x14], eax
mov eax, dword [r11 - 0x10]
xor dword [rdi + r11 - 0x10], eax
mov eax, dword [r11 - 0xc]
xor dword [rdi + r11 - 0xc], eax
mov eax, dword [r11 - 8]
xor dword [rdi + r11 - 8], eax
dec rcx
jne 0x180003390
add rdi, 0x40
add rbx, 0x40
add rsi, 0x40
lea rax, [r12 + rdi + 0x2040]
cmp rax, 0x2fe9f
jbe 0x180003378
mov rcx, rbp
call fcn.180001100
xor r11d, r11d
sub rbp, rbx
sub rsi, rbx
nop word [rax + rax]
movzx eax, byte [rbx + rbp + 0x2000]
inc r11d
inc rbx
xor al, byte [rbx - 1]
mov byte [rsi + rbx - 1], al
cmp r11d, 0x1f
jb 0x1800033f0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x1800041a0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
movzx ecx, word [rcx]
call fcn.1800093a8
test eax, eax
je 0x1800041dd
cmp word [rdi + 2], 0x3a
jne 0x1800041dd
movzx ecx, word [rdi + 4]
cmp cx, 0x5c
je 0x1800041d9
test cx, cx
jne 0x1800041dd
add rdi, 4
mov rcx, rdi
call fcn.1800094c4
mov edx, 0x5c
mov rcx, rax
mov rbp, rax
call fcn.18000917c
test rax, rax
je 0x1800041ff
xor ecx, ecx
mov word [rax], cx
lea rdx, [0x18001bf74]
mov rcx, rbp
call fcn.1800093bc
mov edx, 0x400
mov ecx, 0x40
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea rdx, [0x18001bf78]
mov rsi, rax
sub rax, rdx
nop
movzx ecx, word [rdx]
add rdx, 2
mov word [rax + rdx - 2], cx
test cx, cx
jne 0x180004230
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
xor ecx, ecx
nop
movzx eax, word [rbx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x180004250
test rbx, rbx
je 0x1800042f1
nop dword [rax + rax]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18000428c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1800042e5
lea rdx, [0x18001bf74]
xor ecx, ecx
call fcn.1800093bc
mov r11, rax
test rax, rax
je 0x1800042f1
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov ecx, dword [0x18001bf74]
mov dword [rdi - 2], ecx
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [r11 + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x1800042d0
jmp 0x180004270
mov rcx, rbp
call fcn.180008e20
xor al, al
jmp 0x180004304
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbp
call fcn.180008e20
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800065e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, r8d
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x1800065f9
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rdi
not r9d
lea rdi, [0x18001d4a0]
cmp r11d, 8
jb 0x1800066f1
mov qword [rsp + 0x10], rbx
mov rbx, r11
shr rbx, 3
nop dword [rax]
movzx ecx, byte [r10]
mov eax, r9d
shr r9d, 8
xor rcx, rax
add r10, 8
add r11d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r10 - 7]
mov edx, dword [rdi + rax*4]
xor edx, r9d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 6]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 5]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 4]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 3]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 2]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 1]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r9d, dword [rdi + rax*4]
xor r9d, edx
dec rbx
jne 0x180006620
mov rbx, qword [rsp + 0x10]
test r11d, r11d
je 0x18000671f
nop word [rax + rax]
movzx ecx, byte [r10]
mov eax, r9d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
dec r11d
jne 0x180006700
mov rdi, qword [rsp]
not r9d
mov eax, r9d
add rsp, 8
ret

Function at 0x180006f10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, r9
mov rbp, rdx
mov r10, rcx
imul esi, edx
cmp byte [r9], 0
je 0x180006f60
mov rdx, rcx
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, esi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180006f5a
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
jmp 0x180006f91
mov edx, dword [r9 + 0x24]
mov ecx, dword [r9 + 0x20]
mov qword [rsp + 0x40], rbx
lea eax, [rdx + rsi]
cmp eax, ecx
jbe 0x180006f78
sub ecx, edx
mov esi, ecx
add rdx, qword [r9 + 0x18]
mov r8d, esi
mov rcx, r10
call fcn.180010880
add dword [rdi + 0x24], esi
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x58]
xor edx, edx
div rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180006fb0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r12
sub rsp, 0x38
cmp byte [rcx], 0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x30], rdi
mov edi, 1
mov r12, rdx
mov rbx, rcx
je 0x180007000
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180006ffa
mov byte [rbx + 0x10], dil
mov esi, dword [rsp + 0x60]
jmp 0x18000703a
mov qword [rsp + 0x58], rbp
mov ebp, dword [rcx + 0x24]
mov ecx, dword [rcx + 0x20]
lea eax, [rbp + 1]
cmp eax, ecx
jbe 0x180007016
mov edi, ecx
sub edi, ebp
mov rdx, rbp
lea rcx, [rsp + 0x50]
mov r8d, edi
add rdx, qword [rbx + 0x18]
mov esi, edi
call fcn.180010880
lea r11d, [rbp + rdi]
mov rbp, qword [rsp + 0x58]
mov dword [rbx + 0x24], r11d
mov rdi, qword [rsp + 0x30]
cmp esi, 1
mov rsi, qword [rsp + 0x68]
jne 0x18000705c
movzx eax, byte [rsp + 0x50]
mov dword [r12], eax
xor eax, eax
add rsp, 0x38
pop r12
pop rbx
ret
cmp byte [rbx], 0
je 0x180007052
cmp byte [rbx + 0x10], 0
je 0x180007052
or eax, 0xffffffff
add rsp, 0x38
pop r12
pop rbx
ret
Function at 0x180007140
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x70
cmp byte [rcx], 0
mov rsi, rcx
je 0x180007173
cmp byte [rcx + 1], 0
je 0x18000716b
mov rcx, qword [rcx + 8]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x180007179
xor eax, eax
add rsp, 0x70
pop rsi
ret
mov eax, dword [rcx + 0x20]
mov dword [rcx + 0x24], eax
cmp byte [rsi], 0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x58], rdi
je 0x1800071b3
cmp byte [rsi + 1], 0
je 0x1800071af
mov rcx, qword [rsi + 8]
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [rsi + 0x14]
jmp 0x1800071b6
xor ebp, ebp
jmp 0x1800071b6
mov ebp, dword [rsi + 0x24]
mov ebx, 0xffff
mov ecx, 0x404
mov dword [rsp + 0x88], ebp
cmp ebp, ebx
cmovb ebx, ebp
mov dword [rsp + 0x98], ebx
call fcn.1800099ac
mov rdi, rax
test rax, rax
je 0x180007379
mov qword [rsp + 0x48], r13
xor r13d, r13d
mov qword [rsp + 0x38], r15
mov r15d, 4
mov dword [rsp + 0x80], r13d
cmp ebx, r15d
jbe 0x180007364
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x40], r14
nop word [rax + rax]
lea eax, [r15 + 0x400]
mov r14d, ebp
mov r12d, ebp
cmp eax, ebx
mov r15d, eax
mov eax, 0x404
cmova r15d, ebx
sub r14d, r15d
sub r12d, r14d
cmp r12d, eax
cmova r12d, eax
cmp byte [rsi], 0
je 0x180007270
cmp byte [rsi + 1], 0
je 0x18000735a
mov eax, dword [rsi + 0x14]
mov rcx, qword [rsi + 8]
xor r9d, r9d
lea edx, [r14 + rax]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x180007274
mov dword [rsi + 0x24], r14d
cmp byte [rsi], 0
mov ebp, r12d
mov r13d, r12d
je 0x1800072b1
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x90]
mov r8d, ebp
mov rdx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1800072a8
mov byte [rsi + 0x10], 1
mov eax, dword [rsp + 0x90]
jmp 0x1800072e5
mov ecx, dword [rsi + 0x24]
mov edx, dword [rsi + 0x20]
lea eax, [rcx + r12]
cmp eax, edx
jbe 0x1800072c5
mov r13d, edx
sub r13d, ecx
mov rdx, rcx
mov r8d, r13d
mov rcx, rdi
add rdx, qword [rsi + 0x18]
call fcn.180010880
add dword [rsi + 0x24], r13d
mov ebx, dword [rsp + 0x98]
mov eax, r13d
xor edx, edx
div rbp
cmp rax, 1
jne 0x180007352
lea ecx, [r12 - 3]
movsxd rax, ecx
test ecx, ecx
jle 0x180007325
nop dword [rax]
dec rax
dec ecx
cmp byte [rax + rdi], 0x50
jne 0x180007320
cmp byte [rax + rdi + 1], 0x4b
jne 0x180007320
cmp byte [rax + rdi + 2], 5
jne 0x180007320
cmp byte [rax + rdi + 3], 6
je 0x18000733f
test rax, rax
jg 0x180007300
mov r13d, dword [rsp + 0x80]
mov ebp, dword [rsp + 0x88]
cmp r15d, ebx
jb 0x180007220
jmp 0x18000735a
lea r13d, [rcx + r14]
mov dword [rsp + 0x80], r13d
test r13d, r13d
jne 0x18000735a
jmp 0x18000732d
mov r13d, dword [rsp + 0x80]
mov r12, qword [rsp + 0x50]
mov r14, qword [rsp + 0x40]
mov rcx, rdi
call fcn.180008e20
mov r15, qword [rsp + 0x38]
mov eax, r13d
mov r13, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x58]
add rsp, 0x70
pop rsi
ret
Function at 0x1800084b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
jne 0x180008537
cmp dword [rcx + 8], 0xffffffff
jne 0x180008537
mov qword [rsp + 0x38], rdi
lea rdi, [rcx + 0x13c]
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x18001bf74]
mov dword [rdi - 2], eax
xor edi, edi
lea ecx, [rdi + 0x28]
mov qword [rsp + 0x30], rdi
call fcn.1800095ac
lea rcx, [0x180022fe0]
mov qword [rax + 0x18], rcx
mov rcx, rax
mov word [rax], 0x100
mov qword [rax + 0x20], 0x2fe9f
mov dword [rax + 0x14], edi
call fcn.180007390
mov rdi, qword [rsp + 0x38]
mov qword [rbx], rax
mov eax, dword [0x180054048]
add rsp, 0x20
pop rbx
ret
mov eax, 0x1000000
add rsp, 0x20
pop rbx
ret

Function at 0x180009f3b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180021050]
jne 0x180008d7a
rol rcx, 0x10
test cx, 0xffff
jne 0x180008d76
repz ret
ror rcx, 0x10
jmp 0x180009e94
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180052fb0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1800530a8]
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 0x180009f19
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, [0x180052fb0]
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 0x180009f3b
mov rax, qword [rsp + 0x88]
mov qword [0x1800530a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180053048], rax
mov rax, qword [0x1800530a8]
mov qword [0x180052f20], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180053030], rax
mov dword [0x180052f10], 0xc0000409
mov dword [0x180052f14], 1
mov rax, qword [0x180021050]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180021058]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180052fa8], eax
mov ecx, 1
call fcn.18000ead0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180019370]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180052fa8], 0
jne 0x180009fc2
mov ecx, 1
call fcn.18000ead0
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 0x1800114a4
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 [0x180021050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18000c1f8
xor ebx, ebx
cmp qword [0x180053fa8], rbx
mov rdi, rax
jne 0x1800115b7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18001168e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001168e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180053fa8], 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 [0x180053fb0], 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 [0x180053fb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180053fc8], rax
test rax, rax
je 0x1800115ae
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 [0x180053fc0], rax
jmp 0x1800115be
mov rax, qword [0x180053fc0]
jmp 0x1800115c5
mov rax, qword [0x180053fc0]
mov r11, qword [0x180053fc8]
cmp rax, rdi
je 0x18001162c
cmp r11, rdi
je 0x18001162c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180053fc8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18001162c
test rax, rax
je 0x18001162c
call rsi
test rax, rax
je 0x180011626
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 0x180011626
test byte [rsp + 0x40], 1
jne 0x18001162c
bts ebp, 0x15
jmp 0x18001166c
mov rcx, qword [0x180053fb0]
cmp rcx, rdi
je 0x18001166c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001166c
call rax
mov rbx, rax
test rax, rax
je 0x18001166c
mov rcx, qword [0x180053fb8]
cmp rcx, rdi
je 0x18001166c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001166c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180053fa8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001168e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180011690
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180008d60
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140d5e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140d5e1df
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 0x140d5e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d5e06f
add dl, dl
jne 0x140d5e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d5e0f6
xor eax, eax
add dl, dl
jne 0x140d5e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d5e1ad
add dl, dl
jne 0x140d5e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d5e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d5e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d5e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d5e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d5e07e
mov eax, 1
add dl, dl
jne 0x140d5e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d5e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d5e0fb
sub eax, ebx
mov ebx, 1
jne 0x140d5e14c
mov ecx, 1
add dl, dl
jne 0x140d5e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d5e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d5e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d5e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d5e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d5e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d5e15d
cmp eax, 0x7d00
jae 0x140d5e19b
cmp eax, 0x500
jb 0x140d5e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d5e07e
cmp eax, 0x7f
ja 0x140d5e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d5e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d5e1d2
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 0x140d5e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x141f99629
Capabilities:
Encode data using xor

Disassembly:
xor ebp, ebp
jmp 0x141fa4f44
test r8, r8
mov qword [rsp], 0xffffffffb31f6100
lea rsp, [rsp + 0x10]
je 0x141fa4f94
mov ebx, 0x3b327e11
lea rbx, [0x141f73ff0]
movzx eax, byte [rdx]
xor eax, ebp
push 0xffffffffa8b6c122
and eax, 0xff
mov eax, dword [rbx + rax*4]
shr ebp, 8
xor ebp, eax
inc rdx
xor ebp, 0x5fa7683c
dec r8
lea rsp, [rsp + 8]
jne 0x141fa4f66
call fcn.141f7e3f2