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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a3d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x1324]
mov dword [ebp - 0x10], esp
cmp eax, ebx
je 0x462194
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46218e
mov eax, dword [esi + 0x1324]
push ebx
push ebx
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x1324], ebx
lea edi, [esi + 0x1430]
mov ecx, esi
push edi
call fcn.005ffea6
push ebx
mov ecx, esi
call fcn.006021da
mov ecx, dword [0x6d12f4]
push 0x2c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push ebx
push str.windowPlacementV6
push ecx
call edi
mov ecx, dword [0x6d12f4]
mov edx, dword [esi + 0x224]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.sortOrder
push ecx
mov dword [ebp - 0x14], edx
call edi
lea ecx, [esi + 0x4ac]
call fcn.004b5e40
call fcn.00446820
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467930
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov edx, dword [0x6d12f4]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.LastCheckQU
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4679b0
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], esp
mov eax, esp
push edx
push 0
mov dword [eax], ecx
call fcn.005e7c09
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.0045f400
mov ecx, eax
call fcn.0045f410
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 7
jge 0x4679b0
test edx, edx
jl 0x4679b0
xor eax, eax
add esp, 0x10
ret
mov eax, 1
add esp, 0x10
ret
Function at 0x4684a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6d12f4]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.ShowDropTarget
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4684d5
xor al, al
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

Function at 0x4684f0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
push esi
mov edx, dword [0x6d12f4]
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 8], 0x2c
lea ecx, [esi + 0x1430]
push eax
push ecx
push 0
push 0
push str.windowPlacementV6
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x468600
xor bl, bl
call dword [sym.imp.USER32.dll_GetDesktopWindow]
test eax, eax
je 0x468569
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x468569
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x144c]
add edx, 0xfffffff6
cmp eax, edx
jg 0x468567
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x1450]
add eax, 0xffffffec
cmp ecx, eax
jle 0x468569
mov bl, 1
cmp dword [esi + 0x1454], 0xa
jl 0x4685ee
mov eax, dword [esi + 0x1450]
test eax, eax
jl 0x4685ee
test bl, bl
jne 0x4685ee
lea ecx, [esp + 0xc]
push 0
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x4685cc
mov eax, dword [esi + 0x1450]
mov edx, dword [esi + 0x1458]
mov ecx, dword [esi + 0x144c]
sub edx, eax
push 4
push edx
mov edx, dword [esi + 0x1454]
sub edx, ecx
push edx
mov edx, dword [esp + 0x1c]
add eax, edx
push eax
mov eax, dword [esp + 0x1c]
add ecx, eax
push ecx
push 0
mov ecx, esi
call fcn.0060218b
cmp dword [esi + 0x1438], 3
jne 0x468600
mov eax, dword [esi + 0x1cc]
test eax, eax
jne 0x468600
push 3
mov ecx, esi
call fcn.006021da
pop esi
pop ebx
add esp, 0x14
ret
mov ecx, dword [0x6d12f4]
push str.windowPlacementV6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4696f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61a8ab
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov ecx, 0x6d1210
push ebx
push ebp
push esi
mov esi, dword [esp + 0x12c]
push edi
mov edi, dword [esp + 0x134]
lea eax, [edi + 1]
push eax
push esi
call fcn.004309f0
mov ebp, dword [esp + 0x140]
test eax, eax
je 0x469746
mov ebx, dword [esp + 0x13c]
mov byte [ebx], 1
jmp 0x469810
mov ecx, dword [0x6cc708]
mov dword [esp + 0x10], ecx
push esi
lea edx, [esp + 0x14]
push str.MIMEDatabaseContent_Type_s
push edx
mov dword [esp + 0x134], 0
call fcn.005fb90b
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 1
push 0
push ecx
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [esp + 0x13c]
test eax, eax
jne 0x4697fc
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0
push str.Extension
push ecx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4697f1
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.005e6820
add esp, 8
test eax, eax
jne 0x4697d3
mov byte [ebx], 1
jmp 0x4697f1
mov ecx, dword [esp + 0x138]
lea eax, [esp + 0x1d]
push eax
push 0x6a00a0
push ecx
call fcn.005fb90b
add esp, 0xc
mov byte [ebp], 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x128], 0xffffffff
call fcn.00602ad6
cmp byte [ebx], 0
jne 0x469836
cmp byte [ebp], 0
jne 0x469836
mov eax, dword [esp + 0x138]
mov ecx, 0x6d1210
push eax
push esi
call fcn.00430fe0
test eax, eax
je 0x469836
mov byte [ebp], 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 0x14
Function at 0x46f990
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6d12f4]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.StartDlgShowing
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x46f9c5
mov al, 1
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

Function at 0x4728a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b0f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x1c], ecx
push edi
mov ecx, 0x6d11a0
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004e3d10
test ax, ax
je 0x47298f
mov edx, dword [0x6d12f4]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.LastCheckLNG3
push edx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47295e
push ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], esp
mov eax, esp
push edx
push 0
mov dword [eax], ecx
call fcn.005e7c09
add esp, 4
lea ecx, [ebp - 0x24]
push eax
call fcn.0045f400
mov ecx, eax
call fcn.0045f410
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
cmp edx, 0xe
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474500
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov edx, dword [0x6d12f4]
push ebx
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.SPChecked
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
je 0x4745f0
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push str.C:Program_FilesSpyHunterSpyHunter.exe
call ebx
cmp eax, 0xffffffff
je 0x47455a
pop esi
mov eax, 1
pop ebx
add esp, 0x214
ret
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallEE5B8E34_973C_4FBE_AC83_99F064009FC7
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4745f0
lea ecx, [esp + 8]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push str.InstallLocation
push eax
mov dword [esp + 0x20], 0x208
call esi
test eax, eax
jne 0x4745e5
push ebp
push edi
mov edi, str.SpyHunter.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
pop edi
cmp eax, 0xffffffff
pop ebp
je 0x4745e5
pop esi
mov eax, 1
pop ebx
add esp, 0x214
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
add esp, 0x214
ret
Function at 0x478b40
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61be48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
push ebx
mov ebx, ecx
mov ecx, dword [0x6d1424]
push esi
push edi
mov dword [ebp - 0x14], ebx
test ecx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
je 0x478d7d
mov eax, dword [ebp + 8]
push eax
call fcn.004ad360
mov esi, eax
test esi, esi
je 0x478d7d
mov al, byte [esi + 0x14]
test al, al
je 0x478bdf
mov eax, dword [esi + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x478bdf
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x478bdf
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov al, byte [esi + 0x15]
test al, al
je 0x478c6f
push 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x6d0c38
call fcn.00602b44
push 1
lea ecx, [ebp - 0x1e8]
call fcn.0051d5e0
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 1
call fcn.005fead6
cmp eax, 1
jne 0x478c2f
mov ecx, ebx
call fcn.00464880
mov ecx, dword [ebx + 0x14c]
call fcn.004373d0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 5
call fcn.00602ad6
mov edi, 0x631e74
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x148], edi
mov byte [ebp - 4], 2
call fcn.005fd27d
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 0
call fcn.005fe717
jmp 0x478c74
mov edi, 0x631e74
mov al, byte [esi + 0x17]
test al, al
je 0x478d24
mov ecx, ebx
call fcn.00464880
push 0
mov ecx, ebx
call fcn.006021da
mov edx, dword [0x6d1440]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x478cb2
mov eax, dword [0x6d1440]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x6d0c38
call fcn.00602b44
push 3
lea ecx, [ebp - 0x11c]
call fcn.0051d5e0
mov edx, dword [esi + 0x3c]
xor ecx, ecx
mov cl, byte [esi + 0x18]
mov byte [ebp - 4], 6
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0xbc], edx
call fcn.005fead6
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xa
call fcn.00602ad6
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x7c], edi
mov byte [ebp - 4], 7
call fcn.005fd27d
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0
call fcn.005fe717
mov al, byte [esi + 0x16]
test al, al
je 0x478d7d
xor bl, bl
xor edi, edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x1c8]
cmp edi, dword [eax + 8]
jge 0x478d74
mov edx, dword [eax + 4]
mov ecx, edi
shl ecx, 4
mov esi, dword [edx + ecx]
cmp dword [esi + 0x8d4], 1
jne 0x478d63
mov eax, dword [esi + 8]
test eax, eax
je 0x478d61
mov ecx, esi
call fcn.005b3710
jmp 0x478d63
mov bl, 1
mov eax, dword [esi + 8]
test eax, eax
je 0x478d71
mov dword [esi + 8], 0
inc edi
jmp 0x478d2f
test bl, bl
jne 0x478d7d
call fcn.00462270
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x479370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61beee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
mov edx, dword [0x6d12f4]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
mov esi, 3
mov ebx, 4
push 0x6a30d0
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x4793d5
cmp dword [ebp - 0x14], 1
je 0x47943c
mov eax, dword [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0xcc]
call fcn.004901a0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 1
call fcn.005fead6
mov ecx, dword [ebp - 0x30]
dec eax
neg eax
sbb eax, eax
not eax
and eax, ecx
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c], 0x631e74
call fcn.00602ad6
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0060a76d
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0
call fcn.005fe717
jmp 0x47946d
mov eax, dword [0x6d12f4]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push 0
push 0
push str.DuplLinksA
push eax
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x47946d
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x47946d
mov esi, 3
jmp 0x47946d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47b1d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov edx, dword [0x6d12f4]
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
xor ebx, ebx
push eax
push ecx
push ebx
push ebx
push str.bShBTtFQCI
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x47b36f
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47b34a
mov edi, dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x47b34a
cmp byte [esi + 0x142e], bl
jne 0x47b34a
cmp byte [esi + 0x207], bl
je 0x47b269
push 0x16
push edi
call dword [sym.imp.USER32.dll_KillTimer]
mov byte [esi + 0x207], bl
mov edx, dword [esi + 0x508]
lea ecx, [ebp - 0x30]
push ecx
push 2
push 0x1207
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
lea ecx, [esi + 0x4ec]
push eax
call fcn.0060577e
mov edx, dword [esi + 0x4c8]
lea ecx, [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x4ac]
push eax
call fcn.0060577e
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edx, ecx
sub edx, eax
test edx, edx
jle 0x47b36f
cmp eax, dword [ebp - 0x40]
jl 0x47b36f
cmp ecx, dword [ebp - 0x38]
jg 0x47b36f
mov ecx, dword [0x6d12f4]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.bShBTtFQCI
push ecx
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x47b36f
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
add edx, 0xfffffffc
add eax, 0xfffffffc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov edx, dword [0x6d1c64]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x6d1c68]
push ecx
mov ecx, dword [esi + 0x4c8]
push ebx
push edx
push eax
push ecx
call fcn.0049d2a0
add esp, 0x14
mov dword [esi + 0x1324], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x207], bl
jne 0x47b36f
mov edx, dword [esi + 0x1c]
push ebx
push 0x1f4
push 0x16
push edx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x47b36f
mov byte [esi + 0x207], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ca60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x12f0]
mov eax, 0x84f5
cmp ecx, 2
jne 0x47caa1
mov eax, 0x84f6
jmp 0x47caab
cmp ecx, 3
jne 0x47caab
mov eax, 0x84f7
push 0
push eax
mov eax, dword [esi + 0x198]
push 0x84f7
push 0x84f5
push eax
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov eax, dword [0x6d12f4]
mov ecx, dword [esi + 0x12f0]
lea edx, [ebp - 0x14]
push 4
push edx
push 4
push 0
push str.TrayIcon
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0x12f0]
cmp eax, 3
je 0x47cb3f
cmp eax, 2
jne 0x47cb0d
call fcn.0060cbfe
call fcn.0060cbfe
mov eax, dword [eax + 0xc]
push 0x15a
jmp 0x47cb1f
call fcn.0060cbfe
call fcn.0060cbfe
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esi + 0x1c]
push 0x6a0028
push eax
push 0x2712
push 0
push ecx
call fcn.0049f2c0
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x40
mov edx, dword [0x6d12f4]
push esi
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push 0
push str.LstCheck
push edx
mov dword [esp + 0x24], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47cf70
lea eax, [esp + 0x38]
push eax
call fcn.005e865d
add esp, 4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push str._ld__ld__ld
push ecx
call fcn.005e68f0
add esp, 0x14
cmp eax, 3
jne 0x47cf70
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x44]
push str._ld__ld__ld
push edx
call fcn.005e68f0
add esp, 0x14
cmp eax, 3
jne 0x47cf70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
sub eax, edi
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*2]
mov edx, dword [esp + 0x24]
sub eax, esi
add eax, edx
cmp eax, 0xa
jg 0x47cf22
test eax, eax
jge 0x47cf70
mov edi, 0x6a0490
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x6d12f4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0xc]
push ecx
push 1
push eax
push str.CheckUpdtVM
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
mov eax, 1
pop esi
add esp, 0x40
ret
Function at 0x482d20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ca58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00482b40
add esp, 4
cmp eax, ebx
jne 0x482df1
mov ecx, dword [0x6cc708]
mov dword [ebp + 0xc], ecx
mov edx, dword [0x6d19d0]
push 0x6a3524
lea eax, [ebp + 0xc]
push edx
push eax
mov byte [ebp - 4], 1
call fcn.005fb90b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add esp, 0xc
push 0x11001
push 0x6a0028
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x482dd0
mov ecx, dword [0x6d12f4]
lea eax, [ebp + 8]
push 4
push eax
push 4
push ebx
push str.bVP9Ch
push ecx
mov dword [ebp + 8], 2
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.http:__www.internetdownloadmanager.com_support_mkvvp9codec.html
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0049dca0
add esp, 8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00602ad6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6d12f4]
lea edx, [ebp + 8]
push 4
push edx
push 4
push ebx
push str.bVP9Ch
push eax
mov dword [ebp + 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484360
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61cc50
push eax
mov dword fs:[0], esp
sub esp, 0x14
lea eax, [esp + 0xc]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6d0c38
push 0
push str.SoftwareDownloadManagerScheduler
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4844a7
mov ecx, dword [esp + 0xc]
push ebx
lea edx, [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
mov ebx, 4
push str.isLimitEnabled
push ecx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x4843e5
mov dword [esi + 8], 0
jmp 0x4843ec
mov edx, dword [esp + 0x10]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.m_MBytes
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x484417
mov dword [esi + 0xc], 0xc8
jmp 0x48441e
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
push 0
cdq
push 0x100000
push edx
push eax
call fcn.005e8c50
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.m_hours
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x484461
mov dword [esi + 0x10], 5
jmp 0x484468
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.showLimitExceededWarning
push ecx
mov dword [esp + 0x24], ebx
call edi
pop edi
pop ebx
test eax, eax
je 0x484495
mov dword [esi + 0x14], 1
jmp 0x48449c
mov edx, dword [esp + 8]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret