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

Disassembly:
push ebp
lea ebp, [esp - 0x1d8]
sub esp, 0x258
mov eax, dword [0x57b750]
xor eax, ebp
mov dword [ebp + 0x1d4], eax
push esi
xor esi, esi
cmp dword [0x587134], esi
jne 0x445aa3
push ebx
lea eax, [ebp - 0x78]
push eax
push 0x20019
push esi
xor ebx, ebx
push str.SoftwareMicrosoftPlus_ThemesCurrent
inc ebx
push SysReAllocString
mov dword [0x587134], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x445aa2
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
push esi
push dword [ebp - 0x78]
mov dword [ebp - 0x80], 0x104
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x445a99
push edi
push 0xb
pop ecx
mov esi, str.Windows_Classic.theme
lea edi, [ebp + 0x1a8]
lea eax, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
mov edi, eax
lea eax, [ebp + 0x1a8]
push eax
call esi
cmp edi, eax
jl 0x445a98
lea eax, [ebp + 0x1a8]
push eax
push eax
call esi
sub edi, eax
lea eax, [ebp + edi*2 - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x445a98
mov dword [0x587130], ebx
pop edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp + 0x1d4]
mov eax, dword [0x587130]
xor ecx, ebp
pop esi
call fcn.004b96ff
add ebp, 0x1d8
leave
ret
Function at 0x4482b4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x4482bf
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x448371
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x546930]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x546930]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x546930]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x546930]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x546930]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x546930]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x546930]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x546930]
inc ecx
sub edi, 8
dec esi
jne 0x4482d6
pop ebx
test edi, edi
je 0x44838a
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x546930]
inc ecx
dec edi
jne 0x448375
pop esi
not eax
pop edi
ret

Function at 0x44838f
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x546930]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x546930]
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x448a8e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x448abe
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x448ab9
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x448ae6
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x448acf
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004c3c80
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret
Function at 0x4496ff
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebx], 0
push esi
push edi
jne 0x449792
cmp dword [ebx + 4], 0xffffffff
jne 0x449792
lea esi, [ebx + 0x240]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x44972b
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x23e]
cmp ax, 0x5c
je 0x449762
cmp ax, 0x2f
je 0x449762
dec esi
dec esi
mov ax, word [esi + 2]
inc esi
inc esi
test ax, ax
jne 0x44974f
mov edi, esi
mov esi, 0x526790
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00448984
pop ecx
pop ecx
test eax, eax
jne 0x449779
mov eax, dword [ebp + 8]
jmp 0x449797
push eax
call fcn.00448cfe
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x449797
mov eax, 0x1000000
pop edi
pop esi
pop ecx
pop ebp
ret 4

Function at 0x449c6c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x57b750]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx]
push ebx
mov ebx, dword [ebp + 8]
test ax, ax
je 0x449d46
push esi
push edi
mov edi, ecx
mov edx, ecx
movzx eax, ax
cmp ax, 0x2f
je 0x449ca7
cmp ax, 0x5c
jne 0x449ca9
mov edi, edx
inc edx
inc edx
movzx eax, word [edx]
test ax, ax
jne 0x449c9b
mov eax, edi
cmp edi, ecx
je 0x449cec
mov esi, edi
sub esi, ecx
sar esi, 1
add esi, esi
push esi
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.004c3c80
xor eax, eax
mov word [ebp + esi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00449c6c
add esp, 0x14
lea eax, [edi + 2]
lea esi, [ebp - 0x414]
mov ecx, ebx
sub esi, ebx
movzx edx, word [ecx]
mov word [esi + ecx], dx
inc ecx
inc ecx
test dx, dx
jne 0x449cf6
mov edx, eax
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x449d06
sub eax, edx
lea edi, [ebp - 0x414]
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x449d1a
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x414]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004b96ff
leave
ret
Function at 0x44b460
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, eax
push esi
lea eax, [ebx - 1]
push edi
mov esi, ecx
cmp eax, 7
jbe 0x44b479
mov dword [esi + 0x6afa4], str.bad_pack_level
xor edi, edi
lea ecx, [esi + 0x6af70]
lea eax, [esi + 0x6af78]
mov dword [eax], edi
cmp dword [ecx], edi
jne 0x44b499
mov dword [eax], 1
mov dword [ecx], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.004be850
mov eax, ebx
shl eax, 3
movzx ecx, word [eax + 0x545102]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax + 0x545100]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax + 0x545104]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax + 0x545106]
add esp, 0xc
cmp ebx, 2
mov dword [esi + 0x6af94], eax
jg 0x44b4fc
mov eax, dword [esp + 0x10]
or word [eax], 4
jmp 0x44b509
cmp ebx, 8
jl 0x44b509
mov eax, dword [esp + 0x10]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x44b571
cmp eax, 0xffffffff
je 0x44b571
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x44b549
call fcn.0044b709
mov dword [esi + 0x6af7c], edi
movzx eax, byte [ebx + edi]
mov ecx, dword [esi + 0x6af7c]
shl ecx, 5
xor eax, ecx
and eax, 0x7fff
inc edi
mov dword [esi + 0x6af7c], eax
cmp edi, 2
jb 0x44b54f
jmp 0x44b581
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret
Function at 0x44b825
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x44ba22
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x44b89f
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x44b8e2
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x44b8e2
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x44b8c7
mov dword [eax], ecx
push dword [ebp - 4]
mov ecx, esi
call fcn.0044b585
mov ebx, eax
mov eax, dword [esi + 0x6af90]
add esp, 4
cmp ebx, eax
jbe 0x44b8e2
mov ebx, eax
cmp ebx, 3
jb 0x44b9a2
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
mov eax, esi
call fcn.0044aec3
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x44b970
cmp eax, 3
jb 0x44b970
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x44b91e
jmp 0x44b9c2
add dword [esi + 0x6af84], ebx
mov eax, dword [esi + 0x6af84]
lea edx, [eax + esi]
movzx ecx, byte [edx + 0x1af70]
lea eax, [esi + 0x6af7c]
mov dword [eax], ecx
movzx edx, byte [edx + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [eax], edx
jmp 0x44b9c8
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
mov eax, esi
call fcn.0044aec3
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x44ba03
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
jl 0x44b9e1
lea edx, [ecx + esi + 0x1af70]
jmp 0x44b9e3
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.0044acd2
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x44ba14
call fcn.0044b709
cmp dword [esi + 0x6af90], 0
jne 0x44b84f
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
jl 0x44ba35
lea edx, [ecx + esi + 0x1af70]
jmp 0x44ba37
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.0044acd2
pop ecx
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x44c5df
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x44c5ea
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x44c69c
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x545150]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x545150]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x545150]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x545150]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x545150]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x545150]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x545150]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x545150]
inc ecx
sub edi, 8
dec esi
jne 0x44c601
pop ebx
test edi, edi
je 0x44c6b5
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x545150]
inc ecx
dec edi
jne 0x44c6a0
pop esi
not eax
pop edi
ret

Function at 0x44c6ba
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x545150]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x545150]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x44c868
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x44c88d
mov eax, 0x200
jmp 0x44ca10
mov ecx, dword [ebp - 0x4c]
xor eax, eax
xor ebx, ebx
mov edx, ecx
inc eax
and edx, eax
mov dword [ebp - 8], ebx
je 0x44c8a1
mov dword [ebp - 8], eax
test cl, 2
je 0x44c8aa
or dword [ebp - 8], 2
test cl, 4
je 0x44c8b3
or dword [ebp - 8], 4
mov eax, ecx
and eax, 0x10
je 0x44c8be
or dword [ebp - 8], 0x10
test cl, 0x20
je 0x44c8c7
or dword [ebp - 8], 0x20
cmp eax, ebx
je 0x44c8d4
or dword [ebp - 8], 0x40000000
jmp 0x44c8db
or dword [ebp - 8], 0x80000000
or dword [ebp - 8], 0x1000000
cmp edx, ebx
jne 0x44c8ed
or dword [ebp - 8], 0x800000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x44c98e
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push edi
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
push ebx
push ebx
push 0x24
push dword [ebp + 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call edi
mov eax, 0x54ad
cmp word [ebp - 4], ax
jne 0x44c98e
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x44c98e
push ebx
push ebx
push eax
push dword [ebp + 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
cmp eax, 0x5a4d
je 0x44c987
cmp eax, 0x454e
je 0x44c987
cmp eax, 0x454c
je 0x44c987
cmp eax, 0x4550
jne 0x44c98e
or dword [ebp - 8], 0x400000
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x44c99a
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x44c9a6
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x44c9e2
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0044c7ed
push dword [ebp - 0x34]
mov dword [esi], eax
push dword [ebp - 0x38]
mov dword [esi + 4], edx
call fcn.0044c7ed
push dword [ebp - 0x44]
mov dword [esi + 8], eax
push dword [ebp - 0x48]
mov dword [esi + 0xc], edx
call fcn.0044c7ed
add esp, 0x18
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x44ca0e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0044c80f
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
add esp, 0x10
or eax, ecx
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44ca39
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x44caac
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x44ca65
cmp dword [esi + 0x40], edi
jae 0x44ca65
push eax
call fcn.004985ea
pop ecx
mov dword [esi + 0x3c], ebx
cmp dword [esi + 0x3c], ebx
jne 0x44ca7a
lea eax, [edi + edi]
push eax
call fcn.004985df
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x3c]
call fcn.004c3c80
add esp, 0xc
test edi, edi
jbe 0x44caa9
mov eax, dword [esi + 0x3c]
movzx eax, byte [ebx + eax]
push eax
lea ecx, [esi + 0x30]
call fcn.0044c700
pop ecx
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jb 0x44ca8d
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x44cadb
mov eax, dword [esi + 0x24]
lea ebx, [eax + edi]
cmp ebx, dword [esi + 0x28]
jb 0x44cac7
mov dword [esi + 0x14], 0x30000
jmp 0x44cafd
push edi
push edx
add eax, ecx
push eax
call fcn.004c3c80
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
jmp 0x44caff
mov eax, dword [esi + 4]
test eax, eax
je 0x44caf6
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x44caff
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44cd3a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi + 0x84]
push edi
test ecx, ecx
je 0x44cd8b
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cmp eax, edi
jae 0x44cdb3
sub edi, eax
cmp edi, dword [ebp + 8]
jbe 0x44cd62
mov edi, dword [ebp + 8]
push edi
add eax, ecx
push eax
push ebx
call fcn.004c3c80
add esp, 0xc
add dword [esi + 0x8c], edi
mov eax, dword [esi + 0x78]
add dword [esi + 0x74], edi
mov edx, edi
mov ecx, ebx
call fcn.0044c5df
mov dword [esi + 0x78], eax
mov eax, edi
jmp 0x44cdb5
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x44cdac
push 0
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44cdb3
mov edi, dword [ebp + 8]
jmp 0x44cd75
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x45b09a
Capabilities:
Check if file exists
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x57b750]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x4d7782
call fcn.004becb0
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.004be850
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004024df
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Super_Tuneup
call fcn.004024df
lea ecx, [ebp - 0x10]
call fcn.004067db
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Register_Super_Tuneup.lnk
call fcn.004024df
lea ecx, [ebp - 0x10]
call fcn.004067db
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b174
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004b96ff
add ebp, 0x20c
leave
ret
Function at 0x45c668
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.http:__www.supertuneup.com_help_
lea ecx, [ebp - 4]
call fcn.004024df
push 3
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push str.Open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004027b0
leave
ret
Function at 0x45d4f7
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push 0x228
mov eax, 0x4e1082
call fcn.004bed19
call fcn.004729c0
cmp eax, 6
jne 0x45d52c
xor ebx, ebx
push ebx
cmp byte [ebp + 8], bl
je 0x45d522
call fcn.0045cc64
jmp 0x45d602
call fcn.0045ca40
jmp 0x45d602
lea eax, [ebp - 0x21c]
mov edi, SysReAllocString
push eax
lea esi, [ebp - 0x234]
mov dword [ebp - 0x21c], edi
call fcn.0040a64a
push 1
push 0x52ec10
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.0040a666
test eax, eax
je 0x45d5e9
cmp byte [ebp + 8], bl
je 0x45d5cd
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004be850
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edi, [ebp - 0x218]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
cmp ax, bx
jne 0x45d5a1
mov esi, str.__rem
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
push str.STUReminder
lea edi, [ebp - 0x218]
lea ecx, [ebp - 0x234]
call fcn.0040a738
jmp 0x45d5de
push str.STUReminder
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea esi, [ebp - 0x234]
call fcn.0040a6c4
lea esi, [ebp - 0x234]
call fcn.0040a6c4
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.004027b0
xor eax, eax
inc eax
call fcn.004bed9c
ret 4
Function at 0x45d8e2
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x47c
mov eax, 0x4e2a98
call fcn.004bed4f
mov esi, ecx
push 0x526398
lea ecx, [ebp - 0x460]
call fcn.004024df
push ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x464], esp
mov ecx, esp
push 0x5854f0
call fcn.0040228a
lea ecx, [ebp - 0x460]
call fcn.004067db
mov al, byte [esi + 0x111]
test al, al
jne 0x45d93e
mov al, byte [esi + 0x1ec]
test al, al
je 0x45dad7
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], ebx
call fcn.0047380a
test al, al
je 0x45d971
push dword [ebp - 0x458]
call fcn.004580ac
pop ecx
mov dword [ebp - 0x454], eax
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.ASOROSet.bin
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45daed
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
call fcn.0040fbce
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 2
call fcn.004a6306
cmp eax, ebx
je 0x45da1d
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x470]
lea esi, [ebp - 0x47c]
call fcn.0040fb8f
mov dword [ebp - 4], 1
jmp 0x45da35
push 0x400
push ebx
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x47c]
call fcn.0040f7c5
push eax
mov ecx, 0x584a24
mov byte [ebp - 4], 4
call fcn.0040257e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x468]
add ecx, 0xfffffff0
call fcn.004027b0
lea eax, [ebp - 0x488]
call fcn.0040fbce
push 0x54bfa8
lea edi, [ebp - 0x464]
lea ecx, [ebp - 0x488]
call fcn.0045ef85
push eax
mov ecx, 0x584a14
mov byte [ebp - 4], 5
call fcn.0040257e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x464]
add ecx, 0xfffffff0
call fcn.004027b0
call fcn.0045db0f
mov byte [ebp - 4], bl
call fcn.0047380a
test al, al
je 0x45dad5
cmp dword [ebp - 0x454], ebx
je 0x45dad5
push dword [ebp - 0x45c]
call fcn.004580e2
pop ecx
mov bl, 1
mov ecx, dword [ebp - 0x460]
add ecx, 0xfffffff0
call fcn.004027b0
mov al, bl
call fcn.004bedab
ret
mov byte [ebp - 4], bl
call fcn.0047380a
test al, al
je 0x45dad7
cmp dword [ebp - 0x454], ebx
je 0x45dad7
push dword [ebp - 0x45c]
call fcn.004580e2
pop ecx
jmp 0x45dad7