joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413870
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x40], xmm7
pxor xmm0, xmm0
pxor xmm3, xmm3
pxor xmm4, xmm4
movq xmm2, qword [0x004b10f0]
test rdx, rdx
lea rdi, [rdx + 3]
mov rbp, rcx
mov rsi, rdx
cmovns rdi, rdx
mov rax, rdi
and rdi, 0xfffffffffffffffc
sar rax, 2
cvtsi2sd xmm3, rdi
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x004b10e0]
movupd xmm1, xmm0
ucomisd xmm0, xmm3
movupd xmm6, xmm0
cmpltsd xmm1, xmm4
xorpd xmm6, xmm2
andpd xmm6, xmm1
andnpd xmm1, xmm0
orpd xmm6, xmm1
jp 0x4136e0
jne 0x4136e0
test rdi, rdi
jle 0x41378d
xor r13d, r13d
xor ebx, ebx
lea r12, [rdx - 1]
jmp 0x4136ba
test rax, rax
jns 0x4136d4
call fcn.00408b70
imul eax, r14d, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor r13d, eax
rol r13d, 0xd
lea r13d, [r13 + r13*4 - 0x19ab949c]
cmp rdi, rbx
jle 0x413798
cmp rsi, rbx
jbe 0x413860
lea rax, [rbx + 4]
mov r14d, dword [rbp + rbx]
mov rcx, rax
xor rcx, rbx
js 0x413688
mov rbx, rax
jmp 0x413692
subsd xmm3, xmm0
mov eax, 0
lea r12, [rsi - 1]
movupd xmm0, xmm3
xorpd xmm2, xmm3
cmpltsd xmm0, xmm4
movupd xmm7, xmm0
andpd xmm2, xmm0
andnpd xmm7, xmm3
orpd xmm7, xmm2
mulsd xmm7, qword [0x004b1100]
comisd xmm6, xmm7
cmovb rdi, rax
xor ebx, ebx
xor r13d, r13d
jmp 0x413750
test rax, rax
jns 0x413776
call fcn.00408b70
imul eax, r14d, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
comisd xmm6, xmm7
jae 0x41375b
call fcn.00408b70
cmp rbx, rdi
jge 0x413798
cmp rbx, rsi
jae 0x413780
lea rax, [rbx + 4]
mov rdx, rbx
mov r14d, dword [rbp + rbx]
xor rdx, rax
js 0x413728
mov rbx, rax
jmp 0x413732
mov rdx, r12
mov rcx, rbx
call fcn.0040dfc0
jmp 0x413765
xor ebx, ebx
xor r13d, r13d
nop word [rax + rax]
mov rax, rsi
xor edi, edi
sar rax, 0x3f
shr rax, 0x3e
lea r14, [rsi + rax]
and r14d, 3
sub r14, rax
test r14, r14
jle 0x413804
lea rax, [rsi - 1]
xor edi, edi
mov qword [rsp + 0x28], rax
lea r12, [r14 - 1]
lea r15, [r12 + rbx]
mov r14, r12
mov rax, r15
xor rax, rbx
jns 0x4137e0
mov rax, r12
xor rax, r15
jns 0x4137e0
call fcn.00408b70
cmp rsi, r15
jbe 0x413850
movzx edx, byte [rbp + r15]
shl edi, 8
or edi, edx
test r12, r12
jne 0x4137c0
imul edi, edi, 0xcc9e2d51
rol edi, 0xf
imul edi, edi, 0x1b873593
mov eax, r13d
movups xmm6, xmmword [rsp + 0x30]
movups xmm7, xmmword [rsp + 0x40]
xor eax, esi
xor eax, edi
mov edi, eax
shr edi, 0x10
xor edi, eax
imul edi, edi, 0x85ebca6b
mov eax, edi
shr eax, 0xd
xor eax, edi
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x28]
mov rcx, r15
call fcn.0040dfc0
jmp 0x4137e5
mov rdx, r12
mov rcx, rbx
call fcn.0040dfc0
jmp 0x4136c3
xor edx, edx
test rcx, rcx
je 0x41387a
mov rdx, qword [rcx]
add rcx, 0x10
jmp 0x4135f0
Function at 0x439510
Capabilities:
Read file on windows

Disassembly:
push r12
sub rsp, 0x20
mov rax, qword [rcx + 0x28]
mov r12, rcx
test rax, rax
je 0x4395a0
mov rdx, qword [rcx + 0x38]
cmp rax, rdx
jb 0x439550
mov dword [r12 + 0x80], 1
mov dword [r12 + 0x84], 0x1e
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, [rax + 1]
mov qword [r12 + 0x28], rcx
cmp byte [rax], 0x4f
jne 0x439537
cmp rcx, rdx
jae 0x43952b
lea rax, [rcx + 1]
mov qword [r12 + 0x28], rax
cmp byte [rcx], 0x67
jne 0x439537
cmp rdx, rax
jbe 0x43952b
lea rcx, [rax + 1]
mov qword [r12 + 0x28], rcx
cmp byte [rax], 0x67
jne 0x439537
cmp rcx, rdx
jae 0x43952b
lea rax, [rcx + 1]
mov qword [r12 + 0x28], rax
cmp byte [rcx], 0x53
je 0x439640
jmp 0x439537
mov rcx, qword [rcx + 0x18]
call sub.msvcrt.dll_fgetc
cmp eax, 0xffffffff
je 0x43952b
cmp al, 0x4f
jne 0x439537
mov rcx, qword [r12 + 0x28]
test rcx, rcx
jne 0x439699
mov rcx, qword [r12 + 0x18]
call sub.msvcrt.dll_fgetc
cmp eax, 0xffffffff
je 0x43952b
cmp al, 0x67
jne 0x439537
mov rax, qword [r12 + 0x28]
test rax, rax
jne 0x4396ad
mov rcx, qword [r12 + 0x18]
call sub.msvcrt.dll_fgetc
cmp eax, 0xffffffff
je 0x43952b
cmp al, 0x67
jne 0x439537
mov rcx, qword [r12 + 0x28]
test rcx, rcx
jne 0x4396a3
mov rcx, qword [r12 + 0x18]
call sub.msvcrt.dll_fgetc
cmp eax, 0xffffffff
je 0x43952b
cmp al, 0x53
jne 0x439537
mov rax, qword [r12 + 0x28]
test rax, rax
je 0x439688
mov rdx, qword [r12 + 0x38]
cmp rax, rdx
jb 0x439660
mov dword [r12 + 0x80], 1
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.00438500
lea rdx, [rax + 1]
mov qword [r12 + 0x28], rdx
movzx eax, byte [rax]
test al, al
je 0x439651
mov dword [r12 + 0x84], 0x1f
xor eax, eax
add rsp, 0x20
pop r12
ret
mov rcx, qword [r12 + 0x18]
call sub.msvcrt.dll_fgetc
cmp eax, 0xffffffff
jne 0x43966c
jmp 0x439645
mov rdx, qword [r12 + 0x38]
jmp 0x43955e
mov rdx, qword [r12 + 0x38]
jmp 0x439584
mov rdx, qword [r12 + 0x38]
jmp 0x439571
Function at 0x443230
Capabilities:
Read file on windows

Disassembly:
cmp byte [rcx + 0x44], 0
jne 0x443240
jmp fcn.0043cf00
mov dword [rcx + 0x84], 2
xor eax, eax
ret

Function at 0x46dba0
Capabilities:
Encode data using xor

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
test rcx, rcx
js 0x46dbc0
jne 0x46dbd1
mov rax, r12
add rsp, 0x20
pop r12
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.0040de50
mov rax, 0xffffffffffffffff
xor edx, edx
mov r8, qword [0x004af130]
mov r9, qword [0x004af138]
div r12
not rdx
nop
lea rax, [r9 + r8]
xor r9, r8
ror r8, 9
mov rcx, r9
xor r8, r9
ror r9, 0x1c
shl rcx, 0xe
xor r8, rcx
cmp rax, rdx
ja 0x46dbf0
lea rcx, [r12 + 1]
xor edx, edx
movq xmm0, r8
div rcx
movq xmm1, r9
punpcklqdq xmm0, xmm1
movups xmmword [0x004af130], xmm0
mov r12, rdx
test rdx, rdx
jns 0x46dbb0
call fcn.0040f9e0
mov rax, r12
add rsp, 0x20
pop r12
ret

Function at 0x46dd00
Capabilities:
Encode data using xor

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [rdx + 8]
mov rsi, qword [rdx]
mov rbx, rax
mov r12, rsi
sub rbx, rsi
xor rax, rbx
mov rdi, rcx
jns 0x46dd2e
mov rax, rsi
xor rax, rbx
js 0x46dd2e
call fcn.00408b70
test rbx, rbx
js 0x46dd48
jne 0x46dd5c
mov rax, r12
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.0040de50
mov rax, 0xffffffffffffffff
xor edx, edx
mov rcx, qword [rdi]
mov r8, qword [rdi + 8]
div rbx
not rdx
nop word [rax + rax]
lea rax, [r8 + rcx]
xor r8, rcx
ror rcx, 9
mov r9, r8
xor rcx, r8
ror r8, 0x1c
shl r9, 0xe
xor rcx, r9
cmp rax, rdx
ja 0x46dd78
add rbx, 1
movq xmm0, rcx
movq xmm1, r8
xor edx, edx
div rbx
punpcklqdq xmm0, xmm1
movups xmmword [rdi], xmm0
lea rbx, [rsi + rdx]
mov rdi, rdx
xor rdi, rbx
test rdx, rdx
js 0x46dde0
test rdi, rdi
jns 0x46dde7
xor rsi, rbx
jns 0x46dde7
call fcn.00408b70
mov rax, r12
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
ret
call fcn.0040f9e0
jmp 0x46ddc2
mov r12, rbx
jmp 0x46dd35

Function at 0x492920
Capabilities:
Write file on windows

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x00596840]
lea rsi, [rax + 1]
mov rdi, qword [rdx]
mov r12, qword [rdx + 8]
xor rax, rsi
mov rbx, rcx
jns 0x49294d
test rsi, rsi
jns 0x49294d
call fcn.00408b70
mov qword [0x00596840], rsi
mov qword [rbx + 0x480], 1
mov qword [rbx + 0x448], 0
mov qword [rbx + 0x30], 0
mov byte [rbx], 0
test r12, r12
je 0x4929c0
mov rcx, r12
call rdi
mov rax, qword [rbx + 0x438]
test rax, rax
je 0x492991
cmp qword [rax], 0
jne 0x4929a0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
ret
mov edx, 1
lea rcx, [0x004b9b58]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp fcn.004035b0
call rdi
jmp 0x49297f
Function at 0x4a7c30
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.004ae390
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.004ae390
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x4a7ca0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x004fc554]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x4a7e48
mov rax, qword [0x004fc558]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x4a7cec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x4a7d77
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x4a7cd0
mov rcx, r12
call fcn.004a8a00
mov rbp, rax
test rax, rax
je 0x4a7e82
mov rax, qword [0x004fc558]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.004a8b30
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x004fc558]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4a7e91
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x4a7d70
sub eax, 4
and eax, 0xfffffffb
jne 0x4a7e00
add dword [0x004fc554], 1
cmp ebx, 8
jae 0x4a7da8
test bl, 4
jne 0x4a7e50
test ebx, ebx
je 0x4a7d99
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x4a7e70
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x4a7d99
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x4a7dda
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x004fc558]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4a7d70
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.004a7c30
nop dword [rax]
xor edi, edi
jmp 0x4a7cf7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x4a7d99
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x4a7d99
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.004a7c30
mov rax, qword [0x004fc558]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.004a7c30
nop
nop dword [rax]
Function at 0x4a8670
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004fc840]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004fc820]
test rbx, rbx
je 0x4a86c4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4a86bb
test r12, r12
je 0x4a86bb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4a86a0
lea rcx, [0x004fc840]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4a8a00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x004e2bf0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x4a8a79
mov rcx, r10
call fcn.004a88d0
test eax, eax
je 0x4a8a79
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x4a8a76
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x4a8a6d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x4a8a79
add r8, 0x28
cmp r8, r9
jne 0x4a8a58
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x18029564a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
or r9b, r11b
btc r11w, r12w
rcl r9w, cl
mov qword [rsp + 0x10], rdi
setb bh
sal r10, 0xe0
sbb r11b, 0x93
xor edi, edi
movsxd r9, edx
movsx rbx, r8w
movzx ebx, r8b
movsx r9d, dx
mov r11, rcx
xchg r10b, r10b
movzx r10d, bx
movsx r9d, si
mov r8, rdi
nop
xchg r9b, r10b
movsx r10w, r13b
movzx r9d, byte [r11]
movzx r10d, byte [rdx]
jmp 0x1802956a3
inc r11
jmp 0x1802956ab
inc rdx
cmp edi, r10d
test bl, bl
jmp 0x1802956b8
je 0x1802956dd
mov ecx, r8d
mov eax, 0x36a4a19
rol eax, cl
cmc
test esp, r9d
add al, r8b
xor r9b, al
jmp 0x1802956d7
inc r8
cmp r12d, r10d
test r9b, r9b
jmp 0x1802956e5
je 0x1802956f4
cmp r9b, r10b
je 0x180295696
cmp r9b, r10b
jmp 0x1802956fc
jae 0x180295714
or eax, 0xffffffff
mov rbx, qword [rsp + 8]
setae dil
mov rdi, qword [rsp + 0x10]
ret
mov rbx, qword [rsp + 8]
seta dil
bswap ax
mov eax, edi
mov rdi, qword [rsp + 0x10]
ret
Function at 0x140002bf0
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.140003cb0
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.140003cb0
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 0x140002c60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400080a4]
mov rbx, rcx
test esi, esi
jle 0x140002d90
mov rax, qword [0x1400080a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002cab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002d35
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002c90
mov rcx, rbx
call fcn.1400036b0
mov rdi, rax
test rax, rax
je 0x140002db2
mov rax, qword [0x1400080a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400037f0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400080a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002d97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002d2e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002d40
add dword [0x1400080a4], 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 [0x1400080a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002d2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002bf0
nop dword [rax]
xor esi, esi
jmp 0x140002cb8
mov rax, qword [0x1400080a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002bf0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002bf0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003320
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x14000337c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003373
test rsi, rsi
je 0x140003373
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003358
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400036b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005a00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400036d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400036d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400036d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000372d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003724
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400036d0
add rax, 0x28
cmp rax, r9
jne 0x140003710
xor eax, eax
ret

Function at 0x140003730
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005a00]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000374f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003758
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000374f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400037f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005a00]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000380f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003818
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140042820
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
movdqu xmm5, xmmword [rcx]
xor ecx, ecx
movaps xmmword [rsp], xmm6
movdqa xmm6, xmmword [0x14007fa40]
pshufb xmm5, xmmword [0x14007fa30]
movdqa xmm4, xmm5
add r8d, 0xffffffe0
je 0x14004295d
nop dword [rax]
movq qword [rcx + rdx], xmm4
movdqa xmm2, xmm4
pclmulqdq xmm2, xmm5, 0
movdqa xmm1, xmm2
movdqa xmm3, xmm4
movdqa xmm0, xmm4
pslldq xmm1, 8
pclmulqdq xmm0, xmm5, 1
pclmulqdq xmm3, xmm5, 0x10
xorps xmm3, xmm0
movdqa xmm0, xmm2
psrldq xmm2, 8
xorps xmm3, xmm1
pclmulqdq xmm0, xmm6, 0x10
xorps xmm3, xmm0
movdqa xmm0, xmm4
xorps xmm2, xmm3
movdqa xmm1, xmm3
psllq xmm2, 1
pclmulqdq xmm2, xmm6, 0
pclmulqdq xmm0, xmm5, 0x11
xorps xmm2, xmm0
psrldq xmm1, 8
xorps xmm2, xmm1
punpcklqdq xmm3, xmm2
psllq xmm2, 1
psrlq xmm3, 0x3f
xorps xmm3, xmm2
movdqu xmmword [rcx + rdx + 0x10], xmm3
movdqu xmmword [rcx + rdx + 8], xmm4
movdqa xmm2, xmm3
movq qword [rcx + rdx + 8], xmm3
pclmulqdq xmm2, xmm5, 0
movdqa xmm1, xmm2
movdqa xmm4, xmm3
pclmulqdq xmm4, xmm5, 0x10
movdqa xmm0, xmm3
pslldq xmm1, 8
pclmulqdq xmm0, xmm5, 1
xorps xmm4, xmm0
add ecx, 0x20
movdqa xmm0, xmm2
psrldq xmm2, 8
xorps xmm4, xmm1
pclmulqdq xmm0, xmm6, 0x10
xorps xmm4, xmm0
xorps xmm2, xmm4
movdqa xmm0, xmm4
psllq xmm2, 1
psrldq xmm0, 8
pclmulqdq xmm2, xmm6, 0
pclmulqdq xmm3, xmm5, 0x11
xorps xmm2, xmm3
xorps xmm2, xmm0
punpcklqdq xmm4, xmm2
psrlq xmm4, 0x3f
psllq xmm2, 1
xorps xmm4, xmm2
cmp ecx, r8d
jb 0x140042850
movq qword [rcx + rdx], xmm4
movdqa xmm2, xmm4
pclmulqdq xmm2, xmm5, 0
movdqa xmm1, xmm2
movdqa xmm3, xmm4
pclmulqdq xmm3, xmm5, 0x10
pslldq xmm1, 8
movdqa xmm0, xmm4
pclmulqdq xmm0, xmm5, 1
xorps xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
psrldq xmm2, 8
pclmulqdq xmm0, xmm6, 0x10
xorps xmm3, xmm0
movdqa xmm0, xmm4
xorps xmm2, xmm3
movdqa xmm1, xmm3
psllq xmm2, 1
pclmulqdq xmm2, xmm6, 0
movaps xmm6, xmmword [rsp]
pclmulqdq xmm0, xmm5, 0x11
xorps xmm2, xmm0
psrldq xmm1, 8
xorps xmm2, xmm1
punpcklqdq xmm3, xmm2
psrlq xmm3, 0x3f
psllq xmm2, 1
xorps xmm3, xmm2
movdqu xmmword [rcx + rdx + 0x10], xmm3
movdqu xmmword [rcx + rdx + 8], xmm4
movq qword [rcx + rdx + 8], xmm3
add rsp, 0x18
ret

Function at 0x140047608
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x14007c0f8]
test rax, rax
je 0x140047652
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140047652
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140047652
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140047652
cmp dword [rcx + 0x84], 0xe
jbe 0x140047652
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140047654
xor al, al
add rsp, 0x28
ret

Function at 0x1400637f8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400635f4

Function at 0x1402aa3ec
Capabilities:
Encode data using base64

Disassembly:
push 0x3db38132
sbb rsp, 0x10
call fcn.1402d6d9e
Function at 0x1402abf90
Capabilities:
Authenticate hmac

Disassembly:
lea r9, [r9 + r8*2 + 6]
btc ecx, 0x36
not esi
mov qword [rsp + r8], rbx
mov word [r8 + r9], dx
sal byte [rsp + r8*4 + 7], 0x25
xchg byte [rsp + r8], r8b
call fcn.1402eb375
movzx bp, byte [r9]
mov ebx, 0x202b7338
movsx r8d, bx
mov dl, byte [r9 + rbx*2 - 0x4056e66e]
lea r9, [r9 + r8*8 - 0x399be]
lea rsi, [rbx*4 - 0x5b75f4d1]
add bpl, dl
mov ecx, 0x7843b10
sar ebx, cl
mov word [rbx + r9 - 0x202b], bp
sal rbx, 0xc1
movsx ebp, bx
jge 0x1402b39bb
mov r8d, dword [r11 + rbx - 0x4056]
xchg bh, bl
lea r11, [rbx + r11 - 0x563c]
dec bl
xchg rbx, rsi
or cl, bpl
xor r8d, edi
lea r8d, [rsi + r8 - 0x4c865756]
not rcx
mov eax, ecx
not r8d
mul rbx
jae 0x1402e0e7d
add si, 0x66b1
xor r8d, 0xe423081c
cqo
call fcn.1402b30ea
mov ebx, dword [r11]
call fcn.1402d1c31
xchg dl, bl
lea rax, [rbx + rdx*2 + 0x548533ba]
neg sil
mov r8d, eax
jmp 0x1402e6821

Function at 0x1402b2c83
Capabilities:
Encode data using base64

Disassembly:
lea rsp, [rsp + 0x10]
jmp 0x1402e9058

Function at 0x1402b2e24
Capabilities:
Encode data using base64

Disassembly:
sal si, 0x4d
xor rax, 0x1189f2ac
movsxd rbp, ebp
mov qword [rsp + rax - 0x1189f29c], rbx
adc r10, rbp
mov qword [rsp + rax*2 - 0x2313e558], rdx
mov dl, byte [r11 + rax*2 - 0x2313e554]
pop rbp
mov ecx, ebp
ror word [rsp + rax - 0x1189f2a5], 0x46
xor dl, dil
sal ebx, 7
dec dl
bts rsi, 0x35
not dl
xadd r8b, cl
sbb dl, 0x9a
neg dl
or r8, rbp
shr dword [rsp + r8 - 0x28200df3], 0xb2
xchg dword [rsp + rax - 0x1189f2a1], eax
not dl
not eax
xor dil, dl
btc ebx, eax
pop rbx
lea rdx, [rsp + rdx + 8]
setb byte [rsp + r8 - 0x28200dfb]
shl ecx, cl
mov rcx, qword [rdx + r8*2 - 0x50401bfc]
lea rax, [rbp*8 + 0xd9b2404]
jns 0x1402e68f7
add ebp, 0x65016a8c
mov qword [r9 + rax*2 - 0x1b3653f0], rcx
sal qword [rsp + rax - 0xd9b29f4], 0xab
movzx ebp, byte [r11 + rax*4 - 0x366ca7cb]
lea r11, [r11 + rax*2 - 0x1b3653e2]
lea rcx, [rsi*4 + 0x472d54be]
sal eax, 0x2e
ror al, 0xa5
xor bpl, dil
xadd dword [rsp + r8*2 - 0x50401bfa], esi
lea rdx, [rax - 0x3bf6ea51]
sar word [rsp + rsi*2 - 0x1ffffffa], 0x61
sbb bpl, 0xb
mov byte [rsp + rsi*2 - 0x20000000], 0x84
sub word [rsp + rsi*2 - 0x1fffffff], r8w
shr rsi, cl
neg bpl
and dx, cx
inc bpl
neg bpl
xor dil, bpl
mov word [r9 + rsi - 0xa], bp
not ebx
lea r9, [r9 + rsi*2 - 0xa]
jmp 0x1402cfbba
pop r8
jmp fcn.1402d71cd

Function at 0x1402b8da4
Capabilities:
Encode data using base64

Disassembly:
adc r10, rbx
pop rdx
movsx ebx, bpl
add al, byte [r9 + rax*4]
btc ecx, ebp
imul bp, r8w
xor bpl, byte [rcx + r9 + 1]
or rsi, rcx
btc cx, si
ror ebx, cl
lea r9, [r9 + rcx*8 - 0x10006]
not al
jae 0x1402cdc63
not bpl
seto sil
and al, bpl
mov word [rcx + r9 - 0x2001], ax
bswap r8
call fcn.1402eb664

Function at 0x1402bbb78
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x10
push 0xffffffff9a23f916
not qword [rsp]
jmp 0x1402ebed0