joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001bc8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x180001c12
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18001ee70]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
test rbx, rbx
je 0x180001c50
cmp rbx, r14
jb 0x180001c4b
cmp rbx, r12
jae 0x180001c4b
cmp qword [rbx + 8], rsi
jne 0x180001da7
mov rbx, qword [rbx]
jmp 0x180001c32
mov r15, rdi
cmp rdi, r14
jb 0x180001cd4
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
sub r15, r13
cmp r15, r14
jb 0x180001ccb
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180001ccb
cmp dword [rbp - 0x10], 0x10000
je 0x180001c9b
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x180001ccb
jmp 0x180001c67
test r15, r15
je 0x180001ccb
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180001d6c
cmp r15, r14
jae 0x180001c58
test rbx, rbx
jne 0x180001d6c
cmp rdi, r12
ja 0x180001da7
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x180001da7
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180001da7
cmp dword [rbp - 0x10], 0x10000
je 0x180001d42
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jmp 0x180001cfb
test rdi, rdi
je 0x180001da7
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x180001cce
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x180001d78
mov rax, qword [0x18001ee70]
mov qword [rbx], rax
mov qword [0x18001ee70], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180009e18
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180009e48
xor eax, eax
jmp 0x180009f0b
mov rbp, rbx
cmp word [rax], si
je 0x180009e6d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180009e54
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180009e50
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180009d68
movsxd r14, eax
test eax, eax
jne 0x180009eab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180009e41
mov rcx, r14
call fcn.18000b0a0
mov rdi, rax
test rax, rax
jne 0x180009ec4
xor ecx, ecx
call fcn.1800083d0
jmp 0x180009ea0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180009d68
test eax, eax
jne 0x180009ef5
mov rcx, rdi
call fcn.1800083d0
jmp 0x180009eff
xor ecx, ecx
call fcn.1800083d0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18000f670
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000f698
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000f698
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x18000f970
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18000fa9e
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor edi, edi
mov qword [0x18001ce18], rbx
xor eax, eax
mov ebx, 1
lock cmpxchg dword [0x18001ce30], ebx
je 0x18000f9c8
cmp rdi, 0x20
jae 0x18000f9b1
xor ecx, ecx
jmp 0x18000f9b3
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rdi
xor eax, eax
lock cmpxchg dword [0x18001ce30], ebx
jne 0x18000f9a7
mov rdi, qword [rsp + 0x40]
xor ecx, ecx
cmp qword [0x18001ce38], rcx
jne 0x18000fa65
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
xor ecx, ecx
mov qword [0x18001ce38], rax
test rax, rax
mov edx, 9
cmove ecx, edx
xor eax, eax
xchg dword [0x18001ce30], eax
test ecx, ecx
jne 0x18000fa6b
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [0x18001ce28]
lea rdx, [0x18000fc00]
call fcn.1800015b0
test eax, eax
jne 0x18000fa6b
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [0x18001ce20]
lea rdx, [0x18000fbc0]
call fcn.1800015b0
test eax, eax
jne 0x18000fa6b
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.18000176c
test eax, eax
jne 0x18000fa6b
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.18000176c
test eax, eax
je 0x18000fa71
jmp 0x18000fa6b
xchg dword [0x18001ce30], ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x28], 0
lea r8, [0x18000fc50]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x416a80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416c06
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
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.004300c0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416af6
mov rbx, qword [rsp + 0x60]
jmp 0x416b0a
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
nop
ret
sub rax, rbx
add rcx, rbx
mov rbx, rax
test rbx, rbx
jbe 0x416b2e
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov rax, rbx
jmp 0x416b42
cmp rbx, 0x1000
jae 0x416b01
jmp 0x416bba
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
cmp rbx, 0x1000
jae 0x416b4f
xor edx, edx
jmp 0x416bb1
mov qword [rsp + 0x30], rbx
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax + rax]
call fcn.004300c0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov edx, eax
mov rax, qword [rsp + 0x38]
test dl, dl
jne 0x416b38
jmp 0x416b20
call fcn.0045d3e0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
cmp eax, 8
jne 0x416bea
lea rax, [0x00e8b170]
mov ebx, 0xd
call fcn.00432bc0
cmp eax, 0x5af
je 0x416bd9
lea rax, [0x00e8cf17]
mov ebx, 0x1f
nop dword [rax]
call fcn.00432bc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004597c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00416a80
Function at 0x41dc40
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41de77
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
nop dword [rax + rax]
test rax, 7
jne 0x41de65
mov qword [rsp + 0x40], rax
mov rdx, qword [rdi + 0x50]
test byte [rdx], al
nop
mov r9, r8
shr r8, 3
mov r10, r9
and r9d, 7
mov r11, rcx
mov rcx, r9
mov r12d, 1
shl r12d, cl
lea r9, [rdx + r8]
cmp byte [0x013459e8], 0
jne 0x41dd8b
cmp dword [0x013465ec], 0
jle 0x41dcce
cmp qword [rdi + 0x98], r10
ja 0x41dcce
mov r10, qword [rdi + 0x48]
test byte [r10], al
movzx r10d, byte [r8 + r10]
nop
test r12b, r10b
je 0x41de13
movzx edx, byte [r8 + rdx]
test r12b, dl
jne 0x41dd81
nop
lock or byte [r9], r12b
nop
nop
mov rcx, qword [rdi + 0x18]
nop
movabs rdx, 0x800000000000
add rdx, rcx
mov r8, rdx
shr rdx, 0x2a
nop dword [rax]
cmp rdx, 0x40
jae 0x41de06
lea r9, [0x01317e10]
mov rdx, qword [r9 + rdx*8]
shr r8, 0x16
and r8d, 0xfffff
mov r8, qword [rdx + r8*8]
test byte [r8], al
test byte [rdx], al
mov rdx, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r9d, byte [r8 + rcx + 0x11440]
lea r8, [r8 + rcx]
lea r8, [r8 + 0x11440]
shr rdx, 0xd
and edx, 7
mov rcx, rdx
mov edx, 1
shl edx, cl
test dl, r9b
jne 0x41dd61
lock or byte [r8], dl
movzx edx, byte [rdi + 0x62]
test dl, 1
je 0x41ddb3
mov rax, qword [rsi + 0x10]
add rax, qword [rdi + 0x68]
mov qword [rsi + 0x10], rax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
nop
ret
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov qword [rsp + 0x60], rsi
mov rcx, r11
mov rdi, r9
mov esi, r12d
mov r8, r10
nop dword [rax]
call fcn.00416680
test al, al
jne 0x41ddef
mov rax, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
prefetcht0 byte [rax]
mov rdx, qword [rsi]
test rdx, rdx
je 0x41ddd8
mov rdi, qword [rdx + 0x10]
cmp rdi, 0xfd
je 0x41ddd8
jae 0x41ddf9
mov qword [rdx + rdi*8 + 0x18], rax
inc qword [rdx + 0x10]
jmp 0x41dde5
mov rbx, rax
mov rax, rsi
nop
call fcn.00422c00
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, rdi
mov ecx, 0xfd
call fcn.0045be20
mov rax, rdx
mov ecx, 0x40
call fcn.0045be40
lea rax, [0x00e89dcc]
mov rcx, rbx
mov rdi, r11
mov ebx, 4
call fcn.0041dec0
lea rax, [0x00e89bbb]
mov ebx, 3
mov rcx, qword [rsp + 0x40]
mov rdi, 0xffffffffffffffff
call fcn.0041dec0
mov rdx, qword [r14 + 0x30]
mov byte [rdx + 0xf9], 2
lea rax, [0x00e8b8ed]
mov ebx, 0x13
nop
call fcn.00432bc0
lea rax, [0x00e8d5be]
mov ebx, 0x23
call fcn.00432bc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.004597c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.0041dc40
Function at 0x41dfc0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x013459e8], 0
jne 0x41e0af
mov rdx, qword [rax + 0x50]
test byte [rdx], al
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov esi, dword [rax + 0x5c]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41e0a5
lea rbx, [0x01317e10]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x11440]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x11440]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
test al, bl
jne 0x41e087
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045be40
lea rax, [0x00e8e3ea]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00432bc0
nop
int3

Function at 0x41ff80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x42007e
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x41ffc0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x42006f
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.00420960
nop dword [rax]
test rax, rax
je 0x42006f
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x004200c0]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.00459680
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x42005d
xor eax, eax
jmp 0x420067
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x41ffb2
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004597c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0041ff80
Function at 0x42c380
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42c626
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42c61a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x013459e8], 0
jne 0x42c3e2
xor edx, edx
xor ebx, ebx
nop
jmp 0x42c42a
xor edx, edx
jmp 0x42c40d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041dbc0
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42c3e6
add rax, 0x1260
call fcn.0042c240
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42c5b4
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x42c427
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00413b80
test rax, rax
jne 0x42c482
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42c427
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x42c4c9
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42c427
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42c60d
lea r10, [0x01317e10]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x11440]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42c54f
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42c585
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42c427
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42c605
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42c427
cmp rbx, 0x200
ja 0x42c5f8
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00422d20
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.0042c240
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.0045bea0
mov rax, r8
call fcn.0045be20
mov rax, r8
mov ecx, 0x40
call fcn.0045be40
mov edx, 0x200
nop
call fcn.0045be80
nop
mov qword [rsp + 8], rax
call fcn.0045e3e0
mov rax, qword [rsp + 8]
jmp fcn.0042c380
Function at 0x42f9a0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x42fc3e
sub rsp, 0xa0
mov qword [rsp + 0x98], rbp
lea rbp, [rsp + 0x98]
mov qword [rsp + 0x48], 0
mov rax, qword [sym.imp.kernel32.dll_DuplicateHandle]
lea rcx, [rsp + 0x48]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
call fcn.00430240
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
je 0x42fc15
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x80], rax
test byte [rax], al
lea rcx, [rax + 0x308]
mov qword [rsp + 0x88], rcx
nop
mov rax, rcx
call fcn.0040b000
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x310], rcx
cmp qword [rdx + 0x328], 0
jne 0x42fad5
cmp byte [0x013459df], 0
je 0x42fad5
mov rax, qword [sym.imp.kernel32.dll_CreateWaitableTimerExW]
mov qword [rsp], rax
movups xmmword [rsp + 8], xmm15
mov qword [rsp + 0x18], 2
mov qword [rsp + 0x20], 0x100003
call fcn.004300c0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x328], rax
test rax, rax
je 0x42fbed
nop
nop
mov rax, qword [rsp + 0x88]
nop
call fcn.0040b220
movups xmmword [rsp + 0x50], xmm15
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x70], xmm15
mov rcx, qword [sym.imp.kernel32.dll_VirtualQuery]
lea rdx, [rsp + 0x50]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0x30
call fcn.00430040
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
je 0x42fbc5
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx + 0x4000]
mov qword [rsp + 0x90], r14
mov rsi, qword [r14 + 8]
cmp rsi, rdx
jb 0x42fba7
sub rsi, rcx
add rsi, 0xffffffffffffc000
cmp rsi, 0x4000000
ja 0x42fba7
mov qword [r14], rdx
lea rax, [rcx + 0x53a0]
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
nop
call fcn.0045b7c0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
mov rcx, qword [rsp + 0x90]
test byte [rcx], al
lea rax, [0x00e8b021]
mov ebx, 0xc
nop dword [rax]
call fcn.00432bc0
call fcn.0045d3e0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00e8d3e0]
mov ebx, 0x22
call fcn.00432bc0
call fcn.0045d3e0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00e8e8e9]
mov ebx, 0x30
call fcn.00432bc0
call fcn.0045d3e0
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00e8d960]
mov ebx, 0x25
call fcn.00432bc0
nop
nop
call fcn.004597c0
jmp fcn.0042f9a0
Function at 0x43f160
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x43f2ca
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x43f178
cmp edx, ecx
jne 0x43f2b8
nop dword [rax]
test rsi, rsi
jne 0x43f2b8
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x43f1d4
nop
call fcn.0045d840
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.0043f060
mov rcx, qword [0x012efdf8]
mov rdx, qword [0x012efdf0]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x43f2b3
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x43f2a8
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x012f1c30]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x012f1c30], rbx
nop
mov edx, 1
lea rsi, [0x012f1c38]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x43f297
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x00e8de31]
mov ebx, 0x28
call fcn.00432bc0
mov rcx, rax
mov rax, rsi
call fcn.0045be20
call fcn.004314a0
lea rax, [0x00e8d64a]
mov ebx, 0x23
call fcn.00432bc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004597c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0043f160
Function at 0x450ca0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x450d59
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00450da0]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00459680
xorps xmm15, xmm15
mov r14, qword [0x01345ce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004597c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00450ca0
Function at 0x45b8c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x01346220]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x013459e7], 0
je 0x45b8f6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x01346720]
aesenc xmm0, xmmword [0x01346730]
aesenc xmm0, xmmword [0x01346740]
movq rax, xmm0
ret
jmp 0x4099a0

Function at 0x45d360
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x013466a0]
mov qword [rsp + 8], rdx
lea r8d, [0x01345a20]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045b7a0
add rsp, 0x30
ret

Function at 0x45d8a0
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45d8d0
mov rcx, 0x28
jmp 0x45d8db
shl rcx, 3
add rcx, 0x1480
mov qword [0x01345ce0], rcx
ret