joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005e10
Capabilities:
Enumerate process modules

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 - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.18003d5e0
nop
mov qword [rbp - 0x50], rbx
lea r14, [rsi + 0x10]
xor ecx, ecx
test rsi, rsi
cmove r14, rcx
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r15d
mov rcx, rsi
mov qword [rbp - 0x8c], rcx
mov rdx, r14
mov qword [rbp - 0x94], rdx
mov r8d, edi
mov dword [rbp - 0x84], r8d
mov r9, rbx
mov qword [rbp - 0x9c], r9
lea rcx, [rbp - 0x80]
call fcn.1800a0570
mov rcx, qword [rbp - 0x8c]
mov rdx, qword [rbp - 0x94]
mov r8d, dword [rbp - 0x84]
mov r9, qword [rbp - 0x9c]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1800a05c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x180005f18
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.18003d620
mov rax, qword gs:[0x58]
mov ecx, dword [0x180197a58]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x180005f52
mov dword [rdi + 0x50], esi
movzx eax, bl
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800439a0]
call rax
mov rdi, rax
jmp 0x180005f38

Function at 0x180008240
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1801aec20]
cmp qword [rcx - 8], 0
jne 0x18000827e
mov rcx, rbx
call fcn.180008000
test eax, eax
jne 0x18000826c
add rsp, 0x20
pop rbx
jmp fcn.1800092a0
mov rcx, rbx
mov edx, 1
add rsp, 0x20
pop rbx
jmp fcn.180009220
call fcn.18009b4d6
jmp 0x180008256
Function at 0x1800092a0
Capabilities:
Enumerate process modules

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
lea rcx, [0x1801aee48]
cmp qword [rcx - 8], 0
jne 0x18000943f
mov rbx, qword [0x18018b5d0]
mov qword [rbp - 0x80], rbx
mov rcx, qword [rbx + 8]
mov edx, 0x100
cmp dword [rcx], ecx
call fcn.18006df00
mov rsi, rax
mov rcx, qword gs:[0x58]
mov eax, dword [0x180197a58]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x180009449
mov qword [rbp - 0x88], rdi
jmp 0x180009348
add r14d, r14d
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp - 0x78]
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.18006e160
mov rcx, qword [rbx + 8]
mov edx, r14d
cmp dword [rcx], ecx
call fcn.18006df00
mov rsi, rax
mov r14d, dword [rsi + 8]
lea r15d, [r14*4]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
lea r13, [rbp - 0x3c]
mov qword [rbp - 0x78], rsi
lea r12, [rsi + 0x10]
mov qword [rbp - 0x48], r12
call sub.KERNEL32.dll_SetLastError
mov rcx, r12
mov qword [rbp - 0x94], rcx
mov edx, r15d
mov dword [rbp - 0x8c], edx
mov r8, r13
mov qword [rbp - 0x9c], r8
lea rcx, [rbp - 0x70]
call fcn.1800a0570
mov rcx, qword [rbp - 0x94]
mov edx, dword [rbp - 0x8c]
mov r8, qword [rbp - 0x9c]
call sub.KERNEL32.dll_K32EnumProcesses
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.1800a05c0
call sub.KERNEL32.dll_GetLastError
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov rdi, qword [rbp - 0x88]
mov dword [rdi + 0x50], eax
test ebx, ebx
je 0x18000945d
cmp dword [rbp - 0x3c], r15d
je 0x18000931e
mov rsi, qword [rbp - 0x78]
mov edx, dword [rbp - 0x3c]
sar edx, 0x1f
and edx, 3
add edx, dword [rbp - 0x3c]
sar edx, 2
movsxd rdx, edx
lea rcx, [0x1801c96b0]
call fcn.18009e780
mov rdi, rax
mov r8d, dword [rdi + 8]
mov rcx, rsi
mov rdx, rdi
call fcn.180012a80
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rbx + 8]
mov rdx, rsi
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.18006e160
mov rax, rdi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.18009bb35
jmp 0x1800092d3
mov rcx, rdx
lea rax, [0x1800439a0]
call rax
mov rdi, rax
jmp 0x180009315
lea rcx, [0x1801b3d18]
call fcn.18009e660
mov rbx, rax
mov rcx, rbx
call fcn.1800280e0
mov rcx, rbx
call fcn.18009ebe0
int3
Function at 0x18000b450
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 - 0x64], r8d
mov rdx, rcx
mov qword [rbp - 0x70], rdx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov r9d, 2
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.1800a0570
mov r8d, dword [rbp - 0x64]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x68]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.1800a05c0
test ebx, ebx
jne 0x18000b4c4
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x18000b4ec
lea rcx, [0x1801b2678]
call fcn.18009e660
mov rbx, rax
mov rcx, rbx
call fcn.180018350
mov rcx, rbx
call fcn.18009ebe0
int3
lea rcx, [0x1801b2d20]
call fcn.18009e660
mov rbx, rax
mov rcx, rbx
call fcn.18001ba20
mov rcx, rbx
call fcn.18009ebe0
int3

Function at 0x18000e240
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x18000e252
add rsp, 0x28
jmp fcn.18000ebc0
lea rcx, [0x1801ab998]
call fcn.1800151b0
int3

Function at 0x18000e260
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x18000e280
cmp dword [rcx + 8], 0
je 0x18000e278
add rsp, 0x28
jmp fcn.18000e6c0
mov rax, rcx
add rsp, 0x28
ret
lea rcx, [0x1801aaec8]
call fcn.1800151b0
int3
Function at 0x18000e6c0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x60], xmm4
movaps xmmword [rbp + 0x70], xmm4
mov qword [rbp + 0x80], rax
mov rax, qword [0x18018c480]
mov qword [rbp + 0x20], rax
mov rbx, rcx
test dword [rsp], esp
sub rsp, 0x100
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x78], rcx
mov dword [rbp + 0x80], 0x80
xor ecx, ecx
mov dword [rbp + 0x70], ecx
mov rcx, qword gs:[0x58]
mov eax, dword [0x180197a58]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rsi, qword [rdx]
test rsi, rsi
je 0x18000e848
mov qword [rbp + 0x28], rsi
jmp 0x18000e75f
mov edx, ebx
mov rbx, qword [rbp + 0xd0]
sub edx, dword [rbp + 0x70]
lea rcx, [rbp + 0x68]
call fcn.180031590
mov rdi, qword [rbp + 0x78]
mov r14d, dword [rbp + 0x80]
mov qword [rbp + 0x60], rdi
test rbx, rbx
je 0x18000e780
mov qword [rbp + 0xd0], rbx
lea r15, [rbx + 0xc]
jmp 0x18000e78a
xor r15d, r15d
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0x58], r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r15
mov qword [rbp + 0x14], rcx
mov rdx, rdi
mov qword [rbp + 0xc], rdx
mov r8d, r14d
mov dword [rbp + 0x1c], r8d
lea rcx, [rbp + 0x30]
call fcn.1800a0570
mov rcx, qword [rbp + 0x14]
mov rdx, qword [rbp + 0xc]
mov r8d, dword [rbp + 0x1c]
call sub.KERNEL32.dll_ExpandEnvironmentStringsW
mov ebx, eax
lea rcx, [rbp + 0x30]
call fcn.1800a05c0
call sub.KERNEL32.dll_GetLastError
xor edx, edx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rdx
mov rsi, qword [rbp + 0x28]
mov dword [rsi + 0x50], eax
mov edx, ebx
movsxd rcx, dword [rbp + 0x80]
cmp rdx, rcx
jle 0x18000e80b
cmp ebx, dword [rbp + 0x80]
ja 0x18000e74a
mov rbx, qword [rbp + 0xd0]
jmp 0x18000e75f
test ebx, ebx
je 0x18000e85c
lea ecx, [rbx - 1]
mov dword [rbp + 0x70], ecx
lea rcx, [rbp + 0x68]
call fcn.180031350
lea rcx, [0x18018c480]
mov rcx, qword [rcx]
cmp qword [rbp + 0x20], rcx
je 0x18000e833
call fcn.18009e100
nop
lea rsp, [rbp + 0x88]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800439a0]
call rax
mov rsi, rax
jmp 0x18000e744
lea rcx, [0x180198a38]
call fcn.1800356c0
mov rcx, rax
call fcn.18009ebe0
int3
Function at 0x18000ea60
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x20]
xorps xmm4, xmm4
movaps xmmword [rbp + 0x50], xmm4
movaps xmmword [rbp + 0x60], xmm4
xor eax, eax
mov qword [rbp + 0x70], rax
mov rax, qword [0x18018c480]
mov qword [rbp + 0x10], rax
test dword [rsp], esp
sub rsp, 0x40
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x68], rcx
mov dword [rbp + 0x70], 0x20
xor ecx, ecx
mov dword [rbp + 0x60], ecx
mov rcx, qword gs:[0x58]
mov eax, dword [0x180197a58]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18000eb90
mov qword [rbp + 0x18], rbx
jmp 0x18000eae8
mov edx, ebx
sub edx, dword [rbp + 0x60]
lea rcx, [rbp + 0x58]
call fcn.180031590
mov rsi, qword [rbp + 0x68]
mov qword [rbp + 0x20], rsi
mov edi, dword [rbp + 0x70]
mov qword [rbp + 0x50], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rsi, qword [rbp + 0x20]
mov rcx, rsi
mov qword [rbp + 4], rcx
mov edx, edi
mov dword [rbp + 0xc], edx
lea rcx, [rbp + 0x28]
call fcn.1800a0570
mov rcx, qword [rbp + 4]
mov edx, dword [rbp + 0xc]
call sub.KERNEL32.dll_GetSystemDirectoryW
mov ebx, eax
lea rcx, [rbp + 0x28]
call fcn.1800a05c0
call sub.KERNEL32.dll_GetLastError
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov rsi, qword [rbp + 0x18]
mov dword [rsi + 0x50], eax
mov ecx, ebx
movsxd rax, dword [rbp + 0x70]
cmp rcx, rax
jg 0x18000eb82
test ebx, ebx
je 0x18000eba4
mov dword [rbp + 0x60], ebx
lea rcx, [rbp + 0x58]
call fcn.180031350
lea rcx, [0x18018c480]
mov rcx, qword [rcx]
cmp qword [rbp + 0x10], rcx
je 0x18000eb70
call fcn.18009e100
nop
lea rsp, [rbp + 0x78]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, dword [rbp + 0x70]
jbe 0x18000eae8
jmp 0x18000eada
mov rcx, rdx
lea rax, [0x1800439a0]
call rax
mov rbx, rax
jmp 0x18000ead4
lea rcx, [0x180198a38]
call fcn.1800356c0
mov rcx, rax
call fcn.18009ebe0
int3
Function at 0x18000ebc0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x60], xmm4
movaps xmmword [rbp + 0x70], xmm4
mov qword [rbp + 0x80], rax
mov rax, qword [0x18018c480]
mov qword [rbp + 0x20], rax
mov rbx, rcx
test dword [rsp], esp
sub rsp, 0x100
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x78], rcx
mov dword [rbp + 0x80], 0x80
xor ecx, ecx
mov dword [rbp + 0x70], ecx
mov rcx, qword gs:[0x58]
mov eax, dword [0x180197a58]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rsi, qword [rdx]
test rsi, rsi
je 0x18000ed8c
mov qword [rbp + 0x28], rsi
jmp 0x18000ec5f
mov edx, ebx
mov rbx, qword [rbp + 0xd0]
sub edx, dword [rbp + 0x70]
lea rcx, [rbp + 0x68]
call fcn.180031590
mov rdi, qword [rbp + 0x78]
mov r14d, dword [rbp + 0x80]
mov qword [rbp + 0x60], rdi
test rbx, rbx
je 0x18000ec80
mov qword [rbp + 0xd0], rbx
lea r15, [rbx + 0xc]
jmp 0x18000ec8a
xor r15d, r15d
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0x58], r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r15
mov qword [rbp + 0x14], rcx
mov rdx, rdi
mov qword [rbp + 0xc], rdx
mov r8d, r14d
mov dword [rbp + 0x1c], r8d
lea rcx, [rbp + 0x30]
call fcn.1800a0570
mov rcx, qword [rbp + 0x14]
mov rdx, qword [rbp + 0xc]
mov r8d, dword [rbp + 0x1c]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
lea rcx, [rbp + 0x30]
call fcn.1800a05c0
call sub.KERNEL32.dll_GetLastError
xor edx, edx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rdx
mov rsi, qword [rbp + 0x28]
mov dword [rsi + 0x50], eax
mov edx, ebx
movsxd rcx, dword [rbp + 0x80]
cmp rdx, rcx
jle 0x18000ed0b
cmp ebx, dword [rbp + 0x80]
ja 0x18000ec4a
mov rbx, qword [rbp + 0xd0]
jmp 0x18000ec5f
test ebx, ebx
jne 0x18000ed18
cmp dword [rsi + 0x50], 0xcb
je 0x18000ed26
mov dword [rbp + 0x70], ebx
lea rcx, [rbp + 0x68]
call fcn.180031350
jmp 0x18000ed62
mov rbx, qword [rbp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
test rbx, rbx
je 0x18000ed60
lea rcx, [0x1801aee40]
cmp qword [rcx - 8], 0
jne 0x18000eda0
mov rcx, qword [0x18018b5c0]
mov rcx, qword [rcx + 8]
mov rdx, rbx
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.18006c4e0
xor eax, eax
lea rcx, [0x18018c480]
mov rcx, qword [rcx]
cmp qword [rbp + 0x20], rcx
je 0x18000ed77
call fcn.18009e100
nop
lea rsp, [rbp + 0x88]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800439a0]
call rax
mov rsi, rax
jmp 0x18000ec44
call fcn.18009bb15
jmp 0x18000ed48
Function at 0x18000fc20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x20]
xorps xmm4, xmm4
movaps xmmword [rbp + 0x10], xmm4
xor eax, eax
mov qword [rbp + 0x20], rax
mov rax, qword [0x18018c480]
mov qword [rbp + 8], rax
mov esi, ecx
mov ebx, edx
mov rdi, r8
mov r14d, dword [rdi + 8]
xor r15d, r15d
cmp r14d, 0x100
jb 0x18000fca6
lea rcx, [0x1801aee40]
cmp qword [rcx - 8], 0
jne 0x18000fd9d
mov rcx, qword [0x18018b5c0]
mov rcx, qword [rcx + 8]
lea edx, [r14 + 1]
cmp dword [rcx], ecx
call fcn.18006c280
mov r15, rax
test r15, r15
jne 0x18000fc9c
xor r13d, r13d
xor r12d, r12d
jmp 0x18000fca4
lea r13, [r15 + 0x10]
mov r12d, dword [r15 + 8]
jmp 0x18000fcbb
test dword [rsp], esp
sub rsp, 0x200
lea r13, [rsp + 0x20]
mov r12d, 0x100
mov qword [rbp + 0x10], r13
mov dword [rbp + 0x18], r12d
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.180026c00
cmp r14d, r12d
jae 0x18000fdae
mov ecx, r14d
mov word [r13 + rcx*2], 0
xor ecx, ecx
test r12d, r12d
cmovne rcx, r13
mov qword [rbp + 0x20], rcx
cmp r14d, 2
jle 0x18000fd27
add r14d, 0xfffffffc
mov edx, esi
rol edx, 5
add esi, edx
mov edx, dword [rcx]
or edx, 0x200020
xor esi, edx
mov edx, ebx
rol edx, 5
add ebx, edx
mov edx, dword [rcx + 4]
or edx, 0x200020
xor ebx, edx
add rcx, 8
cmp r14d, 2
jg 0x18000fcf6
test r14d, r14d
jle 0x18000fd3d
mov edx, ebx
rol edx, 5
add edx, ebx
mov ebx, dword [rcx]
or ebx, 0x200020
xor ebx, edx
xor ecx, ecx
mov qword [rbp + 0x20], rcx
test r15, r15
je 0x18000fd6e
lea rcx, [0x1801aee40]
cmp qword [rcx - 8], 0
jne 0x18000fda7
mov rcx, qword [0x18018b5c0]
mov rcx, qword [rcx + 8]
mov rdx, r15
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.18006c4e0
imul eax, ebx, 0x5d588b65
add eax, esi
lea rcx, [0x18018c480]
mov rcx, qword [rcx]
cmp qword [rbp + 8], rcx
je 0x18000fd8b
call fcn.18009e100
nop
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.18009bb15
jmp 0x18000fc76
call fcn.18009bb15
jmp 0x18000fd56
call fcn.1800462c0
int3
Function at 0x180017c40
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, dword [rbx + 0x1c]
mov edi, esi
and edi, 3
cmp esi, 4
jae 0x180017c74
lea rbp, [0x1801aec68]
cmp qword [rbp - 8], 0
jne 0x180017d01
mov eax, dword [rbp]
add eax, 0x165667b1
jmp 0x180017c90
mov eax, dword [rbx]
rol eax, 1
mov ecx, dword [rbx + 4]
rol ecx, 7
add eax, ecx
mov ecx, dword [rbx + 8]
rol ecx, 0xc
add eax, ecx
mov ecx, dword [rbx + 0xc]
rol ecx, 0x12
add eax, ecx
lea eax, [rax + rsi*4]
test edi, edi
je 0x180017cd7
imul ecx, dword [rbx + 0x10], 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp edi, 1
jbe 0x180017cd7
imul ecx, dword [rbx + 0x14], 0xc2b2ae3d
add ecx, eax
rol ecx, 0x11
imul eax, ecx, 0x27d4eb2f
cmp edi, 2
jbe 0x180017cd7
imul ecx, dword [rbx + 0x18], 0xc2b2ae3d
add ecx, eax
rol ecx, 0x11
imul eax, ecx, 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
ret
call fcn.18009b510
jmp 0x180017c6a
Function at 0x18001c9a0
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rsi, rcx
mov rdi, r8
mov r8d, edx
mov ebx, r9d
test ebx, ebx
je 0x18001cbbd
lea ebp, [rbx - 1]
test ebp, ebp
je 0x18001cb64
xor r14d, r14d
movzx r15d, word [rdi]
mov r13d, r8d
sub r13d, ebp
cmp r13d, 8
jl 0x18001cad9
movsxd rcx, ebp
movzx ecx, word [rdi + rcx*2]
movsxd rbp, ebp
jmp 0x18001ca03
dec rbp
movzx ecx, word [rdi + rbp*2]
cmp ecx, r15d
jne 0x18001ca0e
cmp rbp, 1
jg 0x18001c9fc
movd xmm0, r15d
movaps xmm6, xmm0
punpcklwd xmm6, xmm0
pshufd xmm6, xmm6, 0
movd xmm0, ecx
movaps xmm7, xmm0
punpcklwd xmm7, xmm0
pshufd xmm7, xmm7, 0
movsxd r15, r13d
add r15, 0xfffffffffffffff8
jmp 0x18001ca3b
mov r14, r15
movups xmm0, xmmword [rsi + r14*2]
pcmpeqw xmm0, xmm6
lea rcx, [r14 + rbp]
movups xmm1, xmmword [rsi + rcx*2]
pcmpeqw xmm1, xmm7
pand xmm0, xmm1
xorps xmm1, xmm1
pcmpeqb xmm1, xmm0
pmovmskb ecx, xmm1
cmp ecx, 0xffff
je 0x18001caba
pmovmskb r12d, xmm0
test r12d, r12d
je 0x18001ca77
bsf ecx, r12d
jmp 0x18001ca7c
mov ecx, 0x20
shr ecx, 1
mov eax, ecx
mov qword [rsp + 0x28], rax
cmp ebx, 2
je 0x18001cad4
lea rcx, [r14 + rax]
lea rcx, [rsi + rcx*2]
mov r8d, ebx
add r8, r8
mov rdx, rdi
call fcn.18001c4c0
test eax, eax
mov rax, qword [rsp + 0x28]
jne 0x18001cad4
lea ecx, [r12 - 1]
and ecx, r12d
lea r12d, [rcx - 1]
and r12d, ecx
jne 0x18001ca6c
add r14, 8
movsxd rcx, r13d
cmp r14, rcx
je 0x18001cb26
cmp r14, r15
jle 0x18001ca3b
jmp 0x18001ca38
add eax, r14d
jmp 0x18001cb49
add rdi, 2
test r13d, r13d
jle 0x18001cb26
lea rcx, [rsi + r14*2]
movsx rdx, r15w
mov r8d, r13d
call fcn.18008e780
test eax, eax
jl 0x18001cb26
sub r13d, eax
movsxd rcx, eax
add r14, rcx
test r13d, r13d
jle 0x18001cb26
lea rcx, [rsi + r14*2 + 2]
mov r8d, ebp
add r8, r8
mov rdx, rdi
call fcn.18001c4c0
test eax, eax
jne 0x18001cb46
dec r13d
inc r14
test r13d, r13d
jg 0x18001cae2
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
movsx rdx, word [rdi]
movzx ecx, dx
dec ecx
cmp ecx, 0xfe
jb 0x18001cb97
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.18008e780
movsx rdx, dx
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.180098160
xor eax, eax
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x18001f0f0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp qword [rbx], 0
jne 0x18001f11a
lea rcx, [0x1801c9848]
mov edx, 0x55
call fcn.18009e780
mov rdx, rax
mov rcx, rbx
call fcn.18009e8e0
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
cmp dword [rax + 8], 0x50
jbe 0x18001f188
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rbx]
cmp dword [rax + 8], 0x51
jbe 0x18001f188
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rbx]
cmp dword [rax + 8], 0x52
jbe 0x18001f188
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rbx]
cmp dword [rax + 8], 0x53
jbe 0x18001f188
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rbx]
cmp dword [rax + 8], 0x54
jbe 0x18001f188
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
call fcn.1800462c0
int3
Function at 0x18002c2a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
movsd xmm6, qword [0x180141be0]
movaps xmm7, xmm6
call fcn.18002c4e0
call fcn.18002be40
test eax, eax
jl 0x18002c48b
lea rbx, [0x1801aed20]
cmp qword [rbx - 8], 0
jne 0x18002c4ac
movabs rdx, 0x431bde82d7b634db
mov rax, rdx
imul qword [rbx]
mov rcx, rdx
shr rcx, 0x3f
sar rdx, 0x12
lea rsi, [rdx + rcx + 1]
mov ebx, 0xa
mov edi, 8
add edi, edi
lea rcx, [rsp + 0x38]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbp, qword [rsp + 0x38]
cmp dword [0x180191350], 0
jne 0x18002c4b6
test edi, edi
jle 0x18002c33c
mov r14d, edi
call fcn.18002be40
dec r14d
jne 0x18002c332
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rsp + 0x30]
sub rcx, rbp
mov rbp, rcx
cmp dword [0x180191350], 0
jne 0x18002c4c0
cmp rbp, rsi
jl 0x18002c30d
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
xorps xmm1, xmm1
cvtsi2sd xmm1, edi
divsd xmm0, xmm1
ucomisd xmm7, xmm0
jp 0x18002c37e
je 0x18002c38c
ucomisd xmm7, xmm7
jp 0x18002c396
ucomisd xmm0, xmm7
ja 0x18002c396
jmp 0x18002c399
movq rcx, xmm7
test rcx, rcx
jge 0x18002c38a
movaps xmm0, xmm7
movaps xmm7, xmm0
mov ecx, edi
sar ecx, 0x1f
and ecx, 3
add ecx, edi
mov edi, ecx
sar edi, 2
add edi, edi
lea rcx, [rsp + 0x28]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbp, qword [rsp + 0x28]
cmp dword [0x180191350], 0
jne 0x18002c4ca
test edi, edi
jle 0x18002c3da
mov r14d, edi
call fcn.18002c4e0
dec r14d
jne 0x18002c3d0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rsp + 0x20]
sub rax, rbp
mov rbp, rax
cmp dword [0x180191350], 0
jne 0x18002c4d4
cmp rbp, rsi
jl 0x18002c3ab
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
xorps xmm1, xmm1
cvtsi2sd xmm1, edi
divsd xmm0, xmm1
ucomisd xmm6, xmm0
jp 0x18002c41c
je 0x18002c42a
ucomisd xmm6, xmm6
jp 0x18002c434
ucomisd xmm0, xmm6
ja 0x18002c434
jmp 0x18002c437
movq rax, xmm6
test rax, rax
jge 0x18002c428
movaps xmm0, xmm6
movaps xmm6, xmm0
dec ebx
jne 0x18002c308
movaps xmm0, xmm7
mulsd xmm0, qword [0x180141be8]
divsd xmm0, xmm6
call fcn.18009f330
mov ecx, 0x1388
cmp eax, 0x1388
cmovg eax, ecx
mov dword [0x18018c610], eax
cmp dword [0x18018c610], 5
setle al
movzx eax, al
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
mov dword [0x18018c610], 0xffff
xor eax, eax
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
call fcn.18009b5a1
jmp 0x18002c2e3
call fcn.18009f450
jmp 0x18002c32b
call fcn.18009f450
jmp 0x18002c35e
call fcn.18009f450
jmp 0x18002c3c9
call fcn.18009f450
jmp 0x18002c3fc