joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400440c3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x130
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
push rbx
push rdi
push rsi
sub rsp, 8
sub rax, rax
mov ax, word [rdx + 2]
mov qword [rbp - 0x130], rax
add rdx, 0x14
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x128], rax
mov esi, dword [rdx + 0x38]
mov qword [rbp - 0x120], rdx
lea rbx, [rbp - 0x18]
mov rax, qword [rbp + 0x10]
sub rsp, 0x20
mov rcx, qword [rbp - 0x128]
mov rdx, rsi
mov r8, 4
mov r9, rbx
call qword [rax + 0x48]
add rsp, 0x20
test rax, rax
je 0x140044270
mov byte [rbp - 0x118], 0x53
mov byte [rbp - 0x117], 0x65
mov byte [rbp - 0x116], 0x74
mov byte [rbp - 0x115], 0x20
mov byte [rbp - 0x114], 0x49
mov byte [rbp - 0x113], 0x6d
mov byte [rbp - 0x112], 0x61
mov byte [rbp - 0x111], 0x67
mov byte [rbp - 0x110], 0x65
mov byte [rbp - 0x10f], 0x20
mov byte [rbp - 0x10e], 0x77
mov byte [rbp - 0x10d], 0x72
mov byte [rbp - 0x10c], 0x69
mov byte [rbp - 0x10b], 0x74
mov byte [rbp - 0x10a], 0x61
mov byte [rbp - 0x109], 0x62
mov byte [rbp - 0x108], 0x6c
mov byte [rbp - 0x107], 0x65
mov byte [rbp - 0x106], 0x3a
mov byte [rbp - 0x105], 0
mov rax, 1
mov rax, 1
test rax, rax
je 0x140044270
mov rdx, qword [rbp - 0x120]
lea rbx, [rdx + 0x70]
mov eax, dword [rdx + 0x6c]
mov rdx, 8
mul rdx
add rax, rbx
mov qword [rbp - 0x10], rax
mov rax, 0x28
mov rdx, qword [rbp - 0x130]
mul rdx
add rax, qword [rbp - 0x10]
mov rbx, qword [rbp + 0x20]
sub rax, rbx
mov qword [rbp - 8], rax
mov rdi, qword [rbp - 0x128]
mov rsi, qword [rbp + 0x20]
mov rcx, qword [rbp - 8]
rep movsb byte [rdi], byte [rsi]
mov rsi, qword [rbp - 0x130]
mov rbx, qword [rbp - 0x10]
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, rbx
mov r8, qword [rbp - 0x128]
mov r9, qword [rbp + 0x20]
call fcn.14004427c
add rsp, 0x20
test rax, rax
je 0x140044270
add rbx, 0x28
dec rsi
jne 0x14004423a
mov rax, qword [rbp - 0x128]
jmp 0x140044273
sub rax, rax
add rsp, 8
pop rsi
pop rdi
pop rbx
leave
ret
Function at 0x140044348
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x110
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
push rbx
push r12
mov ebx, dword [rdx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x140044387
mov rax, 0x40
mov qword [rbp - 0x110], rax
jmp 0x1400443f8
mov ebx, dword [rdx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x1400443a8
mov rax, 0x20
mov qword [rbp - 0x110], rax
jmp 0x1400443f8
mov ebx, dword [rdx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x1400443c9
mov rax, 4
mov qword [rbp - 0x110], rax
jmp 0x1400443f8
mov ebx, dword [rdx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x1400443ea
mov rax, 2
mov qword [rbp - 0x110], rax
jmp 0x1400443f8
mov rax, 1
mov qword [rbp - 0x110], rax
mov eax, dword [rdx + 0xc]
add rax, qword [rbp + 0x20]
mov ebx, dword [rdx + 8]
mov r10, qword [rbp + 0x10]
lea r12, [rbp - 0x108]
sub rsp, 0x20
mov rcx, rax
mov rdx, rbx
mov r8, qword [rbp - 0x110]
mov r9, r12
call qword [r10 + 0x48]
add rsp, 0x20
test rax, rax
je 0x140044449
mov rdx, qword [rbp + 0x18]
mov eax, dword [rdx + 0xc]
add rax, qword [rbp + 0x20]
mov rax, 1
mov rax, 1
jmp 0x14004444c
sub rax, rax
pop r12
pop rbx
leave
ret

Function at 0x140044451
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
mov qword [rbp + 0x10], rcx
mov ax, word [rcx]
cmp ax, 0x5a4d
jne 0x14004447a
mov eax, dword [rcx + 0x3c]
add rcx, rax
mov eax, dword [rcx]
cmp eax, 0x4550
jne 0x14004447a
add rcx, 4
mov rax, rcx
leave
ret
sub rax, rax
leave
ret
Function at 0x1400456d4
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
push r12
push r13
push rbx
sub rsp, 8
mov r12, 3
mov r13, 1
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1400458c0
add rsp, 0x20
rol eax, 8
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x18]
call fcn.1400458d8
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x20]
mov r8, r13
call fcn.1400458ab
add rsp, 0x20
inc r13
mov rbx, rax
push r12
sub r12, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1400458c0
add rsp, 0x20
pop r12
xor rax, rbx
inc r12
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x10]
mov r8, r12
call fcn.140045881
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1400458c0
add rsp, 0x20
mov rbx, rax
push r12
sub r12, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1400458c0
add rsp, 0x20
pop r12
xor rax, rbx
inc r12
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x10]
mov r8, r12
call fcn.140045881
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1400458c0
add rsp, 0x20
mov rbx, rax
push r12
sub r12, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1400458c0
add rsp, 0x20
pop r12
xor rax, rbx
inc r12
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x10]
mov r8, r12
call fcn.140045881
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1400458c0
add rsp, 0x20
mov rbx, rax
push r12
sub r12, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1400458c0
add rsp, 0x20
pop r12
xor rax, rbx
inc r12
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x10]
mov r8, r12
call fcn.140045881
add rsp, 0x20
cmp r12, 0x2b
jne 0x1400456fb
add rsp, 8
pop rbx
pop r13
pop r12
leave
ret
Function at 0x14004797e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x120
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
push rdi
push rsi
mov byte [rbp - 0x120], 0x42
mov byte [rbp - 0x11f], 0x72
mov byte [rbp - 0x11e], 0x75
mov byte [rbp - 0x11d], 0x74
mov byte [rbp - 0x11c], 0x65
mov byte [rbp - 0x11b], 0x66
mov byte [rbp - 0x11a], 0x6f
mov byte [rbp - 0x119], 0x72
mov byte [rbp - 0x118], 0x63
mov byte [rbp - 0x117], 0x69
mov byte [rbp - 0x116], 0x6e
mov byte [rbp - 0x115], 0x67
mov byte [rbp - 0x114], 0x20
mov byte [rbp - 0x113], 0x4b
mov byte [rbp - 0x112], 0x65
mov byte [rbp - 0x111], 0x79
mov byte [rbp - 0x110], 0
mov rax, 1
lea rdi, [rbp - 0x18]
mov rcx, 0x10
mov al, 0
mov byte [rdi], al
inc rdi
dec rcx
jne 0x140047a1e
mov rax, qword [rbp + 0x10]
sub rsp, 0x20
mov rcx, 0
mov rdx, 0x1e550
mov r8, 0x3000
mov r9, 4
call qword [rax + 0x40]
add rsp, 0x20
test rax, rax
je 0x140047b15
mov qword [rbp - 8], rax
mov rdi, rax
mov rsi, qword [rbp + 0x18]
mov rcx, 0x1e550
shr rcx, 3
rep movsq qword [rdi], qword [rsi]
lea rax, [rbp - 0x18]
sub rsp, 0x20
mov rcx, 0x1e550
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x18]
mov r9, rax
call fcn.140047828
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x18]
mov rdx, 0x1e550
call fcn.14004447f
add rsp, 0x20
test rax, rax
jne 0x140047ae6
mov rsi, qword [rbp - 8]
mov rdi, qword [rbp + 0x18]
mov rcx, 0x1e550
shr rcx, 3
rep movsq qword [rdi], qword [rsi]
lea rax, [rbp - 0x18]
sub rsp, 0x20
mov rcx, rax
call fcn.140047b1c
add rsp, 0x20
test rax, rax
je 0x140047b15
jmp 0x140047a75
mov rax, qword [rbp + 0x10]
sub rsp, 0x20
mov rcx, qword [rbp - 8]
mov rdx, 0
mov r8, 0x8000
call qword [rax + 0x50]
add rsp, 0x20
test rax, rax
je 0x140047b15
mov rax, 1
jmp 0x140047b18
sub rax, rax
pop rsi
pop rdi
leave
ret

Function at 0x140047b50
Capabilities:
Terminate process

Disassembly:
sub rsp, 8
sub rsp, 0x20
call fcn.140047b81
add rsp, 0x20
test rax, rax
je 0x140047b6c
add rsp, 8
jmp rax
sub rsp, 0x20
mov rcx, 0
call qword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x140611bbb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x120
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
push rsi
push rdi
push rbx
sub rsp, 8
mov eax, dword [rdx + 0x3c]
add rax, rdx
add rax, 4
add rax, 0x14
lea rax, [rax + 0x70]
add rax, 8
mov eax, dword [rax]
add rax, rdx
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x120], 0x49
mov byte [rbp - 0x11f], 0x6d
mov byte [rbp - 0x11e], 0x70
mov byte [rbp - 0x11d], 0x6f
mov byte [rbp - 0x11c], 0x72
mov byte [rbp - 0x11b], 0x74
mov byte [rbp - 0x11a], 0x20
mov byte [rbp - 0x119], 0x54
mov byte [rbp - 0x118], 0x61
mov byte [rbp - 0x117], 0x62
mov byte [rbp - 0x116], 0x6c
mov byte [rbp - 0x115], 0x65
mov byte [rbp - 0x114], 0x3a
mov byte [rbp - 0x113], 0
mov rax, 1
mov rax, 1
test rax, rax
je 0x140611cc1
lea r8, [rbp - 0x18]
mov rcx, 0x14
mov al, 0
mov byte [r8], al
inc r8
dec rcx
jne 0x140611c76
mov rbx, qword [rbp - 0x20]
lea rsi, [rbp - 0x18]
mov rdi, rbx
mov rcx, 0x14
repe cmpsb byte [rsi], byte [rdi]
je 0x140611cba
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov r8, rbx
call fcn.140611ccd
add rsp, 0x20
test rax, rax
je 0x140611cc1
add rbx, 0x14
jmp 0x140611c85
mov eax, 1
jmp 0x140611cc4
sub rax, rax
add rsp, 8
pop rbx
pop rdi
pop rsi
leave
ret
Function at 0x1406120c3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x130
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
push rbx
push rdi
push rsi
sub rsp, 8
sub rax, rax
mov ax, word [rdx + 2]
mov qword [rbp - 0x130], rax
add rdx, 0x14
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x128], rax
mov esi, dword [rdx + 0x38]
mov qword [rbp - 0x120], rdx
lea rbx, [rbp - 0x18]
mov rax, qword [rbp + 0x10]
sub rsp, 0x20
mov rcx, qword [rbp - 0x128]
mov rdx, rsi
mov r8, 4
mov r9, rbx
call qword [rax + 0x48]
add rsp, 0x20
test rax, rax
je 0x140612270
mov byte [rbp - 0x118], 0x53
mov byte [rbp - 0x117], 0x65
mov byte [rbp - 0x116], 0x74
mov byte [rbp - 0x115], 0x20
mov byte [rbp - 0x114], 0x49
mov byte [rbp - 0x113], 0x6d
mov byte [rbp - 0x112], 0x61
mov byte [rbp - 0x111], 0x67
mov byte [rbp - 0x110], 0x65
mov byte [rbp - 0x10f], 0x20
mov byte [rbp - 0x10e], 0x77
mov byte [rbp - 0x10d], 0x72
mov byte [rbp - 0x10c], 0x69
mov byte [rbp - 0x10b], 0x74
mov byte [rbp - 0x10a], 0x61
mov byte [rbp - 0x109], 0x62
mov byte [rbp - 0x108], 0x6c
mov byte [rbp - 0x107], 0x65
mov byte [rbp - 0x106], 0x3a
mov byte [rbp - 0x105], 0
mov rax, 1
mov rax, 1
test rax, rax
je 0x140612270
mov rdx, qword [rbp - 0x120]
lea rbx, [rdx + 0x70]
mov eax, dword [rdx + 0x6c]
mov rdx, 8
mul rdx
add rax, rbx
mov qword [rbp - 0x10], rax
mov rax, 0x28
mov rdx, qword [rbp - 0x130]
mul rdx
add rax, qword [rbp - 0x10]
mov rbx, qword [rbp + 0x20]
sub rax, rbx
mov qword [rbp - 8], rax
mov rdi, qword [rbp - 0x128]
mov rsi, qword [rbp + 0x20]
mov rcx, qword [rbp - 8]
rep movsb byte [rdi], byte [rsi]
mov rsi, qword [rbp - 0x130]
mov rbx, qword [rbp - 0x10]
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, rbx
mov r8, qword [rbp - 0x128]
mov r9, qword [rbp + 0x20]
call fcn.14061227c
add rsp, 0x20
test rax, rax
je 0x140612270
add rbx, 0x28
dec rsi
jne 0x14061223a
mov rax, qword [rbp - 0x128]
jmp 0x140612273
sub rax, rax
add rsp, 8
pop rsi
pop rdi
pop rbx
leave
ret
Function at 0x140612348
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x110
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
push rbx
push r12
mov ebx, dword [rdx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x140612387
mov rax, 0x40
mov qword [rbp - 0x110], rax
jmp 0x1406123f8
mov ebx, dword [rdx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x1406123a8
mov rax, 0x20
mov qword [rbp - 0x110], rax
jmp 0x1406123f8
mov ebx, dword [rdx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x1406123c9
mov rax, 4
mov qword [rbp - 0x110], rax
jmp 0x1406123f8
mov ebx, dword [rdx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x1406123ea
mov rax, 2
mov qword [rbp - 0x110], rax
jmp 0x1406123f8
mov rax, 1
mov qword [rbp - 0x110], rax
mov eax, dword [rdx + 0xc]
add rax, qword [rbp + 0x20]
mov ebx, dword [rdx + 8]
mov r10, qword [rbp + 0x10]
lea r12, [rbp - 0x108]
sub rsp, 0x20
mov rcx, rax
mov rdx, rbx
mov r8, qword [rbp - 0x110]
mov r9, r12
call qword [r10 + 0x48]
add rsp, 0x20
test rax, rax
je 0x140612449
mov rdx, qword [rbp + 0x18]
mov eax, dword [rdx + 0xc]
add rax, qword [rbp + 0x20]
mov rax, 1
mov rax, 1
jmp 0x14061244c
sub rax, rax
pop r12
pop rbx
leave
ret

Function at 0x140612451
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
mov qword [rbp + 0x10], rcx
mov ax, word [rcx]
cmp ax, 0x5a4d
jne 0x14061247a
mov eax, dword [rcx + 0x3c]
add rcx, rax
mov eax, dword [rcx]
cmp eax, 0x4550
jne 0x14061247a
add rcx, 4
mov rax, rcx
leave
ret
sub rax, rax
leave
ret
Function at 0x1406136d4
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
push r12
push r13
push rbx
sub rsp, 8
mov r12, 3
mov r13, 1
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1406138c0
add rsp, 0x20
rol eax, 8
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x18]
call fcn.1406138d8
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x20]
mov r8, r13
call fcn.1406138ab
add rsp, 0x20
inc r13
mov rbx, rax
push r12
sub r12, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1406138c0
add rsp, 0x20
pop r12
xor rax, rbx
inc r12
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x10]
mov r8, r12
call fcn.140613881
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1406138c0
add rsp, 0x20
mov rbx, rax
push r12
sub r12, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1406138c0
add rsp, 0x20
pop r12
xor rax, rbx
inc r12
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x10]
mov r8, r12
call fcn.140613881
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1406138c0
add rsp, 0x20
mov rbx, rax
push r12
sub r12, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1406138c0
add rsp, 0x20
pop r12
xor rax, rbx
inc r12
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x10]
mov r8, r12
call fcn.140613881
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1406138c0
add rsp, 0x20
mov rbx, rax
push r12
sub r12, 3
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, r12
call fcn.1406138c0
add rsp, 0x20
pop r12
xor rax, rbx
inc r12
sub rsp, 0x20
mov rcx, rax
mov rdx, qword [rbp + 0x10]
mov r8, r12
call fcn.140613881
add rsp, 0x20
cmp r12, 0x2b
jne 0x1406136fb
add rsp, 8
pop rbx
pop r13
pop r12
leave
ret
Function at 0x14061597e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x120
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
push rdi
push rsi
mov byte [rbp - 0x120], 0x42
mov byte [rbp - 0x11f], 0x72
mov byte [rbp - 0x11e], 0x75
mov byte [rbp - 0x11d], 0x74
mov byte [rbp - 0x11c], 0x65
mov byte [rbp - 0x11b], 0x66
mov byte [rbp - 0x11a], 0x6f
mov byte [rbp - 0x119], 0x72
mov byte [rbp - 0x118], 0x63
mov byte [rbp - 0x117], 0x69
mov byte [rbp - 0x116], 0x6e
mov byte [rbp - 0x115], 0x67
mov byte [rbp - 0x114], 0x20
mov byte [rbp - 0x113], 0x4b
mov byte [rbp - 0x112], 0x65
mov byte [rbp - 0x111], 0x79
mov byte [rbp - 0x110], 0
mov rax, 1
lea rdi, [rbp - 0x18]
mov rcx, 0x10
mov al, 0
mov byte [rdi], al
inc rdi
dec rcx
jne 0x140615a1e
mov rax, qword [rbp + 0x10]
sub rsp, 0x20
mov rcx, 0
mov rdx, 0x5b6940
mov r8, 0x3000
mov r9, 4
call qword [rax + 0x40]
add rsp, 0x20
test rax, rax
je 0x140615b15
mov qword [rbp - 8], rax
mov rdi, rax
mov rsi, qword [rbp + 0x18]
mov rcx, 0x5b6940
shr rcx, 3
rep movsq qword [rdi], qword [rsi]
lea rax, [rbp - 0x18]
sub rsp, 0x20
mov rcx, 0x5b6940
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x18]
mov r9, rax
call fcn.140615828
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x18]
mov rdx, 0x5b6940
call fcn.14061247f
add rsp, 0x20
test rax, rax
jne 0x140615ae6
mov rsi, qword [rbp - 8]
mov rdi, qword [rbp + 0x18]
mov rcx, 0x5b6940
shr rcx, 3
rep movsq qword [rdi], qword [rsi]
lea rax, [rbp - 0x18]
sub rsp, 0x20
mov rcx, rax
call fcn.140615b1c
add rsp, 0x20
test rax, rax
je 0x140615b15
jmp 0x140615a75
mov rax, qword [rbp + 0x10]
sub rsp, 0x20
mov rcx, qword [rbp - 8]
mov rdx, 0
mov r8, 0x8000
call qword [rax + 0x50]
add rsp, 0x20
test rax, rax
je 0x140615b15
mov rax, 1
jmp 0x140615b18
sub rax, rax
pop rsi
pop rdi
leave
ret

Function at 0x140615b50
Capabilities:
Terminate process

Disassembly:
sub rsp, 8
sub rsp, 0x20
call fcn.140615b81
add rsp, 0x20
test rax, rax
je 0x140615b6c
add rsp, 8
jmp rax
sub rsp, 0x20
mov rcx, 0
call qword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x18001f790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x50
xor edx, edx
mov r12, rcx
call fcn.18003f890
mov edx, 0xfa
mov ecx, 0x20
call fcn.180065b30
lea rcx, [r12 + 0x18]
xor r8d, r8d
mov edx, eax
call fcn.18003ffb0
lea rcx, [r12 + 0x18]
call fcn.18003f400
lea rdx, [rsp + 0x70]
mov r8d, 1
mov rcx, r12
mov esi, eax
mov byte [rsp + 0x70], al
call fcn.18003f9f0
lea rcx, [rsp + 0x38]
mov edx, esi
call fcn.18003f890
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov edx, esi
call fcn.18003ffb0
xor edi, edi
test esi, esi
jle 0x18001f844
nop
lea rcx, [r12 + 0x18]
mov edx, edi
call fcn.18003f3f0
lea rcx, [rsp + 0x20]
mov edx, edi
mov rbx, rax
call fcn.18003f3f0
movzx ebx, byte [rbx]
xor bl, byte [rax]
lea rcx, [rsp + 0x38]
mov edx, edi
call fcn.18003f3f0
inc edi
mov byte [rax], bl
cmp edi, esi
jl 0x18001f810
lea rcx, [rsp + 0x38]
call fcn.18003f400
lea rcx, [rsp + 0x38]
xor edx, edx
mov ebx, eax
call fcn.18003f3f0
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call fcn.18003f9f0
lea rcx, [rsp + 0x20]
call fcn.18003f400
lea rcx, [rsp + 0x20]
xor edx, edx
mov ebx, eax
call fcn.18003f3f0
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call fcn.18003f9f0
lea rcx, [rsp + 0x20]
call fcn.18003f3e0
lea rcx, [rsp + 0x38]
call fcn.18003f3e0
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov rax, r12
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret
Function at 0x18003781c
Capabilities:
Decompress data using aplib

Disassembly:
push rbx
push rsi
push rdi
push rdx
mov rsi, rcx
mov rdi, rdx
cld
mov dl, 0x80
xor ebx, ebx
movsb byte [rdi], byte [rsi]
mov bl, 2
call fcn.1800378a8
jae 0x18003782b
xor ecx, ecx
call fcn.1800378a8
jae 0x18003785b
xor eax, eax
call fcn.1800378a8
jae 0x18003786b
mov bl, 2
inc ecx
mov al, 0x10
call fcn.1800378a8
adc al, al
jae 0x18003784d
jne 0x18003789c
stosb byte [rdi], al
jmp 0x18003782e
call fcn.1800378b6
sub ecx, ebx
jne 0x180037874
call fcn.1800378b4
jmp 0x180037897
lodsb al, byte [rsi]
shr eax, 1
je 0x1800378c7
adc ecx, ecx
jmp 0x180037891
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [rsi]
call fcn.1800378b4
cmp eax, 0x7d00
jae 0x180037891
cmp ah, 5
jae 0x180037893
cmp eax, 0x7f
ja 0x180037895
inc ecx
inc ecx
xchg r8d, eax
mov eax, r8d
mov bl, 1
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18003782e
pop rdx
sub rdi, rdx
xchg edi, eax
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800378d0
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov r14d, ecx
mov r12, rdx
lea rcx, [rbp - 0x41]
mov edx, 0x40
mov r13d, r9d
call fcn.18003f890
mov edx, 0x91081e7a
mov ecx, 0x701ac3f9
call fcn.180048dc0
mov rbx, rax
test rax, rax
je 0x180037944
lea rcx, [rbp - 0x41]
xor edx, edx
call fcn.18003f3f0
mov edx, r14d
mov r9d, 0x40
mov r8, rax
lea rax, [rbp - 0x49]
mov rcx, r12
mov qword [rsp + 0x20], rax
call rbx
lea rcx, [rbp - 0x41]
xor edx, edx
call fcn.18003f3f0
lea rcx, [rbp - 0x29]
mov edx, 0xf8
mov edi, dword [rax + 0x3c]
call fcn.18003f890
mov edx, 0x91081e7a
mov ecx, 0x701ac3f9
call fcn.180048dc0
mov rbx, rax
test rax, rax
je 0x18003799d
lea rcx, [rbp - 0x29]
xor edx, edx
call fcn.18003f3f0
lea edx, [rdi + r14]
mov r9d, 0xf8
mov r8, rax
lea rax, [rbp - 0x49]
mov rcx, r12
mov qword [rsp + 0x20], rax
call rbx
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x41]
mov qword [rsp + 0xe0], rsi
call fcn.18003f970
lea rcx, [rbp - 0x29]
call fcn.18003f3e0
lea rcx, [rbp - 0x41]
xor edx, edx
call fcn.18003f3f0
xor ebx, ebx
movzx ecx, word [rax + 0x14]
movzx r15d, word [rax + 6]
lea edx, [rdi + rcx + 0x18]
test r15d, r15d
jle 0x180037ae9
lea esi, [rdx + r14]
lea rcx, [rbp - 0x29]
mov edx, 0x28
call fcn.18003f890
mov edx, 0x91081e7a
mov ecx, 0x701ac3f9
call fcn.180048dc0
mov rdi, rax
test rax, rax
je 0x180037a2b
lea rcx, [rbp - 0x29]
xor edx, edx
call fcn.18003f3f0
mov edx, esi
mov r9d, 0x28
mov r8, rax
lea rax, [rbp - 0x49]
mov rcx, r12
mov qword [rsp + 0x20], rax
call rdi
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x41]
call fcn.18003f970
lea rcx, [rbp - 0x29]
call fcn.18003f3e0
lea rcx, [rbp - 0x41]
xor edx, edx
call fcn.18003f3f0
mov r12, rax
mov eax, dword [rbp + 0x77]
test dword [r12 + 0x24], eax
je 0x180037a9d
mov edi, dword [r12 + 0xc]
mov edx, 0x13dcdfe4
mov ecx, 0x701ac3f9
add edi, dword [r12 + 8]
add edi, r14d
call fcn.180048dc0
test rax, rax
je 0x180037ab0
mov rcx, qword [rbp + 0x6f]
mov edx, edi
lea r9, [rbp - 0x11]
xor edi, edi
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0x30
call rax
test eax, eax
jns 0x180037ab2
inc ebx
add esi, 0x28
cmp ebx, r15d
jge 0x180037ae9
mov r12, qword [rbp + 0x6f]
jmp 0x1800379e2
xor edi, edi
mov ebx, dword [r12 + 8]
mov eax, dword [rbp + 7]
mov ecx, dword [r12 + 0xc]
sub eax, ebx
sub eax, ecx
sub eax, r14d
add eax, dword [rbp - 0x11]
cmp eax, r13d
jge 0x180037ad5
sub r13d, eax
lea edi, [r13 + 4]
sub ebx, edi
add ebx, ecx
lea rcx, [rbp - 0x41]
add ebx, r14d
call fcn.18003f3e0
mov eax, ebx
jmp 0x180037af4
lea rcx, [rbp - 0x41]
call fcn.18003f3e0
xor eax, eax
mov rsi, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
Function at 0x180037b10
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rdi
push r13
push r14
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
mov r14, rdx
lea rcx, [rbp - 0x30]
mov edx, 0x40
mov r13, r8
call fcn.18003f890
mov edx, 0x91081e7a
mov ecx, 0x701ac3f9
call fcn.180048dc0
mov rbx, rax
test rax, rax
je 0x180037b72
lea rcx, [rbp - 0x30]
xor edx, edx
call fcn.18003f3f0
mov r9d, 0x40
mov rdx, r13
mov r8, rax
lea rax, [rbp + 0x48]
mov rcx, r14
mov qword [rsp + 0x20], rax
call rbx
lea rcx, [rbp - 0x30]
xor edx, edx
call fcn.18003f3f0
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x180037ba9
xor edx, edx
mov rcx, rdi
call fcn.18003f890
lea rcx, [rbp - 0x30]
call fcn.18003f3e0
mov rax, rdi
add rsp, 0x60
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret
movsxd rbx, dword [rax + 0x3c]
lea rcx, [rbp - 0x18]
mov edx, 0xf8
add rbx, r13
mov qword [rsp + 0x90], rsi
call fcn.18003f890
mov edx, 0x91081e7a
mov ecx, 0x701ac3f9
call fcn.180048dc0
mov rsi, rax
test rax, rax
je 0x180037c02
lea rcx, [rbp - 0x18]
xor edx, edx
call fcn.18003f3f0
mov r9d, 0xf8
mov rdx, rbx
mov r8, rax
lea rax, [rbp + 0x48]
mov rcx, r14
mov qword [rsp + 0x20], rax
call rsi
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x30]
call fcn.18003f970
lea rcx, [rbp - 0x18]
call fcn.18003f3e0
lea rcx, [rbp - 0x30]
xor edx, edx
call fcn.18003f3f0
cmp dword [rax], 0x4550
jne 0x180037cfb
mov esi, dword [rax + 0x78]
movsxd rbx, dword [rax + 0x7c]
test esi, esi
je 0x180037cfb
test ebx, ebx
je 0x180037cfb
lea rcx, [rbp - 0x18]
mov edx, ebx
mov qword [rsp + 0x98], r12
call fcn.18003f890
mov edx, 0x91081e7a
mov ecx, 0x701ac3f9
call fcn.180048dc0
mov r12, rax
test rax, rax
je 0x180037c95
lea rcx, [rbp - 0x18]
xor edx, edx
call fcn.18003f3f0
lea rdx, [r13 + rsi]
mov r9, rbx
mov r8, rax
lea rax, [rbp + 0x48]
mov rcx, r14
mov qword [rsp + 0x20], rax
call r12
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x30]
call fcn.18003f970
lea rcx, [rbp - 0x18]
call fcn.18003f3e0
lea rcx, [rbp - 0x30]
xor edx, edx
call fcn.18003f3f0
lea rcx, [rbp - 0x30]
sub dword [rax + 0x20], esi
mov edx, dword [rax + 0x20]
sub dword [rax + 0x1c], esi
sub dword [rax + 0x24], esi
mov rbx, rax
call fcn.18003f3f0
mov r12, qword [rsp + 0x98]
xor ecx, ecx
cmp dword [rbx + 0x18], ecx
jbe 0x180037ced
nop dword [rax]
sub dword [rax], esi
inc ecx
add rax, 4
cmp ecx, dword [rbx + 0x18]
jb 0x180037ce0
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.18003f8c0
jmp 0x180037d05
xor edx, edx
mov rcx, rdi
call fcn.18003f890
lea rcx, [rbp - 0x30]
call fcn.18003f3e0
mov rsi, qword [rsp + 0x90]
mov rax, rdi
add rsp, 0x60
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret