joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140078080
Capabilities:
Get local ipv4 addresses

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor ecx, ecx
mov dword [rbp - 0x40], ecx
lea rcx, [0x140219108]
call fcn.1400026c0
mov rbx, rax
mov rcx, qword [0x1403b2a80]
mov rdx, qword [rcx + 8]
lea rcx, [rbx + 8]
call fcn.1400028d0
mov qword [rbp - 0x50], rbx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov dword [rbp - 0x54], ecx
mov edx, 0xc0
mov dword [rbp - 0x58], edx
xor r8d, r8d
mov qword [rbp - 0x60], r8
xor r9d, r9d
mov qword [rbp - 0x68], r9
lea rcx, [rbp - 0x90]
call fcn.140002b50
mov ecx, dword [rbp - 0x54]
mov edx, dword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x68]
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.140002ba0
cmp ebx, 0x6f
jne 0x140078231
mov ecx, dword [rbp - 0x40]
movsxd rcx, ecx
call fcn.1400bcf90
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov dword [rbp - 0x58], ecx
mov edx, 0xc0
mov dword [rbp - 0x54], edx
mov r9, qword [rbp - 0x48]
mov qword [rbp - 0x68], r9
xor r8d, r8d
mov qword [rbp - 0x60], r8
lea rcx, [rbp - 0x90]
call fcn.140002b50
mov ecx, dword [rbp - 0x58]
mov edx, dword [rbp - 0x54]
mov r9, qword [rbp - 0x68]
mov r8, qword [rbp - 0x60]
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.140002ba0
test ebx, ebx
jne 0x1400781de
mov rsi, qword [rbp - 0x48]
test rsi, rsi
je 0x1400781d8
lea rcx, [0x140207b70]
call fcn.1400026c0
mov rdi, rax
mov rcx, rdi
mov rdx, rsi
call fcn.1400782c0
mov r14, qword [rbp - 0x50]
inc dword [r14 + 0x14]
mov rcx, qword [r14 + 8]
mov edx, dword [r14 + 0x10]
mov eax, dword [rcx + 8]
cmp eax, edx
jbe 0x1400781e6
lea eax, [rdx + 1]
mov dword [r14 + 0x10], eax
mov edx, edx
lea rcx, [rcx + rdx*8 + 0x10]
mov rdx, rdi
call fcn.1400028d0
jmp 0x1400781f1
mov r14, qword [rbp - 0x50]
jmp 0x1400781fa
mov r14, qword [rbp - 0x50]
jmp 0x1400781fa
jmp 0x14007818f
mov rcx, r14
mov rdx, rdi
call fcn.1401034b0
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x1400781e4
test qword [rbp - 0x48], 0xffffffffffff0000
je 0x14007820d
mov rcx, qword [rbp - 0x48]
call fcn.1400c8020
cmp ebx, 0x6f
je 0x14007822c
cmp ebx, 0xe8
je 0x14007821f
cmp ebx, 0x57
jne 0x140078237
mov rcx, qword [0x1403b2a88]
mov rax, qword [rcx + 8]
jmp 0x140078243
jmp 0x140078121
mov r14, qword [rbp - 0x50]
jmp 0x140078212
test ebx, ebx
jne 0x140078258
mov rcx, r14
call fcn.140103920
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x140207940]
call fcn.1400026c0
mov rsi, rax
mov ecx, ebx
xor edx, edx
call fcn.1400c9170
mov rdx, rax
mov rcx, rsi
call fcn.1400bd190
mov dword [rsi + 0x50], ebx
mov rcx, rsi
call fcn.140003190
int3
Function at 0x1400785e0
Capabilities:
Get networking parameters

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rbx, qword [0x1403b2620]
mov rcx, qword [rbx + 0x20]
mov qword [rbp - 0x58], rcx
xor eax, eax
mov dword [rbp - 0x3c], eax
call fcn.140096650
mov dword [rbp - 0x3c], 1
lea rdx, [0x140203990]
cmp byte [rdx + 7], 0
jne 0x1400787fb
xor edx, edx
mov dword [rbp - 0x48], edx
lea rdx, [rbp - 0x48]
mov qword [rbp - 0x60], rdx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
lea rcx, [rbp - 0x90]
call fcn.140002b50
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
call sub.IPHLPAPI.DLL_GetNetworkParams
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140002ba0
cmp esi, 0x6f
jne 0x1400787f7
mov ecx, dword [rbp - 0x48]
movsxd rcx, ecx
call fcn.1400bcf90
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x48]
mov qword [rbp - 0x68], rdx
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x60], rcx
lea rcx, [rbp - 0x90]
call fcn.140002b50
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
call sub.IPHLPAPI.DLL_GetNetworkParams
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.140002ba0
test esi, esi
jne 0x1400787b8
mov rcx, qword [rbp - 0x50]
cmp byte [rcx], cl
mov rcx, qword [rbp - 0x50]
mov edx, 0x84
call fcn.140076ee0
lea rcx, [rbx + 8]
mov rdx, rax
call fcn.1400028d0
mov rcx, qword [rbp - 0x50]
cmp byte [rcx], cl
mov rdi, qword [rbp - 0x50]
add rdi, 0x84
mov rcx, rdi
mov edx, 0x84
call fcn.140076ee0
lea rcx, [rbx + 0x10]
mov rdx, rax
call fcn.1400028d0
mov rcx, qword [rbp - 0x50]
cmp byte [rcx], cl
mov rcx, qword [rbp - 0x50]
mov edx, 0x84
call fcn.140076ee0
lea rcx, [rbx + 8]
mov rdx, rax
call fcn.1400028d0
mov rcx, qword [rbp - 0x50]
cmp byte [rcx], cl
mov rcx, rdi
mov edx, 0x84
call fcn.140076ee0
lea rcx, [rbx + 0x10]
mov rdx, rax
call fcn.1400028d0
mov rcx, qword [rbp - 0x50]
mov ecx, dword [rcx + 0x140]
mov dword [0x140203990], ecx
mov rcx, qword [rbp - 0x50]
cmp byte [rcx], cl
mov rcx, qword [rbp - 0x50]
add rcx, 0x144
mov edx, 0x104
call fcn.140076ee0
lea rcx, [rbx + 0x18]
mov rdx, rax
call fcn.1400028d0
mov rcx, qword [rbp - 0x50]
cmp dword [rcx + 0x248], 0
setne cl
lea rax, [0x140203990]
mov byte [rax + 4], cl
mov rcx, qword [rbp - 0x50]
cmp dword [rcx + 0x24c], 0
setne cl
mov byte [rax + 5], cl
mov rcx, qword [rbp - 0x50]
cmp dword [rcx + 0x250], 0
setne cl
mov byte [rax + 6], cl
mov byte [rax + 7], 1
test qword [rbp - 0x50], 0xffffffffffff0000
je 0x1400787ee
mov rcx, qword [rbp - 0x50]
call fcn.1400c8020
jmp 0x1400787ee
lea rcx, [0x14020bb58]
call fcn.1400026c0
mov rbx, rax
mov rcx, rbx
mov edx, esi
call fcn.1400944a0
mov rcx, rbx
call fcn.140003190
cmp esi, 0x6f
je 0x14007866c
test esi, esi
jne 0x1400787cd
mov rcx, qword [rbp - 0x58]
call fcn.1400968c0
nop
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140079040
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.140002b50
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140002ba0
test ebx, ebx
jne 0x1400790b4
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
jne 0x1400790db
lea rcx, [0x14020a4e8]
call fcn.1400026c0
mov rbx, rax
mov rcx, rbx
call fcn.14008caf0
mov rcx, rbx
call fcn.140003190
lea rcx, [0x140209e10]
call fcn.1400026c0
mov rbx, rax
mov rcx, rbx
call fcn.140088ee0
mov rcx, rbx
call fcn.140003190
int3

Function at 0x140079560
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
je 0x14007957d
add rsp, 0x48
pop rbx
pop rbp
ret
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.1400c95e0
mov ecx, eax
test ecx, ecx
jne 0x14007960a
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.1400c9580
mov ecx, eax
lea rdx, [0x140121c48]
call fcn.1400b4680
mov rcx, rax
call fcn.140003190
int3
Function at 0x140085fa0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x1400861c4
lea r14, [0x140289470]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jl 0x140085fe7
lea r15d, [rbx - 4]
jmp 0x140085ffe
mov edx, 0x55555556
mov eax, edx
imul esi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x1400860a4
movsxd rax, edi
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r13d, word [rax + 2]
movzx r12d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r13d
or r9d, r12d
or r9d, eax
test r9d, 0xffffff00
je 0x14008603c
mov r9d, 0xffffffff
jmp 0x140086071
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
movsxd r9, r13d
movsx r13, byte [r14 + r9]
movsxd r9, r12d
movsx r12, byte [r14 + r9]
cdqe
movsx rax, byte [r14 + rax]
shl edx, 0x12
or eax, edx
shl r13d, 0xc
or eax, r13d
shl r12d, 6
mov r9d, eax
or r9d, r12d
test r9d, r9d
jl 0x1400861e1
movsxd rax, ebp
add rax, r11
mov edx, r9d
sar edx, 0x10
mov byte [rax], dl
mov edx, r9d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r9b
add ebp, 3
add edi, 4
cmp edi, r15d
jl 0x140086007
lea eax, [rbx - 4]
cmp r15d, eax
jne 0x1400861e1
cmp edi, ebx
je 0x1400861e1
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x1400861e1
cdqe
movsx rax, byte [r14 + rax]
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl eax, 0x12
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
je 0x140086169
movsxd r9, r9d
movsx r9, byte [r14 + r9]
movsxd r10, r10d
movsx r10, byte [r14 + r10]
or r10d, eax
shl r9d, 6
mov eax, r10d
or eax, r9d
jl 0x1400861e1
add esi, 0xfffffffd
cmp ebp, esi
jg 0x1400861e1
movsxd rdx, ebp
add r11, rdx
mov edx, eax
sar edx, 0x10
mov byte [r11], dl
mov edx, eax
sar edx, 8
mov byte [r11 + 1], dl
mov byte [r11 + 2], al
add ebp, 3
jmp 0x1400861bd
cmp r9d, 0x3d
je 0x1400861a6
movsxd r9, r9d
movsx r9, byte [r14 + r9]
mov edx, r9d
shl edx, 6
or eax, edx
jl 0x1400861e1
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x1400861e1
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x1400861bd
test eax, eax
jl 0x1400861e1
lea edx, [rsi - 1]
cmp ebp, edx
jg 0x1400861e1
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add edi, 4
cmp ebx, ecx
jne 0x1400861e1
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400c6e40
Capabilities:
Create directory

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
test rcx, rcx
je 0x1400c6e6f
add rcx, 0xc
mov rsi, rcx
jmp 0x1400c6e71
xor esi, esi
mov qword [rbp - 0x40], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x48], rcx
mov rdx, rbx
mov qword [rbp - 0x50], rdx
lea rcx, [rbp - 0x78]
call fcn.140002b50
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
call sub.KERNEL32.dll_CreateDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140002ba0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140001e0a
mov dword [rax + 0xa0], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c7350
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
je 0x1400c737c
add rcx, 0xc
mov rbx, rcx
jmp 0x1400c737e
xor ebx, ebx
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140002b50
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140002ba0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140001e0a
mov dword [rax + 0xa0], esi
movzx eax, bl
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c79a0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov ebx, ecx
mov qword [rbp - 0x40], rdx
mov rsi, rdx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebx
mov dword [rbp - 0x44], ecx
mov rdx, rsi
mov qword [rbp - 0x4c], rdx
lea rcx, [rbp - 0x78]
call fcn.140002b50
mov ecx, dword [rbp - 0x44]
mov rdx, qword [rbp - 0x4c]
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140002ba0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140001e0a
mov dword [rax + 0xa0], esi
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400c8070
Capabilities:
Set file attributes

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov ebx, edx
test rcx, rcx
je 0x1400c809e
add rcx, 0xc
mov rsi, rcx
jmp 0x1400c80a0
xor esi, esi
mov qword [rbp - 0x40], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x4c], rcx
mov edx, ebx
mov dword [rbp - 0x44], edx
lea rcx, [rbp - 0x78]
call fcn.140002b50
mov rcx, qword [rbp - 0x4c]
mov edx, dword [rbp - 0x44]
call sub.KERNEL32.dll_SetFileAttributesW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140002ba0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140001e0a
mov dword [rax + 0xa0], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c83e0
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
mov r14, r9
mov r15, qword [rbp + 0x38]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov byte [rbp - 0x4c], 0
lea rcx, [0x140203010]
call fcn.14011d860
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], r15
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
mov r9, r14
mov ebx, dword [rbp + 0x30]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x70], r8
mov qword [rbp - 0x78], r9
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], r15
lea rcx, [rbp - 0xa0]
call fcn.140002b50
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x70]
mov r9, qword [rbp - 0x78]
call sub.KERNEL32.dll_CreateThread
mov rbx, rax
lea rcx, [rbp - 0xa0]
call fcn.140002ba0
nop
xor eax, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x3c], 1
mov byte [rbp - 0x4c], 1
mov rax, qword [rbp - 0x58]
mov qword [rax + 8], rbx
mov rcx, rax
mov rax, rcx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c8530
Capabilities:
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400bd480
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x78]
call fcn.140002b50
mov rcx, qword [rbp - 0x50]
call sub.KERNEL32.dll_ResumeThread
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140002ba0
nop
cmp byte [rbp - 0x40], 0
je 0x1400c85a1
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400bd4c0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400c88e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140002b50
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.140002ba0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140001e0a
mov dword [rax + 0xa0], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c89a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
mov esi, r8d
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400bd480
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x54], rcx
mov rdx, rbx
mov qword [rbp - 0x5c], rdx
mov r8d, esi
mov dword [rbp - 0x4c], r8d
mov r9, rdi
mov qword [rbp - 0x64], r9
lea rcx, [rbp - 0x90]
call fcn.140002b50
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
mov r9, qword [rbp - 0x64]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.140002ba0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x1400c8a5d
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400bd4c0
call fcn.140001e0a
mov dword [rax + 0xa0], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400c8ac0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400bd480
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x5c], rcx
mov rdx, rsi
mov qword [rbp - 0x64], rdx
mov r8d, edi
mov dword [rbp - 0x54], r8d
mov r9, rbx
mov qword [rbp - 0x6c], r9
lea rcx, [rbp - 0x98]
call fcn.140002b50
mov rcx, qword [rbp - 0x5c]
mov rdx, qword [rbp - 0x64]
mov r8d, dword [rbp - 0x54]
mov r9, qword [rbp - 0x6c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.140002ba0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1400c8b8f
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400bd4c0
call fcn.140001e0a
mov dword [rax + 0xa0], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140115320
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jge 0x1401153bd
xor eax, eax
cmp r8d, 4
jl 0x140115371
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x1401153b8
nop dword [rax]
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
je 0x1401153b1
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
je 0x1401153a9
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
je 0x1401153a1
add rax, 4
test r8d, r8d
jle 0x14011559a
movsx r9, dx
nop
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
je 0x1401153b8
inc rax
test r8d, r8d
jg 0x140115380
jmp 0x14011559a
add eax, 3
jmp 0x140115595
add eax, 2
jmp 0x140115595
inc eax
jmp 0x140115595
jmp 0x140115595
movsx r9, dx
movd xmm0, r9d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov rax, rcx
lea edx, [r8 - 8]
movsxd rdx, edx
add rdx, rdx
lea r10, [rax + rdx]
movups xmm1, xmmword [rax]
pcmpeqw xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
xorps xmm2, xmm2
pcmpeqw xmm1, xmm2
pmovmskb r9d, xmm1
cmp r9d, 0xffff
jne 0x1401154d6
add rax, 0x10
cmp rax, r10
jbe 0x1401153e0
mov eax, r8d
test al, 7
je 0x14011559a
movups xmm1, xmmword [r10]
pcmpeqw xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x14011559a
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
jne 0x14011558c
mov ecx, 0x20
jmp 0x14011558f
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
jne 0x14011557d
mov r8d, 0x20
jmp 0x140115581
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x140115595
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x1400c4ebf
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140126c30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140126c58
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140126ca2
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x140126c4d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret