joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013f300
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140422080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14013f395
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14013f3f6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140119c20
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401524a0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14013f4b1
sub ecx, 1
je 0x14013f524
sub ecx, 1
je 0x14013f460
cmp ecx, 1
je 0x14013f443
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140167fa0]
call fcn.140119c20
jmp 0x14013f524
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14013f030
test eax, eax
je 0x14013f524
jmp 0x14013f3ca
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14013f524
sub rax, rsi
cmp rax, rbp
jae 0x14013f524
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140119da0
jmp 0x14013f524
cmp r8d, 4
jle 0x14013f524
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14013f524
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140119b40
mov esi, eax
test eax, eax
je 0x14013f503
mov edx, 5
mov rcx, rbx
call fcn.14013fff0
mov eax, esi
jmp 0x14013f3ca
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140128420
mov rcx, r14
call fcn.140128700
test eax, eax
je 0x14013f3c8
mov edx, 5
mov rcx, rbx
call fcn.14013fff0
mov eax, Ordinal_45
jmp 0x14013f3ca
Function at 0x1401522c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140152302
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140152349
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1401523a2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140152360
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1401523e3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14016d71a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14016d71b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401523b0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140153600
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14015364a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14015364a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14015364a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14015364a
cmp dword [rcx + 0x84], 0xe
jbe 0x14015364a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14015364c
xor al, al
add rsp, 0x28
ret
Function at 0x140001a20
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x83a5241
je 0x140001a40
mov eax, 0xc0000001
jmp 0x140001ac6
mov rax, qword [rsp + 0x40]
cmp dword [rax + 4], 0
jne 0x140001a52
mov eax, 0xc0000001
jmp 0x140001ac6
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 4]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
nop
cmp qword [rsp + 0x20], 0
jne 0x140001a82
mov eax, 0xc0000001
jmp 0x140001ac6
mov rcx, qword [rsp + 0x20]
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140001aa0
mov eax, 0xc0000001
jmp 0x140001ac6
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.140002440
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140001ad0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x83a5241
je 0x140001af0
mov eax, 0xc0000001
jmp 0x140001b92
mov rax, qword [rsp + 0x40]
cmp dword [rax + 4], 0
jne 0x140001b05
mov eax, 0xc0000001
jmp 0x140001b92
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 4]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
nop
cmp qword [rsp + 0x20], 0
jne 0x140001b35
mov eax, 0xc0000001
jmp 0x140001b92
mov rcx, qword [rsp + 0x20]
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
mov rcx, rax
call fcn.1400016b0
mov qword [0x140004010], rax
cmp qword [0x140004010], 0
jne 0x140001b6a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc0000001
jmp 0x140001b92
mov r8d, 8
lea rdx, [0x140004010]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.140002440
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
add rsp, 0x38
ret
Function at 0x140001bf0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0x83a5241
je 0x140001c10
mov eax, 0xc0000001
jmp 0x140001d3b
mov rax, qword [rsp + 0x60]
cmp dword [rax + 4], 0
jne 0x140001c25
mov eax, 0xc0000001
jmp 0x140001d3b
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 4]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
nop
cmp qword [rsp + 0x28], 0
jne 0x140001c58
mov eax, 0xc0000001
jmp 0x140001d3b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
add rax, qword [rsp + 0x30]
mov rdx, rax
mov rcx, qword [0x140004010]
call fcn.140001e20
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140001cae
mov eax, 0xc0000001
jmp 0x140001d3b
mov rax, qword [rsp + 0x20]
and rax, 0xfff
mov ecx, 0x1000
sub rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x48]
mov ecx, eax
call fcn.140001ba0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x20]
test eax, eax
je 0x140001d13
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
add rax, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.140001550
nop
jmp 0x140001d39
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
add rax, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.1400014b0
nop
xor eax, eax
add rsp, 0x58
ret
Function at 0x14000fa50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x20], 1
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
jg 0x14000fac1
jmp 0x14000fb52
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.14006a0f0
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000fb48
nop dword [rax]
cmp qword [rsi + 0x10], 0
je 0x14000fb12
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14000fb04
mov rdx, qword [rsi]
lea rcx, [rsp + 0x6c]
call fcn.14004ffbc
test eax, eax
jne 0x14000fb36
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14000fb29
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x14000fb36
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.14000fc60
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000faf0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400449f0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140010270
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12, rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14006a0f0
mov dword [rsp + 0x58], 0x104
call fcn.14000f290
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov r8d, 0x1a
lea rdx, str.QueryFullProcessImageNameW
lea rcx, [rsp + 0x20]
call fcn.140005100
nop
call fcn.1400297b0
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 0xf
cmova rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140010353
movabs r10, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140010340
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.14000fe50
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140010378
cmp rdx, qword [r15 + 8]
je 0x140010378
mov rdi, qword [rdx + 0x30]
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp rsi, 0xf
jbe 0x1400103ba
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400103b2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400104ab
mov rcx, rbx
call fcn.140044c8c
test rdi, rdi
je 0x1400103d8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x60]
xor edx, edx
call rdi
jmp 0x1400103ea
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140010410
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140004fd0
nop
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.140010160
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140010477
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010472
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400104a5
call fcn.140044c8c
mov rax, r12
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400449f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14004fe58
int3
call fcn.14004fe58
int3
Function at 0x140012fd0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.14006a0f0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x1400130be
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x1400130be
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x1400130be
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x1400130be
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x1400130be
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x1400130c0
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400449f0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x140013570
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0xb0
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbp, rcx
movsxd r14, r8d
lea rcx, [rsp + 0x60]
call fcn.140010050
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140010700
xor ebx, ebx
mov dword [rsp + 0xa0], r14d
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x58]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x90], xmm1
cmp rdx, 7
jbe 0x140013631
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013622
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013750
call fcn.140044c8c
movups xmm1, xmmword [rsp + 0x20]
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0xe0], rsi
lea rdx, [rsp + 0x80]
mov qword [rsp + 0xe8], rdi
movq rax, xmm1
movq rdi, xmm0
movabs rcx, 0xcbf29ce484222325
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rsi, xmm0
lea r8, [rax + rax]
cmp rsi, 7
cmova rdx, rdi
test r8, r8
je 0x1400136a3
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
inc rbx
xor rcx, rax
imul rcx, r9
cmp rbx, r8
jb 0x140013690
mov r9, r14
lea r8, [rsp + 0x80]
xor r9, rcx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x18]
call fcn.140014a40
cmp qword [rax + 8], 0
je 0x1400136e7
lea rdx, [rsp + 0x80]
lea rcx, [rbp + 0x18]
call fcn.140013b50
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x80]
cmp rsi, 7
jbe 0x14001371e
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140013716
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001374a
mov rcx, rdi
call fcn.140044c8c
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400449f0
add rsp, 0xb0
pop r14
pop rbp
pop rbx
ret
call fcn.14004fe58
int3
call fcn.14004fe58
int3
Function at 0x140013b50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 7
mov r8, rdx
mov r10, qword [rdx + 0x10]
mov rdi, rcx
mov r9, rdx
jbe 0x140013b71
mov r9, qword [rdx]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x140013ba4
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r10
jb 0x140013b90
movsxd r9, dword [r8 + 0x20]
mov rcx, rdi
xor r9, rdx
lea rdx, [rsp + 0x20]
call fcn.140014a40
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140013c3c
mov rdx, qword [rdi + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [rdi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x140013bf5
cmp rax, rbx
jne 0x140013beb
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140013c00
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140013c00
cmp rax, rbx
jne 0x140013c00
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rdi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.140014b20
mov edx, 0x48
mov rcx, rbx
call fcn.140044c8c
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400164c0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx edi, dl
test rcx, rcx
je 0x1400164ec
jle 0x1400164e8
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140016501
jle 0x1400164fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x140016514
jle 0x140016511
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140016529
jle 0x140016525
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x140016588
lea rax, [rbx + 0xf8]
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 7
jbe 0x14001654b
mov rax, qword [rax]
mov word [rax], si
cmp byte [rbx + 0x1c], sil
je 0x140016570
add rbx, 0x118
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140016568
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140016577
add rbx, 0x118
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 7
jbe 0x140016585
mov rbx, qword [rbx]
mov word [rbx], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140017420
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x70]
call fcn.14006a0f0
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x40], 0x38
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
lea r8, [rsi + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140017680
mov r14, rax
test rax, rax
je 0x14001763f
test rdi, rdi
jne 0x1400175d0
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.14006a0f0
lea rdx, [rbp + 0x190]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1400174fe
mov eax, 0xc0150002
jmp 0x140017641
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
test rax, rax
jle 0x1400175bf
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov r8d, dword [rsp + 0x78]
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rsi + 0x118]
lea rax, [rbp - 0x70]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140017576
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x1400175b3
mov r14, rcx
cmp rax, 7
jbe 0x140017595
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.1400699b0
mov word [rdi + r14], bx
jmp 0x1400175bd
lea r9, [rbp - 0x70]
call fcn.14000de50
nop
jmp 0x1400175f9
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140017641
mov dword [rsp + 0x44], 8
movzx eax, word [rsi + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rdi
lea rdx, [rsi + 0xf8]
lea rcx, [rsi + 0x118]
call fcn.14000d990
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x140017622
test rcx, rcx
jle 0x14001761b
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x14001763f
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x140017667
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400449f0
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x4a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140017641