joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180055c90
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x40
mov r8, qword [0x180103740]
xor eax, eax
mov qword [rsp + 0x50], rbx
mov rbx, r8
mov qword [rsp + 0x60], rsi
mov rsi, rcx
mov qword [rsp + 0x20], rax
mov ecx, dword [r8 + 0x2f1c]
mov edi, dword [r8 + 0x2f18]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x3c], al
cmp edi, ecx
jne 0x180055d78
inc edi
test ecx, ecx
je 0x180055ced
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180055cf2
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180055d78
mov qword [rsp + 0x58], rbp
test rbx, rbx
je 0x180055d0c
inc dword [r8 + 0x3b0]
movsxd rcx, edi
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2f20]
mov rbp, rax
test rdx, rdx
je 0x180055d5f
movsxd r8, dword [rbx + 0x2f18]
mov rcx, rax
shl r8, 5
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f20]
test rcx, rcx
je 0x180055d59
mov rax, qword [0x180103740]
test rax, rax
je 0x180055d59
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x180103740]
mov qword [rbx + 0x2f20], rbp
mov rbp, qword [rsp + 0x58]
mov dword [rbx + 0x2f1c], edi
movsxd rcx, dword [rbx + 0x2f18]
mov rax, qword [rbx + 0x2f20]
movups xmm0, xmmword [rsp + 0x20]
shl rcx, 5
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
movsxd rcx, dword [rbx + 0x2f18]
mov rdi, rcx
shl rdi, 5
lea eax, [rcx + 1]
mov dword [rbx + 0x2f18], eax
add rdi, qword [rbx + 0x2f20]
mov rbx, 0xffffffffffffffff
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x180055dc2
test r8, r8
je 0x180055dd9
inc dword [r8 + 0x3b0]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x50]
lea r8, [rsi + 1]
mov qword [rdi], rax
mov r10d, 0xffffffff
movzx r9d, byte [rsi]
mov edx, r10d
mov rsi, qword [rsp + 0x60]
test r9b, r9b
je 0x180055e50
lea r11, [0x180083150]
nop dword [rax]
cmp r9b, 0x23
jne 0x180055e33
cmp byte [r8], r9b
jne 0x180055e33
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180055e20
not edx
mov rax, rdi
mov dword [rdi + 8], edx
add rsp, 0x40
pop rdi
ret
Function at 0x180055e60
Capabilities:
Hash data with crc32

Disassembly:
push r12
push r13
sub rsp, 0x38
mov r13, qword [0x180103740]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x30], rdi
mov rdi, rcx
mov qword [rsp + 0x20], r15
test rdx, rdx
jne 0x180055e9e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x180055e95
test r13, r13
je 0x180055eaa
inc dword [r13 + 0x3b0]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov r12, rax
lea r15, [rax + rbx]
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r15], 0
xor edi, edi
mov rcx, r12
cmp r12, r15
jae 0x180056079
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], r14
nop word [rax + rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x1800560be
cmp al, 0xd
je 0x1800560be
mov rbx, rcx
cmp rcx, r15
jae 0x180055f23
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x180055f23
cmp al, 0xd
je 0x180055f23
inc rbx
cmp rbx, r15
jb 0x180055f10
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x180056062
cmp al, 0x5b
jne 0x180056049
cmp rbx, rcx
jbe 0x180056049
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x180056049
lea rdi, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, rdi
sub r8, rdi
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r14, rax
test rax, rax
je 0x180055f97
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memchr
mov r10, rax
test rax, rax
je 0x180055f97
mov byte [r14], 0
inc r10
jmp 0x180055fa1
mov r10, rdi
lea rdi, str.Window
movzx r9d, byte [rdi]
lea r8, [rdi + 1]
mov r11, qword [0x180103740]
mov esi, 0xffffffff
mov eax, esi
test r9b, r9b
je 0x180055ff5
nop dword [rax]
cmp r9b, 0x23
jne 0x180055fd2
cmp byte [r8], r9b
jne 0x180055fd2
cmp byte [r8 + 1], r9b
cmove eax, esi
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
lea rcx, [0x180083150]
inc r8
xor eax, dword [rcx + rdx*4]
test r9b, r9b
jne 0x180055fc0
mov r8d, dword [r11 + 0x2f08]
xor edx, edx
not eax
test r8d, r8d
jle 0x18005601f
mov r9, qword [r11 + 0x2f10]
lea rcx, [r9 + 8]
cmp dword [rcx], eax
je 0x180056025
inc edx
add rcx, 0x30
cmp edx, r8d
jl 0x180056010
xor edi, edi
xor ebp, ebp
jmp 0x180056062
movsxd rax, edx
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x180056021
mov rax, qword [rdi + 0x10]
mov r8, r10
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x180056062
test rdi, rdi
je 0x180056062
test rbp, rbp
je 0x180056062
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r15
jb 0x180055ef0
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test r12, r12
je 0x1800560a4
mov rax, qword [0x180103740]
test rax, rax
je 0x1800560a4
dec dword [rax + 0x3b0]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [r13 + 0x2eec], 1
add rsp, 0x38
pop r13
pop r12
ret
inc rcx
jmp 0x180055ef0
Function at 0x1800560d0
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x180103740]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x2ef0], r15d
test rcx, rcx
je 0x1800561fb
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x2ef8]
mov dword [rbx + 0x2ef0], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x180056134
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.1800571f0
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x18005614a
mov edx, 8
mov rcx, rdi
call fcn.1800571f0
movsxd rcx, dword [rdi]
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
cmp dword [rbx + 0x2f08], r15d
jle 0x180056195
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rbx + 0x2f10]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add rsi, 0x30
cmp ebp, dword [rbx + 0x2f08]
jl 0x180056170
mov eax, dword [rdi]
lea rdx, [0x1800d3f90]
test eax, eax
lea rdi, [0x18010361b]
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2f00]
cmove ecx, r15d
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.180033fe0
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x1800561f1
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x180061540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x1800616d3
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x1800615b0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.180060f00
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.180060500
mov dword [rbx + 0x80], 0
jmp 0x1800616bf
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
mov r8d, 4
call fcn.18005f3c0
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18007afc0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18007affa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18007afff
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18007b048
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18007f800]
cmp byte [rcx + rax], 0
je 0x18007b048
dec r8
sub rdx, 1
jne 0x18007b02e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140001000
Capabilities:
Download url
Receive data

Disassembly:
push rsi
push rdi
sub rsp, 0x98
mov rsi, r8
mov rdi, rdx
mov rdx, rcx
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x38]
xor ecx, ecx
xor r9d, r9d
call sub.urlmon.dll_URLOpenBlockingStreamA
test eax, eax
js 0x1400010a7
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov r8d, 1
call qword [rax + 0x60]
test eax, eax
js 0x1400010c7
mov rax, qword [rsp + 0x50]
mov ecx, eax
mov dword [rsi], eax
call fcn.140001ad4
mov qword [rdi], rax
mov rcx, qword [rsp + 0x38]
mov r8d, dword [rsi]
mov r10, qword [rcx]
lea r9, [rsp + 0x34]
mov rdx, rax
call qword [r10 + 0x18]
test eax, eax
js 0x1400010b7
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsi]
jne 0x1400010b7
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov sil, 1
jmp 0x140001105
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x1400034aa]
jmp 0x1400010d5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x1400034e6]
jmp 0x1400010d5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x14000346e]
call fcn.140001130
mov rsi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rsi
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov rcx, rsi
mov edx, eax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::put_char____ptr64]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
xor esi, esi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140001b00
mov eax, esi
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x140002480
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400024ca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400024ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400024ca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400024ca
cmp dword [rcx + 0x84], 0xe
jbe 0x1400024ca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400024cc
xor al, al
add rsp, 0x28
ret
Function at 0x1416e1058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1416e11df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1416e1089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416e106f
add dl, dl
jne 0x1416e1096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416e10f6
xor eax, eax
add dl, dl
jne 0x1416e10a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416e11ad
add dl, dl
jne 0x1416e10b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416e10c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416e10d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416e10dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1416e10ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1416e107e
mov eax, 1
add dl, dl
jne 0x1416e1106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416e1113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416e10fb
sub eax, ebx
mov ebx, 1
jne 0x1416e114c
mov ecx, 1
add dl, dl
jne 0x1416e112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1416e113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416e1123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1416e107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1416e1168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1416e1175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416e115d
cmp eax, 0x7d00
jae 0x1416e119b
cmp eax, 0x500
jb 0x1416e1196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1416e107e
cmp eax, 0x7f
ja 0x1416e119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1416e107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1416e11d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1416e107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14002101e
Capabilities:
Delete file

Disassembly:
jmp 0x140052c20
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6c8]
lea rcx, [0x14009ac3a]
call fcn.140022068
nop
mov edx, 0x410
lea rcx, [rbp + 0x10]
call fcn.140021b9f
nop
mov rax, qword [rbp + 0x6a8]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x6a0]
lea r8, [0x1400736d0]
mov edx, 0x208
lea rcx, [rbp + 0x10]
call fcn.140021ac3
nop
cmp dword [rbp + 0x6b0], 0
je 0x140052cb5
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
jmp 0x140052cd7
cmp qword [rbp + 0x690], 0
je 0x140052cd7
mov r8d, dword [rbp + 0x698]
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x690]
call fcn.14002152d
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14007ff50]
call fcn.140021d8e
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x140021168
Capabilities:
Set registry value

Disassembly:
jmp 0x140058410
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
lea rcx, [0x14009ac3a]
call fcn.140022068
nop
mov dword [rbp + 4], 0xc0000001
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x90], 0
xor eax, eax
mov word [rbp + 0x88], ax
xor eax, eax
mov word [rbp + 0x8a], ax
cmp qword [rbp + 0x190], 0
je 0x1400584af
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
movzx eax, al
test eax, eax
jne 0x1400584af
mov eax, 0xc00000f0
jmp 0x14005865f
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x198]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140058509
mov dword [rbp + 4], 0xc0000022
jmp 0x14005863a
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x24], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x140058550
jmp 0x140058619
mov dword [rbp + 0x24], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x140058590
jmp 0x140058619
mov dword [rbp + 0x24], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x1400585cd
jmp 0x140058619
cmp qword [rbp + 0x190], 0
je 0x14005860f
movzx eax, word [rbp + 0x88]
add rax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x44], eax
xor eax, eax
test eax, eax
jne 0x140058510
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rbp + 0x44], 0
je 0x140058633
mov dword [rbp + 4], 0xc0000022
jmp 0x14005863a
mov dword [rbp + 4], 0
cmp qword [rbp + 0x190], 0
je 0x14005865c
cmp qword [rbp + 0x90], 0
je 0x14005865c
lea rcx, [rbp + 0x88]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x140080e10]
call fcn.140021d8e
mov rax, rdi
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1400211b8
Capabilities:
Map section object

Disassembly:
jmp 0x140054e00
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
lea rcx, [0x14009ac3a]
call fcn.140022068
nop
mov qword [rbp + 8], 0
cmp dword [rbp + 0x1b8], 0
je 0x140054e62
mov dword [rbp + 0x24], 4
jmp 0x140054e69
mov dword [rbp + 0x24], 2
mov rax, qword [rbp + 0x1a8]
and rax, 0xfffffffffffff000
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x1a8]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x1b0]
add rax, rcx
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 8]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
jge 0x140054f1c
mov ecx, dword [rbp + 0xa4]
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
jmp 0x140054f22
mov rax, qword [rbp + 8]
jmp 0x140054f24
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14007e3c0]
call fcn.140021d8e
mov rax, rdi
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x1400211f4
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140029f20
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x140098341]
call fcn.140022068
nop
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
lea r9, [rbp + 0x44]
mov r8d, 8
lea rdx, [rbp + 0x28]
mov ecx, 0x32
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140029f90
mov ecx, dword [rbp + 4]
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
nop
mov rax, qword [rbp + 0x28]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400687a0]
call fcn.140021d8e
mov rax, rdi
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret