joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f4250
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp qword [rbx], 0
jne 0x1400f427a
lea rcx, [0x14039a8b0]
mov edx, 0x55
call fcn.140005640
mov rdx, rax
mov rcx, rbx
call fcn.1400057a0
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
cmp dword [rax + 8], 0x50
jbe 0x1400f42e8
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rbx]
cmp dword [rax + 8], 0x51
jbe 0x1400f42e8
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rbx]
cmp dword [rax + 8], 0x52
jbe 0x1400f42e8
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rbx]
cmp dword [rax + 8], 0x53
jbe 0x1400f42e8
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rbx]
cmp dword [rax + 8], 0x54
jbe 0x1400f42e8
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
call fcn.140163440
int3

Function at 0x140163a10
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 0x140163a3f
add rcx, 0xc
mov rsi, rcx
jmp 0x140163a41
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.140006aa0
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
call sub.KERNEL32.dll_CreateDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140006af0
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.140002cfe
mov dword [rax + 0xb8], 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 0x140163f20
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 0x140163f4c
add rcx, 0xc
mov rbx, rcx
jmp 0x140163f4e
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.140006aa0
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140006af0
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.140002cfe
mov dword [rax + 0xb8], 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 0x140164650
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.140006aa0
mov ecx, dword [rbp - 0x44]
mov rdx, qword [rbp - 0x4c]
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140006af0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140002cfe
mov dword [rax + 0xb8], 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 0x140165350
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, [0x1402fd3e8]
call fcn.1402a84b0
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.140006aa0
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.140006af0
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 0x1401654a0
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.140142920
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x78]
call fcn.140006aa0
mov rcx, qword [rbp - 0x50]
call sub.KERNEL32.dll_ResumeThread
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140006af0
nop
cmp byte [rbp - 0x40], 0
je 0x140165511
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140142960
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 0x1402840a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jge 0x14028413d
xor eax, eax
cmp r8d, 4
jl 0x1402840f1
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x140284138
nop dword [rax]
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
je 0x140284131
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
je 0x140284129
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
je 0x140284121
add rax, 4
test r8d, r8d
jle 0x14028431a
movsx r9, dx
nop
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
je 0x140284138
inc rax
test r8d, r8d
jg 0x140284100
jmp 0x14028431a
add eax, 3
jmp 0x140284315
add eax, 2
jmp 0x140284315
inc eax
jmp 0x140284315
jmp 0x140284315
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 0x140284256
add rax, 0x10
cmp rax, r10
jbe 0x140284160
mov eax, r8d
test al, 7
je 0x14028431a
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 0x14028431a
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 0x14028430c
mov ecx, 0x20
jmp 0x14028430f
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 0x1402842fd
mov r8d, 0x20
jmp 0x140284301
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x140284315
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x1402885b0
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x80], r8d
mov dword [rsp + 0x88], r9d
mov ebx, dword [rsp + 0x70]
mov esi, dword [rsp + 0x78]
xor edi, edi
cmp byte [rsp + 0x80], 0
setne dil
xor ebp, ebp
cmp byte [rsp + 0x88], 0
setne bpl
xor r14d, r14d
cmp byte [rsp + 0x90], 0
setne r14b
mov r15d, dword [rsp + 0x98]
mov r13d, dword [rsp + 0xa0]
lea r12, [0x1403023a0]
cmp qword [r12 - 8], 0
jne 0x140288700
mov eax, dword [r12]
imul ecx, ebx, 0x85ebca77
lea ecx, [rax + rcx + 0x24234428]
rol ecx, 0xd
imul ecx, ecx, 0x9e3779b1
rol ecx, 1
imul edx, esi, 0x85ebca77
lea edx, [rax + rdx - 0x7a143589]
rol edx, 0xd
imul edx, edx, 0x9e3779b1
rol edx, 7
add ecx, edx
imul edx, edi, 0x85ebca77
add edx, eax
rol edx, 0xd
imul edx, edx, 0x9e3779b1
rol edx, 0xc
add ecx, edx
imul edx, ebp, 0x85ebca77
lea eax, [rax + rdx + 0x61c8864f]
rol eax, 0xd
imul eax, eax, 0x9e3779b1
rol eax, 0x12
add eax, ecx
imul ecx, r14d, 0xc2b2ae3d
lea eax, [rax + rcx + 0x1c]
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul ecx, r15d, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul ecx, r13d, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400012d5
jmp 0x14028862e

Function at 0x140289380
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x38
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x68], edx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov ebx, dword [rsp + 0x68]
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x30], 0
jne 0x1402893cc
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x30], 0
jne 0x1402893cc
xor esi, esi
jmp 0x1402893d7
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov esi, eax
xor ecx, ecx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x28], 0
jne 0x140289404
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x28], 0
jne 0x140289404
xor edi, edi
jmp 0x14028940f
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edi, eax
lea rbp, [0x1403023a0]
cmp qword [rbp - 8], 0
jne 0x140289482
mov eax, dword [rbp]
imul ecx, ebx, 0xc2b2ae3d
lea eax, [rax + rcx + 0x165667bd]
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul ecx, esi, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul ecx, edi, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x38
pop rbx
pop rbp
pop rsi
pop rdi
ret
call fcn.1400012d5
jmp 0x14028941d
Function at 0x140289490
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x38
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x88], edx
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x98], r9
mov ebx, dword [rsp + 0x88]
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0x30], 0
jne 0x1402894f3
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x30], 0
jne 0x1402894f3
xor esi, esi
jmp 0x1402894fe
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov esi, eax
xor ecx, ecx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x98]
cmp qword [rsp + 0x28], 0
jne 0x14028952e
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x28], 0
jne 0x14028952e
xor edi, edi
jmp 0x140289539
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edi, eax
mov ebp, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xa8]
lea rax, [rsp + 0xb0]
mov r15d, dword [rax]
mov r13, qword [rax]
shr r13, 0x20
xor r15d, r13d
mov r13d, dword [rsp + 0xb8]
lea r12, [0x1403023a0]
cmp qword [r12 - 8], 0
jne 0x14028964a
mov eax, dword [r12]
imul ecx, ebx, 0x85ebca77
lea ecx, [rax + rcx + 0x24234428]
rol ecx, 0xd
imul ecx, ecx, 0x9e3779b1
rol ecx, 1
imul edx, esi, 0x85ebca77
lea edx, [rax + rdx - 0x7a143589]
rol edx, 0xd
imul edx, edx, 0x9e3779b1
rol edx, 7
add ecx, edx
imul edx, edi, 0x85ebca77
add edx, eax
rol edx, 0xd
imul edx, edx, 0x9e3779b1
rol edx, 0xc
add ecx, edx
imul edx, ebp, 0x85ebca77
lea eax, [rax + rdx + 0x61c8864f]
rol eax, 0xd
imul eax, eax, 0x9e3779b1
rol eax, 0x12
add eax, ecx
imul ecx, r14d, 0xc2b2ae3d
lea eax, [rax + rcx + 0x1c]
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul ecx, r15d, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul ecx, r13d, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x38
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400012d5
jmp 0x140289578
Function at 0x140289660
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x38
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x88], edx
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x98], r9
mov rbx, qword [rsp + 0xb0]
mov esi, dword [rsp + 0x88]
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0x30], 0
jne 0x1402896cb
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x30], 0
jne 0x1402896cb
xor edi, edi
jmp 0x1402896d6
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edi, eax
xor ecx, ecx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x98]
cmp qword [rsp + 0x28], 0
jne 0x140289706
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x28], 0
jne 0x140289706
xor ebp, ebp
jmp 0x140289711
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebp, eax
mov r14d, dword [rsp + 0xa0]
mov r15d, dword [rsp + 0xa8]
mov rcx, rbx
call fcn.1401d8420
mov ebx, eax
mov r13d, dword [rsp + 0xb8]
lea r12, [0x1403023a0]
cmp qword [r12 - 8], 0
jne 0x140289818
mov eax, dword [r12]
imul ecx, esi, 0x85ebca77
lea ecx, [rax + rcx + 0x24234428]
rol ecx, 0xd
imul ecx, ecx, 0x9e3779b1
rol ecx, 1
imul edx, edi, 0x85ebca77
lea edx, [rax + rdx - 0x7a143589]
rol edx, 0xd
imul edx, edx, 0x9e3779b1
rol edx, 7
add ecx, edx
imul edx, ebp, 0x85ebca77
add edx, eax
rol edx, 0xd
imul edx, edx, 0x9e3779b1
rol edx, 0xc
add ecx, edx
imul edx, r14d, 0x85ebca77
lea eax, [rax + rdx + 0x61c8864f]
rol eax, 0xd
imul eax, eax, 0x9e3779b1
rol eax, 0x12
add eax, ecx
imul ecx, r15d, 0xc2b2ae3d
lea eax, [rax + rcx + 0x1c]
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul ecx, ebx, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul ecx, r13d, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x38
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400012d5
jmp 0x140289746
Function at 0x14028d220
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
cmp r9d, 8
jge 0x14028d271
movzx r10d, dx
sub r8d, r10d
movzx eax, r8w
xor edx, edx
test r9d, r9d
jle 0x14028d49b
movsxd r8, edx
movzx r8d, word [rcx + r8*2]
sub r8d, r10d
movzx r8d, r8w
cmp r8d, eax
jle 0x14028d265
inc edx
cmp edx, r9d
jl 0x14028d245
jmp 0x14028d49b
mov eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
movzx r10d, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov eax, r8d
sub eax, r10d
movzx eax, ax
movd xmm1, eax
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov rax, rcx
add r9d, 0xfffffff8
mov edx, r9d
add rdx, rdx
lea r8, [rax + rdx]
movups xmm2, xmmword [case.0x14027e775.9]
movaps xmm3, xmm1
psubw xmm3, xmm2
movups xmm4, xmmword [rax]
psubw xmm4, xmm0
movaps xmm5, xmm4
psubw xmm5, xmm2
movaps xmm6, xmm3
pcmpgtw xmm6, xmm5
pcmpeqw xmm4, xmm1
por xmm4, xmm6
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r10d, xmm4
cmp r10d, 0xffff
jne 0x14028d3db
add rax, 0x10
cmp rax, r8
jb 0x14028d2b8
movups xmm4, xmmword [r8]
psubw xmm4, xmm0
movaps xmm0, xmm4
psubw xmm0, xmm2
pcmpgtw xmm3, xmm0
pcmpeqw xmm1, xmm4
por xmm1, xmm3
movaps xmmword [rsp + 0x20], xmm1
xorps xmm0, xmm0
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x14028d49b
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
bsf ecx, eax
mov r8d, 0x20
test eax, eax
cmove ecx, r8d
mov eax, ecx
shr rdx, 1
add eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
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
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140002942
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140002961
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001aa60

Function at 0x140005676
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], rdx
mov rsi, rcx
mov ecx, 2
call qword [fcn.14001a480]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.14001aa60

Function at 0x1400056b5
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x14005f0f0], 0
jne 0x1400056cd
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140005676
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.140005614
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x14005f0f0]
test rbx, rbx
je 0x1400056fe
test byte [rbx + 7], 0x40
jne 0x1400056fe
mov rcx, rbx
call fcn.1400039cc
lea rcx, [0x14001b320]
call fcn.140015260
cmp byte [rax], 0
je 0x140005736
mov byte [rax], 0
lea rcx, [0x14001b220]
call fcn.140015260
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140003f38
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x140005d6b
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x14005f0c0]
xor ebx, ebx
lea r14, [0x14001b320]
mov rsi, rcx
mov rdi, rdx
lea r13, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [fcn.14001a480]
mov ecx, 1
cmp rbx, rdi
jl 0x140005df1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14001c3bb]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.14001aa60
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movups xmmword [rsp + 0x20], xmm0
call fcn.140005c45
mov rcx, r14
call fcn.140015260
cmp byte [rax], 0
jne 0x140005e23
inc rbx
jmp 0x140005da4
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140010fa3
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140010fe1
cmp word [rcx], 0x5a4d
jne 0x140010fe1
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x140010fe1
call fcn.140007633
mov rcx, qword [0x14005a1d0]
mov rbx, rax
call fcn.140015260
cmp byte [rax], 0
jne 0x140010fe1
cmp dword [rbx], 0x4550
je 0x140010fe3
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140014330
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14001a480
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001a480
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400143a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14005fb14]
mov rbx, rcx
test esi, esi
jle 0x1400144d0
mov rax, qword [0x14005fb18]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400143eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140014475
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400143d0
mov rcx, rbx
call fcn.140014df0
mov rdi, rax
test rax, rax
je 0x1400144f2
mov rax, qword [0x14005fb18]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014f30
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14005fb18]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400144d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001446e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140014480
add dword [0x14005fb14], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14005fb18]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001446e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140014330
nop dword [rax]
xor esi, esi
jmp 0x1400143f8
mov rax, qword [0x14005fb18]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140014330
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140014330
nop
nop word cs:[rax + rax]
nop dword [rax]