joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005bef0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rcx
xorps xmm6, xmm6
movups xmmword [r8], xmm6
mov rax, qword [rcx]
mov r14, qword [rax + 0x10]
mov dword [rsp + 0x44], 0
mov rax, qword [rcx + 8]
mov rcx, rax
shr rcx, 0x20
jne 0x14005bf97
mov rsi, r8
mov edi, edx
lea r15, [rbx + 8]
lea r12, [rsp + 0x44]
lea r13, [0x1400f6ab8]
nop word cs:[rax + rax]
mov dword [rsp + 0x44], eax
mov r8, qword [rbx + 0x10]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov rcx, r14
mov edx, edi
mov r9, r12
call sub.ADVAPI32.dll_RegEnumValueW
cmp eax, 0xea
jne 0x14005c028
mov rdx, qword [r15]
add rdx, rdx
mov rcx, r13
mov r8, r15
call fcn.140069560
mov rax, qword [r15]
mov rcx, rax
shr rcx, 0x20
je 0x14005bf50
lea rcx, [0x1400f16d0]
call fcn.140067130
lea rcx, [0x1400c4bb0]
mov qword [rax], rcx
mov qword [rax + 8], 0
movups xmm0, xmmword [0x1400c4b68]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x1400c4b98]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [0x1400c4b78]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1400c4b88]
movups xmmword [rax + 0x30], xmm0
mov ecx, dword [0x1400c4ba8]
mov dword [rax + 0x50], ecx
mov qword [rax + 0x10], 0x1c
lea rcx, str.Conversion_positive_overflow
mov qword [rax + 0x18], rcx
mov qword [rax + 0x48], 0
mov qword [rax + 0x20], 0xa
lea rcx, str.stdconv.d
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], 0x625
mov rcx, rax
call fcn.140046240
test eax, eax
jne 0x14005c0f7
mov edi, dword [rsp + 0x44]
mov rbx, qword [rbx + 0x10]
mov rdx, qword [0x1400f88c8]
mov rax, qword [rdx]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x58]
mov r8d, 0x20
xor r9d, r9d
call qword [rax + 0x50]
mov rax, qword [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov qword [rsp + 0x48], rax
test rdi, rdi
je 0x14005c0e0
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x50]
jmp 0x14005c0b9
mov rcx, rdi
mov rdx, rbx
mov r8, r15
call fcn.140026ad0
mov edx, eax
mov rax, qword [rsp + 0x50]
lea rbx, [rbx + rax*2]
sub rdi, rax
mov rcx, r14
call fcn.1400141b0
test rdi, rdi
je 0x14005c0d6
mov qword [rsp + 0x50], 0
movzx edx, word [rbx]
cmp edx, 0xd7ff
ja 0x14005c090
add rbx, 2
dec rdi
jmp 0x14005c0ac
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14005c0ea
mov rcx, qword [rax + 8]
mov rax, qword [rax + 0x10]
jmp 0x14005c0ee
xor ecx, ecx
xor eax, eax
mov qword [rsi], rcx
mov qword [rsi + 8], rax
xor eax, eax
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14006b0c0
Capabilities:
Resume thread

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x1400ff9f8]
mov byte [rbp - 9], al
mov byte [0x1400ff9f8], 1
mov edx, dword [rcx + 0x40]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r8, [0x14006b220]
xor ecx, ecx
mov r9, rsi
call fcn.1400913ac
mov qword [rsi + 0xc0], rax
test rax, rax
je 0x14006b184
lea rcx, [0x1400ff918]
call sub.KERNEL32.dll_EnterCriticalSection
mov rax, qword [0x1400ff9a8]
lea rcx, [rax + 1]
mov qword [0x1400ff9a8], rcx
mov rcx, qword [0x1400ff9a0]
lea rdx, [rax*8 + 8]
call fcn.140098304
mov qword [0x1400ff9a0], rax
mov rcx, qword [0x1400ff9a8]
mov qword [rax + rcx*8 - 8], rsi
mov rcx, qword [rsi + 0xc0]
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
je 0x14006b195
lea rcx, [0x1400ff918]
call fcn.1400a7db0
mov rax, rsi
add rsp, 0x48
pop rsi
pop rbp
ret
lea rdx, str.Error_creating_thread
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14006dc10
lea rdx, str.Error_resuming_thread
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14006dc10
lea rdx, [0x1400f7f30]
mov rcx, rbp
call fcn.1400469a0
cmp byte [rbp - 9], 0
jne 0x14006b1c2
mov byte [0x1400ff9f8], 0
mov rcx, qword [rbp]
call fcn.140046240
int3

Function at 0x14006bb10
Capabilities:
Suspend thread

Disassembly:
push rsi
sub rsp, 0x20
cmp byte [0x1400ff9f8], 0
jne 0x14006bb5f
cmp qword [0x1400ffa08], 0
je 0x14006bb5f
mov eax, dword [0x1400ffa10]
lea ecx, [rax + 1]
mov dword [0x1400ffa10], ecx
test eax, eax
jne 0x14006bb7e
mov eax, dword [0x1400fe130]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x288]
add rsp, 0x20
pop rsi
jmp fcn.14006b820
lea rcx, [0x1400ff918]
call sub.KERNEL32.dll_EnterCriticalSection
mov eax, dword [0x1400ffa10]
inc eax
mov dword [0x1400ffa10], eax
cmp eax, 1
jbe 0x14006bb84
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1400ff960]
call sub.KERNEL32.dll_EnterCriticalSection
mov rcx, qword [0x1400ffa08]
test rcx, rcx
je 0x14006bbb4
nop dword [rax]
mov rsi, qword [rcx + 0xb8]
call fcn.14006b820
mov rcx, rsi
test rsi, rsi
jne 0x14006bba0
lea rcx, [0x1400ff960]
add rsp, 0x20
pop rsi
jmp fcn.1400a7db0
Function at 0x14006bbd0
Capabilities:
Resume thread

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsi + 0x10], eax
je 0x14006bbf3
mov rcx, qword [rsi + 0xc0]
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
je 0x14006bc4b
cmp byte [rsi + 0x98], 0
jne 0x14006bc0a
mov rax, qword [rsi + 0x90]
mov rcx, qword [rax]
mov qword [rax + 8], rcx
xorps xmm0, xmm0
movups xmmword [rsi + 0x138], xmm0
movups xmmword [rsi + 0x128], xmm0
movups xmmword [rsi + 0x118], xmm0
movups xmmword [rsi + 0x108], xmm0
movups xmmword [rsi + 0xf8], xmm0
movups xmmword [rsi + 0xe8], xmm0
movups xmmword [rsi + 0xd8], xmm0
movups xmmword [rsi + 0xc8], xmm0
add rsp, 0x30
pop rsi
ret
cmp dword [rsi + 0x10], 0
je 0x14006bc74
mov dword [rsp + 0x2c], 0
mov rcx, qword [rsi + 0xc0]
lea rdx, [rsp + 0x2c]
call sub.KERNEL32.dll_GetExitCodeThread
cmp dword [rsp + 0x2c], 0x103
je 0x14006bc7e
mov rcx, rsi
call fcn.14006d670
jmp 0x14006bc45
lea rdx, str.Unable_to_resume_thread
mov ecx, reloc.WS2_32.dll_socket
call fcn.14006dc10
int3

Function at 0x14006bce0
Capabilities:
Resume thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, r9
mov edi, r8d
mov rbx, rdx
mov r14, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400982fc
mov qword [rax], r14
mov qword [rax + 8], rbx
mov dword [rsp + 0x3c], 0
xor ebx, ebx
cmp byte [0x1400ff898], 0
jne 0x14006be70
lea rcx, [rsp + 0x3c]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
lea r8, [0x14006c1a0]
xor ebx, ebx
xor ecx, ecx
mov edx, edi
mov r9, rax
call fcn.1400913ac
test rax, rax
je 0x14006be70
mov rdi, rax
mov rbx, qword [rsp + 0x90]
lea rcx, [0x1400ff9c8]
call sub.KERNEL32.dll_EnterCriticalSection
mov rax, qword [0x1400ffa18]
lea rcx, [rax + 1]
mov qword [0x1400ffa18], rcx
mov rcx, qword [0x1400ffa20]
lea rax, [rax*8 + 8]
lea rdx, [rax + rax*2]
call fcn.140098304
mov qword [0x1400ffa20], rax
mov rcx, qword [0x1400ffa18]
lea rcx, [rcx + rcx*2]
mov edx, dword [rsp + 0x3c]
mov dword [rax + rcx*8 - 0x18], edx
mov qword [rax + rcx*8 - 0x10], rsi
mov qword [rax + rcx*8 - 8], rbx
mov rcx, rdi
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
je 0x14006be7c
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
or rsi, rbx
je 0x14006be60
mov rcx, qword [0x1400ff8a0]
test rcx, rcx
jne 0x14006be03
lea rdx, [0x14006bc90]
lea r8, [0x1400ff8a0]
mov ecx, 6
call sub.KERNEL32.dll_GetModuleHandleExW
test eax, eax
je 0x14006be60
mov rcx, qword [0x1400ff8a0]
call fcn.1400808e0
test eax, eax
js 0x14006be60
cmp dword [0x1400ff8a8], 0
jne 0x14006be60
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x14006be3d
mov qword [rsp + 0x40], 0
lea rdx, [0x14006bc90]
lea r8, [rsp + 0x40]
mov ecx, 4
call sub.KERNEL32.dll_GetModuleHandleExW
mov qword [rsp + 0x20], 0
lea rdx, [0x14006be90]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call fcn.14006bce0
mov dword [0x1400ff8a8], eax
mov ebx, dword [rsp + 0x3c]
lea rcx, [0x1400ff9c8]
call fcn.1400a7db0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.Error_resuming_thread
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14006dc10
int3
Function at 0x14006c740
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14006c7bf
mov rsi, rdx
test rdx, rdx
je 0x14006c76c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
jmp 0x14006c76e
xor eax, eax
movabs rdx, 0x87c37b91114253d5
imul rdx, rax
movabs r8, 0x88a129ea80000000
imul r8, rax
shr rdx, 0x21
or rdx, r8
movabs rax, 0x4cf5ad432745937f
imul rax, rdx
rol rax, 0x1b
lea rax, [rax + rax*4]
add rax, 0x52dce729
dec rcx
and rcx, rax
mov rax, qword [rdi]
mov rdi, qword [rax + rcx*8]
test rdi, rdi
jne 0x14006c7d9
xor edi, edi
jmp 0x14006c828
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x14006c7bf
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x14006c824
test rbx, rbx
je 0x14006c7d0
test rsi, rsi
je 0x14006c7d0
mov r14, qword [rbx]
mov rcx, rbx
mov rdx, rsi
call qword [r14 + 0x28]
test al, al
je 0x14006c7d0
mov rax, qword [rsi]
mov rcx, qword [r14]
mov rdx, qword [rax]
cmp rcx, rdx
je 0x14006c824
mov rax, qword [rcx]
call qword [rax + 0x28]
test al, al
jne 0x14006c824
mov rax, qword [rsi]
mov rcx, rsi
mov rdx, rbx
call qword [rax + 0x28]
test al, al
je 0x14006c7d0
add rdi, 8
mov rax, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14006cb80
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15d, 0xffffffff
mov r14, qword [rcx + 8]
test r14, r14
je 0x14006cc51
imul eax, edi, 0xcc9e2d51
imul ecx, edi, 0x16a88000
shr eax, 0x11
or eax, ecx
imul eax, eax, 0x1b873593
rol eax, 0xd
lea eax, [rax + rax*4]
add eax, 0xe6546b64
mov rcx, rdi
shr rcx, 0x20
imul edx, ecx, 0xcc9e2d51
imul ecx, ecx, 0x16a88000
shr edx, 0x11
or edx, ecx
imul ecx, edx, 0x1b873593
xor ecx, eax
rol ecx, 0xd
lea ebp, [rcx + rcx*4]
add ebp, 0xe6546b64
mov eax, ebp
shr eax, 0x10
xor eax, ebp
xor eax, 8
imul eax, eax, 0x85ebca6b
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
lea eax, [r14 + r15]
and eax, ecx
mov rbx, qword [rsi]
mov rax, qword [rbx + rax*8]
test rax, rax
je 0x14006cc42
nop dword [rax]
cmp qword [rax], rdi
je 0x14006cd6a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14006cc30
cmp byte [rsi + 0x18], 0
je 0x14006ccf8
jmp 0x14006cd7b
cmp byte [rsi + 0x18], 0
jne 0x14006cd7b
mov r14, qword [rsi]
mov edx, 0x20
mov rcx, r14
call fcn.140098304
test rax, rax
je 0x14006cd96
mov rbx, rax
mov qword [rsi], rax
mov rax, qword [rsi + 8]
cmp rax, 3
ja 0x14006cc9c
lea rcx, [rbx + rax*8]
shl rax, 3
mov r8d, 0x20
sub r8, rax
xor edx, edx
call fcn.1400a71c0
mov qword [rsi + 8], 4
imul eax, edi, 0xcc9e2d51
imul ecx, edi, 0x16a88000
shr eax, 0x11
or eax, ecx
imul eax, eax, 0x1b873593
rol eax, 0xd
lea eax, [rax + rax*4]
add eax, 0xe6546b64
mov rcx, rdi
shr rcx, 0x20
imul edx, ecx, 0xcc9e2d51
imul ecx, ecx, 0x16a88000
shr edx, 0x11
or edx, ecx
imul ecx, edx, 0x1b873593
xor ecx, eax
rol ecx, 0xd
lea ebp, [rcx + rcx*4]
add ebp, 0xe6546b64
mov r14d, 4
mov ecx, 1
mov edx, 0x18
call fcn.140096da4
test rax, rax
je 0x14006cd7d
add r14d, r15d
mov ecx, ebp
shr ecx, 0x10
xor ecx, ebp
xor ecx, 8
imul ecx, ecx, 0x85ebca6b
mov edx, ecx
shr edx, 0xd
xor edx, ecx
imul ecx, edx, 0xc2b2ae35
mov edx, ecx
shr edx, 0x10
xor edx, ecx
and edx, r14d
mov qword [rax], rdi
mov rcx, qword [rbx + rdx*8]
mov qword [rax + 0x10], rcx
mov qword [rbx + rdx*8], rax
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
inc rdx
mov qword [rsi + 0x10], rdx
add rcx, rcx
cmp rdx, rcx
jb 0x14006cd6a
mov rcx, rsi
mov rsi, rax
call fcn.14006cdc0
mov rax, rsi
add rax, 8
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
ud2
lea r8, str.coreinternalcontainercommon.d
mov edx, 0x20
mov r9d, 0x1e
xor ecx, ecx
call fcn.140045f10
mov rcx, r14
call fcn.140097584
lea r8, str.coreinternalcontainercommon.d
mov edx, 0x20
mov r9d, reloc.WS2_32.dll_setsockopt
xor ecx, ecx
call fcn.140045f10
int3
Function at 0x14006cdc0
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rcx + 8]
lea rdx, [rdi + rdi]
call fcn.1400817f0
test rdi, rdi
je 0x14006ced9
mov eax, 0xffffffff
lea rax, [rax + rdi*2]
xor ecx, ecx
jmp 0x14006cdfc
inc rcx
cmp rcx, rdi
je 0x14006ced9
mov r8, qword [rsi]
mov rdx, qword [r8 + rcx*8]
test rdx, rdx
je 0x14006cdf0
lea r8, [r8 + rcx*8]
jmp 0x14006ce31
mov r10, qword [rdx + 0x10]
mov qword [r8], r10
mov r10, qword [rsi]
mov r10, qword [r10 + r9*8]
mov qword [rdx + 0x10], r10
mov r10, qword [rsi]
mov qword [r10 + r9*8], rdx
mov rdx, qword [r8]
test rdx, rdx
je 0x14006cdf0
mov r9d, dword [rdx]
mov r10d, dword [rdx + 4]
imul r11d, r9d, 0xcc9e2d51
imul r9d, r9d, 0x16a88000
shr r11d, 0x11
or r11d, r9d
imul r9d, r11d, 0x1b873593
rol r9d, 0xd
lea r9d, [r9 + r9*4]
add r9d, 0xe6546b64
imul r11d, r10d, 0xcc9e2d51
imul r10d, r10d, 0x16a88000
shr r11d, 0x11
or r11d, r10d
imul r10d, r11d, 0x1b873593
xor r10d, r9d
rol r10d, 0xd
lea r9d, [r10 + r10*4]
add r9d, 0xe6546b64
mov r10d, r9d
shr r10d, 0x10
xor r10d, r9d
xor r10d, 8
imul r9d, r10d, 0x85ebca6b
mov r10d, r9d
shr r10d, 0xd
xor r10d, r9d
imul r10d, r10d, 0xc2b2ae35
mov r9d, r10d
shr r9d, 0x10
xor r9d, r10d
and r9d, eax
cmp r9, rcx
jne 0x14006ce10
add rdx, 0x10
mov r8, rdx
jmp 0x14006ce29
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140076180
Capabilities:
Terminate thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov eax, dword [rcx + 0x340]
test rax, rax
je 0x1400763d2
mov rsi, rcx
mov rcx, qword [rcx + 0x348]
lea r8d, [rax + 0x7fffffff]
xor edi, edi
mov edx, 0
cmp r8d, 0x80000007
jb 0x140076230
mov edx, eax
and edx, 0xfffffff8
pxor xmm0, xmm0
xor r8d, r8d
pcmpeqd xmm3, xmm3
pxor xmm2, xmm2
pxor xmm1, xmm1
nop word cs:[rax + rax]
movdqu xmm4, xmmword [rcx + r8*4]
movdqu xmm5, xmmword [rcx + r8*4 + 0x10]
pcmpeqd xmm4, xmm0
paddd xmm2, xmm4
pcmpeqd xmm5, xmm0
paddd xmm1, xmm5
psubd xmm2, xmm3
psubd xmm1, xmm3
add r8, 8
cmp edx, r8d
jne 0x1400761e0
paddd xmm1, xmm2
pshufd xmm0, xmm1, 0xee
paddd xmm0, xmm1
pshufd xmm1, xmm0, 0x55
paddd xmm1, xmm0
movd edi, xmm1
cmp eax, edx
je 0x1400762ae
test al, 3
je 0x140076265
movsxd r8, edx
lea r9, [rcx + r8*4]
mov r10d, eax
and r10d, 3
xor r8d, r8d
nop word cs:[rax + rax]
cmp dword [r9 + r8*4], 1
sbb edi, 0xffffffff
inc r8
cmp r10d, r8d
jne 0x140076250
add r8d, edx
jmp 0x140076268
mov r8d, edx
sub edx, eax
cmp edx, 0xfffffffc
ja 0x1400762ae
nop
movsxd r8, r8d
cmp dword [rcx + r8*4], 1
sbb edi, 0xffffffff
lea edx, [r8 + 1]
movsxd rdx, edx
cmp dword [rcx + rdx*4], 1
sbb edi, 0xffffffff
lea edx, [r8 + 2]
movsxd rdx, edx
cmp dword [rcx + rdx*4], 1
sbb edi, 0xffffffff
lea edx, [r8 + 3]
movsxd rdx, edx
cmp dword [rcx + rdx*4], 1
sbb edi, 0xffffffff
add r8d, 4
cmp eax, r8d
jne 0x140076270
mov byte [rsi + 0x368], 1
nop word cs:[rax + rax]
mov eax, dword [rsi + 0x364]
cmp eax, edi
jae 0x1400762fc
cmp byte [0x1400ff898], 0
jne 0x1400762fc
mov rcx, qword [rsi + 0x350]
test rcx, rcx
je 0x1400762e4
call sub.KERNEL32.dll_SetEvent
mov rcx, qword [rsi + 0x358]
test rcx, rcx
je 0x1400762c0
mov edx, 1
call sub.KERNEL32.dll_WaitForSingleObject
jmp 0x1400762c0
mov eax, dword [rsi + 0x340]
test eax, eax
je 0x140076384
xor ebx, ebx
jmp 0x14007634d
mov rcx, rdi
mov edx, 1
call sub.KERNEL32.dll_TerminateThread
mov edx, 0xa
mov rcx, rdi
call sub.KERNEL32.dll_WaitForSingleObject
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
mov rax, qword [rsi + 0x348]
mov dword [rax + r14*4], 0
mov eax, dword [rsi + 0x340]
inc ebx
cmp ebx, eax
jae 0x140076384
movsxd r14, ebx
mov rcx, qword [rsi + 0x348]
mov r8d, dword [rcx + r14*4]
test r8d, r8d
je 0x140076347
mov ecx, 0x10004a
xor edx, edx
call sub.KERNEL32.dll_OpenThread
test rax, rax
je 0x140076332
mov rdi, rax
cmp byte [0x1400ff898], 0
jne 0x140076310
mov edx, 0xffffffff
jmp 0x140076322
mov rcx, qword [rsi + 0x358]
test rcx, rcx
je 0x140076395
call sub.KERNEL32.dll_CloseHandle
mov qword [rsi + 0x358], 0
mov rcx, qword [rsi + 0x350]
test rcx, rcx
je 0x1400763b1
call sub.KERNEL32.dll_CloseHandle
mov qword [rsi + 0x350], 0
mov rcx, qword [rsi + 0x348]
call fcn.140097584
mov dword [rsi + 0x340], 0
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14007ad20
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
test rdx, rdx
je 0x14007ad64
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
add rsi, 8
nop dword [rax]
mov r8d, dword [rsi - 8]
mov rdx, qword [rsi]
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call sub.KERNEL32.dll_WriteFile
add rsi, 0x10
dec rdi
jne 0x14007ad40
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140081c50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movdqa xmmword [rsp + 0x20], xmm6
xor r14d, r14d
mov edx, 0
test r14b, r14b
jne 0x140081ce8
mov rsi, rcx
movzx eax, word [rcx]
xor r14d, r14d
mov edx, 0
cmp eax, 0x5a4d
jne 0x140081ce8
movsxd rax, dword [rsi + 0x3c]
movzx r15d, word [rsi + rax + 6]
test r15, r15
je 0x140081ce3
lea rdi, str..minfo
mov ebp, 6
lea rcx, [rsi + rax]
movzx eax, word [rsi + rax + 0x14]
lea r12, [rax + rcx]
add r12, 0x18
xor r14d, r14d
cmp ebp, 8
jne 0x140081cf5
mov rax, qword [rdi]
mov rcx, r12
xor r13d, r13d
nop word cs:[rax + rax]
cmp rax, qword [rcx]
je 0x140081d2e
inc r13
add rcx, 0x28
cmp r15, r13
jne 0x140081cd0
jmp 0x140081ce6
xor r14d, r14d
xor edx, edx
cmp r14, 8
jae 0x140081d4f
xor eax, eax
jmp 0x140081e2a
mov rbx, r12
xor r13d, r13d
jmp 0x140081d12
cmp byte [rbx + rbp], 0
je 0x140081d2e
inc r13
add rbx, 0x28
cmp r15, r13
je 0x140081ce6
test rbp, rbp
je 0x140081d00
mov r8d, 6
mov rcx, rdi
mov rdx, rbx
call fcn.1400a6a20
test eax, eax
jne 0x140081d06
jmp 0x140081d00
lea rax, [r13*4]
add rax, r13
mov r14d, dword [r12 + rax*8 + 8]
mov eax, dword [r12 + rax*8 + 0xc]
add rsi, rax
mov rdx, rsi
cmp r14, 8
jb 0x140081cee
mov rsi, r14
shr rsi, 3
cmp r14, 0x20
jae 0x140081d62
xor ecx, ecx
xor eax, eax
jmp 0x140081dd2
mov rax, rsi
and rax, 0xfffffffffffffffc
pxor xmm0, xmm0
xor ecx, ecx
pcmpeqd xmm3, xmm3
pxor xmm2, xmm2
pxor xmm1, xmm1
nop dword [rax + rax]
movdqu xmm4, xmmword [rdx + rcx*8]
movdqu xmm5, xmmword [rdx + rcx*8 + 0x10]
pcmpeqd xmm4, xmm0
pshufd xmm6, xmm4, 0xb1
pand xmm6, xmm4
pxor xmm6, xmm3
psubq xmm2, xmm6
pcmpeqd xmm5, xmm0
pshufd xmm4, xmm5, 0xb1
pand xmm4, xmm5
pxor xmm4, xmm3
psubq xmm1, xmm4
add rcx, 4
cmp rax, rcx
jne 0x140081d80
paddq xmm1, xmm2
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rcx, xmm0
jmp 0x140081dde
cmp qword [rdx + rax*8], 1
sbb rcx, 0xffffffffffffffff
inc rax
cmp rsi, rax
jne 0x140081dd2
cmp rcx, rsi
jne 0x140081ded
mov rax, rsi
jmp 0x140081e2a
mov rbx, rdx
mov rdi, rcx
lea rcx, [rcx*8]
call fcn.1400982fc
cmp rsi, 1
jne 0x140081e40
xor edx, edx
xor r8d, r8d
mov r9, rbx
mov rcx, rdi
test r14b, 8
je 0x140081e24
mov r8, qword [r9 + r8*8]
test r8, r8
je 0x140081e24
mov qword [rax + rdx*8], r8
mov rdx, rax
mov rax, rcx
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rcx, 0x1ffffffffffffffc
or rcx, 2
and rsi, rcx
xor edx, edx
xor r8d, r8d
mov r9, rbx
mov rcx, rdi
jmp 0x140081e69
add r8, 2
cmp rsi, r8
je 0x140081e11
mov r10, qword [r9 + r8*8]
test r10, r10
je 0x140081e79
mov qword [rax + rdx*8], r10
inc rdx
mov r10, qword [r9 + r8*8 + 8]
test r10, r10
je 0x140081e60
mov qword [rax + rdx*8], r10
inc rdx
jmp 0x140081e60
Function at 0x140081e90
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, rdx
xor edi, edi
mov edx, 0
cmp r14, 9
jae 0x140081f67
mov rsi, rcx
movzx eax, word [rcx]
xor edi, edi
mov edx, 0
cmp eax, 0x5a4d
jne 0x140081f67
movsxd rax, dword [rsi + 0x3c]
movzx r12d, word [rsi + rax + 6]
test r12, r12
je 0x140081f13
mov rbx, r8
lea rcx, [rsi + rax]
movzx eax, word [rsi + rax + 0x14]
lea r13, [rax + rcx]
add r13, 0x18
xor edi, edi
cmp r14, 8
jne 0x140081f19
mov rax, qword [rbx]
mov rcx, r13
xor ebp, ebp
nop
cmp rax, qword [rcx]
je 0x140081f4c
inc rbp
add rcx, 0x28
cmp r12, rbp
jne 0x140081f00
jmp 0x140081f15
xor edi, edi
xor edx, edx
jmp 0x140081f67
mov r15, r13
xor ebp, ebp
jmp 0x140081f33
cmp byte [r15 + r14], 0
je 0x140081f4c
inc rbp
add r15, 0x28
cmp r12, rbp
je 0x140081f15
test r14, r14
je 0x140081f20
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.1400a6a20
test eax, eax
jne 0x140081f27
jmp 0x140081f20
lea rax, [rbp*4]
add rax, rbp
mov edi, dword [r13 + rax*8 + 8]
mov eax, dword [r13 + rax*8 + 0xc]
add rsi, rax
mov rdx, rsi
mov rax, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140083470
Capabilities:
Link many functions at runtime

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x1400ffd08]
cmp qword [0x1400ffd00], 0
jne 0x140083666
mov rsi, rax
lea rcx, str.dbghelp.dll
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x1400ffd00], rax
test rax, rax
je 0x140083664
lea rdx, str.SymInitialize
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd08], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymCleanup
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd10], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.StackWalk64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd18], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymGetOptions
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd20], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymSetOptions
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd28], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymFunctionTableAccess64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd30], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymGetLineFromAddr64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd38], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymGetModuleBase64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd40], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymGetModuleInfo64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd48], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymGetSymFromAddr64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd50], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.UnDecorateSymbolName
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd58], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymLoadModule64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd60], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymGetSearchPath
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd68], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymSetSearchPath
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd70], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymUnloadModule64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd78], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.SymRegisterCallback64
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd80], rax
mov rcx, qword [0x1400ffd00]
lea rdx, str.ImagehlpApiVersion
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1400ffd88], rax
mov rax, rsi
jmp 0x140083666
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400843bc
Capabilities:
Parse pe header

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