joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4557f0
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push esi
push edi
call fcn.005c4ef0
mov dword [esp + 0x10], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x30], edx
call fcn.005c4e40
mov ebx, eax
and ebx, 0x800003ff
jns 0x455840
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.005c4e40
mov ebp, eax
and ebp, 0x800003ff
jns 0x455876
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.005c4e40
lea ecx, [esp + 0x1c]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4558ca
mov edi, 0x6a1b58
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x4559ab
cmp ebp, 0x3e7
jg 0x4559ab
test ebp, ebp
jne 0x455957
cmp ebx, 0x3e7
jg 0x455957
test ebx, ebx
je 0x455930
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6cd998]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x20]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push ebx
jmp 0x4559e6
mov eax, dword [0x6cd994]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
push eax
push ecx
push str._d___s
push edx
call fcn.005c3928
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, dword [0x6cd99c]
push eax
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov ecx, edx
mov eax, dword [esp + 0x28]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x24]
push edx
push ebp
push str._d_s_02d___s
push eax
call fcn.005c3928
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x6cd9a0]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x20]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push esi
mov edx, dword [esp + 0x34]
push str._d_s_02d___s
push edx
call fcn.005c3928
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x459410
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6670
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 + 0x1320]
mov dword [ebp - 0x10], esp
cmp eax, ebx
je 0x459464
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45945e
mov eax, dword [esi + 0x1320]
push ebx
push ebx
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x1320], ebx
lea edi, [esi + 0x142c]
mov ecx, esi
push edi
call fcn.005dc926
push ebx
mov ecx, esi
call fcn.005dec56
mov ecx, dword [0x6cce6c]
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 [0x6cce6c]
mov edx, dword [esi + 0x220]
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 + 0x4a8]
call fcn.004a5f80
call fcn.00440bb0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45dd80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6a00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov edx, dword [0x6cce6c]
push esi
push edi
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.LastCheckQU
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45de49
push ecx
mov ecx, dword [ebp - 0x18]
mov eax, esp
mov dword [ebp - 0x20], esp
push 0
mov dword [eax], ecx
call fcn.005c477b
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.0045de60
lea edx, [ebp - 0x24]
mov ecx, eax
push edx
call fcn.0045de70
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 0x45de49
test edx, edx
jl 0x45de49
xor eax, eax
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
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e7c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6cce6c]
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 0x45e7f5
xor al, al
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

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

Disassembly:
sub esp, 0x14
push ebx
push esi
mov edx, dword [0x6cce6c]
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 8], 0x2c
lea ecx, [esi + 0x142c]
push eax
push ecx
push 0
push 0
push str.windowPlacementV6
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45e8f9
xor bl, bl
call dword [sym.imp.USER32.dll_GetDesktopWindow]
test eax, eax
je 0x45e889
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x45e889
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x1448]
add edx, 0xfffffff6
cmp eax, edx
jg 0x45e887
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x144c]
add eax, 0xffffffec
cmp ecx, eax
jle 0x45e889
mov bl, 1
mov eax, dword [esi + 0x1450]
cmp eax, 0xa
jl 0x45e8e7
mov edx, dword [esi + 0x144c]
test edx, edx
jl 0x45e8e7
test bl, bl
jne 0x45e8e7
mov ecx, dword [esi + 0x1448]
push edi
mov edi, dword [esi + 0x1454]
push 4
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push 0
mov ecx, esi
call fcn.005dec07
mov eax, dword [esi + 0x1434]
pop edi
cmp eax, 3
jne 0x45e8f9
mov eax, dword [esi + 0x1cc]
test eax, eax
jne 0x45e8f9
push 3
mov ecx, esi
call fcn.005dec56
pop esi
pop ebx
add esp, 0x14
ret
mov ecx, dword [0x6cce6c]
push str.windowPlacementV6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x45f8d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f6b1b
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov ecx, 0x6ccd90
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.0042cfb0
mov ebp, dword [esp + 0x140]
test eax, eax
je 0x45f926
mov ebx, dword [esp + 0x13c]
mov byte [ebx], 1
jmp 0x45f9f0
mov ecx, dword [0x6c826c]
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.005d838b
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 1
push 0
push ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [esp + 0x13c]
test eax, eax
jne 0x45f9dc
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 0x45f9d1
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.005c43d0
add esp, 8
test eax, eax
jne 0x45f9b3
mov byte [ebx], 1
jmp 0x45f9d1
mov ecx, dword [esp + 0x138]
lea eax, [esp + 0x1d]
push eax
push 0x69dfbc
push ecx
call fcn.005d838b
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.005df556
cmp byte [ebx], 0
jne 0x45fa16
cmp byte [ebp], 0
jne 0x45fa16
mov eax, dword [esp + 0x138]
mov ecx, 0x6ccd90
push eax
push esi
call fcn.0042d400
test eax, eax
je 0x45fa16
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 0x464c70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6cce6c]
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 0x464ca5
mov al, 1
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

Function at 0x467b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7330
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, 0x6ccd28
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004d2ac0
test ax, ax
je 0x467c0f
mov edx, dword [0x6cce6c]
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 0x467bde
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.005c477b
add esp, 4
lea ecx, [ebp - 0x24]
push eax
call fcn.0045de60
mov ecx, eax
call fcn.0045de70
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 0x469830
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov edx, dword [0x6cce6c]
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 0x469920
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push str.C:Program_FilesSpyHunterSpyHunter.exe
call ebx
cmp eax, 0xffffffff
je 0x46988a
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 0x469920
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 0x469915
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 0x469915
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 0x46e800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f81c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
mov edx, dword [0x6cce6c]
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 0x6a0bb0
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x46e865
cmp dword [ebp - 0x14], 1
je 0x46e8d3
mov eax, dword [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0xf8]
call fcn.00482180
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.005db556
mov ecx, dword [ebp - 0x20]
dec eax
neg eax
sbb eax, eax
not eax
and eax, ecx
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.005df556
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.005e71ed
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.005e709d
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
call fcn.005db197
jmp 0x46e904
mov eax, dword [0x6cce6c]
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 0x46e904
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x46e904
mov esi, 3
jmp 0x46e904
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 0x4707a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov edx, dword [0x6cce6c]
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 0x47093f
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47091a
mov edi, dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x47091a
cmp byte [esi + 0x142a], bl
jne 0x47091a
cmp byte [esi + 0x207], bl
je 0x470839
push 0x16
push edi
call dword [sym.imp.USER32.dll_KillTimer]
mov byte [esi + 0x207], bl
mov edx, dword [esi + 0x504]
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 + 0x4e8]
push eax
call fcn.005e21fe
mov edx, dword [esi + 0x4c4]
lea ecx, [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x4a8]
push eax
call fcn.005e21fe
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edx, ecx
sub edx, eax
test edx, edx
jle 0x47093f
cmp eax, dword [ebp - 0x40]
jl 0x47093f
cmp ecx, dword [ebp - 0x38]
jg 0x47093f
mov ecx, dword [0x6cce6c]
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 0x47093f
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 [0x6cd674]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x6cd678]
push ecx
mov ecx, dword [esi + 0x4c4]
push ebx
push edx
push eax
push ecx
call fcn.0048e510
add esp, 0x14
mov dword [esi + 0x1320], 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 0x47093f
mov edx, dword [esi + 0x1c]
push ebx
push 0x1f4
push 0x16
push edx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x47093f
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 0x4720b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f89e0
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 + 0x12ec]
mov eax, 0x84f5
cmp ecx, 2
jne 0x4720f1
mov eax, 0x84f6
jmp 0x4720fb
cmp ecx, 3
jne 0x4720fb
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 [0x6cce6c]
mov ecx, dword [esi + 0x12ec]
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 + 0x12ec]
cmp eax, 3
je 0x47218f
cmp eax, 2
jne 0x47215d
call fcn.005e969b
call fcn.005e969b
mov eax, dword [eax + 0xc]
push 0x15a
jmp 0x47216f
call fcn.005e969b
call fcn.005e969b
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esi + 0x1c]
push 0x69e0fc
push eax
push 0x2712
push 0
push ecx
call fcn.004900a0
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 0x4724a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x40
mov edx, dword [0x6cce6c]
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 0x4725c0
lea eax, [esp + 0x38]
push eax
call fcn.005c5224
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.005c4adc
add esp, 0x14
cmp eax, 3
jne 0x4725c0
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.005c4adc
add esp, 0x14
cmp eax, 3
jne 0x4725c0
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 0x472572
test eax, eax
jge 0x4725c0
mov edi, 0x69e3b8
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 [0x6cce6c]
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 0x4759c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8d38
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.004757e0
add esp, 4
cmp eax, ebx
jne 0x475a91
mov ecx, dword [0x6c826c]
mov dword [ebp + 0xc], ecx
mov edx, dword [0x6cd3ec]
push 0x6a0f9c
lea eax, [ebp + 0xc]
push edx
push eax
mov byte [ebp - 4], 1
call fcn.005d838b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add esp, 0xc
push 0x11001
push 0x69e0fc
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x475a70
mov ecx, dword [0x6cce6c]
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.0048ef00
add esp, 8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.005df556
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 [0x6cce6c]
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 0x476f30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 0xc]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6cc7b8
push 0
push str.SoftwareDownloadManagerScheduler
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x477070
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 0x476fa0
mov dword [esi + 8], 0
jmp 0x476fa7
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 0x476fd2
mov dword [esi + 0xc], 0xc8
jmp 0x476fd9
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.005c5810
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 0x47701c
mov dword [esi + 0x10], 5
jmp 0x477023
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 0x47705e
mov eax, dword [esp + 0xc]
mov dword [esi + 0x14], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov dword [esi + 0x14], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
Function at 0x477080
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push esi
mov esi, ecx
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6cc7b8
push 0
push str.SoftwareDownloadManagerScheduler
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x477170
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esi + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x10]
push 4
xor edx, edx
push eax
push 4
test ebx, ebx
push 0
push str.isLimitEnabled
setne dl
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0xc]
lea ebx, [esi + 0xc]
push 4
push ebx
push 4
push 0
push str.m_MBytes
push edx
call edi
mov eax, dword [ebx]
push 0
cdq
push 0x100000
push edx
push eax
call fcn.005c5810
push 0
push 0x64
push edx
push eax
call fcn.005c4e40
push 0
push 0x62
push edx
push eax
call fcn.005c5810
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x10]
push 4
push eax
push 4
push 0
push str.m_hours
push ecx
mov dword [esi + 0x1c], edx
call edi
mov ebx, dword [esi + 0x14]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push 4
xor edx, edx
push eax
test ebx, ebx
push 4
push 0
setne dl
push str.showLimitExceededWarning
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0xc
ret