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

Disassembly:
mov eax, 0x45cd64
call fcn.0045c170
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
je 0x4207ed
push esi
call fcn.004282e1
test eax, eax
pop ecx
je 0x42068c
push 0xa
push edi
push edi
push esi
push 0x40a814
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x4207ed
push ebx
push esi
lea ecx, [ebp - 0x10]
call fcn.00413cf5
mov esi, 0x40aa9c
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.004141fd
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.00411656
test bl, bl
je 0x42070b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov ebx, 0x40a4ac
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0041939e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00413ddd
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
jmp 0x42077b
mov esi, 0x40aa90
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.004141fd
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.00411656
test bl, bl
je 0x4207af
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov ebx, 0x40a498
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0041939e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00413ddd
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00411656
xor edi, edi
cmp ebx, edi
je 0x4207b1
lea ecx, [ebp - 0x10]
call fcn.00414814
mov esi, eax
cmp esi, edi
je 0x4207e0
mov eax, dword [0x494780]
push ebx
push esi
push dword [eax + 0x10]
call fcn.0042a66f
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4207e0
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x4207ce
cmp dword [0x47285c], edi
je 0x4207ce
push edi
mov ecx, 0x474b78
push dword [ebp + 8]
call fcn.00415a4c
jmp 0x4207e0
push edi
push edi
push edi
push 2
push dword [ebp + 8]
mov ecx, 0x474b78
call fcn.00415920
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00411656
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4238bc
Capabilities:
Delete file
Delete registry key

Disassembly:
push esi
call fcn.00427374
mov ecx, dword [0x460944]
cmp eax, ecx
je 0x423949
test ecx, ecx
je 0x423933
mov esi, SysReAllocStringLen
push esi
push 0xffffffffffffffff
push 0x40a2c4
push 0x40ada0
push 0
call fcn.004240ea
add esp, 0x14
test eax, eax
je 0x423903
call fcn.00423821
push 0x40ad8c
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
pop esi
ret
and dword [0x460944], 0
call fcn.00427384
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x10
push 0x40a2d4
push 0xaa
call fcn.0042487e
pop ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
ret
call fcn.00423821
call fcn.004235ff
call fcn.00427384
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret

Function at 0x42394b
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x45e298]
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 [0x460944], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x4239f9
cmp dword [ebp + 8], ebx
jne 0x423995
mov dword [ebp + 8], 0x40adb0
push 1
call fcn.004235b4
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x4239f2
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 0x40ada8
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.0043951e
add esp, 0x1c
dec al
neg al
sbb eax, eax
jmp 0x423a9b
xor eax, eax
jmp 0x423a9c
or edx, 0xffffffff
mov edi, 0x40ad8c
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 0x423a84
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 0x423aa1
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x45e298]
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 [0x460944], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x423b4c
cmp dword [ebp + 8], ebx
jne 0x423aeb
mov dword [ebp + 8], 0x40adb0
push 1
call fcn.004235b4
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x423b45
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 0x40ada8
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.00439463
add esp, 0x18
dec al
neg al
sbb eax, eax
jmp 0x423beb
xor eax, eax
jmp 0x423bec
or edx, 0xffffffff
mov edi, 0x40ad8c
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 0x423bd7
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 0x423bf1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa10
mov al, byte [0x45e298]
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 [0x460944], ebx
pop ecx
lea edi, [ebp - 0x10c]
mov dword [ebp - 8], edx
rep stosd dword es:[edi], eax
je 0x423d16
cmp dword [ebp + 8], ebx
jne 0x423c45
mov dword [ebp + 8], 0x40adb0
push 1
call fcn.004235b4
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x423d0f
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 0x40ada8
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.00438f87
add esp, 0x24
cmp al, 1
jne 0x423d0f
lea edi, [ebp - 0xa10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
je 0x423d0f
mov esi, dword [ebp + 0x14]
cdq
sub eax, edx
sar eax, 1
lea edi, [eax - 1]
mov eax, dword [esi]
cmp eax, edi
jb 0x423cea
mov eax, edi
push eax
lea eax, [ebp - 0xa10]
push eax
push dword [ebp + 0x10]
call fcn.00444f52
mov eax, dword [esi]
add esp, 0xc
cmp eax, edi
jb 0x423d05
mov eax, edi
push 1
mov dword [esi], eax
pop eax
jmp 0x423dc2
xor eax, eax
jmp 0x423dc2
mov edi, 0x40ad8c
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 0x423da0
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 0x423dc7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.0045c140
cmp dword [ebp + 0x14], 0xffe
push ebx
push esi
push edi
jle 0x423de7
xor eax, eax
jmp 0x423f77
mov al, byte [0x45e298]
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 [0x460944], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x423ecc
cmp dword [ebp + 8], ebx
jne 0x423e29
mov dword [ebp + 8], 0x40adb0
push 1
call fcn.004235b4
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x423de0
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 0x40ada8
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.00444f9d
lea edi, [ebp - 0x120c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x423de0
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x20c]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.0043919a
add esp, 0x10
cmp al, 1
jne 0x423de0
push 1
pop eax
jmp 0x423f77
or edx, 0xffffffff
mov edi, 0x40ad8c
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 0x423f57
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 0x423f7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x45e298]
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 [0x460944], edi
mov dword [ebp + 0x14], ebx
je 0x42403a
cmp dword [ebp + 8], edi
jne 0x423fd2
mov dword [ebp + 8], 0x40adb0
push edx
call fcn.004235b4
mov esi, eax
pop ecx
cmp dword [esi], edi
je 0x424033
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 0x40ada8
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.00438f87
add esp, 0x24
dec al
neg al
sbb eax, eax
jmp 0x4240e4
xor eax, eax
jmp 0x4240e5
or edx, 0xffffffff
mov edi, 0x40ad8c
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 0x4240c2
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 0x4240ea
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x45e298]
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 [0x460944], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x42419b
cmp dword [ebp + 8], ebx
jne 0x424134
mov dword [ebp + 8], 0x40adb0
push 1
call fcn.004235b4
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x424194
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 0x40ada8
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.0043919a
add esp, 0x20
dec al
neg al
sbb eax, eax
jmp 0x424256
xor eax, eax
jmp 0x424257
or edx, 0xffffffff
mov edi, 0x40ad8c
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 0x424226
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 0x424239
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 0x42425c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov al, byte [0x45e298]
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 [0x460944], ebx
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
je 0x424363
cmp dword [ebp + 8], ebx
jne 0x4242b3
mov dword [ebp + 8], 0x40adb0
push 1
call fcn.004235b4
mov ebx, eax
pop ecx
cmp dword [ebx], 0
je 0x42435c
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 0x40ada8
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.00438f87
add esp, 0x24
cmp al, 1
jne 0x42435c
lea edi, [ebp - 0x214]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42435c
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 0x424411
xor eax, eax
jmp 0x424411
or edx, 0xffffffff
mov edi, 0x40ad8c
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 0x4243ee
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 0x424416
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov dl, byte [0x45e298]
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 [0x460944], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x424503
cmp dword [ebp + 8], ebx
jne 0x424465
mov dword [ebp + 8], 0x40adb0
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 0x40ad08
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
push 1
call fcn.004235b4
add esp, 0x14
cmp dword [eax], 0
mov dword [ebp + 0x14], eax
je 0x4244fc
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 0x40ada8
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.0043919a
add esp, 0x20
dec al
neg al
sbb eax, eax
jmp 0x4245ad
xor eax, eax
jmp 0x4245ae
or edx, 0xffffffff
mov edi, 0x40ad8c
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 0x42458e
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