joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f146
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
jne 0x42f2b1
lea ebx, [esi + 0x5d128]
mov dword [ebp - 0x18], edi
push ebx
mov dword [ebp - 0x14], edi
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
push edi
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0x10]
mov word [ebp - 0xe], 0x3a
push eax
mov word [ebp - 0xc], 0x5c
mov word [ebp - 0xa], di
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42f2cc
mov ecx, dword [esi + 0x5d108]
mov eax, dword [esi + 0x5d10c]
cmp ecx, 0xffffffff
jne 0x42f1b3
cmp eax, ecx
je 0x42f1d2
mov edx, dword [ebp - 0x14]
cmp edx, eax
ja 0x42f1d2
jb 0x42f1c3
mov eax, dword [ebp - 0x18]
cmp eax, ecx
ja 0x42f1d2
mov dword [esi + 0x2470], 2
jmp 0x42f2cc
push edi
push 0x20
push 4
push edi
push 1
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
je 0x42f2b6
cmp dword [esi + 0x26fc], edi
je 0x42f2b1
push dword [esi + 0x26f4]
lea ebx, [esi + 0x26ec]
mov ecx, ebx
push dword [ebx + 4]
call fcn.0043077f
mov ecx, esi
call fcn.0042f542
test eax, eax
jne 0x42f2b1
cmp dword [esi + 0x2468], edi
lea eax, [esi + 0x2468]
ja 0x42f237
mov dword [eax], 5
push 0xa
pop ecx
cmp dword [eax], ecx
jbe 0x42f240
mov dword [eax], ecx
mov eax, dword [esi + 0x5d108]
mov ecx, dword [esi + 0x5d10c]
sub eax, 1
mov dword [esi + 0x5cfc8], edi
mov dword [esi + 0x5cfd0], eax
lea eax, [esi + 0x5cfc0]
sbb ecx, edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
mov dword [esi + 0x5cfd4], ecx
push eax
mov ecx, ebx
mov dword [esi + 0x5cfcc], edi
call fcn.0043062f
mov eax, dword [esi + 0x5d108]
mov edx, dword [esi + 0x5d10c]
push 0x20
pop ecx
call fcn.00432c40
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push edi
push eax
push dword [esi + 0x5d108]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 1
pop eax
jmp 0x42f2ce
mov dword [esi + 0x2470], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2474], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42f399
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov ax, word [0x467084]
push ebx
push esi
mov esi, ecx
push edi
mov word [ebp - 0x210], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push 0x466ee4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebx, eax
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
shl ebx, 1
pop ecx
mov eax, ebx
push 2
push 0
neg eax
push eax
push dword [esi + 8]
call edi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp ebx, dword [ebp - 4]
jne 0x42f466
lea eax, [ebp - 0x210]
push 0x466ee4
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x42f466
xor ebx, ebx
push 1
push ebx
push 0xfffffffffffffffc
pop eax
sub eax, dword [ebp - 4]
push eax
push dword [esi + 8]
call edi
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add eax, ecx
push 1
neg eax
push ebx
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42f46b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov eax, dword [esi + 0x26f0]
cmp eax, ebx
jne 0x42f489
mov dword [ebp - 4], ebx
jmp 0x42f497
mov ecx, dword [esi + 0x26f4]
sub ecx, eax
sar ecx, 2
mov dword [ebp - 4], ecx
push 2
push ebx
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 4], ebx
je 0x42f535
push edi
lea eax, [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push eax
lea eax, [ebp - 4]
push 4
push eax
push dword [esi + 8]
call edi
mov dword [ebp - 0xc], 4
mov eax, dword [esi + 0x26f0]
test eax, eax
je 0x42f501
mov ecx, dword [esi + 0x26f4]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x42f501
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [esi + 0x26f0]
push 0x20
push dword [eax + ebx*4]
push dword [esi + 8]
call edi
add dword [ebp - 0xc], 0x20
inc ebx
jmp 0x42f4cb
mov eax, dword [ebp - 0xc]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push 4
push eax
push dword [esi + 8]
call edi
mov ebx, 0x466ee4
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea ecx, [ebp - 8]
push 0
shl eax, 1
push ecx
push eax
push ebx
push dword [esi + 8]
call edi
pop edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
pop ebx
leave
ret
Function at 0x42f542
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov ax, word [0x467084]
push ebx
push esi
mov ebx, ecx
push edi
mov word [ebp - 0x224], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
xor esi, esi
rep stosd dword es:[edi], eax
push 0x466ee4
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
stosw word es:[edi], ax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
pop ecx
shl edi, 1
mov eax, edi
push 2
neg eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
mov dword [ebp - 8], edi
push dword [ebx + 8]
call esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x224]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
push dword [ebx + 8]
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x42f6cf
lea eax, [ebp - 0x224]
push 0x466ee4
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x42f6cf
push 1
push eax
push 0xfffffffffffffffc
pop eax
sub eax, dword [ebp - 4]
push eax
push dword [ebx + 8]
call esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x18]
push 4
push eax
push dword [ebx + 8]
call edi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
add ecx, eax
push 1
neg ecx
push 0
push ecx
push dword [ebx + 8]
call esi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push dword [ebx + 8]
call edi
cmp dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
jbe 0x42f69d
lea esi, [ebx + 0x5cfd8]
lea ecx, [ebp - 4]
push 0
lea eax, [esi - 0x18]
push ecx
push 0x20
push eax
push dword [ebx + 8]
call edi
xor eax, eax
mov dword [esi - 0x18], eax
mov dword [esi - 0x14], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add dword [esi - 0x10], ecx
adc dword [esi - 0xc], edx
mov dword [esi], eax
mov dword [esi + 4], eax
mov ecx, dword [esi - 8]
sub ecx, dword [esi - 0x10]
mov edx, dword [esi - 4]
sbb edx, dword [esi - 0xc]
add ecx, 1
adc edx, eax
add dword [ebp - 0x14], ecx
lea eax, [esi - 0x18]
lea ecx, [ebx + 0x26ec]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
adc dword [ebp - 0x10], edx
push eax
call fcn.0043062f
inc dword [ebp - 8]
add esi, 0x20
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x42f63a
mov ecx, dword [ebx + 0x5d108]
mov edx, dword [ebx + 0x5d10c]
sub ecx, dword [ebp - 0x14]
lea eax, [ebx + 0x5d120]
push 1
sbb edx, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [eax]
mov eax, edx
mov dword [ebx + 0x5d118], ecx
mov dword [ebx + 0x5d11c], eax
pop eax
jmp 0x42f6d1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42f6d6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 0x805c]
mov edi, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x20]
cmp dword [eax + 4], 1
jne 0x42f6fa
mov eax, dword [ebx]
mov dword [ebp + 8], eax
xor esi, esi
cmp dword [edi + 0x26fc], esi
je 0x42f79a
mov ecx, edi
call fcn.0042f399
mov esi, dword [ebx + 0x8040]
push 0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add ecx, dword [esi + 0x18]
adc eax, dword [esi + 0x1c]
mov edx, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ecx
push dword [edi + 8]
sar edx, 0x1f
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42f74c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42f7db
lea eax, [ebp - 4]
push 0
push eax
and dword [ebp - 4], 0
push dword [ebp + 8]
lea eax, [ebx + 0x40]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42f7db
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jne 0x42f7db
add dword [esi + 0x18], eax
lea eax, [edi + 0x5d118]
adc dword [esi + 0x1c], 0
mov ecx, dword [ebp - 4]
add dword [eax], ecx
push ecx
push ebx
mov ecx, edi
adc dword [eax + 4], 0
call fcn.0042f7e4
mov ecx, edi
call fcn.0042f46b
jmp 0x42f7d6
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebx + 0x40]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42f7db
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x42f7db
add dword [edi + 0x5d118], ecx
lea eax, [edi + 0x5d118]
push ecx
push ebx
mov ecx, edi
adc dword [eax + 4], esi
call fcn.0042f7e4
push 1
pop eax
jmp 0x42f7dd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x431502
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00431fa9
mov byte [esi], 0x80
pop esi
ret
Function at 0x10001000
Capabilities:
Read file via mapping

Disassembly:
push str.AssisantShare
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
mov dword [0x10008ac0], eax
jne 0x10001019
ret
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
mov dword [0x10008abc], eax
test eax, eax
setne cl
mov eax, ecx
ret

Function at 0x10001053
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [ebp + 8]
push esi
mov esi, 0x104
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x104]
push esi
push ecx
push eax
mov dword [0x10008ac4], eax
call edi
lea eax, [ebp - 0x208]
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.10003f77
add esp, 0xc
lea eax, [ebp - 0x208]
push esi
push 0x100089b8
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
call fcn.10001000
test eax, eax
je 0x100010fc
lea eax, [ebp - 0x104]
push 0x103
push eax
push 0
call edi
lea eax, [ebp - 0x104]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
test eax, eax
pop ecx
je 0x100010ec
mov edx, str.explore
mov ecx, eax
call fcn.10004cf7
test eax, eax
je 0x100010ec
push 1
call fcn.10003671
pop ecx
push str.SoftwareYahoo_assistant_assist_sqtempurl
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
pop edi
pop esi
leave
ret
Function at 0x1000110d
Capabilities:
Copy file
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dl, byte [0x10008acc]
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], dl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x20f]
mov byte [ebp - 0x210], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
mov esi, str.eheulic.dat
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
push eax
push esi
mov edi, SysReAllocStringLen
mov ebx, 0x104
push str.SoftwareyahooAssistantAssistOldVer
push edi
mov dword [ebp - 4], 1
mov dword [ebp - 8], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x100011b8
push esi
lea eax, [ebp - 0x210]
push dword [ebp + 8]
push 0x10008090
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x10c]
push 1
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.MSVCRT.dll_memset
push ebx
lea eax, [ebp - 0x210]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 8]
mov esi, str.ehetlic.dat
mov ebx, str.SoftwareyahooAssistantAssistOldVer
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
push eax
push esi
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x10001233
push esi
lea eax, [ebp - 0x210]
push dword [ebp + 8]
push 0x10008090
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x10c]
push 1
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001240
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov dl, byte [0x10008acc]
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop esi
lea edi, [ebp - 0x30b]
mov ecx, esi
mov byte [ebp - 0x30c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x40f]
mov byte [ebp - 0x410], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x513]
mov byte [ebp - 0x514], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x207]
mov byte [ebp - 0x208], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x617]
mov byte [ebp - 0x618], dl
rep stosd dword es:[edi], eax
push dword [ebp + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x30c]
push eax
call sub.MSVCRT.dll_strcpy
push 0x104
lea eax, [ebp - 0x410]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x14
mov edi, dword [sym.imp.MSVCRT.dll__snprintf]
mov esi, 0x100089b8
mov ebx, 0x103
push dword [ebp + 8]
lea eax, [ebp - 0x410]
push str.update
push esi
push str._s_s_s
push ebx
push eax
call edi
lea eax, [ebp - 0x104]
push esi
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
and byte [ebp + eax - 0x105], 0
lea eax, [ebp - 0x104]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x2c
test eax, eax
je 0x10001399
lea ecx, [ebp - 0x104]
sub eax, ecx
inc eax
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x618]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x618]
push dword [ebp + 8]
push str.update
push eax
push str._s_s_s
lea eax, [ebp - 0x514]
push ebx
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x410]
push eax
call fcn.10003ffc
test eax, eax
pop ecx
je 0x100013e4
push 0x104
lea eax, [ebp - 0x208]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x208]
push dword [ebp + 8]
push esi
push 0x10008090
push ebx
push eax
call edi
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x410]
jmp 0x1000142d
lea eax, [ebp - 0x514]
push eax
call fcn.10003ffc
test eax, eax
pop ecx
je 0x1000145f
push 0x104
lea eax, [ebp - 0x208]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x208]
push dword [ebp + 8]
push esi
push 0x10008090
push ebx
push eax
call edi
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x514]
push eax
call fcn.1000405c
lea eax, [ebp - 0x30c]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x24
push eax
lea eax, [ebp - 0x30c]
push eax
push 1
push dword [ebp + 8]
push str.SoftwareyahooAssistantAssist
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001464
Capabilities:
Reference cloudflare dns server
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov al, byte [0x10008acc]
push esi
push edi
push 0x40
mov byte [ebp - 0x104], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, str.1.0.1.6
lea eax, [ebp - 0x104]
push esi
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0xc
push eax
lea eax, [ebp - 0x104]
push eax
push 1
push 0x10008154
push str.SoftwareyahooAssistantAssist
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push str.9.0.0.1
push str.yeheocx.dll
call fcn.10001240
push esi
push str.eheuli.dat
call fcn.10001240
push esi
push str.eheule.dat
call fcn.10001240
push esi
push str.ehetli.dat
call fcn.10001240
push esi
push str.ehetle.dat
call fcn.10001240
push str.1.0.0.1
push str.ehessq.dat
call fcn.10001240
add esp, 0x30
pop edi
pop esi
leave
ret

Function at 0x1000151b
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x104
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push dword [ebp + 8]
push str._s_DEL
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x10001585
lea eax, [ebp + 8]
push 4
push eax
lea eax, [ebp - 0x104]
push 4
push eax
push str.SoftwareyahooAssistantAssist
push SysReAllocStringLen
mov dword [ebp + 8], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
leave
ret
lea eax, [ebp - 0x104]
push eax
push str.SoftwareyahooAssistantAssist
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
leave
ret
Function at 0x100015c9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 1
pop ebx
cmp dword [esi], 0x18
je 0x100015e7
push 0xa
pop eax
jmp 0x1000177e
mov eax, dword [ebp + 8]
mov ecx, 0xcf
add eax, 0xfffff060
cmp eax, ecx
ja 0x1000172d
je case.0x1000160e.11
add eax, 0xfffffff5
cmp eax, 8
ja case.default.0x1000160e
jmp dword [eax*4 + 0x10001784]
call fcn.1000245b
push dword [esi + 8]
push 0
call fcn.10002eaf
pop ecx
test eax, eax
pop ecx
jne case.default.0x1000160e
jmp 0x1000177e
push dword [esi + 8]
push ebx
call fcn.10002eaf
pop ecx
pop ecx
jmp 0x1000177e
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 4]
call fcn.10002e54
add esp, 0xc
jmp 0x1000177e
mov eax, dword [0x10008abc]
push dword [eax + 0x38]
call fcn.10001bae
mov eax, dword [esi + 4]
pop ecx
mov ecx, dword [0x10008abc]
mov dword [ecx + 0x38], eax
jmp 0x100016ab
mov eax, dword [0x10008abc]
push dword [eax + 0x38]
jmp 0x10001687
mov eax, dword [0x10008abc]
push dword [eax + 0x40]
push 0x100081b0
jmp 0x1000173e
mov eax, dword [0x10008abc]
push dword [eax + 0x40]
call fcn.10001c0b
mov eax, dword [esi + 4]
pop ecx
mov ecx, dword [0x10008abc]
mov dword [ecx + 0x40], eax
call fcn.10001fa4
jmp 0x1000174f
and byte [ebp - 0x104], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
push dword [esi + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x100081ac
lea eax, [ebp - 0x104]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x104]
push eax
call fcn.10001dd0
add esp, 0x14
mov edi, eax
push ebx
push 0x10008acc
push ebx
push edi
push str.SoftwareYahoo_assistantAssist_sqtempurl
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push 0
push str.Adfilter
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
jmp case.default.0x1000160e
push dword [esi + 8]
push 2
jmp 0x10001637
cmp eax, 0x3e8
jne case.default.0x1000160e
push str.1.0.1.6
push 0x100081ac
mov eax, dword [esi + 0x14]
push dword [eax]
push dword [esi + 0x10]
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
xor ebx, ebx
cmp dword [ebp + 8], 0xfa1
jb 0x1000177c
cmp dword [ebp + 8], 0x1388
jae 0x1000177c
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 8]
push dword [esi + 4]
push dword [ebp + 8]
call fcn.10002e32
add esp, 0x14
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
leave
ret 8
Function at 0x100017ec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0c
mov dl, byte [0x10008acc]
push ebx
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xb0b]
mov byte [ebp - 0xb0c], dl
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 - 0x30b]
mov byte [ebp - 0x30c], dl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x207]
mov byte [ebp - 0x208], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x103
lea eax, [ebp - 0x208]
push esi
push eax
push dword [0x10008ac4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push esi
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x104]
push eax
call fcn.10004cda
lea eax, [ebp - 0x30c]
mov dword [esp], 0x104
push eax
push 1
pop edi
push edi
push dword [0x10008ac4]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x2bb
push 0x258
push 0x3e8
push edi
push 0x1388
push 0xfa1
push str._d__d__d__d____d__d__s__s
lea eax, [ebp - 0xb0c]
push 0x7ff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0xb0c]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x30
push eax
lea eax, [ebp - 0xb0c]
push eax
mov esi, 0x10008154
push edi
push esi
push str.SOFTWAREyahooAssistantAssistModules
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
je 0x10001927
mov eax, edi
jmp 0x1000198b
push 0x100089b8
call fcn.1000110d
call fcn.10001464
push ebx
push esi
call fcn.1000151b
push ebx
push str.yeheocx.dll
call fcn.1000151b
push ebx
push str.eheuli.dat
call fcn.1000151b
push ebx
push str.eheule.dat
call fcn.1000151b
push ebx
push str.ehetli.dat
call fcn.1000151b
push ebx
push str.ehetle.dat
call fcn.1000151b
push ebx
push str.ehessq.dat
call fcn.1000151b
push ebx
push ebx
call fcn.10004371
add esp, 0x44
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret