joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402c3eb0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1402c3ef2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x1402c3efa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1402c3f0b
jmp 0x1402c3f22
xor r10d, r10d
jmp 0x1402c3fad
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1402c3f22
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1402c3f39
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1402c3f59
add r11, r8
jmp 0x1402c408a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1402c4022
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1402c3fd0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x1402c4040
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1402c4052
jmp 0x1402c406c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1402c406c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1402c4086
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1402c40a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x80
mov ecx, dword [0x1403059a8]
test ecx, ecx
je 0x1402c420a
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1402c40d1
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x1402c423c
mov ecx, dword [0x1403059a8]
test ecx, ecx
je 0x1402c4242
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1402c425f
mov rsi, rax
test rax, rax
jne 0x1402c4166
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1402c4123
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1402c4280
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x60
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1402c4280
mov rsi, rax
lea rax, [0x140305990]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1403059a8]
test ecx, ecx
je 0x1402c426d
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsi + 0x48]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movups xmm3, xmmword [rsi + 0x38]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 8], 1
movups xmm0, xmmword [0x1403abc88]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [0x1403abc78]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [0x1403abc68]
movups xmmword [rsi + 0x30], xmm0
movups xmm0, xmmword [0x1403abc58]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [0x1403abc48]
movups xmmword [rsi + 0x10], xmm0
cmp qword [rsp + 0x20], 0
je 0x1402c423c
mov rax, qword [rsp + 0x30]
cmp rax, 2
je 0x1402c423c
lea rcx, [rsp + 0x38]
test rax, rax
je 0x1402c422c
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x1402c423c
call fcn.1402c2a80
jmp 0x1402c423c
lea rcx, [0x140305990]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1402c40c3
jmp 0x1402c40d1
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x1402c423c
call fcn.1402c2990
add rsi, 0x10
jmp 0x1402c4261
lea rcx, [0x140305990]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1402c40f0
xor esi, esi
mov rax, rsi
add rsp, 0x80
pop rsi
ret
lea rcx, [0x140305990]
call fcn.14028f0b0
mov ecx, eax
jmp 0x1402c415e
mov ecx, 8
mov edx, 0x60
call fcn.1400eb190
ud2
Function at 0x1402c9940
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1403059c8]
test ecx, ecx
je 0x1402c996f
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1402c9988
mov rsi, rax
cmp qword [rax + 8], 0
je 0x1402c9988
add rsi, 8
jmp 0x1402c9aaf
lea rcx, [0x1403059b0]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1402c995c
mov ecx, dword [0x1403059c8]
test ecx, ecx
je 0x1402c9a90
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1402c9aad
mov rsi, rax
test rax, rax
jne 0x1402c9a1d
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1402c99da
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1402c9adc
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x10
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1402c9adc
mov rsi, rax
lea rax, [0x1403059b0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1403059c8]
test ecx, ecx
je 0x1402c9ab8
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1402c9a48
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1402c9acb
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x28
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1402c9acb
add rsi, 8
mov qword [rax], 1
mov qword [rax + 8], 1
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov byte [rax + 0x20], 0
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x1402c9aaf
lock dec qword [rcx]
jne 0x1402c9aaf
call fcn.140023400
jmp 0x1402c9aaf
lea rcx, [0x1403059b0]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1402c99a7
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1403059b0]
call fcn.14028f0b0
mov ecx, eax
jmp 0x1402c9a15
mov ecx, 8
mov edx, 0x28
call fcn.1400eb190
ud2
mov ecx, 8
mov edx, 0x10
call fcn.1400eb190
ud2
Function at 0x1402eaf20
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], 8
mov r10, qword [rcx + 0x40]
test r10, r10
je 0x1402eaf67
mov esi, 8
mov r9d, 8
sub r9, r10
cmp r9, 8
cmovb rsi, r9
cmp rsi, 3
jbe 0x1402eaf6f
mov r11d, dword [rdx]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, rsi
jb 0x1402eaf81
jmp 0x1402eaf98
xor r9d, r9d
jmp 0x1402eb025
xor r11d, r11d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, rsi
jae 0x1402eaf98
movzx edi, word [rdx + r8]
lea ecx, [r8*8]
shl rdi, cl
or r11, rdi
or r8, 2
cmp r8, rsi
jae 0x1402eafaf
movzx esi, byte [rdx + r8]
shl r8d, 3
mov ecx, r8d
shl rsi, cl
or r11, rsi
lea ecx, [r10*8]
shl r11, cl
or r11, qword [rax + 0x38]
mov qword [rax + 0x38], r11
cmp r10, 8
jbe 0x1402eafd1
add r10, 8
jmp 0x1402eb10a
mov r10, qword [rax + 0x18]
mov r8, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r8
rol r8, 0xd
xor r10, r11
xor r8, rcx
rol rcx, 0x20
mov rsi, qword [rax + 8]
add rsi, r10
rol r10, 0x10
xor r10, rsi
add rcx, r10
rol r10, 0x15
xor r10, rcx
add rsi, r8
rol r8, 0x11
mov qword [rax + 0x18], r10
xor r8, rsi
rol rsi, 0x20
mov qword [rax + 0x10], r8
mov qword [rax + 8], rsi
xor rcx, r11
mov qword [rax], rcx
mov ecx, 8
sub rcx, r9
mov r10d, ecx
and r10d, 7
and rcx, 0xfffffffffffffff8
cmp r9, rcx
jae 0x1402eb0a2
mov r8, qword [rax]
mov r11, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop dword [rax]
add r8, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r9]
xor rsi, r8
rol r8, 0x20
xor rdi, rbx
add r11, rdi
rol rdi, 0x10
xor rdi, r11
add r8, rdi
rol rdi, 0x15
add r11, rsi
rol rsi, 0x11
xor rsi, r11
rol r11, 0x20
xor rdi, r8
xor r8, rbx
add r9, 8
cmp r9, rcx
jb 0x1402eb050
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r11
mov qword [rax], r8
cmp r10d, 3
jbe 0x1402eb0c0
mov r11d, dword [rdx + r9]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r10
jb 0x1402eb0d2
jmp 0x1402eb0ec
xor r11d, r11d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r10
jae 0x1402eb0ec
lea rcx, [r8 + r9]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r11, rsi
or r8, 2
cmp r8, r10
jae 0x1402eb106
add r9, r8
movzx edx, byte [rdx + r9]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r11, rdx
mov qword [rax + 0x38], r11
mov qword [rax + 0x40], r10
pop rbx
pop rdi
pop rsi
ret
Function at 0x1402ed4d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140305b90]
test ecx, ecx
je 0x1402ed4fd
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1402ed516
cmp qword [rax + 8], 0
je 0x1402ed516
add rax, 0x10
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140305b78]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1402ed4ec
mov ecx, dword [0x140305b90]
test ecx, ecx
je 0x1402ed5cd
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1402ed5ea
mov rsi, rax
test rax, rax
jne 0x1402ed5a7
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1402ed568
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1402ed602
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x28
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1402ed602
mov rsi, rax
lea rax, [0x140305b78]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140305b90]
test ecx, ecx
je 0x1402ed5f2
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 3
mov qword [rsi + 0x20], 0
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140305b78]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1402ed535
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140305b78]
call fcn.14028f0b0
mov ecx, eax
jmp 0x1402ed59f
mov ecx, 8
mov edx, 0x28
call fcn.1400eb190
ud2

Function at 0x1402ed620
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140305b50]
test ecx, ecx
je 0x1402ed64d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1402ed666
cmp qword [rax + 8], 0
je 0x1402ed666
add rax, 0x10
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140305b38]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1402ed63c
mov ecx, dword [0x140305b50]
test ecx, ecx
je 0x1402ed70d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1402ed72a
mov rsi, rax
test rax, rax
jne 0x1402ed6f3
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1402ed6b8
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1402ed742
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1402ed742
mov rsi, rax
lea rax, [0x140305b38]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140305b50]
test ecx, ecx
je 0x1402ed732
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rax, [rsi + 0x10]
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140305b38]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1402ed685
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140305b38]
call fcn.14028f0b0
mov ecx, eax
jmp 0x1402ed6eb
mov ecx, 8
mov edx, 0x18
call fcn.1400eb190
ud2
Function at 0x1402f2610
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1402f26a6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140310fb0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140200b20
test rdi, rdi
je 0x1402f2735
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1402f274e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1402f2846
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1402f28c8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1402f2853
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1402f2710
cmp r9, 8
jae 0x1402f285c
jmp 0x1402f28c8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140200b20
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1402f28c8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1402f28c8
mov r8, rcx
cmp r9, 8
jb 0x1402f28c8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1402f2860
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140304170
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.140304f30
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.140304f30
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 0x1403041e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1403f6b24]
mov rbx, rcx
test esi, esi
jle 0x140304310
mov rax, qword [0x1403f6b28]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14030422b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1403042b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140304210
mov rcx, rbx
call fcn.140304c50
mov rdi, rax
test rax, rax
je 0x140304332
mov rax, qword [0x1403f6b28]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140304d90
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1403f6b28]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140304317
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1403042ae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1403042c0
add dword [0x1403f6b24], 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 [0x1403f6b28]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1403042ae
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140304170
nop dword [rax]
xor esi, esi
jmp 0x140304238
mov rax, qword [0x1403f6b28]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140304170
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140304170
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1403048c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1403f6b80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1403f6b60]
test rbx, rbx
je 0x14030491c
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 rsi, rsi
je 0x140304913
test eax, eax
jne 0x140304913
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1403048f8
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 0x140304c50
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1403da5d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140304c70
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140304c78
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140304c70
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140304ccd
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 0x140304cc4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140304c70
add rax, 0x28
cmp rax, r9
jne 0x140304cb0
xor eax, eax
ret

Function at 0x140304cd0
Capabilities:
Parse pe header

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

Function at 0x140304d90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1403da5d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140304daf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140304db8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400dff90]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400dffa0]
mov dword [rax], 1
mov rax, qword [0x1400dffb0]
mov dword [rax], 1
mov rax, qword [0x1400dff30]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400dff80]
mov dword [0x14010900c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400e0080]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400e0060]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x1400df330]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140002e85
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov eax, ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov byte [rbp + 0x10], al
mov byte [rbp - 1], 0
jmp 0x140002f1d
mov byte [rbp - 2], 0
jmp 0x140002f13
movzx eax, byte [rbp - 1]
movzx edx, byte [rbp - 2]
mov rcx, qword [rbp + 0x18]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx r8d, byte [rax]
movzx eax, byte [rbp + 0x10]
lea edx, [rax*4]
movzx eax, byte [rbp - 1]
add eax, edx
lea edx, [rax*4]
movzx eax, byte [rbp - 2]
add eax, edx
cdqe
mov rdx, qword [rbp + 0x20]
add rax, rdx
movzx edx, byte [rax]
movzx eax, byte [rbp - 1]
movzx ecx, byte [rbp - 2]
xor edx, r8d
mov r8, qword [rbp + 0x18]
movsxd rcx, ecx
cdqe
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x140002ea6
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140002ea0
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140002f2f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
jmp 0x140002fa2
mov byte [rbp - 2], 0
jmp 0x140002f98
movzx eax, byte [rbp - 2]
movzx edx, byte [rbp - 1]
mov rcx, qword [rbp + 0x10]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
movzx r8d, byte [rbp - 2]
movzx ecx, byte [rbp - 1]
cdqe
lea rdx, str.cw
movzx edx, byte [rax + rdx]
mov r9, qword [rbp + 0x10]
movsxd rcx, ecx
movsxd rax, r8d
shl rax, 2
add rax, r9
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x140002f47
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140002f41
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140003a3e
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
jmp 0x140003ab1
mov byte [rbp - 2], 0
jmp 0x140003aa7
movzx eax, byte [rbp - 2]
movzx edx, byte [rbp - 1]
mov rcx, qword [rbp + 0x10]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
movzx r8d, byte [rbp - 2]
movzx ecx, byte [rbp - 1]
cdqe
lea rdx, [0x1400d9400]
movzx edx, byte [rax + rdx]
mov r9, qword [rbp + 0x10]
movsxd rcx, ecx
movsxd rax, r8d
shl rax, 2
add rax, r9
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x140003a56
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140003a50
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140003d04
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov byte [rbp - 1], 0
jmp 0x140003d4d
movzx eax, byte [rbp - 1]
mov rdx, qword [rbp + 0x10]
add rax, rdx
movzx r8d, byte [rax]
movzx eax, byte [rbp - 1]
mov rdx, qword [rbp + 0x18]
add rax, rdx
movzx ecx, byte [rax]
movzx eax, byte [rbp - 1]
mov rdx, qword [rbp + 0x10]
add rdx, rax
mov eax, r8d
xor eax, ecx
mov byte [rdx], al
add byte [rbp - 1], 1
cmp byte [rbp - 1], 0xf
jbe 0x140003d1a
nop
nop
add rsp, 0x10
pop rbp
ret