joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42443a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.0045da90
cmp dword [ebp + 0x14], 0xffe
push ebx
push esi
push edi
jle 0x42445a
xor eax, eax
jmp 0x4245ea
mov al, byte [0x45fc38]
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 [0x463474], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x42453f
cmp dword [ebp + 8], ebx
jne 0x42449c
mov dword [ebp + 8], 0x40ad98
push 1
call fcn.00423c27
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x424453
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.0044610c
lea edi, [ebp - 0x120c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x424453
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x20c]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.0043a1fa
add esp, 0x10
cmp al, 1
jne 0x424453
push 1
pop eax
jmp 0x4245ea
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 0x4245ca
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 0x4245ef
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x45fc38]
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 [0x463474], edi
mov dword [ebp + 0x14], ebx
je 0x4246ad
cmp dword [ebp + 8], edi
jne 0x424645
mov dword [ebp + 8], 0x40ad98
push edx
call fcn.00423c27
mov esi, eax
pop ecx
cmp dword [esi], edi
je 0x4246a6
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.00439fe7
add esp, 0x24
dec al
neg al
sbb eax, eax
jmp 0x424757
xor eax, eax
jmp 0x424758
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 0x424735
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 0x42475d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x45fc38]
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 [0x463474], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x42480e
cmp dword [ebp + 8], ebx
jne 0x4247a7
mov dword [ebp + 8], 0x40ad98
push 1
call fcn.00423c27
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x424807
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.0043a1fa
add esp, 0x20
dec al
neg al
sbb eax, eax
jmp 0x4248c9
xor eax, eax
jmp 0x4248ca
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 0x424899
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 0x4248ac
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 0x4248cf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov al, byte [0x45fc38]
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 [0x463474], ebx
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
je 0x4249d6
cmp dword [ebp + 8], ebx
jne 0x424926
mov dword [ebp + 8], 0x40ad98
push 1
call fcn.00423c27
mov ebx, eax
pop ecx
cmp dword [ebx], 0
je 0x4249cf
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.00439fe7
add esp, 0x24
cmp al, 1
jne 0x4249cf
lea edi, [ebp - 0x214]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4249cf
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 0x424a84
xor eax, eax
jmp 0x424a84
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 0x424a61
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 0x424a89
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov dl, byte [0x45fc38]
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 [0x463474], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x424b76
cmp dword [ebp + 8], ebx
jne 0x424ad8
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.00423c27
add esp, 0x14
cmp dword [eax], 0
mov dword [ebp + 0x14], eax
je 0x424b6f
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.0043a1fa
add esp, 0x20
dec al
neg al
sbb eax, eax
jmp 0x424c20
xor eax, eax
jmp 0x424c21
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 0x424c01
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
Function at 0x424cd9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov al, byte [0x45fc38]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x104], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
xor ebx, ebx
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x28], ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x424d14
xor edx, edx
cmp dword [0x463474], ebx
sete dl
jmp 0x424d1a
mov edx, dword [0x463474]
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x104]
cmp edx, ebx
rep stosd dword es:[edi], eax
je 0x424de7
cmp dword [ebp + 0xc], ebx
jne 0x424d3b
mov dword [ebp + 0xc], 0x40ad98
push 1
call fcn.00423c27
mov ebx, eax
pop ecx
cmp dword [ebx], 0
je 0x424ddf
and byte [ebp - 0x208], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x207]
cmp dword [ebp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, 0x103
stosb byte es:[edi], al
mov dword [ebp + 0x28], edx
jne 0x424d81
lea eax, [ebp - 0x208]
lea esi, [ebp + 0x28]
mov dword [ebp + 0x20], eax
jmp 0x424d84
mov esi, dword [ebp + 0x24]
and byte [ebp - 0x104], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
push dword [ebp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ad90
lea eax, [ebp - 0x104]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push dword [esi]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x20]
push dword [eax]
lea eax, [ebp - 0x104]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebx]
call fcn.00439f13
add esp, 0x2c
dec al
neg al
sbb eax, eax
neg eax
jmp 0x424e8d
push 1
pop eax
jmp 0x424e8d
or edx, 0xffffffff
mov edi, 0x40ad6c
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x104]
sub edi, ecx
mov eax, ecx
mov dword [ebp + 0x28], esi
mov esi, edi
mov edi, dword [ebp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp + 0xc], ebx
rep movsb byte es:[edi], byte [esi]
je 0x424e72
mov edi, 0x40a0a0
mov ecx, edx
xor eax, eax
lea ebx, [ebp - 0x104]
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 - 0x104]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
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 + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHEnumValueA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425967
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402bd8
push 0x45db24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x260], 1
or dword [ebp - 0x264], 0xffffffff
push 0x40aad4
push dword [ebp + 8]
push 0x40aa14
mov edi, 0x104
push edi
lea eax, [ebp - 0x25c]
push eax
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
call esi
add esp, 0x14
and byte [ebp - 0x159], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
jne 0x4259fa
or dword [ebp - 4], eax
xor eax, eax
jmp 0x425b6e
mov ecx, 0x40aad0
lea eax, [ebp - 0x12c]
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [ecx]
jne 0x425a27
test dl, dl
je 0x425a23
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [ecx + 1]
jne 0x425a27
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x425a05
xor eax, eax
jmp 0x425a2c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x425ae9
mov ecx, 0x40aacc
lea eax, [ebp - 0x12c]
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [ecx]
jne 0x425a61
test dl, dl
je 0x425a5d
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [ecx + 1]
jne 0x425a61
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x425a3f
xor eax, eax
jmp 0x425a66
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x425ae9
test byte [ebp - 0x158], 0x10
je 0x425ab3
test byte [ebp + 0xc], 3
je 0x425ae9
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
push 0x40aafc
push edi
lea eax, [ebp - 0x368]
push eax
call esi
and byte [ebp - 0x265], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x368]
push eax
call fcn.00425967
add esp, 0x1c
mov dword [ebp - 0x260], eax
jmp 0x425ae9
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
push 0x40aa14
push edi
lea eax, [ebp - 0x46c]
push eax
call esi
add esp, 0x14
and byte [ebp - 0x369], 0
test byte [ebp + 0xc], 1
je 0x425ae9
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4259fa
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x264], 0xffffffff
test byte [ebp + 0xc], 3
je 0x425b64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x260], eax
test eax, eax
jne 0x425b64
test byte [ebp + 0xc], 8
je 0x425b64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x425b64
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425da6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 4
mov dword [ebp - 8], 1
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push 0x40ae4c
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x425df9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x40ae8c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x425dfe
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 4
pop ebx
lea eax, [ebp - 8]
push eax
push 0x40ae4c
push SysReAllocStringLen
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x425e74
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov esi, 0x40ae8c
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
xor eax, eax
cmp dword [ebp - 4], eax
sete al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ebx
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret

Function at 0x426118
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402be8
push 0x45db24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x3c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ebx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], esi
mov ecx, esi
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
push 0x10000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4261be
push dword [ebp + 8]
push 0x40a158
dec esi
push esi
jmp 0x4261b4
push ebx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
or dword [ebp - 4], 0xffffffff
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret