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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x45f128]
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 [0x4617d4], edi
mov dword [ebp + 0x14], ebx
je 0x42424f
cmp dword [ebp + 8], edi
jne 0x4241e7
mov dword [ebp + 8], 0x40ae34
push edx
call fcn.004237c9
mov esi, eax
pop ecx
cmp dword [esi], edi
je 0x424248
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 0x40ae2c
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.004397a7
add esp, 0x24
dec al
neg al
sbb eax, eax
jmp 0x4242f9
xor eax, eax
jmp 0x4242fa
or edx, 0xffffffff
mov edi, 0x40ae08
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 0x4242d7
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 0x4242ff
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov al, byte [0x45f128]
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 [0x4617d4], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x4243b0
cmp dword [ebp + 8], ebx
jne 0x424349
mov dword [ebp + 8], 0x40ae34
push 1
call fcn.004237c9
mov esi, eax
pop ecx
cmp dword [esi], ebx
je 0x4243a9
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 0x40ae2c
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.004399ba
add esp, 0x20
dec al
neg al
sbb eax, eax
jmp 0x42446b
xor eax, eax
jmp 0x42446c
or edx, 0xffffffff
mov edi, 0x40ae08
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 0x42443b
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 0x42444e
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 0x424471
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov al, byte [0x45f128]
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 [0x4617d4], ebx
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
je 0x424578
cmp dword [ebp + 8], ebx
jne 0x4244c8
mov dword [ebp + 8], 0x40ae34
push 1
call fcn.004237c9
mov ebx, eax
pop ecx
cmp dword [ebx], 0
je 0x424571
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 0x40ae2c
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.004397a7
add esp, 0x24
cmp al, 1
jne 0x424571
lea edi, [ebp - 0x214]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x424571
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 0x424626
xor eax, eax
jmp 0x424626
or edx, 0xffffffff
mov edi, 0x40ae08
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 0x424603
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 0x42462b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov dl, byte [0x45f128]
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 [0x4617d4], ebx
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
je 0x424718
cmp dword [ebp + 8], ebx
jne 0x42467a
mov dword [ebp + 8], 0x40ae34
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 0x40ad80
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
push 1
call fcn.004237c9
add esp, 0x14
cmp dword [eax], 0
mov dword [ebp + 0x14], eax
je 0x424711
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 0x40ae2c
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.004399ba
add esp, 0x20
dec al
neg al
sbb eax, eax
jmp 0x4247c2
xor eax, eax
jmp 0x4247c3
or edx, 0xffffffff
mov edi, 0x40ae08
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 0x4247a3
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 0x42486d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov al, byte [0x45f128]
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 0x4248a8
xor edx, edx
cmp dword [0x4617d4], ebx
sete dl
jmp 0x4248ae
mov edx, dword [0x4617d4]
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x104]
cmp edx, ebx
rep stosd dword es:[edi], eax
je 0x42497b
cmp dword [ebp + 0xc], ebx
jne 0x4248cf
mov dword [ebp + 0xc], 0x40ae34
push 1
call fcn.004237c9
mov ebx, eax
pop ecx
cmp dword [ebx], 0
je 0x424973
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 0x424915
lea eax, [ebp - 0x208]
lea esi, [ebp + 0x28]
mov dword [ebp + 0x20], eax
jmp 0x424918
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 0x40ae2c
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.004396d3
add esp, 0x2c
dec al
neg al
sbb eax, eax
neg eax
jmp 0x424a21
push 1
pop eax
jmp 0x424a21
or edx, 0xffffffff
mov edi, 0x40ae08
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 0x424a06
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 0x4254fb
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402bd8
push 0x45d024
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 0x40ab70
push dword [ebp + 8]
push 0x40aab0
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 0x42558e
or dword [ebp - 4], eax
xor eax, eax
jmp 0x425702
mov ecx, 0x40ab6c
lea eax, [ebp - 0x12c]
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [ecx]
jne 0x4255bb
test dl, dl
je 0x4255b7
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [ecx + 1]
jne 0x4255bb
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x425599
xor eax, eax
jmp 0x4255c0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42567d
mov ecx, 0x40ab68
lea eax, [ebp - 0x12c]
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [ecx]
jne 0x4255f5
test dl, dl
je 0x4255f1
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [ecx + 1]
jne 0x4255f5
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x4255d3
xor eax, eax
jmp 0x4255fa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42567d
test byte [ebp - 0x158], 0x10
je 0x425647
test byte [ebp + 0xc], 3
je 0x42567d
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
push 0x40ab98
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.004254fb
add esp, 0x1c
mov dword [ebp - 0x260], eax
jmp 0x42567d
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
push 0x40aab0
push edi
lea eax, [ebp - 0x46c]
push eax
call esi
add esp, 0x14
and byte [ebp - 0x369], 0
test byte [ebp + 0xc], 1
je 0x42567d
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 0x42558e
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x264], 0xffffffff
test byte [ebp + 0xc], 3
je 0x4256f8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x260], eax
test eax, eax
jne 0x4256f8
test byte [ebp + 0xc], 8
je 0x4256f8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4256f8
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 0x42593a
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 0x40aee8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42598d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x40af28
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 0x425992
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 0x40aee8
push SysReAllocString
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 0x425a08
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov esi, 0x40af28
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 0x425cac
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402be8
push 0x45d024
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 0x425d52
push dword [ebp + 8]
push 0x40a158
dec esi
push esi
jmp 0x425d48
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
Function at 0x425f98
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0
and dword [ebp - 4], 0
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00425f3e
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x425ff4
cmp dword [ebp - 4], 0
jbe 0x425ff4
push 0x40a868
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x425ff4
push esi
push 1
push dword [ebp - 4]
push ebx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 1
pop eax
jmp 0x425ff6
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x4269b3
Capabilities:
Create directory

Disassembly:
push esi
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
test esi, esi
jne 0x4269d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4269d8
push 1
pop eax
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x426b27
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
jne 0x426b64
cmp dword [ebp - 0x90], 5
jne 0x426b64
push 1
pop eax
cmp dword [ebp - 0x8c], eax
je 0x426b66
xor eax, eax
leave
ret

Function at 0x426e2a
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push 1
xor esi, esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x426e8f
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x426e8f
push ebx
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
cmp ebx, esi
je 0x426e88
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
je 0x426e88
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0x40a158
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
and byte [edi + esi - 1], 0
add esp, 0x10
push 1
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov eax, esi
pop esi
ret

Function at 0x426ee3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x40ad9c]
cmp eax, 0xffffffff
jne 0x426f5a
push esi
push 1
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
and dword [0x40ad9c], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 0x40b0c4
push 0x40b09c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x426f54
push 3
lea eax, [ebp - 0x10c]
push 0x40b098
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jle 0x426f54
mov dword [0x40ad9c], esi
mov eax, dword [0x40ad9c]
pop esi
leave
ret