joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406549
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
and dword [ebp + 0x74], 0
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x14], 2
pop edi
jne 0x4065db
cmp dword [ebp - 0x20], 6
je 0x4065d6
cmp dword [ebp - 0x20], 5
jne 0x4065db
cmp dword [ebp - 0x1c], 1
jae 0x4065d6
lea eax, [ebp - 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406593
sub eax, edx
mov dword [ebp + 0x70], eax
je 0x4065ca
lea eax, [ebp - 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4065a7
sub eax, edx
mov dword [ebp + 0x70], eax
je 0x4065ca
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x10]
push 0x417720
push eax
call fcn.0040aed5
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x4065db
cmp dword [ebp + 0x74], 2
jb 0x4065db
xor eax, eax
inc eax
jmp 0x4065dd
xor eax, eax
add ebp, 0x78
leave
ret

Function at 0x4065e2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
pop edi
jne 0x406629
cmp dword [ebp - 0x18], 6
jne 0x40661b
xor eax, eax
inc eax
jmp 0x40662b
cmp dword [ebp - 0x18], 5
jne 0x406629
xor eax, eax
inc eax
cmp dword [ebp - 0x14], eax
je 0x40662b
xor eax, eax
add ebp, 0x78
leave
ret

Function at 0x40667c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
xor esi, esi
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x54], 0x44
push esi
mov dword [ebp - 0x48], str.Java_Update_Scheduler
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
cmp edi, esi
je 0x4066cc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x40670c
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x2001f
xor ebx, ebx
push ebx
push 0x417b14
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40673b
mov eax, 0x80004005
jmp 0x406885
cmp dword [ebp + 8], ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
jne 0x406758
push 0x417b3c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x406778
mov eax, dword [ebp + 8]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40675e
sub eax, edi
push eax
push dword [ebp + 8]
push 1
push ebx
push str.LocalFileName
push dword [ebp - 4]
call esi
cmp dword [ebp + 0xc], ebx
jne 0x40678d
push 0x417b5c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4067ad
mov eax, dword [ebp + 0xc]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406793
sub eax, edi
push eax
push dword [ebp + 0xc]
push 1
push ebx
push str.InstallOptions
push dword [ebp - 4]
call esi
cmp dword [ebp + 0x10], ebx
jne 0x4067c2
push 0x417b7c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4067e2
mov eax, dword [ebp + 0x10]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4067c8
sub eax, edi
push eax
push dword [ebp + 0x10]
push 1
push ebx
push str.UpdateDescription
push dword [ebp - 4]
call esi
cmp dword [ebp + 0x14], ebx
jne 0x4067f7
push 0x417ba4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x406817
mov eax, dword [ebp + 0x14]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4067fd
sub eax, edi
push eax
push dword [ebp + 0x14]
push 1
push ebx
push str.UpdateMoreInfoUrl
push dword [ebp - 4]
call esi
cmp dword [ebp + 0x18], ebx
jne 0x40682c
push 0x417bcc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x40684c
mov eax, dword [ebp + 0x18]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406832
sub eax, edi
push eax
push dword [ebp + 0x18]
push 1
push ebx
push str.BalloonTitle
push dword [ebp - 4]
call esi
cmp dword [ebp + 0x1c], ebx
jne 0x406861
push 0x417bec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x406881
mov eax, dword [ebp + 0x1c]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406867
sub eax, edi
push eax
push dword [ebp + 0x1c]
push 1
push ebx
push str.BalloonTip
push dword [ebp - 4]
call esi
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x406888
Capabilities:
Delete registry value
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x417c14
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406920
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x417c3c
push dword [ebp - 4]
call esi
push 0x417c4c
push dword [ebp - 4]
call esi
push 0x417c54
push dword [ebp - 4]
call esi
push str.InstalledJREVersion
push dword [ebp - 4]
call esi
push str.NewJREVersion
push dword [ebp - 4]
call esi
push 0x417c80
push dword [ebp - 4]
call esi
push str.UpdateDetected
push dword [ebp - 4]
call esi
push str.UpdAvailNotifyCnt
push dword [ebp - 4]
call esi
push str.UpdAvailNotifyTime
push dword [ebp - 4]
call esi
push str.UpdAvailElapsed
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x406922
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.AllocateAndInitializeSid
push edi
call esi
push str.OpenProcessToken
push edi
mov dword [ebp - 8], eax
call esi
push str.GetTokenInformation
push edi
mov dword [ebp - 0x18], eax
call esi
push str.EqualSid
push edi
mov dword [ebp - 0x10], eax
call esi
push str.FreeSid
push edi
mov dword [ebp - 0x1c], eax
call esi
xor ebx, ebx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], bl
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], 5
mov dword [ebp - 0x14], ebx
call dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 8
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x18]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0040a875
pop ecx
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push 2
push dword [ebp - 0xc]
call dword [ebp - 0x10]
cmp dword [esi], ebx
mov dword [ebp - 8], ebx
jbe 0x406a10
lea eax, [esi + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push dword [eax]
push dword [ebp - 0x14]
call dword [ebp - 0x1c]
test eax, eax
jne 0x406a10
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 0x10], 8
cmp eax, dword [esi]
jb 0x4069f3
mov ecx, dword [ebp - 8]
xor eax, eax
cmp ecx, dword [esi]
push esi
setne al
mov dword [ebp - 0x1c], eax
call fcn.00409ce5
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [ebp - 0x20]
cmp edi, ebx
je 0x406a3e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406a46
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
push 0x27
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x9c
call esi
test eax, eax
jne 0x406a85
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x94
call esi
test eax, eax
je 0x406aa1
cmp dword [ebp - 0x14], 2
jne 0x406a9e
cmp dword [ebp - 0x20], 6
jae 0x406a9e
cmp dword [ebp - 0x20], 4
jb 0x406a9e
call fcn.00406922
jmp 0x406aa1
xor eax, eax
inc eax
pop edi
pop esi
add ebp, 0x78
leave
ret
Function at 0x406aa8
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xdc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x27
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
push str.win32
lea eax, [ebp + 0x50]
xor ebx, ebx
push eax
mov dword [ebp + 0x64], ebx
mov dword [ebp - 0x50], 0x9c
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x50]
push eax
call edi
test eax, eax
jne 0x406afa
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x94
call edi
cmp dword [ebp - 0x40], 2
jne 0x406b5b
cmp dword [ebp - 0x4c], 4
jne 0x406b0d
push str.winnt
jmp 0x406b86
cmp dword [ebp - 0x4c], 6
jne 0x406b2f
cmp dword [ebp - 0x48], ebx
jne 0x406b8c
cmp byte [ebp + 0x4a], 1
lea eax, [ebp + 0x50]
jne 0x406b28
push str.winvista
jmp 0x406b89
push str.winlong
jmp 0x406b89
cmp dword [ebp - 0x4c], 5
jne 0x406b8c
cmp dword [ebp - 0x48], ebx
jne 0x406b41
push str.win2000
jmp 0x406b86
cmp dword [ebp - 0x48], 1
jne 0x406b4e
push str.winxp
jmp 0x406b86
cmp dword [ebp - 0x48], 2
jne 0x406b8c
push str.win2003
jmp 0x406b86
cmp dword [ebp - 0x40], 1
jne 0x406b8c
cmp dword [ebp - 0x4c], 4
jne 0x406b81
cmp dword [ebp - 0x48], 0xa
jne 0x406b74
push str.win98
jmp 0x406b86
cmp dword [ebp - 0x48], 0x5a
jne 0x406b81
push str.winme
jmp 0x406b86
push str.win95
lea eax, [ebp + 0x50]
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp + 0x50]
push eax
push 0x417e18
push dword [ebp + 0x70]
call edi
lea eax, [ebp - 0x3c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406ba9
sub eax, edx
mov dword [ebp + 0x4c], eax
je 0x406be5
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp - 0x3c]
push str.Service_Pack__d
push eax
call fcn.0040aed5
add esp, 0xc
cmp dword [ebp + 0x64], ebx
jbe 0x406be5
push dword [ebp + 0x64]
lea eax, [ebp + 0x50]
push eax
push str._s_sp_d
push dword [ebp + 0x70]
call edi
add esp, 0x10
mov ebx, dword [ebp + 0x78]
test ebx, ebx
je 0x406c5f
and word [ebp - 0x74], 0
push str.Unknown
push ebx
call esi
push 0x417e3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406c22
push str.GetNativeSystemInfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x406c22
lea ecx, [ebp - 0x74]
push ecx
call eax
jmp 0x406c2c
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test edi, edi
je 0x406c37
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, word [ebp - 0x74]
test eax, eax
je 0x406c57
cmp eax, 6
je 0x406c50
cmp eax, 9
jne 0x406c5f
push str.amd64
jmp 0x406c5c
push str.ia64
jmp 0x406c5c
push 0x417e70
push ebx
call esi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
add ebp, 0x68
leave
ret
Function at 0x406d72
Capabilities:
Get common file path
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
lea eax, [ebp - 8]
push edi
push eax
call fcn.0040a19f
lea eax, [ebp - 8]
push eax
call fcn.0040a01f
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
mov byte [ebp - 0x20c], bl
je 0x406dbe
push eax
call fcn.0040a6c3
cmp eax, ebx
pop ecx
je 0x406dbe
push eax
lea eax, [ebp - 0x20c]
push str._n_s::
push eax
call fcn.0040af49
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x10c]
push eax
push str.TMPDIR
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test eax, eax
lea eax, [ebp - 0x10c]
jne 0x406df0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x406df8
push 0x4182c0
push eax
call esi
push str.jusched.log
lea eax, [ebp - 0x10c]
push eax
call esi
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x406e7f
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x20c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406e3e
push ebx
sub eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
mov eax, dword [ebp + 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x406e63
push ebx
sub eax, ecx
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406e84
Capabilities:
Check os version

Disassembly:
push 0xa4
push 0x418440
call fcn.00409b90
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xb4], 0x94
push 0x24
pop ecx
xor eax, eax
lea edi, [ebp - 0xb0]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 2
jne 0x406f06
cmp dword [ebp - 0xb0], 5
jb 0x406f06
mov dword [ebp - 4], esi
push 0x4182d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x406efd
push 0x4182dc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x406efd
mov dword [ebp - 0x20], 1
or dword [ebp - 4], 0xffffffff
call fcn.00406f0f
mov eax, dword [ebp - 0x20]
call fcn.00409bcb
ret

Function at 0x40706f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push 0x41834c
push 0x80000002
mov dword [ebp - 8], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4070d0
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
push esi
push str.ITCONFIG
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x4070d0
movzx esi, byte [ebp - 0x208]
mov eax, esi
pop esi
leave
ret
Function at 0x4070e6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
xor esi, esi
mov dword [ebp - 4], 0x200
call fcn.004070d5
test eax, eax
jne 0x40718a
call fcn.00406549
test eax, eax
je 0x40718a
lea eax, [ebp - 0xc]
push eax
push 1
push esi
push 0x418380
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40718d
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x4183a8
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x40718d
mov dword [ebp - 8], esi
call fcn.00406e84
test eax, eax
je 0x40717f
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x20c]
push eax
call fcn.00406f1f
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x407185
mov eax, dword [ebp - 0x20c]
cmp eax, 0x64
jne 0x40718d
xor esi, esi
inc esi
mov eax, esi
pop esi
leave
ret

Function at 0x407192
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
push 0x4183c0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4071c9
push 0x4183e8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x4071cb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 0x10]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push 0x80000001
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], 0x64
mov dword [ebp - 0xc], 0x200
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40725e
call fcn.00406e84
test eax, eax
je 0x407231
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 8]
push 4
push eax
call fcn.00406fc3
add esp, 0x10
jmp 0x40723a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x210], eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x210]
push eax
push 3
push esi
push str.EnableAutoUpdateCheck
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x4076c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc18
push ebx
push edi
mov ebx, 0x20019
push ebx
xor edi, edi
push 0x417740
push 0x80000002
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
call fcn.004035bb
test eax, eax
jne 0x4078d2
push ebx
push 0x41774c
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
call fcn.004035bb
test eax, eax
jne 0x4078d2
push ebx
push 0x417758
push dword [ebp - 0xc]
lea ecx, [ebp - 4]
call fcn.004035bb
test eax, eax
jne 0x4078d2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push str.CurrentVersion
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 4]
call fcn.00404118
test eax, eax
je 0x407777
lea ecx, [ebp - 8]
call fcn.004035a4
lea ecx, [ebp - 4]
call fcn.004035a4
lea ecx, [ebp - 0xc]
call fcn.004035a4
lea ecx, [ebp - 0x10]
call fcn.004035a4
mov eax, edi
jmp 0x4078f4
push ebx
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.004035bb
test eax, eax
jne 0x4077bc
lea eax, [ebp + 0x10]
push eax
push 0x417784
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.00404118
test eax, eax
jne 0x4077bc
push dword [ebp + 0xc]
call fcn.00406630
test eax, eax
pop ecx
je 0x4077bc
cmp dword [ebp + 8], edi
je 0x4078ca
push esi
mov esi, 0x400
push esi
lea eax, [ebp - 0x418]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov byte [ebp - 0x818], 0
jmp 0x40787b
push eax
lea eax, [ebp - 0x418]
push eax
mov dword [ebp + 0x10], esi
call fcn.00414a5e
test eax, eax
pop ecx
pop ecx
jle 0x407870
push ebx
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.004035bb
test eax, eax
jne 0x40786d
lea eax, [ebp + 0x10]
push eax
push str.JavaHome
lea eax, [ebp - 0xc18]
push eax
lea ecx, [ebp - 8]
call fcn.00404118
test eax, eax
jne 0x40786d
cmp dword [ebp + 0x10], eax
jbe 0x40786d
lea eax, [ebp - 0xc18]
push eax
call fcn.00406630
test eax, eax
pop ecx
je 0x40786d
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x818]
push 0x41779c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc18]
push eax
push 0x4177a0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
inc dword [ebp - 0x14]
push esi
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x14]
push dword [ebp - 4]
call edi
test eax, eax
lea eax, [ebp - 0x818]
je 0x4077dd
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407892
sub eax, edx
mov dword [ebp - 0x14], eax
je 0x4078d2
lea eax, [ebp - 0x818]
push eax
push 0x4177a4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4078be
sub eax, ecx
mov dword [ebp + 0x10], eax
xor edi, edi
inc edi
jmp 0x407750
lea ecx, [ebp - 8]
call fcn.004035a4
lea ecx, [ebp - 4]
call fcn.004035a4
lea ecx, [ebp - 0xc]
call fcn.004035a4
lea ecx, [ebp - 0x10]
call fcn.004035a4
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x4078f8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x114
push esi
push edi
mov esi, 0x20019
push esi
xor edi, edi
push str.SOFTWARE
push 0x80000002
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x70], edi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x64], edi
call fcn.004035bb
test eax, eax
je 0x407939
xor esi, esi
jmp 0x407a16
push esi
push 0x4177b4
push dword [ebp + 0x68]
lea ecx, [ebp + 0x6c]
call fcn.004035bb
test eax, eax
jne 0x407932
push esi
push str.Java_Runtime_Environment
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x70]
call fcn.004035bb
test eax, eax
jne 0x407932
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x80
mov byte [ebp - 0xa0], al
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp + 0x70]
call ebx
test eax, eax
jne 0x407a12
inc dword [ebp + 0x60]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00414a5e
test eax, eax
pop ecx
pop ecx
jle 0x4079e0
push 9
mov edi, str.1.6.0_02
lea esi, [ebp - 0x20]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4079de
lea eax, [ebp - 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4079b7
sub eax, edx
cmp eax, 3
jbe 0x4079de
xor eax, eax
mov cl, byte [ebp + eax - 0x20]
mov byte [ebp + eax - 0xa0], cl
inc eax
test cl, cl
jne 0x4079c7
mov dword [ebp + 0x64], 1
xor edi, edi
push 0x80
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call ebx
test eax, eax
je 0x407987
cmp dword [ebp + 0x64], edi
je 0x407a12
lea eax, [ebp - 0xa0]
push eax
push 0x4177e8
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esi, dword [ebp + 0x64]
pop ebx
lea ecx, [ebp + 0x70]
call fcn.004035a4
lea ecx, [ebp + 0x6c]
call fcn.004035a4
lea ecx, [ebp + 0x68]
call fcn.004035a4
pop edi
mov eax, esi
pop esi
add ebp, 0x74
leave
ret
Function at 0x407bea
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call dword [0x41b050]
push 0xf003f
xor ebx, ebx
push 0x417a28
push 0x80000002
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.004035bb
test eax, eax
je 0x407c2f
mov esi, 0x80004005
jmp 0x407d1e
push ebx
push ebx
mov esi, 0x2001f
push esi
push ebx
push ebx
push 0x417a34
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.004040ca
test eax, eax
jne 0x407c25
push ebx
push ebx
push esi
push ebx
push ebx
push 0x417a40
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.004040ca
test eax, eax
jne 0x407c25
push ebx
push ebx
push esi
push ebx
push ebx
push 0x417a4c
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
call fcn.004040ca
test eax, eax
jne 0x407c25
mov esi, dword [ebp + 8]
push 4
pop ecx
mov edi, 0x418594
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov dword [ebp - 8], 0x80004005
jne 0x407cae
push 0x417a54
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x407d1b
mov dword [ebp - 8], ebx
jmp 0x407d1b
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, ebx
mov dword [ebp - 8], eax
jl 0x407d0d
mov edi, dword [ebp - 4]
cmp edi, ebx
jne 0x407cd0
xor eax, eax
jmp 0x407cf5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0040a890
mov eax, esp
push dword [ebp - 0x1c]
push esi
push edi
push eax
call fcn.0040640a
push 0xffffffffffffffff
push ebx
push str.TransferJobID
push eax
lea ecx, [ebp - 0xc]
call fcn.00404176
test eax, eax
jne 0x407d0d
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x407d1b
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.004035a4
lea ecx, [ebp - 0x10]
call fcn.004035a4
lea ecx, [ebp - 0x14]
call fcn.004035a4
lea ecx, [ebp - 0x18]
call fcn.004035a4
mov eax, esi
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
leave
ret