joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400110af
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x140011f90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140020008]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x1400260a4]
call fcn.14001139d
mov dword [rbp + 4], 0
mov rcx, qword [rbp + 0x1b0]
call fcn.140011159
mov byte [rbp + 0x24], al
mov rcx, qword [rbp + 0x1b0]
call fcn.140011325
mov qword [rbp + 0x48], rax
mov byte [rbp + 0x68], 0x49
mov byte [rbp + 0x69], 0x89
mov byte [rbp + 0x6a], 0xca
mov byte [rbp + 0x6b], 0xb8
mov byte [rbp + 0x6c], 0xbc
mov byte [rbp + 0x6d], 0
mov byte [rbp + 0x6e], 0
mov byte [rbp + 0x6f], 0
mov byte [rbp + 0x70], 0xf
mov byte [rbp + 0x71], 5
mov byte [rbp + 0x72], 0xc3
mov byte [rbp + 0x73], 0x90
mov byte [rbp + 0x74], 0x90
mov byte [rbp + 0x75], 0x90
mov byte [rbp + 0x76], 0x90
mov eax, 1
imul rax, rax, 4
movzx ecx, byte [rbp + 0x24]
mov byte [rbp + rax + 0x68], cl
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rbp + 0x48]
movzx ecx, byte [rcx]
mov byte [rbp + rax + 0x68], cl
mov eax, 1
imul rax, rax, 9
mov rcx, qword [rbp + 0x48]
movzx ecx, byte [rcx + 1]
mov byte [rbp + rax + 0x68], cl
lea r9, [rbp + 4]
mov r8d, 0x40
mov edx, 0x1000
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0x94], eax
cmp dword [rbp + 0x94], 0
jne 0x1400120b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_changing_protection___u__n
call fcn.1400111ae
xor eax, eax
jmp 0x140012114
mov r8d, 0xf
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x1b0]
call fcn.1400111cc
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov edx, 0x1000
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0xb4], eax
cmp dword [rbp + 0xb4], 0
jne 0x14001210f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_changing_protection_back___u__n
call fcn.1400111ae
xor eax, eax
jmp 0x140012114
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bd50]
call fcn.140011334
mov rax, rdi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret

Function at 0x1400111f9
Capabilities:
Create thread

Disassembly:
jmp 0x14001342e
jmp qword [sym.imp.ntdll.dll_NtCreateThreadEx]

Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140014840
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 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015b90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015bb0
xor al, al
jmp 0x140015c31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015bc3
xor al, al
jmp 0x140015c31
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 0x140015bed
xor al, al
jmp 0x140015c31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015c01
xor al, al
jmp 0x140015c31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015c13
xor al, al
jmp 0x140015c31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015c2f
xor al, al
jmp 0x140015c31
mov al, 1
add rsp, 0x38
ret
Function at 0x18000dc64
Capabilities:
Prepare http request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, r9
mov rsi, r8
mov r12, rdx
mov rdi, rcx
and qword [rbp - 0x20], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
lea rdx, [r9 + 0x20]
lea rcx, [rbp - 0x20]
call fcn.180011e0c
lea rbx, str.https
mov rcx, rbx
call fcn.1800b7c58
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x10]
cmp rdx, rax
jne 0x18000dcf5
test rdx, rdx
je 0x18000dced
sub rcx, rbx
movzx eax, word [rbx]
cmp word [rcx + rbx], ax
jne 0x18000dcf5
add rbx, 2
sub rdx, 1
jne 0x18000dcda
mov r14d, 0x800000
jmp 0x18000dcf8
xor r14d, r14d
lea rcx, [rbp - 0x20]
call fcn.18000564c
and qword [rbp - 0x40], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
lea rdx, [r15 + 0x80]
lea rcx, [rbp - 0x40]
call fcn.180011e0c
nop
and qword [rbp - 0x20], 0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
lea rdx, [r15 + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.180011e0c
cmp qword [rbp - 0x10], 0
setne bl
lea rcx, [rbp - 0x20]
call fcn.18000564c
test bl, bl
je 0x18000ddb5
lea rcx, [0x1800fda94]
call fcn.1800b7c58
mov r8, rax
lea rdx, [0x1800fda94]
lea rcx, [rbp - 0x40]
call fcn.180011c58
and qword [rbp - 0x20], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
lea rdx, [r15 + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.180011e0c
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rbp - 0x40]
call fcn.180011c58
nop
lea rcx, [rbp - 0x20]
call fcn.18000564c
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
cmp qword [rsi + 0x18], 8
jb 0x18000ddcd
mov rsi, qword [rsi]
mov dword [rsp + 0x30], r14d
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, rsi
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
test rax, rax
jne 0x18000ddf8
and qword [rdi], rax
jmp 0x18000ddfb
mov qword [rdi], rax
lea rcx, [rbp - 0x40]
call fcn.18000564c
mov rax, rdi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x18000de88
Capabilities:
Receive http response

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x18000ded0
Capabilities:
Receive http response

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
and dword [rax - 0x28], 0
and dword [rax + 0x18], 0
test r8, r8
jne 0x18000df0d
and dword [rax + 0x10], r8d
lea rdx, [rax + 0x10]
mov rcx, qword [rsi]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x18000df0d
mov edi, dword [rsp + 0x58]
and qword [rbx], 0
and qword [rbx + 8], 0
and qword [rbx + 0x10], 0
mov dword [rsp + 0x20], 1
test rdi, rdi
je 0x18000df33
mov rdx, rdi
mov rcx, rbx
call fcn.180013274
lea r9, [rsp + 0x60]
mov r8d, edi
mov rdx, qword [rbx]
mov rcx, qword [rsi]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x18000df52
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rax, rbx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x18000df60
Capabilities:
Read http header

Disassembly:
mov rax, rsp
sub rsp, 0x38
and qword [rax - 0x10], 0
lea r9, [rsp + 0x40]
and dword [rax + 8], 0
xor r8d, r8d
mov rcx, qword [rcx]
mov edx, 0x20000013
mov dword [rax + 0x10], 4
lea rax, [rax + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x180012318
Capabilities:
Set http header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rdi]
mov r9d, 0xa0000000
mov r8d, eax
mov rdx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]

Function at 0x180012bb4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x18001338c
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1800133be
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1800133a1
mov rax, r8
ret
Function at 0x180031f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rax, qword [rcx + 8]
mov r13, rcx
mov ebp, edx
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov r15, qword [r11]
mov r10, qword [rax + 8]
movsxd rax, dword [r10 + 0x30]
movsxd r10, dword [r11 + 0x30]
mov r12, rax
cmp eax, r10d
mov ecx, r10d
cmovl ecx, eax
imul rbp, rax
mov dword [rsp + 0x78], ecx
cmp eax, r10d
je 0x180031fa4
cmp byte [r15 + 0x13], 0
je 0x180031fa4
mov ebx, 8
jmp 0x180032092
mov rdi, rbp
mov r14, r10
sub rdi, r12
xor ebx, ebx
cmp rdi, rbp
jge 0x180032092
and qword [rsp + 0x70], 0
mov rax, rdi
cqo
idiv r14
mov rsi, rdx
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r13 + 8]
mov rcx, qword [rax + 8]
mov eax, 0x40000000
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x180032087
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, r10d
mov rcx, r15
call fcn.180024e8c
mov ebx, eax
test eax, eax
jne 0x180032078
mov rcx, qword [rsp + 0x70]
call fcn.180025718
mov ebx, eax
test eax, eax
jne 0x180032078
mov rax, qword [rsp + 0x70]
movsxd r8, dword [rsp + 0x78]
add rsi, qword [rax + 8]
mov rax, rdi
cqo
mov rcx, rsi
idiv r12
add rdx, qword [rsp + 0x80]
call fcn.1800aaec0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov byte [rcx], bl
test rdi, rdi
jne 0x180032078
cmp dword [rsp + 0x88], edi
jne 0x180032078
mov rax, qword [r13 + 0x28]
mov rcx, qword [rax + 8]
mov edx, dword [rcx + 0x3c]
mov eax, edx
shr eax, 0x18
mov byte [rsi + 0x1c], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 0x1d], al
mov eax, edx
shr eax, 8
mov byte [rsi + 0x1e], al
mov byte [rsi + 0x1f], dl
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180032087
call fcn.180025258
add rdi, r14
test ebx, ebx
je 0x180031faf
mov eax, ebx
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180042cac
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
push r14
push r15
sub rsp, 0x20
xor ebp, ebp
mov r13d, r8d
mov rbx, rdx
mov r14, rcx
test rdx, rdx
je 0x180042d2f
lea edx, [rbp + 0x10]
call fcn.18001af60
mov rdi, rax
test rax, rax
je 0x180042d2f
mov r8d, dword [rbx]
mov dword [rax], r8d
test r13b, 1
jne 0x180042d05
lea r8d, [rbp + 1]
cmp dword [rbx], r8d
jle 0x180042d05
add r8d, r8d
cmp r8d, dword [rbx]
jl 0x180042cfd
movsxd rax, r8d
mov rcx, r14
lea rdx, [rax + rax*4]
shl rdx, 3
call fcn.18001af60
mov qword [rdi + 8], rax
mov rsi, rax
test rax, rax
jne 0x180042d4e
mov rdx, rdi
mov rcx, r14
call fcn.18001acf0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r15, qword [rbx + 8]
cmp dword [rbx], ebp
jle 0x180042dc6
lea r12, [rax + 0x1c]
sub rsi, r15
mov rdx, qword [r15]
mov r8d, r13d
mov rcx, r14
call fcn.180042ca4
mov qword [rsi + r15], rax
mov rcx, r14
mov rdx, qword [r15 + 8]
call fcn.18001b0fc
mov qword [r12 - 0x14], rax
mov rcx, r14
mov rdx, qword [r15 + 0x10]
call fcn.18001b0fc
mov qword [r12 - 0xc], rax
inc ebp
mov al, byte [r15 + 0x18]
lea r15, [r15 + 0x28]
and dword [r12], 0xfffffffe
mov byte [r12 - 4], al
mov eax, dword [r12]
xor eax, dword [r15 - 0xc]
and eax, 2
xor dword [r12], eax
lea r12, [r12 + 0x28]
mov eax, dword [r15 - 8]
mov dword [r12 - 0x24], eax
cmp ebp, dword [rbx]
jl 0x180042d5d
mov rax, rdi
jmp 0x180042d31

Function at 0x180044814
Capabilities:
Resolve function by parsing pe exports

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, 0x30
mov rdi, qword [rcx + 0x10]
mov r14d, r8d
xor r8d, r8d
mov ebp, r9d
lea r9, [rcx + 0x88]
mov rsi, rcx
mov r10, r9
lea ecx, [r8 + 0xa]
cmp dword [r10 + 0xc], 0
jle 0x180044861
cmp dword [r10], ebp
jne 0x180044861
movsx eax, word [r10 + 4]
cmp eax, r14d
je 0x1800448a5
inc r8d
add r10, 0x14
cmp r8d, ecx
jl 0x18004484b
mov ebx, dword [rsp + 0x60]
mov r9d, r14d
mov r8d, ebp
mov dword [rsp + 0x20], ebx
mov rcx, rdi
call fcn.18004473c
mov r8b, byte [rsp + 0x68]
test r8b, r8b
je 0x1800448cf
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1800448df
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], r8b
jmp 0x1800448df
mov eax, dword [rsi + 0x74]
mov dword [r10 + 0x10], eax
lea rax, [r9 + 6]
inc dword [rsi + 0x74]
mov edx, dword [r10 + 0xc]
cmp dword [rax + 6], edx
jne 0x1800448bf
mov byte [rax], 0
add rax, 0x14
sub rcx, 1
jne 0x1800448b7
mov eax, dword [r10 + 0xc]
jmp 0x1800448e1
mov r9d, ebx
mov r8d, r14d
mov edx, ebp
mov rcx, rsi
call fcn.1800445b0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x180056fcc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov dword [rsp + 0x18], r8d
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r15d, r9d
mov rsi, rdx
mov rdi, rcx
xor r12b, r12b
call fcn.18005eabc
mov rbp, qword [rsi + 0x10]
mov rbx, rax
test rbp, rbp
je 0x1800570a9
mov r14, qword [rsp + 0x88]
mov eax, dword [r14]
test eax, eax
je 0x180057095
cmp qword [rbp + 0x48], 0
mov r12b, 1
je 0x180057041
mov r9d, dword [rbx + 0x3c]
mov r8d, eax
and dword [rsp + 0x20], 0
add r9d, 2
mov edx, 0x4c
mov rcx, rbx
call fcn.180033d78
mov eax, dword [r14]
and dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, r15d
mov edx, 0x6e
mov rcx, rbx
call fcn.180033d78
mov eax, dword [rsp + 0xa0]
neg eax
mov eax, dword [rbp + 0x5c]
sbb cl, cl
and al, 3
and cl, 0x10
mov dl, cl
cmp al, 2
jne 0x18005707b
test byte [rsi + 0x48], 0x20
je 0x18005707b
or dl, r12b
test dl, dl
je 0x180057095
mov r8, qword [rbx + 8]
test r8, r8
je 0x180057095
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], dl
mov rbp, qword [rbp + 0x28]
inc r15d
add r14, 4
test rbp, rbp
jne 0x180057010
test byte [rsi + 0x48], 0x20
jne 0x1800571a5
mov al, byte [rdi + 0x1f]
mov r15d, dword [rsp + 0x80]
test al, al
jne 0x1800570cb
inc dword [rdi + 0x54]
mov r14d, dword [rdi + 0x54]
jmp 0x1800570d8
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0x24]
movsx r9d, word [rsi + 0x42]
lea r8d, [r15 + 1]
mov edx, 0x31
mov dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.180033d78
test r12b, r12b
jne 0x180057106
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.180054bdc
movsx r8d, word [rsi + 0x42]
lea edx, [r15 + 1]
mov rcx, rdi
call fcn.18004469c
xor r12d, r12d
cmp byte [rdi + 0x1e], r12b
je 0x180057125
mov dl, r12b
jmp 0x180057134
neg dword [rsp + 0x90]
sbb dl, dl
and dl, 2
add dl, 3
mov r8d, dword [rsp + 0x70]
mov al, dl
or al, 8
mov dword [rsp + 0x20], r15d
cmp dword [rsp + 0x98], r12d
mov r9d, r14d
movzx ecx, al
movzx eax, dl
cmove ecx, eax
movzx edx, cl
mov rcx, rbx
mov al, dl
or al, 0x10
cmp dword [rsp + 0xa0], r12d
movzx ebp, al
cmove ebp, edx
mov edx, 0x4b
call fcn.180033d78
cmp byte [rdi + 0x1e], r12b
jne 0x18005718f
mov r8, qword [rsi]
xor r9d, r9d
or edx, 0xffffffff
mov rcx, rbx
call fcn.18003432c
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1800571a5
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], bpl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18007f170
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
lea rdi, [0x180123240]
mov qword [rbp + 0x180], rdi
xorps xmm0, xmm0
movdqa xmmword [0x180123240], xmm0
xor ebx, ebx
mov qword [0x180123250], rbx
mov qword [0x180123258], rbx
mov qword [0x180123268], rbx
lea esi, [rbx + 0xf]
mov qword [0x180123270], rsi
mov qword [0x180123278], rbx
movdqa xmmword [0x180123280], xmm0
mov qword [0x180123290], rbx
mov qword [0x1801232a0], rbx
mov qword [0x1801232a8], 7
movdqa xmmword [0x1801232b0], xmm0
mov qword [0x1801232c0], rbx
mov qword [0x1801232c8], rbx
movdqa xmmword [0x1801232d0], xmm0
mov qword [0x1801232e0], rbx
mov qword [0x1801232f0], rbx
mov qword [0x1801232f8], rsi
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x20]
test eax, eax
jne 0x18007f2b5
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
lea rdx, str.ajsjeg2
call fcn.18000572c
mov r8b, bl
lea rdx, [rsp + 0x20]
lea rcx, [0x180123258]
call fcn.1800058c4
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18007f35d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007f2ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007f386
call fcn.180089bf0
jmp 0x18007f35d
movdqa xmm0, xmmword [0x180105f00]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], bx
lea rdx, [rsp + 0x60]
call fcn.1800056b0
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
lea r8, [rcx + rax*2]
lea rdx, [rsp + 0x20]
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180086fa8
lea rcx, [0x180123258]
cmp rcx, rax
je 0x18007f319
mov r8b, bl
mov rdx, rax
call fcn.1800058c4
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18007f353
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007f34d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007f380
call fcn.180089bf0
nop
lea rcx, [rsp + 0x20]
call fcn.18000564c
mov qword [0x180123230], rdi
mov rax, rdi
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800b8368
nop
call fcn.1800b8368
int3
Function at 0x1800a4e40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor ebx, ebx
mov r11, rdx
mov r9, rcx
mov r10d, ebx
cmp r8, 8
jb 0x1800a4e87
mov rcx, r8
shr rcx, 3
imul rax, rcx, 0xfffffffffffffff8
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r9]
add r9, 8
xor rax, qword [r11]
add r11, 8
or r10, rax
sub rcx, 1
jne 0x1800a4e70
mov rdx, r10
shr rdx, 0x20
or edx, r10d
mov eax, edx
mov ecx, edx
shr eax, 8
or eax, edx
shr ecx, 0x10
and eax, 0xff00
or eax, ecx
movzx ecx, dl
shr eax, 8
or eax, ecx
test r8, r8
je 0x1800a4f97
cmp r8, 8
jb 0x1800a4f6b
mov rdx, r8
lea r10, [r11 + 4]
and rdx, 0xfffffffffffffff8
mov rcx, r9
sub rcx, r11
xorps xmm4, xmm4
xorps xmm3, xmm3
nop word [rax + rax]
movd xmm2, dword [rcx + r10 - 4]
xorps xmm0, xmm0
movd xmm1, dword [r10 - 4]
lea r10, [r10 + 8]
punpcklbw xmm2, xmm0
add rbx, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [r10 - 8]
punpcklbw xmm1, xmm0
por xmm2, xmm4
punpcklwd xmm1, xmm0
movdqa xmm4, xmm2
movd xmm2, dword [rcx + r10 - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
pxor xmm2, xmm1
por xmm2, xmm3
movdqa xmm3, xmm2
cmp rbx, rdx
jb 0x1800a4ee0
por xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd ecx, xmm3
or eax, ecx
cmp rbx, r8
jae 0x1800a4f97
sub r9, r11
lea r10, [rbx + r11]
sub r8, rbx
nop word [rax + rax]
movzx edx, byte [r10 + r9]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
xor edx, ecx
or eax, edx
sub r8, 1
jne 0x1800a4f80
mov rbx, qword [rsp + 8]
test eax, eax
sete al
ret
Function at 0x1800a4fb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
test r9, r9
je 0x1800a5104
cmp r9, 4
jb 0x1800a4ffa
mov rdx, r9
shr rdx, 2
imul rax, rdx, 0xfffffffffffffffc
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r10]
add r10, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub rdx, 1
jne 0x1800a4fe0
xor r11d, r11d
test r9, r9
je 0x1800a5104
cmp r9, 0x40
jb 0x1800a50e3
lea rdx, [rcx - 1]
lea rax, [r8 - 1]
add rdx, r9
add rax, r9
cmp rcx, rax
ja 0x1800a502c
cmp rdx, r8
jae 0x1800a50e3
lea rax, [r10 - 1]
add rax, r9
cmp rcx, rax
ja 0x1800a5041
cmp rdx, r10
jae 0x1800a50e3
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp], rdi
mov rdi, r9
and rdi, 0xffffffffffffffc0
mov rdx, r10
lea rax, [r8 + 0x10]
sub rdx, r8
mov rbx, rcx
sub rbx, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rdx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r11, rdi
jb 0x1800a5070
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
cmp r11, r9
jae 0x1800a5104
sub r10, r8
lea rdx, [r11 + r8]
sub rcx, r8
sub r9, r11
movzx eax, byte [rdx + r10]
xor al, byte [rdx]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x1800a50f0
add rsp, 8
ret