joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c8e60
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140160040]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400a9e00
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.1400c92e0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401382b0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14002b030
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x1400c8efd
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400c9055
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov rsi, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r12, qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor r13d, r13d
jmp 0x1400c8ffe
mov rcx, rdi
mov rdx, qword [rsp + 0x28]
mov r8b, 1
call fcn.1400c8e60
mov ebp, eax
test eax, eax
jne 0x1400c8fb9
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400c8f4e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
jmp 0x1400c8f93
mov edx, dword [rsp + 0x48]
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400c8f6e
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call r12
mov rcx, r14
call fcn.1400c9270
test al, al
jne 0x1400c8faf
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400c8f8f
mov rcx, qword [rsp + 0x30]
call rsi
xor ebp, ebp
test eax, eax
jne 0x1400c8fb9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
jmp 0x1400c8fb9
xor ebp, ebp
test bl, bl
jne 0x1400c8f29
test r13d, r13d
cmovne ebp, r13d
mov rcx, r14
call fcn.1400aaae0
mov rcx, r15
mov rdx, r14
call fcn.14002b030
mov rcx, rdi
mov rdx, r14
call fcn.14002d5a0
mov rcx, r14
call fcn.14002d530
movsx rax, byte [rsp + 0x47]
test rax, rax
jns 0x1400c8ff6
mov rax, qword [rsp + 0x38]
mov r13d, ebp
test rax, rax
je 0x1400c9055
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400a9e00
mov rcx, r15
mov rdx, r14
call fcn.1400c94b0
mov edx, dword [rsp + 0x48]
test dl, 1
je 0x1400c8f74
test bl, bl
jne 0x1400c8f5f
mov rcx, r14
call fcn.1400c9270
test al, al
je 0x1400c8f5b
mov rcx, r14
call fcn.1400c9270
xor ebp, ebp
test al, al
jne 0x1400c8fb9
jmp 0x1400c8f80
lea rcx, [rsp + 0x30]
call fcn.14002d530
lea rcx, [rsp + 0x298]
call fcn.1400c9440
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140077700
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400c9d50
Capabilities:
Access the windows event log
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x860
mov rsi, rcx
mov rax, qword [0x140160040]
xor rax, rsp
mov qword [rsp + 0x858], rax
mov rdx, qword [0x140171400]
test rdx, rdx
setne al
and al, byte [0x140162040]
cmp al, 1
jne 0x1400c9f09
cmp byte [rdx + 0x17], 0
jns 0x1400c9d9a
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x1400c9f34
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400616b0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x1401382b0]
movaps xmmword [r14], xmm0
lea rbx, [rsp + 0x80]
mov rdx, rbx
call fcn.14001f930
lea r15, [rsp + 0x48]
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140054a10
mov eax, dword [rsi + 8]
mov bp, 1
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x1400c9f4c
cmp eax, 1
je 0x1400c9e2a
test eax, eax
jne 0x1400c9e2e
mov bp, 4
jmp 0x1400c9e2e
mov bp, 2
cmp byte [rsp + 0x77], 0
jns 0x1400c9e3a
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x140171410]
cmp byte [rcx + 0x17], 0
jns 0x1400c9e5b
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
jne 0x1400c9e7f
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.1400543e0
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x14017140c]
movzx r8d, word [0x140171408]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rdi
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
jne 0x1400c9eda
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1400543e0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400c9eea
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x1400c9efb
mov rcx, qword [rsp + 0x60]
call fcn.140076410
call fcn.1400616b0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.1400caff0
mov rcx, qword [rsp + 0x858]
xor rcx, rsp
call fcn.140077700
nop
add rsp, 0x860
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1400543e0
jmp 0x1400c9f09
lea r12, [rsp + 0x80]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.1400a9e00
mov rcx, r12
call fcn.140037440
mov rcx, r12
mov rdx, r15
call fcn.1400d7220
movsx r8, byte [rsp + 0x5f]
test r8, r8
jns 0x1400c9f8c
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.14005e5d0
cmp byte [rsp + 0x5f], 0
jns 0x1400c9e2e
mov rcx, qword [rsp + 0x48]
call fcn.140076410
jmp 0x1400c9e2e
Function at 0x1400ca8d0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140160040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140171418], 0
je 0x1400ca916
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140077700
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140171420]
test rdi, rdi
jne 0x1400ca9e3
mov ecx, 0x18
call fcn.1400763d4
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a9e00
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1401382b0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14001af60
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x1400ca990
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x1400ca9c7
add rax, rax
test rax, rax
je 0x1400ca9c7
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x1400ca998
cmp rdx, 0xfffffffffffffffe
je 0x1400ca9c7
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.140022ea0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.1400292d0
mov qword [0x140171420], rdi
test byte [0x140162044], 1
je 0x1400ca8f9
cmp byte [rdi + 0x17], 0
jns 0x1400ca9f9
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140171418], rax
inc rax
cmp rax, 1
ja 0x1400ca8f9
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a9e00
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x1400cab35
mov rcx, qword [0x140171420]
lea rdx, [rsp + 0x40]
call fcn.1400292a0
mov rcx, qword [0x140171420]
movsx rax, byte [rcx + 0x17]
test rax, rax
js 0x1400cab3c
test al, al
je 0x1400cab4d
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400caac7
lea rdx, [0x140139dae]
mov r8d, 1
call fcn.1400292d0
mov rcx, qword [0x140171420]
lea rdx, str.debug.log
mov r8d, 9
call fcn.1400292d0
mov rcx, qword [0x140171420]
cmp byte [rcx + 0x17], 0
jns 0x1400caae9
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140171418], rax
inc rax
cmp rax, 1
ja 0x1400ca8f9
mov qword [0x140171418], 0
xor esi, esi
jmp 0x1400ca8f9
mov rax, qword [rcx + 8]
test rax, rax
je 0x1400cab4d
mov rdx, qword [rcx]
jmp 0x1400caaa6
ud2
Function at 0x1400ebdc0
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret
Function at 0x1400fd7a0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400fd7b0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x1400fd7d1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400fd7f5
cmp byte [r14 + 0x50], 1
jne 0x1400fd7ef
or edi, 0x80000000
jmp 0x1400fd7f5
or edi, 0x20000000
test dil, 8
je 0x1400fd810
cmp byte [r14 + 0x68], 1
je 0x1400fd80a
or edi, 0x10000000
jmp 0x1400fd810
or edi, 0x40000000
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400fd824
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400fd835
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
jne 0x1400fd848
lea rcx, [r14 + 0x20]
call fcn.1400d5df0
mov r15, rax
cmp byte [r14 + 0x18], 1
je 0x1400fd86d
xor r9d, r9d
jmp 0x1400fd878
xor edx, edx
jmp 0x1400fd894
mov edx, 4
jmp 0x1400fd894
mov edx, 1
jmp 0x1400fd894
mov edx, 6
jmp 0x1400fd894
mov rcx, r14
call fcn.1400d5df0
mov r9, rax
cmp ebx, 4
ja case.default.0x1400fd88d
mov eax, ebx
lea rcx, [0x14014b4ec]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edx, 7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
je 0x1400fd8bd
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400fd8e0
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400fd91c
cmp byte [r14 + 0x50], 1
je 0x1400fd916
or edi, 0x20000000
jmp 0x1400fd91c
or edi, 0x80000000
test dil, 8
je 0x1400fd937
cmp byte [r14 + 0x68], 1
je 0x1400fd931
or edi, 0x10000000
jmp 0x1400fd937
or edi, 0x40000000
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400fd94b
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400fd95c
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
jne 0x1400fd96f
lea rcx, [r14 + 0x20]
call fcn.1400d5df0
mov r15, rax
cmp byte [r14 + 0x18], 1
je 0x1400fd994
xor r9d, r9d
jmp 0x1400fd99f
xor edx, edx
jmp 0x1400fd9bb
mov edx, 1
jmp 0x1400fd9bb
mov edx, 4
jmp 0x1400fd9bb
mov edx, 6
jmp 0x1400fd9bb
mov rcx, r14
call fcn.1400d5df0
mov r9, rax
cmp ebx, 4
ja case.default.0x1400fd9b4
mov eax, ebx
lea rcx, [0x14014b500]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edx, 7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
je 0x1400fd9e4
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140101750
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x140160040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x1401382b0]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.140108ca0
test eax, eax
je 0x140101883
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
movzx eax, byte [0x14014bdad]
cmp rsi, rax
jne 0x1401017c7
lea rbx, [0x14014bda0]
test al, al
je 0x140101885
lea rdx, [0x14014bda4]
mov rcx, rdi
mov r8, rsi
call fcn.1400a9660
test eax, eax
je 0x140101885
movzx eax, byte [0x14014bfe5]
cmp rsi, rax
jne 0x1401017fc
lea rbx, [0x14014bfd8]
test al, al
je 0x140101885
lea rdx, [0x14014bfdc]
mov rcx, rdi
mov r8, rsi
call fcn.1400a9660
test eax, eax
je 0x140101885
movzx eax, byte [0x14014bec5]
cmp rsi, rax
jne 0x140101829
lea rbx, [0x14014beb8]
test al, al
je 0x140101885
lea rdx, [0x14014bebc]
mov rcx, rdi
mov r8, rsi
call fcn.1400a9660
test eax, eax
je 0x140101885
movzx eax, byte [0x14014c0c5]
cmp rsi, rax
jne 0x140101856
lea rbx, [0x14014c0b8]
test al, al
je 0x140101885
lea rdx, [0x14014c0bc]
mov rcx, rdi
mov r8, rsi
call fcn.1400a9660
test eax, eax
je 0x140101885
movzx eax, byte [0x14014c1ad]
cmp rsi, rax
jne 0x140101883
lea rbx, [0x14014c1a0]
test al, al
je 0x140101885
lea rdx, [0x14014c1a4]
mov rcx, rdi
mov r8, rsi
call fcn.1400a9660
test eax, eax
je 0x140101885
xor ebx, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140077700
mov rax, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x140120f90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rdx, rdx
je 0x140120fa3
cmp dword [0x1401792a0], ecx
jle 0x140120faa
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call fcn.140120ff0
test edi, edi
je 0x140120fa3
cmp byte [rsi + rdi - 1], 0xa
je 0x140120fa3
lea rcx, [0x14013882b]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140120ff0

Function at 0x140120ff0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140160040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x140121067
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x140121067
add rdi, rax
test ecx, ecx
jne 0x14012102d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140077700
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140129480
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x1401294bf
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x14012948f
mov dword [rsi], 7
jmp 0x14012948f
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.140053a30
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14012949b
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14012949b
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x140129571
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x140129491
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14012948f
Function at 0x3635f80c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x3635f824b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x3636fdd38]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.363614da0
xorps xmm15, xmm15
mov r14, qword [0x3638bac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x3635f8125
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x3635f8134
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x3635f8153
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x3635f8163
cmp rbx, 0x1000
jae 0x3635f812b
jmp 0x3635f81cd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x3635f8175
xor edx, edx
jmp 0x3635f81c4
mov rcx, qword [0x3636fdd38]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.363614da0
xorps xmm15, xmm15
mov r14, qword [0x3638bac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x3635f8159
jmp 0x3635f8148
call fcn.363647940
xorps xmm15, xmm15
mov r14, qword [0x3638bac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.363618ee0
lea rax, [0x3637490da]
mov ebx, 0x18
nop dword [rax]
call fcn.363619760
mov rax, qword [rsp + 0x38]
call fcn.3636194a0
lea rax, [0x3637494ae]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.363619760
mov rax, qword [rsp + 0x30]
call fcn.3636194a0
call fcn.363619120
call fcn.363618f40
lea rax, [0x36374b7ac]
mov ebx, 0x21
call fcn.3636173a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.3636441c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.3635f80c0
Function at 0x3635f8280
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x3635f84a6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x3636fdd30]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.363614e20
xorps xmm15, xmm15
mov r14, qword [0x3638bac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x3635f82f3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x3635f8302
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x3635f8325
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x3635f8335
cmp rbx, 0x1000
jae 0x3635f82f9
nop
jmp 0x3635f83b8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x3635f834d
xor esi, esi
jmp 0x3635f83aa
mov rax, qword [0x3636fdd30]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.363614e20
xorps xmm15, xmm15
mov r14, qword [0x3638bac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x3635f832b
jmp 0x3635f8316
call fcn.363647940
xorps xmm15, xmm15
mov r14, qword [0x3638bac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x3635f8440
nop dword [rax + rax]
call fcn.363618ee0
lea rax, [0x3637494c7]
mov ebx, 0x19
call fcn.363619760
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.3636194a0
lea rax, [0x3637494ae]
mov ebx, 0x19
call fcn.363619760
mov eax, dword [rsp + 0x34]
call fcn.3636194a0
nop
call fcn.363619120
call fcn.363618f40
lea rax, [0x363745c45]
mov ebx, 0xd
call fcn.3636173a0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x3635f83e0
call fcn.363618ee0
lea rax, [0x3637494c7]
mov ebx, 0x19
call fcn.363619760
mov rax, qword [rsp + 0x38]
call fcn.3636194a0
lea rax, [0x3637494ae]
mov ebx, 0x19
call fcn.363619760
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.3636194a0
call fcn.363619120
call fcn.363618f40
lea rax, [0x36374aef5]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.3636173a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.3636441c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.3635f8280
Function at 0x363600a00
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x3638baa71], 0
jne 0x363600af0
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x48]
test byte [rdx], al
mov ecx, dword [rax + 0x5c]
imul rcx, rbx
mov rbx, rcx
shr rbx, 0x20
shr rcx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], dil
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
add rdx, rcx
mov rbx, rdx
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x363600ae3
lea rsi, [0x36384cb78]
mov rdx, qword [rsi + rdx*8]
test byte [rdx], al
mov rsi, rcx
shr rsi, 0x10
and esi, 0x3f
shr rcx, 0xd
and ecx, 7
mov edi, 1
shl edi, cl
shr rbx, 0x16
and ebx, 0xfffff
mov rdx, qword [rdx + rbx*8]
test byte [rdx], al
movzx ebx, byte [rdx + rsi + 0x1040]
lea rdx, [rdx + rsi]
lea rdx, [rdx + 0x1040]
test dil, bl
jne 0x363600abe
lock or byte [rdx], dil
mov rcx, qword [r14 + 0x30]
mov rcx, qword [rcx + 0xa0]
test byte [rcx], al
mov rdx, qword [rcx + 0x1270]
add rdx, qword [rax + 0x68]
mov qword [rcx + 0x1270], rdx
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.3636464e0
lea rax, [0x36374dbc2]
mov ebx, 0x2c
nop dword [rax]
call fcn.3636173a0
nop
int3

Function at 0x363602f40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x363603046
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x10], 0
jmp 0x363602f83
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rbx, qword [rsp + 0x60]
movzx edi, byte [rsp + 0x70]
cmp qword [rsp + 0x10], rbx
jae 0x36360303b
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.363603d20
test rax, rax
je 0x36360303b
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x363603080]
mov qword [rsp + 0x18], rcx
lea rdx, [rsp + 0x10]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x18]
mov qword [rsp], rbx
nop dword [rax]
call fcn.3636440a0
xorps xmm15, xmm15
mov r14, qword [0x3638bac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
test rdx, rdx
jne 0x363603029
xor eax, eax
jmp 0x363603033
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x68]
test al, al
je 0x363602f71
mov rax, qword [rsp + 0x10]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.3636441c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.363602f40