joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140117fb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1401c5b10]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140117ff4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14011805a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140118091
test eax, eax
js 0x14011806b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140118084
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x1401c5b78]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1401113d0
mov rcx, rax
call fcn.14010b660
mov ecx, 7
int 0x29
ud2

Function at 0x1401180f0
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x140118145
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1401181e1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x140118159
cmp eax, 0x2739
jne 0x1401181aa
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1401181a4
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1401181bf
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x1401181e1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1401181e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140118b00
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, reloc.WS2_32.dll_recv
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140118b38
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.140118b50
nop
add rsp, 0x38
ret

Function at 0x140118b50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x140118b93
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.14010f0d0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.14013ba40
ud2

Function at 0x1401191c0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1401d4fb1]
mov ecx, reloc.WS2_32.dll_recv
mov edx, 8
call fcn.14000cca0
test rax, rax
je 0x14011929f
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140119330]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140119291
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140119268
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.14000ccb0
mov edx, reloc.WS2_32.dll_recv
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.14000ccb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, reloc.WS2_32.dll_recv
call fcn.14013b8c0
ud2
Function at 0x14011aad0
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1f0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x1401d50e0]
cmp rax, 3
jne 0x14011abc6
cmp rbx, 0x17f
ja 0x14011abd8
lea r15, [rsp + 0x70]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x70], 0
inc rbx
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, rbx
call fcn.1401274c0
cmp qword [rsp + 0x28], 0
je 0x14011ab54
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14011abe9
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14011abae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
jmp 0x14011abe9
mov rax, qword [rsp + 0x20]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
jmp 0x14011abe9
call fcn.14013aa40
cmp rbx, 0x17f
jbe 0x14011ab0a
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
call fcn.14013ab90
mov rax, rsi
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14011ad40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], 0x80
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14011adf0
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x14011ae00
cmp ecx, 0x17
jne 0x14011ae27
cmp eax, 0x1c
jb 0x14011ae40
movzx eax, word [rsp + 0x32]
rol ax, 8
movups xmm0, xmmword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x48]
mov word [rsi], 1
movups xmmword [rsi + 4], xmm0
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
add rsp, 0xb0
pop rsi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x14011ae2e
cmp eax, 0x10
jb 0x14011ae5a
movzx eax, word [rsp + 0x32]
rol ax, 8
mov ecx, dword [rsp + 0x34]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
add rsp, 0xb0
pop rsi
ret
lea rax, str.invalid_argument
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb0
pop rsi
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x1401c66c8]
mov edx, 0x43
call fcn.14013bae0
ud2
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x1401c6668]
mov edx, 0x42
call fcn.14013bae0
ud2
Function at 0x14012f5a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14012f61a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14012f610
cmp r10, r11
jb 0x14012f6b3
cmp r10, rdx
ja 0x14012f6c7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14012f612
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14012f5f0
jmp 0x14012f687
ja 0x14012f61a
mov r11, r10
cmp rax, r8
jne 0x14012f5c2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14012f68b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14012f660
mov r8, r10
sub ecx, r9d
jns 0x14012f67e
jmp 0x14012f68d
cmp r10, rdx
je 0x14012f699
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14012f68d
xor al, 1
cmp r8, rdx
jne 0x14012f640
jmp 0x14012f68d
xor eax, eax
jmp 0x14012f68d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valueassertion_failed:__buf.is_empty__
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14013bae0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14013c090
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14013c010
ud2
Function at 0x140132654
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14013269e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14013269e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14013269e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14013269e
cmp dword [rcx + 0x84], 0xe
jbe 0x14013269e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401326a0
xor al, al
add rsp, 0x28
ret

Function at 0x140139c20
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140139c75
mov rdi, rax
lea rdx, [0x14018d6f6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140139c75
mov rsi, rax
lea rdx, [0x14018d704]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140139c75
mov r14, rax
xor edi, edi
jmp 0x140139cfd
lea rcx, [0x14018d690]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140139d69
mov rsi, rax
lea rdx, [0x14018d69a]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140139d69
mov rbx, rax
lea rdx, [0x14018d6ad]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140139d69
mov rdi, rax
lea rdx, [0x14018d6c1]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140139d69
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x140139d69
mov r14, qword [rsp + 0x20]
movzx eax, byte [0x1401d4fb1]
mov ecx, 0x18
mov edx, 8
call fcn.14000cca0
test rax, rax
je 0x140139d70
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1401d5000], rbx
je 0x140139d5c
mov rsi, rax
cmp qword [rbx], 0
je 0x140139d46
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.14000ccb0
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140139be0
ud2
mov ecx, 8
mov edx, 0x18
call fcn.14013b8c0
ud2
Function at 0x14013ab90
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140122de0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14013abeb
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14013ac64
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000ccb0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14013ac71
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x14013ac64
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.14000ccb0
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x14013ac53
jmp 0x14013ac64
Function at 0x1400047d0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x110
mov eax, 0x98
lea rdi, [0x14007e240]
xor edx, edx
nop word [rax + rax]
movzx ecx, byte [rdx + rdi]
xor cl, al
inc eax
mov byte [rsp + rdx + 0x40], cl
and eax, 0x800000ff
jge 0x14000480c
dec eax
or eax, 0xffffff00
inc eax
inc rdx
cmp rdx, 0x7f
jl 0x1400047f0
lea r8, [rsp + 0x40]
mov byte [rsp + 0xbf], 0
xor edx, edx
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov qword [0x140098470], rax
lea rdi, [rsp + 0x40]
mov r10, rax
mov ecx, 0x80
xor eax, eax
rep stosb byte [rdi], al
test r10, r10
je 0x14000493e
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0xf001f
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0x48444d54
xor edx, edx
mov qword [0x140098478], rax
mov ecx, 0x1f0003
mov dword [rsp + 0x34], 0x436b6361
mov dword [rsp + 0x38], 0x4f444f
call qword [sym.imp.KERNEL32.dll_OpenEventA]
lea rdx, [0x171c97811]
mov qword [0x140098450], rax
lea rcx, [rsp + 0xc0]
call fcn.140004a80
mov r8, rax
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenEventA]
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [0x140003950]
mov qword [0x140098458], rax
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov qword [0x140098460], rax
mov edx, 0xf
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp qword [0x140098470], 0
je 0x14000493c
mov rcx, qword [0x140098460]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140098478]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [0x140098470]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x110
pop rdi
ret
Function at 0x14000f7f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, qword [r8 + 0x20]
mov r10, rcx
cmp qword [rdi + 0x28], 8
lea r9, [rdi + 0x10]
jb 0x14000f81b
mov r9, qword [rdi + 0x10]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r8, r8
je 0x14000f854
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r8
jb 0x14000f840
mov r8, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and r8, rdx
shl r8, 4
add rcx, r8
mov rax, qword [rcx]
cmp qword [rcx + 8], rdi
jne 0x14000f894
cmp rax, rdi
jne 0x14000f88a
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [r8 + rcx + 8], rax
jmp 0x14000f89f
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x14000f89f
cmp rax, rdi
jne 0x14000f89f
mov rax, qword [rdi]
mov qword [rcx], rax
mov rdx, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rdi]
mov qword [rdx], rbx
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
mov qword [r8 + 8], rdx
dec qword [r10 + 0x10]
call fcn.14000e900
mov edx, 0x48
mov rcx, rdi
call fcn.14004654c
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140011040
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x14001104e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, rdx
mov qword [rsp + 0x28], rcx
mov rdi, rcx
call fcn.14002c200
lea r15, [rdi + 0x40]
mov rcx, r15
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r13, qword [rsi + 0x18]
mov r8, rsi
mov r14, qword [rsi + 0x10]
cmp r13, 0x10
jb 0x1400110aa
mov r8, qword [rsi]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test r14, r14
je 0x1400110e4
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, r14
jb 0x1400110d0
mov rax, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x30]
mov rdi, qword [rdi + 8]
and rcx, rdx
shl rcx, 4
mov r12, qword [rcx + rax]
add rax, 8
add rax, rcx
mov rbx, r12
mov qword [rsp + 0x20], rax
nop word [rax + rax]
cmp r12, rdi
jne 0x14001111a
mov rax, rdi
jmp 0x140011120
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x140011196
lea rcx, [rbx + 0x10]
mov rdx, rsi
cmp r13, 0x10
jb 0x140011135
mov rdx, qword [rsi]
mov r15, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
cmp r15, 0x10
jb 0x140011146
mov rcx, qword [rcx]
cmp rbp, r14
jne 0x140011157
mov r8, rbp
call fcn.140048530
test eax, eax
je 0x140011161
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x20]
jmp 0x140011110
lea rdx, [rbx + 0x10]
cmp r15, 0x10
jb 0x14001116e
mov rdx, qword [rdx]
cmp r13, 0x10
jb 0x140011177
mov rsi, qword [rsi]
cmp r14, rbp
jne 0x140011196
mov r8, r14
mov rcx, rsi
call fcn.140048530
test eax, eax
jne 0x140011196
mov rdi, qword [rsp + 0x28]
mov rdi, qword [rdi + 8]
jmp 0x140011199
mov rbx, rdi
cmp rbx, rdi
je 0x1400111a4
mov rbp, qword [rbx + 0x30]
jmp 0x1400111a6
xor ebp, ebp
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x90]
mov rax, rbp
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140014270
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor eax, eax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov r8d, 0x108
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
call fcn.1400482f0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x140014372
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 0x140014372
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x140014372
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x140014372
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 0x140014372
cmp dword [rsp + 0x80], 0x4550
jne 0x140014372
mov al, 1
jmp 0x140014374
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140045ef0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x140014f80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp], rax
mov r11, qword [r8 + 0x18]
mov rsi, r8
mov r14, qword [r8 + 0x10]
mov r12, rdx
mov r10, rcx
mov r9, r8
cmp r11, 8
jb 0x140014fba
mov r9, qword [r8]
lea r8, [r14 + r14]
mov qword [rsp + 0x68], rbx
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r8, r8
je 0x140014ff4
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r8
jb 0x140014fe0
mov rax, qword [r10 + 0x18]
movsxd r15, dword [rsi + 0x20]
mov r8, r15
xor r8, rdx
mov rdx, qword [r10 + 8]
and r8, qword [r10 + 0x30]
add r8, r8
mov rbp, qword [rax + r8*8]
lea r13, [rax + r8*8]
mov rcx, rbp
cmp rbp, rdx
jne 0x140015022
mov rax, rdx
jmp 0x140015029
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140015149
mov rax, rsi
cmp r11, 8
jb 0x14001503e
mov rax, qword [rsi]
cmp qword [rcx + 0x28], 8
lea r11, [rcx + 0x10]
mov r8, qword [rcx + 0x20]
jb 0x140015051
mov r11, qword [rcx + 0x10]
cmp r8, r14
jne 0x14001509e
test r8, r8
je 0x140015098
movzx r9d, word [r11]
movzx r10d, word [rax]
cmp r9w, r10w
jb 0x14001509e
sub r11, rax
cmp r9w, r10w
ja 0x14001509e
cmp r8, 1
je 0x140015098
movzx r9d, word [rax + r11 + 2]
add rax, 2
dec r8
movzx r10d, word [rax]
cmp r9w, r10w
jae 0x140015070
mov rcx, qword [rcx]
mov r11, qword [rsi + 0x18]
jmp 0x140015018
cmp dword [rcx + 0x30], r15d
je 0x1400150aa
mov rcx, qword [rcx]
mov r11, qword [rsi + 0x18]
jmp 0x140015018
mov r8, rcx
mov qword [rsp + 0x10], rdi
cmp rbp, rdx
jne 0x1400150bc
mov rax, rdx
jmp 0x1400150c3
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140015126
cmp qword [rcx + 0x28], 8
lea rax, [rcx + 0x10]
jb 0x1400150d7
mov rax, qword [rcx + 0x10]
cmp qword [rsi + 0x18], 8
mov rbx, rsi
jb 0x1400150e4
mov rbx, qword [rsi]
cmp r14, qword [rcx + 0x20]
jne 0x140015126
mov r11, r14
test r14, r14
je 0x14001513b
movzx r9d, word [rbx]
movzx r10d, word [rax]
cmp r9w, r10w
jb 0x140015126
sub rbx, rax
cmp r9w, r10w
ja 0x140015126
cmp r11, 1
je 0x14001513b
movzx r9d, word [rax + rbx + 2]
add rax, 2
dec r11
movzx r10d, word [rax]
cmp r9w, r10w
jae 0x140015107
mov rdi, qword [rsp + 0x10]
cmp r8, rcx
je 0x140015149
mov qword [r12], r8
mov qword [r12 + 8], rcx
jmp 0x140015152
cmp r15d, dword [rcx + 0x30]
jne 0x140015126
mov rcx, qword [rcx]
jmp 0x1400150b2
mov qword [r12], rdx
mov qword [r12 + 8], rdx
mov rbx, qword [rsp + 0x68]
mov rax, r12
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.140045ef0
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret