joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b7c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, ebx
push ebx
push ebx
mov dword [esi + 0xc], 0xbc2
mov eax, dword [0x427778]
push 1
push ebx
mov dword [esi + 0x18], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x34], eax
call fcn.0040bda7
mov dword [esi + 0x38], eax
call fcn.0040ed13
push dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x3c], eax
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x34]
call edi
lea eax, [ebp + 8]
push eax
push ebx
push esi
push 0x40b6ed
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x20]
call edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
mov ebx, 0x104
push ebx
lea eax, [esi + 0x58]
push eax
push 0x7b
push dword [esi + 0x18]
call edi
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x7c
push dword [esi + 0x18]
call edi
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.0040b157
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x40bb7b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
lea eax, [ebp - 8]
push eax
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x420828
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40bbae
xor eax, eax
jmp 0x40bc07
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0x1e
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetTimeFromSystemTime]
test eax, eax
jne 0x40bbd0
mov byte [ebp - 0x38], bl
lea eax, [ebp - 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40bbd6
push esi
sub eax, edx
push eax
lea eax, [ebp - 0x38]
push eax
push 1
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40bc1e
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 0x40bcb0
cmp dword [ebp - 0x20], 6
je 0x40bcab
cmp dword [ebp - 0x20], 5
jne 0x40bcb0
cmp dword [ebp - 0x1c], 1
jae 0x40bcab
lea eax, [ebp - 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40bc68
sub eax, edx
mov dword [ebp + 0x70], eax
je 0x40bc9f
lea eax, [ebp - 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40bc7c
sub eax, edx
mov dword [ebp + 0x70], eax
je 0x40bc9f
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x10]
push 0x4208b4
push eax
call fcn.00412ed1
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x40bcb0
cmp dword [ebp + 0x74], 2
jb 0x40bcb0
xor eax, eax
inc eax
jmp 0x40bcb2
xor eax, eax
add ebp, 0x78
leave
ret

Function at 0x40bcb7
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 0x40bcfe
cmp dword [ebp - 0x18], 6
jne 0x40bcf0
xor eax, eax
inc eax
jmp 0x40bd00
cmp dword [ebp - 0x18], 5
jne 0x40bcfe
xor eax, eax
inc eax
cmp dword [ebp - 0x14], eax
je 0x40bd00
xor eax, eax
add ebp, 0x78
leave
ret

Function at 0x40bd51
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 0x40bda1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x40bffb
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 0x420e08
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c093
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x420e30
push dword [ebp - 4]
call esi
push 0x420e40
push dword [ebp - 4]
call esi
push 0x420e48
push dword [ebp - 4]
call esi
push 0x420e50
push dword [ebp - 4]
call esi
push 0x420e64
push dword [ebp - 4]
call esi
push 0x420e74
push dword [ebp - 4]
call esi
push 0x420e80
push dword [ebp - 4]
call esi
push 0x420e90
push dword [ebp - 4]
call esi
push 0x420ea4
push dword [ebp - 4]
call esi
push 0x420eb8
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x40c095
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.004127c0
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 0x40c183
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 0x40c183
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 0x10], 8
cmp eax, dword [esi]
jb 0x40c166
mov ecx, dword [ebp - 8]
xor eax, eax
cmp ecx, dword [esi]
push esi
setne al
mov dword [ebp - 0x1c], eax
call fcn.00411fbd
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 0x40c1b1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c1b9
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 0x40c1f8
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x94
call esi
test eax, eax
je 0x40c214
cmp dword [ebp - 0x14], 2
jne 0x40c211
cmp dword [ebp - 0x20], 6
jae 0x40c211
cmp dword [ebp - 0x20], 4
jb 0x40c211
call fcn.0040c095
jmp 0x40c214
xor eax, eax
inc eax
pop edi
pop esi
add ebp, 0x78
leave
ret
Function at 0x40c21b
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 0x40c26d
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x94
call edi
cmp dword [ebp - 0x40], 2
jne 0x40c2ce
cmp dword [ebp - 0x4c], 4
jne 0x40c280
push str.winnt
jmp 0x40c2f9
cmp dword [ebp - 0x4c], 6
jne 0x40c2a2
cmp dword [ebp - 0x48], ebx
jne 0x40c2ff
cmp byte [ebp + 0x4a], 1
lea eax, [ebp + 0x50]
jne 0x40c29b
push str.winvista
jmp 0x40c2fc
push str.winlong
jmp 0x40c2fc
cmp dword [ebp - 0x4c], 5
jne 0x40c2ff
cmp dword [ebp - 0x48], ebx
jne 0x40c2b4
push str.win2000
jmp 0x40c2f9
cmp dword [ebp - 0x48], 1
jne 0x40c2c1
push str.winxp
jmp 0x40c2f9
cmp dword [ebp - 0x48], 2
jne 0x40c2ff
push str.win2003
jmp 0x40c2f9
cmp dword [ebp - 0x40], 1
jne 0x40c2ff
cmp dword [ebp - 0x4c], 4
jne 0x40c2f4
cmp dword [ebp - 0x48], 0xa
jne 0x40c2e7
push str.win98
jmp 0x40c2f9
cmp dword [ebp - 0x48], 0x5a
jne 0x40c2f4
push str.winme
jmp 0x40c2f9
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 0x42100c
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 0x40c31c
sub eax, edx
mov dword [ebp + 0x4c], eax
je 0x40c358
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp - 0x3c]
push str.Service_Pack__d
push eax
call fcn.00412ed1
add esp, 0xc
cmp dword [ebp + 0x64], ebx
jbe 0x40c358
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 0x40c3d2
and word [ebp - 0x74], 0
push str.Unknown
push ebx
call esi
push 0x421030
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c395
push str.GetNativeSystemInfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c395
lea ecx, [ebp - 0x74]
push ecx
call eax
jmp 0x40c39f
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test edi, edi
je 0x40c3aa
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, word [ebp - 0x74]
test eax, eax
je 0x40c3ca
cmp eax, 6
je 0x40c3c3
cmp eax, 9
jne 0x40c3d2
push str.amd64
jmp 0x40c3cf
push str.ia64
jmp 0x40c3cf
push 0x421064
push ebx
call esi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
add ebp, 0x68
leave
ret
Function at 0x40c4e5
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.00413190
lea eax, [ebp - 8]
push eax
call fcn.00413010
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
mov byte [ebp - 0x20c], bl
je 0x40c531
push eax
call fcn.00412f05
cmp eax, ebx
pop ecx
je 0x40c531
push eax
lea eax, [ebp - 0x20c]
push str._n_s::
push eax
call fcn.00412b4e
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 0x40c563
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x40c56b
push 0x4214b4
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 0x40c5f2
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 0x40c5b1
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 0x40c5d6
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 0x40c5f7
Capabilities:
Check os version

Disassembly:
push 0xa4
push 0x421638
call fcn.00411e68
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 0x40c679
cmp dword [ebp - 0xb0], 5
jb 0x40c679
mov dword [ebp - 4], esi
push 0x4214c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x40c670
push 0x4214d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c670
mov dword [ebp - 0x20], 1
or dword [ebp - 4], 0xffffffff
call fcn.0040c682
mov eax, dword [ebp - 0x20]
call fcn.00411ea3
ret
Function at 0x40c7e2
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 0x421540
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c843
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 0x40c843
movzx esi, byte [ebp - 0x208]
mov eax, esi
pop esi
leave
ret

Function at 0x40c859
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.0040c848
test eax, eax
jne 0x40c8fd
call fcn.0040bc1e
test eax, eax
je 0x40c8fd
lea eax, [ebp - 0xc]
push eax
push 1
push esi
push 0x421574
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c900
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x42159c
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 0x40c900
mov dword [ebp - 8], esi
call fcn.0040c5f7
test eax, eax
je 0x40c8f2
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x20c]
push eax
call fcn.0040c692
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x40c8f8
mov eax, dword [ebp - 0x20c]
cmp eax, 0x64
jne 0x40c900
xor esi, esi
inc esi
mov eax, esi
pop esi
leave
ret

Function at 0x40c905
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
push 0x4215b4
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c93c
push 0x4215dc
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 0x40c93e
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 SysReAllocString
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 0x40c9d1
call fcn.0040c5f7
test eax, eax
je 0x40c9a4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 8]
push 4
push eax
call fcn.0040c736
add esp, 0x10
jmp 0x40c9ad
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 0x40d19e
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push 1
push eax
call fcn.0040c9d4
test eax, eax
pop ecx
pop ecx
je 0x40d296
lea eax, [ebp - 0xc]
push eax
push 0x2001f
push 0
push 0x420648
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d296
push esi
lea eax, [ebp - 4]
push eax
push 0x420670
push dword [ebp - 8]
call fcn.0040cb11
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esp, 0xc
test eax, eax
jne 0x40d234
lea eax, [ebp - 4]
push eax
push 0x42067c
push dword [ebp - 0xc]
call fcn.0040cb11
add esp, 0xc
test eax, eax
je 0x40d234
push dword [ebp - 4]
push 0x420688
push dword [ebp - 8]
call fcn.0040bb17
add esp, 0xc
test eax, eax
je 0x40d234
push 0x420694
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 4]
push eax
push 0x4206a0
push dword [ebp - 8]
call fcn.0040cb11
add esp, 0xc
test eax, eax
jne 0x40d285
lea eax, [ebp - 4]
push eax
push 0x4206b0
push dword [ebp - 0xc]
call fcn.0040cb11
add esp, 0xc
test eax, eax
je 0x40d285
push dword [ebp - 4]
push 0x4206c0
push dword [ebp - 8]
call fcn.0040bb17
add esp, 0xc
test eax, eax
je 0x40d285
push 0x4206d0
push dword [ebp - 0xc]
call esi
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
pop esi
leave
ret
Function at 0x40d43b
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 0x4208d4
push reloc.OLEAUT32.dll_SysReAllocString
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.00402e3d
test eax, eax
jne 0x40d64d
push ebx
push 0x4208e0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
call fcn.00402e3d
test eax, eax
jne 0x40d64d
push ebx
push 0x4208ec
push dword [ebp - 0xc]
lea ecx, [ebp - 4]
call fcn.00402e3d
test eax, eax
jne 0x40d64d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x420908
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 4]
call fcn.0040ebce
test eax, eax
je 0x40d4f2
lea ecx, [ebp - 8]
call fcn.00402e26
lea ecx, [ebp - 4]
call fcn.00402e26
lea ecx, [ebp - 0xc]
call fcn.00402e26
lea ecx, [ebp - 0x10]
call fcn.00402e26
mov eax, edi
jmp 0x40d66f
push ebx
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.00402e3d
test eax, eax
jne 0x40d537
lea eax, [ebp + 0x10]
push eax
push 0x420918
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.0040ebce
test eax, eax
jne 0x40d537
push dword [ebp + 0xc]
call fcn.0040bd05
test eax, eax
pop ecx
je 0x40d537
cmp dword [ebp + 8], edi
je 0x40d645
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 0x40d5f6
push eax
lea eax, [ebp - 0x418]
push eax
mov dword [ebp + 0x10], esi
call fcn.0041ce6e
test eax, eax
pop ecx
pop ecx
jle 0x40d5eb
push ebx
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.00402e3d
test eax, eax
jne 0x40d5e8
lea eax, [ebp + 0x10]
push eax
push str.JavaHome
lea eax, [ebp - 0xc18]
push eax
lea ecx, [ebp - 8]
call fcn.0040ebce
test eax, eax
jne 0x40d5e8
cmp dword [ebp + 0x10], eax
jbe 0x40d5e8
lea eax, [ebp - 0xc18]
push eax
call fcn.0040bd05
test eax, eax
pop ecx
je 0x40d5e8
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x818]
push 0x420930
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc18]
push eax
push 0x420934
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 0x40d558
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d60d
sub eax, edx
mov dword [ebp - 0x14], eax
je 0x40d64d
lea eax, [ebp - 0x818]
push eax
push 0x420938
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 0x40d639
sub eax, ecx
mov dword [ebp + 0x10], eax
xor edi, edi
inc edi
jmp 0x40d4cb
lea ecx, [ebp - 8]
call fcn.00402e26
lea ecx, [ebp - 4]
call fcn.00402e26
lea ecx, [ebp - 0xc]
call fcn.00402e26
lea ecx, [ebp - 0x10]
call fcn.00402e26
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x40d673
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 reloc.OLEAUT32.dll_SysReAllocString
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.00402e3d
test eax, eax
je 0x40d6b4
xor esi, esi
jmp 0x40d791
push esi
push 0x420948
push dword [ebp + 0x68]
lea ecx, [ebp + 0x6c]
call fcn.00402e3d
test eax, eax
jne 0x40d6ad
push esi
push str.Java_Runtime_Environment
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x70]
call fcn.00402e3d
test eax, eax
jne 0x40d6ad
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 0x40d78d
inc dword [ebp + 0x60]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041ce6e
test eax, eax
pop ecx
pop ecx
jle 0x40d75b
push 9
mov edi, str.1.6.0_03
lea esi, [ebp - 0x20]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40d759
lea eax, [ebp - 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d732
sub eax, edx
cmp eax, 3
jbe 0x40d759
xor eax, eax
mov cl, byte [ebp + eax - 0x20]
mov byte [ebp + eax - 0xa0], cl
inc eax
test cl, cl
jne 0x40d742
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 0x40d702
cmp dword [ebp + 0x64], edi
je 0x40d78d
lea eax, [ebp - 0xa0]
push eax
push 0x42097c
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.00402e26
lea ecx, [ebp + 0x6c]
call fcn.00402e26
lea ecx, [ebp + 0x68]
call fcn.00402e26
pop edi
mov eax, esi
pop esi
add ebp, 0x74
leave
ret