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

Disassembly:
add ecx, 0xfffffe00
cmp ecx, 0x66
ja case.default.0x1800147a3
movsxd rax, ecx
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x14a14]
add rcx, rdx
jmp rcx
mov eax, 9
ret
mov eax, 0x25
ret
mov eax, 0x27
ret
mov eax, 0x26
ret
mov eax, 0x28
ret
mov eax, 0x21
ret
mov eax, 0x22
ret
mov eax, 0x24
ret
mov eax, 0x23
ret
mov eax, 0x2d
ret
mov eax, 0x2e
ret
mov eax, 8
ret
mov eax, 0x20
ret
mov eax, 0xd
ret
mov eax, 0x1b
ret
mov eax, 0xde
ret
mov eax, 0xbc
ret
mov eax, 0xbd
ret
mov eax, 0xbe
ret
mov eax, 0xbf
ret
mov eax, 0xba
ret
mov eax, 0xbb
ret
mov eax, 0xdb
ret
mov eax, 0xdc
ret
mov eax, 0xdd
ret
mov eax, 0xc0
ret
mov eax, 0x14
ret
mov eax, 0x91
ret
mov eax, 0x90
ret
mov eax, 0x2c
ret
mov eax, 0x13
ret
mov eax, 0x60
ret
mov eax, 0x61
ret
mov eax, 0x62
ret
mov eax, 0x63
ret
mov eax, 0x64
ret
mov eax, 0x65
ret
mov eax, 0x66
ret
mov eax, 0x67
ret
mov eax, 0x68
ret
mov eax, 0x69
ret
mov eax, 0x6e
ret
mov eax, 0x6f
ret
mov eax, 0x6a
ret
mov eax, 0x6d
ret
mov eax, 0x6b
ret
mov eax, 0xa0
ret
mov eax, 0xa2
ret
mov eax, 0xa4
ret
mov eax, 0x5b
ret
mov eax, 0xa1
ret
mov eax, 0xa3
ret
mov eax, 0xa5
ret
mov eax, 0x5c
ret
mov eax, 0x5d
ret
mov eax, 0x30
ret
mov eax, 0x31
ret
mov eax, 0x32
ret
mov eax, 0x33
ret
mov eax, 0x34
ret
mov eax, 0x35
ret
mov eax, 0x36
ret
mov eax, 0x37
ret
mov eax, 0x38
ret
mov eax, 0x39
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x45
ret
mov eax, 0x46
ret
mov eax, 0x47
ret
mov eax, 0x48
ret
mov eax, 0x49
ret
mov eax, 0x4a
ret
mov eax, 0x4b
ret
mov eax, 0x4c
ret
mov eax, 0x4d
ret
mov eax, 0x4e
ret
mov eax, 0x4f
ret
mov eax, 0x50
ret
mov eax, 0x51
ret
mov eax, 0x52
ret
mov eax, 0x53
ret
mov eax, 0x54
ret
mov eax, 0x55
ret
mov eax, 0x56
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x59
ret
mov eax, 0x5a
ret
mov eax, 0x70
ret
mov eax, 0x71
ret
mov eax, 0x72
ret
mov eax, 0x73
ret
mov eax, 0x74
ret
mov eax, 0x75
ret
mov eax, 0x76
ret
mov eax, 0x77
ret
mov eax, 0x78
ret
mov eax, 0x79
ret
mov eax, 0x7a
ret
mov eax, 0x7b
ret
xor eax, eax
ret

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

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x180020dad
lea r10, [0x1801805a0]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r10 + rcx*4]
sub rdx, 1
jne 0x180020d90
not r8d
mov eax, r8d
ret
Function at 0x180020dc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180020e1d
lea rbx, [0x1801805a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180020e04
cmp r10, 2
jb 0x180020e04
cmp byte [r9], r8b
jne 0x180020e04
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180020de0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180020e5f
lea rbx, [0x1801805a0]
cmp r8b, 0x23
jne 0x180020e43
cmp byte [r9], r8b
jne 0x180020e43
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180020e30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18003a680
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
movzx r9d, cx
mov eax, 0x5e6ea9af
shr ecx, 0x10
mul r8d
mov ebx, r8d
mov esi, r8d
shr edx, 0xb
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x18003a7be
mov qword [rsp + 0x20], rdi
xor edx, edx
cmp ebx, 7
jbe 0x18003a729
lea r8d, [rdx + 7]
movzx eax, byte [r10]
add edx, 8
add r9d, eax
add r8d, 8
movzx eax, byte [r10 + 1]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 7]
add ecx, r9d
add r9d, eax
add r10, 8
add ecx, r9d
cmp r8d, ebx
jb 0x18003a6c2
xor r8d, r8d
xor r11d, r11d
cmp edx, ebx
jae 0x18003a786
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x18003a773
mov eax, ebx
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea edx, [rdx + rax*2]
nop dword [rax]
movzx eax, byte [r10]
add r9d, eax
movzx eax, byte [r10 + 1]
add r8d, r9d
add r10, 2
add r9d, eax
add r11d, r9d
sub rdi, 1
jne 0x18003a750
cmp edx, ebx
jae 0x18003a780
movzx eax, byte [r10]
add r9d, eax
add ecx, r9d
inc r10
lea eax, [r11 + r8]
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
sub esi, ebx
mov ebx, 0x15b0
jne 0x18003a6b7
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl ecx, 0x10
lea eax, [r9 + rcx]
pop rsi
ret

Function at 0x180044230
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
Function at 0x180045e40
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
call fcn.180056e20
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xbf800000
lea rcx, str.Website
mov dword [rsp + 0x44], 0
call fcn.180050e60
test al, al
je 0x180045e93
mov dword [rsp + 0x28], 5
lea r8, str.http:__snowymoon.io
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.180020410
movss xmm0, dword [0x180184460]
lea rdx, [rsp + 0x40]
mov ecx, 0xe
movss xmm1, dword [rax + 0x50]
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x40], xmm0
call fcn.180028360
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 2]
call fcn.18005a460
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xbf800000
lea rcx, str.Patreon_Blog
mov dword [rsp + 0x44], 0
call fcn.180050e60
test al, al
je 0x180045f17
mov dword [rsp + 0x28], 5
lea r8, str.https:__www.patreon.com_SnowyMoon_io
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.18005afc0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xbf800000
lea rcx, str.Buy_Me_a_Coffee
mov dword [rsp + 0x44], 0
call fcn.180050e60
test al, al
je 0x180045f66
mov dword [rsp + 0x28], 5
lea r8, str.https:__www.buymeacoffee.com_snowymoon
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.18005afc0
xor edx, edx
mov r8b, 1
lea ecx, [rdx + 1]
call fcn.18005a460
mov ecx, 1
add rsp, 0x38
jmp fcn.180027de0
Function at 0x180061120
Capabilities:
Hash data using fnv

Disassembly:
movzx eax, byte [rdx + 1]
movabs r9, 0x100000001b3
movzx r8d, byte [rdx]
xor r8, rcx
movzx ecx, byte [rdx + 6]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, r9
xor rax, r8
imul rax, r9
xor rax, rcx
movzx ecx, byte [rdx + 7]
imul rax, r9
xor rax, rcx
imul rax, r9
ret
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x1800610b0
Function at 0x180065210
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x180674238]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x60]
call fcn.18013b160
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov rdi, qword [rsi + 0x10]
mov r14, rsi
cmp qword [rsi + 0x18], 8
jb 0x180065288
mov r14, qword [rsi]
movabs rbx, 0x7ffffffffffffffe
cmp rdi, rbx
ja 0x1800654b8
mov qword [rsp + 0x38], 7
cmp rdi, 8
jae 0x1800652c7
mov qword [rsp + 0x30], rdi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.18013b520
jmp 0x18006534c
mov rax, rdi
or rax, 7
cmp rax, rbx
ja 0x1800652e2
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
mov rax, rbx
add rax, 1
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x1800654b2
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x18006531b
call fcn.180001d10
jmp 0x18006532a
test rcx, rcx
je 0x180065327
call fcn.180138e04
jmp 0x18006532a
mov rax, r13
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.18013b520
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.180001fa0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x48], r13
mov ecx, 1
call fcn.180140490
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.1800022b0
mov rbx, qword [rsp + 0x48]
mov eax, 0x5a4d
cmp word [rbx], ax
je 0x1800653c9
mov rcx, rbx
call fcn.180141d38
mov qword [rsp + 0x48], r13
lea rcx, [rsp + 0x60]
call fcn.1800021d0
nop
mov rcx, rsi
call fcn.180001e30
xor al, al
jmp 0x180065482
movsxd rdi, dword [rbx + 0x3c]
add rdi, rbx
cmp dword [rdi], 0x4550
jne 0x1800653a2
mov ecx, dword [rdi + 0x50]
call fcn.18013929c
mov r15, rax
mov r8d, dword [rdi + 0x50]
xor edx, edx
mov rcx, rax
call fcn.18013b160
mov r12d, r13d
cmp r13w, word [rdi + 6]
jae 0x180065438
mov r14, r13
nop
movsxd rax, dword [rbx + 0x3c]
add rax, r14
mov r8d, dword [rax + rbx + 0x118]
mov edx, dword [rax + rbx + 0x11c]
add rdx, rbx
mov ecx, dword [rax + rbx + 0x114]
add rcx, r15
call fcn.18013b520
inc r12d
add r14, 0x28
movzx eax, word [rdi + 6]
cmp r12d, eax
jl 0x180065400
mov rdx, r15
mov rcx, rbx
call fcn.1800650d0
mov rcx, r15
call fcn.180062d00
call fcn.180065730
mov rcx, r15
call fcn.180138dd0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18006546d
call fcn.180141d38
mov qword [rsp + 0x48], r13
lea rcx, [rsp + 0x60]
call fcn.1800021d0
nop
mov rcx, rsi
call fcn.180001e30
mov al, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180138db0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180001cf0
nop
call fcn.180001bb0
int3
Function at 0x1800728f0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp byte [0x18067f59c], 0
jne 0x1800729c0
mov rcx, qword [0x18067e4e8]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x18067e4d8]
imul rcx
mov byte [0x18067f59c], 1
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 0x1f4
jae 0x18007294b
mov edx, 0x1f4
lea rcx, [0x18067e4d8]
call fcn.1800783d0
mov rax, qword [0x18067e500]
sub rax, qword [0x18067e4f0]
sar rax, 3
cmp rax, 0x1f4
jae 0x180072976
mov edx, 0x1f4
lea rcx, [0x18067e4f0]
call fcn.18005fcd0
mov rax, qword [0x18067e518]
sub rax, qword [0x18067e508]
sar rax, 3
cmp rax, 0x1f4
jae 0x1800729a1
mov edx, 0x1f4
lea rcx, [0x18067e508]
call fcn.18005fcd0
xor eax, eax
lea r8, [0x1800771d0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x18007b1d0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push rbx
push rdi
sub rsp, 0xa8
mov rax, qword [0x180674238]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rdx, [rsp + 0x20]
dec rcx
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007b270
nop dword [rax + rax]
cmp dword [rsp + 0x40], 0x10000
mov rbx, qword [rsp + 0x20]
jne 0x18007b256
mov rax, qword [rsp + 0x38]
cmp rax, 0x4000
jb 0x18007b256
lea rcx, [rax - 0x4000]
mov edx, 0x4000
add rcx, rbx
mov r9d, 0x40
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18007b380
lea rcx, [rbx - 1]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18007b210
mov qword [rsp + 0xc8], rbp
lea rcx, [rsp + 0x50]
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [rsp + 0x54]
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
lea r14, [rsi - 1]
not r14
and r14, rdi
lea rax, [r14 - 0x7fffff00]
cmp rax, rbp
cmovb rbp, rax
lea rax, [r14 + 0x7fffff00]
cmp rax, r15
cmova r15, rax
xor edx, edx
mov rax, r14
div rsi
sub r14, rdx
xor r12d, r12d
lea rdi, [r14 + rsi]
nop dword [rax]
mov rax, rdi
mov rbx, r14
sub rax, r14
sub rbx, rax
cmp r14, rax
cmovbe rbx, r12
cmp rdi, r15
jbe 0x18007b310
cmp rbx, rbp
jb 0x18007b356
cmp rdi, r15
jae 0x18007b32f
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18007b358
cmp rbx, rbp
jbe 0x18007b351
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18007b358
add rdi, rsi
jmp 0x18007b2f0
xor eax, eax
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180138db0
add rsp, 0xa8
pop rdi
pop rbx
ret
Function at 0x18007b3e0
Capabilities:
Allocate or change rwx memory

Disassembly:
cmp byte [0x18067f62c], 0
jne 0x1800707cf
mov rcx, qword [0x18067aa90]
lea r8, [0x18067ac28]
sub rcx, qword [0x18067a9d0]
lea rdx, [0x1800793a0]
add rcx, qword [0x180676740]
add rcx, qword [0x18067ac10]
mov byte [0x18067f62c], 1
jmp 0x18007b3e0
ret
sub rsp, 0x28
mov rcx, qword [0x180676740]
lea r8, [0x18067abf8]
add rcx, qword [0x18067aa78]
lea rdx, [0x180079da0]
call fcn.18007b3c0
call fcn.1800729d0
call fcn.180072a00
call fcn.1800728f0
add rsp, 0x28
jmp 0x180070790
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x180674238]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rcx
mov dword [rsp + 0x20], 0x25ff
mov ecx, 0x40
mov word [rsp + 0x24], 0
mov rsi, r8
mov dword [rsp + 0x30], 0x215ff
mov rbp, rdx
mov dword [rsp + 0x34], 0x8eb0000
call fcn.18007b3a0
movzx r10d, byte [r14 + 1]
mov r15, rax
movzx r11d, byte [r14 + 2]
sub r10b, 0x10
mov rdi, rsi
mov rbx, rsi
shr rdi, 8
mov r9, rsi
mov word [r15], 0x8b48
mov r8, rsi
mov byte [r15 + 2], r10b
mov rdx, rsi
mov byte [r15 + 3], r11b
mov rcx, rsi
mov word [r15 + 4], 0xa348
mov rax, rsi
mov byte [r15 + 6], sil
mov byte [r15 + 7], dil
shr rbx, 0x10
mov byte [r15 + 8], bl
shr r9, 0x18
mov byte [r15 + 9], r9b
shr r8, 0x20
mov byte [r15 + 0xa], r8b
shr rdx, 0x28
mov byte [r15 + 0xb], dl
shr rcx, 0x30
mov byte [r15 + 0xc], cl
shr rax, 0x38
mov byte [r15 + 0xd], al
xor ebx, ebx
mov qword [rsp + 0x38], rbp
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r15 + 0xe], xmm0
lea rcx, [r14 + rbx]
lea rdx, [rsp + 0x48]
call fcn.180009420
mov eax, eax
add rbx, rax
cmp rbx, 5
jb 0x18007b4c2
lea r8, [rbx - 3]
lea rdx, [r14 + 3]
lea rcx, [r15 + 0x1e]
call fcn.18013b520
lea rax, [r14 + rbx]
mov r8d, 0x40
mov qword [rsp + 0x26], rax
lea r9, [rsp + 0x40]
mov eax, dword [rsp + 0x28]
mov rdx, rbx
movsd xmm0, qword [rsp + 0x20]
mov rcx, r14
movsd qword [rbx + r15 + 0x1b], xmm0
mov dword [rbx + r15 + 0x23], eax
movzx eax, word [rsp + 0x2c]
mov word [rbx + r15 + 0x27], ax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdx, r15
mov byte [r14], 0xe9
lea rcx, [r14 + 1]
call fcn.180006100
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180138db0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18007d690
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x180674238]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15, r9
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov r12, qword [rsp + 0xc0]
mov qword [rsp + 0x50], 0
cmp qword [r8 + 0x40], 0
je 0x18007d711
lea r9, [r8 + 0x30]
cmp qword [r9 + 0x18], 8
jb 0x18007d6e0
mov r9, qword [r9]
cmp qword [r8 + 0x18], 0x10
jb 0x18007d6ea
mov rbx, qword [r8]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx]
call fcn.18007d570
test al, al
je 0x18007d7a8
jmp 0x18007d7ba
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov rbp, qword [r8 + 0x28]
test rbp, rbp
je 0x18007d734
mov rcx, rbp
call fcn.180140490
mov rdi, rax
mov qword [rsp + 0x40], rax
jmp 0x18007d73b
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbp
xor edx, edx
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x18007d76a
nop dword [rax + rax]
mov rax, qword [rbx + 0x20]
movzx ecx, byte [rax + rdx]
xor cl, 0x39
mov byte [rdi + rdx], cl
inc rdx
mov rax, qword [rbx + 0x28]
cmp rdx, rax
jb 0x18007d750
cmp qword [rbx + 0x18], 0x10
jb 0x18007d774
mov rbx, qword [rbx]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, qword [r14]
call fcn.18007d650
nop
test al, al
jne 0x18007d7ac
test rdi, rdi
je 0x18007d7a8
mov rcx, rdi
call fcn.180141d38
xor al, al
jmp 0x18007d802
test rdi, rdi
je 0x18007d7ba
mov rcx, rdi
call fcn.180141d38
nop
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x18007d7d2
mov qword [rsi + 8], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x50]
cmp qword [rsi + 8], rbx
je 0x18007d800
test rbx, rbx
je 0x18007d7ec
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], rbx
test rcx, rcx
je 0x18007d800
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180138db0
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800dae20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rdx]
mov rbx, r8
dec eax
mov r8, rdx
mov rdi, rcx
cmp eax, 0x20
ja case.0x1800daf09.4
lea rsi, [0x180000000]
nop dword [rax]
cdqe
movzx eax, byte [rsi + rax + 0xdb088]
mov ecx, dword [rsi + rax*4 + 0xdb05c]
add rcx, rsi
jmp rcx
mov rax, qword [rbx + 0xd0]
movzx r8d, byte [r8 + 1]
add rax, 0xffffffffffffffc4
lea r8, [rax + r8*2]
movzx eax, byte [r8]
dec eax
cmp eax, 0x20
jbe 0x1800dae50
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xcc]
movzx edx, word [rsi + rax*2 + 0x388c90]
mov rcx, rdi
call fcn.18007f160
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x9c]
cmp al, 8
jae case.0x1800daf09.4
lea edx, [rax + 0x6d]
mov rcx, rdi
call fcn.18007f160
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [r8 + 1]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x1800daf09.4
cdqe
movzx eax, byte [rsi + rax + 0xdb0b8]
mov ecx, dword [rsi + rax*4 + 0xdb0ac]
add rcx, rsi
jmp rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1800dbec0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1800db0e0
movzx eax, byte [rbx + 0xa2]
mov r9, rbx
mov rcx, rdi
mov rdx, qword [rbx + rax*8 + 0xa8]
inc al
mov byte [rbx + 0xa2], al
call fcn.1800d9c00
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx edx, byte [rbx + 0x34]
mov rcx, rdi
call fcn.18007f130
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x1800daf9e
lea edx, [rax + 0x35]
jmp 0x1800dafb0
cmp eax, 1
jne 0x1800dafab
lea edx, [rax + 0x1f]
lea eax, [rdx + 0x19]
jmp 0x1800dafb5
mov edx, 0x39
mov eax, 0x20
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.18007f160
movsxd rax, dword [rbx + 8]
mov rcx, rdi
movzx edx, byte [rax + rsi + 0x388e50]
call fcn.18007f160
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x1800daff7
lea edx, [rax + 0x31]
jmp 0x1800db009
cmp eax, 1
jne 0x1800db004
lea edx, [rax + 0x19]
lea eax, [rdx - 0xa]
jmp 0x1800db00e
mov edx, 0x10
mov eax, 0x1a
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.18007f160
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xb8]
jmp 0x1800dae9e
movzx edx, byte [rbx + 0xa0]
and edx, 7
add edx, 0x85
jmp 0x1800daea6
movsxd rax, dword [rbx + 0x98]
jmp 0x1800dae9e
Function at 0x180142988
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.180139ed0
sub rsp, rax
mov rax, qword [0x180674238]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18015a364
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1801429d7
mov rax, rbp
jmp 0x180142adf
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x680dd0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18015b79c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x680dd0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180142adb
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 0x180142adb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18015b79c
test rax, rax
js 0x180142adb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180142adb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180142acd
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180142acd
cmp byte [rcx], 0xd
jne 0x180142ab3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180142ac2
cmp byte [rcx + 1], 0xa
jne 0x180142ac2
inc rcx
jmp 0x180142ac2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x674640]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180142a95
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180142adf
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180138db0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret