joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4212b0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x45f518
call fcn.0045e9d0
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
je 0x42144f
push esi
call fcn.00428f05
test eax, eax
pop ecx
je 0x4212ec
push 0xa
push edi
push edi
push esi
push 0x40a7e0
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x42144f
push ebx
push esi
lea ecx, [ebp - 0x10]
call fcn.004148d6
mov esi, 0x40aa78
mov dword [ebp - 4], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00414dde
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x14]
inc bl
call fcn.00412266
test bl, bl
je 0x42136b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov ebx, 0x40a478
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00419fe8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004149be
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
jmp 0x4213db
mov esi, 0x40aa6c
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00414dde
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x14]
inc bl
call fcn.00412266
test bl, bl
je 0x42140f
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov ebx, 0x40a9c4
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00419fe8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004149be
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00412266
xor edi, edi
cmp ebx, edi
je 0x421411
lea ecx, [ebp - 0x10]
call fcn.004153f5
mov esi, eax
cmp esi, edi
je 0x421442
mov eax, dword [0x4989f0]
push ebx
push esi
push dword [eax + 0x10]
call fcn.0042bcd4
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x421442
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x42142f
cmp dword [0x4766c0], edi
je 0x42142f
push edi
push edi
push dword [ebp + 8]
mov ecx, 0x4789e8
call fcn.004165e6
jmp 0x421442
push edi
push edi
push edi
push edi
push 2
mov ecx, 0x4789e8
push dword [ebp + 8]
call fcn.004164ab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00412266
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4242dc
Capabilities:
Delete file
Delete registry key

Disassembly:
push esi
call fcn.00427f67
mov ecx, dword [0x4647a4]
cmp eax, ecx
je 0x424369
test ecx, ecx
je 0x424353
mov esi, SysReAllocStringLen
push esi
push 0xffffffffffffffff
push 0x40ad88
push 0x40ad80
push 0
call fcn.00424b0a
add esp, 0x14
test eax, eax
je 0x424323
call fcn.00424241
push 0x40ad6c
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
pop esi
ret
and dword [0x4647a4], 0
call fcn.00427f77
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x10
push 0x40a37c
push 0xaa
call fcn.004252ac
pop ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
ret
call fcn.00424241
call fcn.0042401f
call fcn.00427f77
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret

Function at 0x42436b
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x460a68]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x108], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
push 0x41
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
pop ecx
xor eax, eax
cmp dword [0x4647a4], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x424419
cmp dword [ebp + 8], ebx
jne 0x4243b5
mov dword [ebp + 8], 0x40ad98
push 1
call fcn.00423fd4
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x424412
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ad90
lea eax, [ebp - 0x20c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
call fcn.0043b1ae
add esp, 0x1c
dec al
neg al
sbb eax, eax
jmp 0x4244bb
xor eax, eax
jmp 0x4244bc
or edx, 0xffffffff
mov edi, 0x40ad6c
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x108]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 4], esi
mov esi, edi
mov edi, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp + 8], ebx
rep movsb byte es:[edi], byte [esi]
je 0x4244a4
mov edi, 0x40a0a0
mov ecx, edx
xor eax, eax
lea ebx, [ebp - 0x108]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp - 0x108]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4244c1
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x460a68]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x108], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
push 0x41
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
pop ecx
xor eax, eax
cmp dword [0x4647a4], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x42456c
cmp dword [ebp + 8], ebx
jne 0x42450b
mov dword [ebp + 8], 0x40ad98
push 1
call fcn.00423fd4
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x424565
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ad90
lea eax, [ebp - 0x20c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
call fcn.0043b0f3
add esp, 0x18
dec al
neg al
sbb eax, eax
jmp 0x42460b
xor eax, eax
jmp 0x42460c
or edx, 0xffffffff
mov edi, 0x40ad6c
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x108]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 4], esi
mov esi, edi
mov edi, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp + 8], ebx
rep movsb byte es:[edi], byte [esi]
je 0x4245f7
mov edi, 0x40a0a0
mov ecx, edx
xor eax, eax
lea ebx, [ebp - 0x108]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp - 0x108]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424611
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa10
mov al, byte [0x460a68]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x10c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
push 3
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop edx
xor ebx, ebx
stosb byte es:[edi], al
push 0x41
xor eax, eax
cmp dword [0x4647a4], ebx
pop ecx
lea edi, [ebp - 0x10c]
mov dword [ebp - 8], edx
rep stosd dword es:[edi], eax
je 0x424736
cmp dword [ebp + 8], ebx
jne 0x424665
mov dword [ebp + 8], 0x40ad98
push 1
call fcn.00423fd4
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x42472f
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20f]
mov byte [ebp - 0x210], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ad90
lea eax, [ebp - 0x210]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa0f]
mov byte [ebp - 0xa10], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xa10]
push 0x7ff
push eax
lea eax, [ebp - 0x210]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.0043ac17
add esp, 0x24
cmp al, 1
jne 0x42472f
lea edi, [ebp - 0xa10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
je 0x42472f
mov esi, dword [ebp + 0x14]
cdq
sub eax, edx
sar eax, 1
lea edi, [eax - 1]
mov eax, dword [esi]
cmp eax, edi
jb 0x42470a
mov eax, edi
push eax
lea eax, [ebp - 0xa10]
push eax
push dword [ebp + 0x10]
call fcn.00446ed7
mov eax, dword [esi]
add esp, 0xc
cmp eax, edi
jb 0x424725
mov eax, edi
push 1
mov dword [esi], eax
pop eax
jmp 0x4247e2
xor eax, eax
jmp 0x4247e2
mov edi, 0x40ad6c
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp - 0x10c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 4], esi
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, edx
cmp dword [ebp + 8], ebx
rep movsb byte es:[edi], byte [esi]
je 0x4247c0
mov edi, 0x40a0a0
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp - 0x10c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp - 0x10c]
and ecx, edx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, edx
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x10c]
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4247e7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.0045e9a0
cmp dword [ebp + 0x14], 0xffe
push ebx
push esi
push edi
jle 0x424807
xor eax, eax
jmp 0x424997
mov al, byte [0x460a68]
push 0x40
mov byte [ebp - 0x108], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x41
xor ebx, ebx
pop ecx
xor eax, eax
cmp dword [0x4647a4], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x4248ec
cmp dword [ebp + 8], ebx
jne 0x424849
mov dword [ebp + 8], 0x40ad98
push 1
call fcn.00423fd4
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x424800
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ad90
lea eax, [ebp - 0x20c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push dword [ebp + 0x14]
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x120c]
push dword [ebp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x120c]
push eax
call fcn.00446f22
lea edi, [ebp - 0x120c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x424800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x20c]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.0043ae2a
add esp, 0x10
cmp al, 1
jne 0x424800
push 1
pop eax
jmp 0x424997
or edx, 0xffffffff
mov edi, 0x40ad6c
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x108]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 4], esi
mov esi, edi
mov edi, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp + 8], ebx
rep movsb byte es:[edi], byte [esi]
je 0x424977
mov edi, 0x40a0a0
mov ecx, edx
xor eax, eax
lea ebx, [ebp - 0x108]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp - 0x108]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 0x14]
lea eax, [ebp - 0x108]
push dword [ebp + 0x10]
push 3
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42499c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x460a68]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x108], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop edx
mov ebx, dword [ebp + 0x14]
stosb byte es:[edi], al
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 4], edx
cmp dword [0x4647a4], edi
mov dword [ebp + 0x14], ebx
je 0x424a5a
cmp dword [ebp + 8], edi
jne 0x4249f2
mov dword [ebp + 8], 0x40ad98
push edx
call fcn.00423fd4
mov esi, eax
pop ecx
cmp dword [esi], edi
je 0x424a53
and byte [ebp - 0x20c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x20b]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ad90
lea eax, [ebp - 0x20c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push ebx
lea eax, [ebp - 0x20c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.0043ac17
add esp, 0x24
dec al
neg al
sbb eax, eax
jmp 0x424b04
xor eax, eax
jmp 0x424b05
or edx, 0xffffffff
mov edi, 0x40ad6c
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [ebp - 0x108]
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp + 8], 0
rep movsb byte es:[edi], byte [esi]
je 0x424ae2
mov edi, 0x40a0a0
mov ecx, edx
xor eax, eax
lea ebx, [ebp - 0x108]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp - 0x108]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 4]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x108]
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424b0a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x460a68]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x108], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
push 0x41
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
pop ecx
xor eax, eax
cmp dword [0x4647a4], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x424bbb
cmp dword [ebp + 8], ebx
jne 0x424b54
mov dword [ebp + 8], 0x40ad98
push 1
call fcn.00423fd4
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x424bb4
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ad90
lea eax, [ebp - 0x20c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.0043ae2a
add esp, 0x20
dec al
neg al
sbb eax, eax
jmp 0x424c76
xor eax, eax
jmp 0x424c77
or edx, 0xffffffff
mov edi, 0x40ad6c
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x108]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 4], esi
mov esi, edi
mov edi, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp + 8], ebx
rep movsb byte es:[edi], byte [esi]
je 0x424c46
mov edi, 0x40a0a0
mov ecx, edx
xor eax, eax
lea ebx, [ebp - 0x108]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp - 0x108]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x14]
cmp ecx, edx
jne 0x424c59
mov edi, dword [ebp + 0x10]
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea eax, [ebp - 0x108]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424c7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov al, byte [0x460a68]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x110], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
push 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop eax
xor ebx, ebx
push 0x41
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
pop ecx
xor eax, eax
cmp dword [0x4647a4], ebx
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
je 0x424d83
cmp dword [ebp + 8], ebx
jne 0x424cd3
mov dword [ebp + 8], 0x40ad98
push 1
call fcn.00423fd4
mov ebx, eax
pop ecx
cmp dword [ebx], 0
je 0x424d7c
and byte [ebp - 0x214], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x213]
and byte [ebp - 0x318], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x317]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov esi, 0x103
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ad90
lea eax, [ebp - 0x318]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x214]
push esi
push eax
lea eax, [ebp - 0x318]
push dword [ebp + 0xc]
push eax
push dword [ebx]
call fcn.0043ac17
add esp, 0x24
cmp al, 1
jne 0x424d7c
lea edi, [ebp - 0x214]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x424d7c
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov ecx, dword [ebp + 0x10]
push 1
mov dword [ecx], eax
pop eax
jmp 0x424e31
xor eax, eax
jmp 0x424e31
or edx, 0xffffffff
mov edi, 0x40ad6c
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x110]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 0xc], esi
mov esi, edi
mov edi, dword [ebp - 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp + 8], ebx
rep movsb byte es:[edi], byte [esi]
je 0x424e0e
mov edi, 0x40a0a0
mov ecx, edx
xor eax, eax
lea ebx, [ebp - 0x110]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp - 0x110]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x110]
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424e36
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov dl, byte [0x460a68]
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x107]
mov byte [ebp - 0x108], dl
push 0x41
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
pop ecx
xor eax, eax
cmp dword [0x4647a4], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x424f23
cmp dword [ebp + 8], ebx
jne 0x424e85
mov dword [ebp + 8], 0x40ad98
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20b]
mov byte [ebp - 0x20c], dl
push dword [ebp + 0x10]
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
mov ebx, 0x103
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ace4
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
push 1
call fcn.00423fd4
add esp, 0x14
cmp dword [eax], 0
mov dword [ebp + 0x14], eax
je 0x424f1c
and byte [ebp - 0x310], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x30f]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ad90
lea eax, [ebp - 0x310]
push ebx
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0043ae2a
add esp, 0x20
dec al
neg al
sbb eax, eax
jmp 0x424fcd
xor eax, eax
jmp 0x424fce
or edx, 0xffffffff
mov edi, 0x40ad6c
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x108]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 4], esi
mov esi, edi
mov edi, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp + 8], ebx
rep movsb byte es:[edi], byte [esi]
je 0x424fae
mov edi, 0x40a0a0
mov ecx, edx
xor eax, eax
lea ebx, [ebp - 0x108]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp - 0x108]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + 0x10]
push 4
push eax
push 4
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret