joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403ae0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [ecx + 0x20], edi
jne 0x403b03
xor eax, eax
inc eax
jmp 0x403b8a
push esi
push edi
push 0x1c
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00401081
push str.YYExplorer
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00403732
add esp, 0xc
lea ecx, [ebp - 0x224]
push eax
call fcn.00407a9a
push edi
push 1
lea ecx, [ebp - 0x23c]
call fcn.0040206d
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push eax
call fcn.0040910d
pop ecx
push edi
push 1
lea ecx, [ebp - 0x224]
mov esi, eax
call fcn.0040206d
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00421734
leave
ret
Function at 0x403b97
Capabilities:
Create process on windows
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.0040fd05
xor edi, edi
test eax, eax
je 0x403c8c
xor eax, eax
push 0x206
mov word [ebp - 0x228], ax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
call fcn.00422240
add esp, 0xc
lea eax, [ebp - 0x210]
push 1
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x403c85
lea eax, [ebp - 0x210]
push eax
call fcn.004024ed
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00402253
mov esi, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
push esi
call fcn.004024ed
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.004057ff
mov esi, 0x43e2d4
push esi
call fcn.004024ed
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.004057ff
cmp dword [ebp - 0x214], 8
push 5
push edi
push edi
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
push str.taskbarunpin
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor esi, esi
inc esi
jmp 0x403d30
mov esi, edi
jmp 0x403d30
lea eax, [ebp - 0x22c]
push eax
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x403ca7
xor eax, eax
jmp 0x403d40
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00422240
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x403ca0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401081
push dword [ebp - 0x22c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, str.MicrosoftInternet_ExplorerQuick_LaunchYY
push esi
call fcn.004024ed
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.004057ff
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call fcn.0040907a
pop ecx
mov esi, eax
push edi
push 1
lea ecx, [ebp - 0x228]
call fcn.0040206d
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00421734
leave
ret
Function at 0x403d4e
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0xf003f
push edi
push 0
push str.SOFTWAREduowanYYExplorer
push SysReAllocString
call esi
test eax, eax
je 0x403d7b
xor eax, eax
jmp 0x403df2
lea eax, [ebp - 8]
push eax
push edi
push 0
push str.SOFTWAREduowan
push SysReAllocString
call esi
test eax, eax
jne 0x403d77
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.LastVer
push dword [ebp - 4]
call esi
push 0x43e1fc
push dword [ebp - 4]
mov edi, eax
call esi
push 0
push dword [ebp - 4]
or edi, eax
call esi
push str.lastrun
push dword [ebp - 4]
or edi, eax
call esi
push str.InstallType
push dword [ebp - 4]
or edi, eax
call esi
push str.WhoCreateDesktopLnk
push dword [ebp - 4]
or edi, eax
call esi
push 0x43e624
push dword [ebp - 8]
or edi, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
or eax, edi
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x403df6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x22c]
push eax
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x403e25
xor eax, eax
jmp 0x403eda
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00422240
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x403e1e
push esi
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401081
push dword [ebp - 0x22c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, 0x43e3f0
push esi
call fcn.004024ed
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.004057ff
mov esi, 0x43e3f8
push esi
call fcn.004024ed
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.004057ff
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call fcn.0040910d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.0040206d
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421734
leave
ret
Function at 0x403eeb
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x208
xor ebx, ebx
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00422240
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004220ad
add esp, 0x1c
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0x210]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
inc ecx
push 0x43e624
push dword [ebp - 0x214]
test eax, eax
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x210]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 1
test eax, eax
pop eax
push 0x43e624
push dword [ebp - 0x214]
cmove ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push eax
push 0x7d0
push 0xa
push eax
push eax
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret

Function at 0x40403d
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x43d658
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404064
xor eax, eax
leave
ret
push str.YYExplorerHTML
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
leave
ret
Function at 0x40413e
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x43e29c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00403732
push 0x250
xor ebx, ebx
lea eax, [ebp - 0x29c]
push ebx
push eax
call fcn.00422240
add esp, 0x18
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x29c]
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4041a5
xor esi, esi
inc esi
jmp 0x404287
mov esi, dword [ebp - 0x2a0]
lea eax, [ebp - 0x270]
push 0x43e2a0
push eax
call fcn.00421e16
pop ecx
pop ecx
test eax, eax
je 0x40426a
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403732
xor eax, eax
add esp, 0xc
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x18
lea eax, [ebp - 0x270]
mov ecx, esp
push eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], ebx
call fcn.00401081
call fcn.00409260
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push str.yy:__yxdt_
push eax
call fcn.00421e16
add esp, 0x24
test eax, eax
je 0x404254
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push str.oid20
push eax
call fcn.00421e16
pop ecx
pop ecx
test eax, eax
je 0x404254
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and esi, eax
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040206d
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.0040206d
lea eax, [ebp - 0x29c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4041ab
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040206d
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.0040206d
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret 0x18
Function at 0x4042b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4042f2
push 0x43d658
mov ecx, edi
call fcn.00401081
jmp 0x4043fb
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x214]
push eax
xor ecx, ecx
lea eax, [ebp - 0x218]
push eax
push ecx
mov ebx, 0xf003f
push ebx
push ecx
push ecx
push ecx
push str.shell
push dword [ebp - 0x21c]
mov dword [ebp - 0x214], ecx
call esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
push eax
xor eax, eax
push eax
push ebx
push eax
push eax
push eax
push str.open
push dword [ebp - 0x218]
call esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.command
push dword [ebp - 0x220]
call esi
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00422240
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
push ebx
push 0x43d658
push dword [ebp - 0x224]
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 0x22c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x224]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x220]
call esi
push dword [ebp - 0x218]
call esi
push dword [ebp - 0x21c]
call esi
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.00401081
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00421734
leave
ret 8
Function at 0x404552
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x40
lea eax, [ebp - 0xa78]
push ebx
push eax
mov dword [ebp - 0xa38], ebx
mov dword [ebp - 0xa7c], ebx
call fcn.00422240
xor eax, eax
mov dword [ebp - 0xa34], ebx
lea edi, [ebp - 0xa30]
stosd dword es:[edi], eax
push str.YYExplorerUpliveTrigger.exe
stosd dword es:[edi], eax
push esi
push str._s_S
stosd dword es:[edi], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004220cc
xor eax, eax
add esp, 0x20
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xa24]
call fcn.00401081
lea eax, [ebp - 0xa24]
push eax
call fcn.004098c3
mov bl, al
pop ecx
neg bl
sbb bl, bl
xor esi, esi
push 0
inc esi
push esi
lea ecx, [ebp - 0xa24]
call fcn.0040206d
inc bl
jne 0x4046b9
xor eax, eax
mov word [ebp - 0xa4c], ax
push str.install_task
lea eax, [ebp - 0x20c]
push eax
push str.__s_____S
lea eax, [ebp - 0xa0c]
push 0x400
push eax
mov dword [ebp - 0xa50], esi
call fcn.004220cc
add esp, 0x14
xor eax, eax
mov word [ebp - 0x20e], ax
lea eax, [ebp - 0xa34]
push eax
xor ebx, ebx
lea eax, [ebp - 0xa7c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xa0c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x40468d
push 0x2710
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40468d
lea eax, [ebp - 0xa38]
push eax
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xa30], ebx
je 0x4046a9
push dword [ebp - 0xa30]
call edi
mov dword [ebp - 0xa30], ebx
cmp dword [ebp - 0xa34], ebx
je 0x4046b9
push dword [ebp - 0xa34]
call edi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret
Function at 0x404a4b
Capabilities:
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
cmp byte [ebp + 0x38], 0
push edi
mov edi, ecx
lea eax, [ebp + 0x20]
je 0x404a95
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004037d2
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004037d2
mov ecx, edi
call fcn.004046ca
mov edi, eax
jmp 0x404b8a
cmp dword [ebp + 0x34], 8
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.0040988c
pop ecx
test eax, eax
jne 0x404aaf
mov edi, esi
jmp 0x404b8a
push 0x43e29c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403732
push 0x250
xor esi, esi
lea eax, [ebp - 0x29c]
push esi
push eax
call fcn.00422240
add esp, 0x18
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x29c]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor edi, edi
mov ebx, eax
inc edi
cmp ebx, 0xffffffff
je 0x404b7f
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403732
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00403732
add esp, 0x18
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x38], 8
push 1
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push esi
push 1
lea ecx, [ebp - 0x4c]
and edi, eax
call fcn.0040206d
push esi
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040206d
test edi, edi
je 0x404b78
lea eax, [ebp - 0x29c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x404aff
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
push 1
lea ecx, [ebp - 0x34]
call fcn.0040206d
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0040206d
push esi
push 1
lea ecx, [ebp + 0x20]
call fcn.0040206d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret 0x34

Function at 0x404bb3
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00422240
push str.SoftwareClientsStartMenuInternet
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004220ad
add esp, 0x1c
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x210]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404c24
xor eax, eax
jmp 0x404c44
push 0x43e624
push dword [ebp - 0x214]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421734
leave
ret
Function at 0x404c50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x214]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x404c84
xor eax, eax
jmp 0x404d26
push ebx
push esi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00422240
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
mov ebx, 0x43d658
push ebx
push dword [ebp - 0x214]
xor esi, esi
inc esi
mov dword [ebp - 0x218], 0x104
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404cfb
lea eax, [ebp - 0x210]
push str.YYExplorerHTML
push eax
call fcn.00421e16
pop ecx
pop ecx
test eax, eax
jne 0x404cff
xor eax, eax
jmp 0x404d24
push 0x12
push str.htmlfile
push esi
push 0
push ebx
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421734
leave
ret 4
Function at 0x404d34
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
lea ecx, [ebp - 0x440]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x404d6b
xor eax, eax
jmp 0x404f39
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x438]
push eax
xor ecx, ecx
lea eax, [ebp - 0x444]
push eax
push ecx
mov ebx, 0xf003f
push ebx
push ecx
push ecx
push ecx
push str.shell
push dword [ebp - 0x440]
mov dword [ebp - 0x438], ecx
call esi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x448]
push eax
xor eax, eax
push eax
push ebx
push eax
push eax
push eax
push str.open
push dword [ebp - 0x444]
call esi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x43c]
push eax
push 0
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push str.command
push dword [ebp - 0x448]
call esi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00422240
xor eax, eax
push esi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push ebx
push eax
mov dword [ebp - 0x450], 0x104
mov dword [ebp - 0x44c], 1
call fcn.00422240
add esp, 0x18
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x44c]
push eax
push ebx
mov esi, 0x43d658
push esi
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [edi + 0x14], 8
jb 0x404e61
mov eax, dword [edi]
jmp 0x404e63
mov eax, edi
push eax
push str.__sYYExplorer.exe________1_
push 0xffffffffffffffff
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.004220ad
add esp, 0x14
lea ecx, [ebp - 0x41c]
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404eb1
test dx, dx
je 0x404ead
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404eb1
add eax, 4
add ecx, 4
test dx, dx
jne 0x404e8b
mov eax, ebx
jmp 0x404eb6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x404f0e
push str.htmlfile
lea eax, [ebp - 0x434]
push eax
mov ecx, edi
call fcn.004042b0
mov eax, dword [ebp - 0x424]
cmp dword [ebp - 0x420], 8
lea eax, [eax*2 + 2]
push eax
lea ecx, [ebp - 0x434]
cmovae ecx, dword [ebp - 0x434]
push ecx
push 1
push ebx
push esi
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push 1
lea ecx, [ebp - 0x434]
call fcn.0040206d
push dword [ebp - 0x43c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x448]
call esi
push dword [ebp - 0x444]
call esi
push dword [ebp - 0x440]
call esi
xor eax, eax
pop esi
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00421734
leave
ret 4
Function at 0x404f48
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00422240
push str.SoftwareRegisteredApplications
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004220ad
add esp, 0x1c
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x210]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404fb9
xor eax, eax
jmp 0x404fd9
push 0x43e624
push dword [ebp - 0x214]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421734
leave
ret

Function at 0x405364
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x1c], eax
call fcn.00404fe5
xor eax, eax
push eax
push eax
push esi
push 0x405341
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x18], eax
xor eax, eax
inc eax
pop esi
pop ebp
ret 4