joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57ad19
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ed6c
mov eax, dword fs:[0]
push eax
mov eax, 0x2454
call fcn.00532310
mov eax, dword [0x5f1114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0057b58c
test al, al
je 0x57aec1
push 0x2000
xor edi, edi
lea eax, [ebp - 0x2410]
push edi
push eax
call fcn.0054b1f0
lea eax, [ebp + 0xc]
mov esi, 0x1000
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x2410]
push esi
push eax
call fcn.00402a16
push 0x5c5330
lea eax, [ebp - 0x2410]
push esi
push eax
call fcn.00554b3f
add esp, 0x2c
lea eax, [ebp - 0x2410]
lea ecx, [ebp - 0x242c]
push eax
call fcn.004035e2
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x242c]
cmp dword [ebp - 0x2418], 8
mov eax, dword [ebp - 0x241c]
cmovae ecx, dword [ebp - 0x242c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x242c]
cmovae ecx, dword [ebp - 0x242c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2444]
call fcn.00404b52
push 0x400
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.0054b1f0
sub esp, 0xc
mov ecx, esp
push str.SystemDrive
call fcn.004036e4
lea ecx, [ebp - 0x2460]
call fcn.0057ab0a
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x57ae22
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x410]
push str._scleanInstaller.txt
push eax
call fcn.00414411
add esp, 0xc
lea ecx, [ebp - 0x2460]
push edi
push 1
call fcn.00403ae2
push edi
push 0x80
push 4
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x410]
mov dword [ebp - 0x2414], edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
push edi
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2430], 0x10
lea eax, [ebp - 0x2414]
push edi
push eax
push dword [ebp - 0x2434]
lea ecx, [ebp - 0x2444]
cmovae ecx, dword [ebp - 0x2444]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x2444]
call fcn.00403ae2
push edi
push 1
lea ecx, [ebp - 0x242c]
call fcn.00403a36
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531526
mov esp, ebp
pop ebp
ret
Function at 0x57aedc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x828
mov eax, dword [0x5f1114]
xor eax, esp
mov dword [esp + 0x824], eax
push esi
push edi
call fcn.0057b58c
test al, al
je 0x57aff0
mov esi, 0x400
lea eax, [esp + 0x28]
push esi
xor edi, edi
push edi
push eax
call fcn.0054b1f0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
lea eax, [esp + 0x34]
push esi
push eax
call fcn.0040509a
add esp, 0x14
lea eax, [esp + 0x28]
push 0x5ca058
push esi
push eax
call fcn.005561b3
add esp, 0xc
lea eax, [esp + 0x428]
push esi
push edi
push eax
call fcn.0054b1f0
sub esp, 0xc
mov ecx, esp
push str.SystemDrive
call fcn.004036e4
lea ecx, [esp + 0x24]
call fcn.0057ab0a
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x57af76
mov eax, dword [eax]
push eax
lea eax, [esp + 0x42c]
push str._scleanInstaller.txt
push eax
call fcn.00414411
add esp, 0xc
lea ecx, [esp + 0xc]
push edi
push 1
call fcn.00403ae2
push edi
push 0x80
push 4
push edi
push edi
push 0x40000000
lea eax, [esp + 0x440]
mov dword [esp + 0x3c], edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
push edi
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57afcd
push edi
lea eax, [esp + 0x28]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
xor ecx, esp
call fcn.00531526
mov esp, ebp
pop ebp
ret
Function at 0x57b865
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x24c
mov eax, 0x58ef0e
call fcn.00532017
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
lea edx, [ebp + 8]
push 8
pop esi
cmp dword [ebp + 0x1c], esi
cmovae ecx, dword [ebp + 8]
cmovae edx, dword [ebp + 8]
push edx
mov edx, fcn.00554a7b
lea eax, [ecx + eax*2]
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push eax
push ecx
lea ecx, [ebp - 0x258]
call fcn.00403b8d
add esp, 0xc
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x57b990
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x28]
call fcn.004035e2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], esi
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push edx
mov edx, fcn.00554a7b
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x258]
call fcn.00403b8d
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], esi
cmovae eax, dword [ebp + 8]
push dword [ebp + 0x18]
push eax
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402514
test eax, eax
jne 0x57b965
push dword [ebp - 0x24c]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x57b965
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00403a36
push 8
test esi, esi
pop esi
jne 0x57b8db
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00403a36
call fcn.00531fc1
ret
Function at 0x57b9a9
Capabilities:
Create process on windows

Disassembly:
push 0x68
mov eax, 0x58ef5e
call fcn.00532017
mov bl, dl
mov esi, ecx
push 0x44
pop edi
push edi
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.0054b1f0
add esp, 0xc
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x68]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
push eax
lea eax, [ebp - 0x58]
push eax
push ecx
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.visible
call fcn.004036e4
and dword [ebp - 4], 0
xor ecx, ecx
call fcn.005795a4
or edi, 0xffffffff
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.00579433
dec eax
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
xor eax, eax
push eax
push eax
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x57ba95
test bl, bl
je 0x57ba9e
push edi
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x57ba47
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x57ba9e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x5c52a4
call fcn.004036e4
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x5c4ffe
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0x5ca1d4
call fcn.004036e4
mov ecx, dword [ebp - 0x14]
xor dl, dl
mov dword [ebp - 4], edi
call fcn.00572131
add esp, 0x48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x68]
call esi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x5c52a4
call fcn.004036e4
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x5c4ffe
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
push str.runExecutable
call fcn.004036e4
mov ecx, dword [ebp - 0x14]
xor dl, dl
mov dword [ebp - 4], edi
call fcn.00572131
mov eax, dword [ebp - 0x14]
add esp, 0x48
call fcn.00531fc1
ret
Function at 0x57bc3a
Capabilities:
Get file version info

Disassembly:
push 0x24c
mov eax, 0x58efcc
call fcn.00532017
mov esi, ecx
mov dword [ebp - 0x220], esi
xor edi, edi
lea eax, [ebp - 0x21c]
push 0x20a
push edi
push eax
mov dword [ebp - 0x258], edi
call fcn.0054b1f0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x57bc92
push edi
mov ecx, esi
call fcn.004035e2
jmp 0x57bd84
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x57bc85
xor eax, eax
lea edi, [ebp - 0x22c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x22c]
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004054e1
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push dword [ebp - 0x22c]
push ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x57bd71
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], ebx
push eax
push str.StringFileInfo040904b0ProductName
push dword [ebp - 0x22c]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x220], ebx
call edi
test eax, eax
je 0x57bd71
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x250]
push eax
push str.StringFileInfo040904b0ProductVersion
push dword [ebp - 0x22c]
call edi
test eax, eax
je 0x57bd71
push dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
call fcn.004035e2
lea eax, [ebp - 0x24c]
mov ecx, esi
push eax
call fcn.00403ebc
push ebx
push 1
lea ecx, [ebp - 0x24c]
call fcn.00403a36
jmp 0x57bd79
push ebx
mov ecx, esi
call fcn.004035e2
lea ecx, [ebp - 0x22c]
call fcn.004068cd
mov eax, esi
call fcn.00531fc1
ret
Function at 0x57bd8c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x828
mov eax, 0x58efff
call fcn.00532017
mov esi, ecx
mov dword [ebp - 0x814], esi
xor edi, edi
lea ecx, [ebp - 0x82c]
push str.SOFTWAREClientsStartMenuInternet
mov dword [ebp - 0x834], edi
call fcn.004035e2
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.0054b1f0
add esp, 0xc
mov dword [ebp - 0x814], 0x400
cmp dword [ebp - 0x818], 8
lea ecx, [ebp - 0x830]
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x57be49
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x810]
push eax
push edi
push edi
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57be49
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004035e2
push edi
jmp 0x57becc
push dword [ebp - 0x830]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
cmp dword [ebp - 0x818], 8
lea ecx, [ebp - 0x830]
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x57beb6
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x810]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57beb6
push dword [ebp - 0x830]
call edi
lea eax, [ebp - 0x810]
push eax
jmp 0x57bec3
push dword [ebp - 0x830]
call edi
push 0x5c4ffc
mov ecx, esi
call fcn.004035e2
push 0
push 1
lea ecx, [ebp - 0x82c]
call fcn.00403a36
mov eax, esi
call fcn.00531fc1
ret
Function at 0x40c391
Capabilities:
Create thread

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4a8068]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [esp + 0x134]
push ebp
push esi
mov esi, dword [sym.imp.kernel32.dll_CreateEventA]
xor ebp, ebp
push edi
xor edi, edi
mov dword [ebx + 0xc], 0xbc2
mov eax, dword [0x4ab368]
inc ebp
push edi
push edi
push ebp
push edi
mov dword [ebx + 0x18], eax
call esi
push edi
push edi
push ebp
push edi
mov dword [ebx + 0x20], eax
call esi
push edi
push edi
push ebp
push edi
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x38], eax
call fcn.0044f7eb
mov dword [ebx + 0x3c], eax
lea edi, [esp + 0x20]
xor eax, eax
stosd dword es:[edi], eax
push ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor edi, edi
lea eax, [esp + 0x20]
push edi
push edi
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.SunJavaUpdateRecheckUpdateEvent
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 0xc
push edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push edi
push eax
call esi
push dword [ebx + 0x20]
mov esi, dword [sym.imp.kernel32.dll_ResetEvent]
mov dword [ebx + 0x40], eax
call esi
push dword [ebx + 0x24]
call esi
push dword [ebx + 0x38]
call esi
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
push 0x40c9dd
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x40c472
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebx + 0x20]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x20]
call esi
mov esi, dword [sym.imp.user32.dll_LoadStringA]
lea eax, [ebx + 0x54]
mov edi, 0x104
push edi
push eax
push 0x7b
push dword [ebx + 0x18]
call esi
push edi
lea eax, [esp + 0x38]
push eax
push 0x7c
push dword [ebx + 0x18]
call esi
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
jle 0x40c4c7
lea eax, [esp + 0x34]
push eax
lea eax, [ebx + 0x158]
push eax
call dword [sym.imp.kernel32.dll_lstrcpyA]
mov ecx, dword [esp + 0x138]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004484c4
add esp, 0x12c
ret 4
Function at 0x40fef6
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebx, ecx
lea ecx, [eax - 1]
push esi
mov ebp, ecx
mov dword [esp + 0x10], ecx
push edi
mov edi, edx
sar ebp, 1
mov dword [esp + 0x10], edi
mov esi, edi
cmp edi, ebp
jge 0x40ff4f
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x30
add ecx, ebx
lea eax, [ecx - 0x30]
push eax
call fcn.00403c56
movzx eax, al
xor eax, 1
imul ecx, edi, 0x30
inc eax
add esi, eax
imul eax, esi, 0x30
add ecx, ebx
add eax, ebx
push eax
call fcn.0040ad54
mov edi, esi
cmp esi, ebp
jl 0x40ff19
mov eax, dword [esp + 0x1c]
cmp esi, ebp
jne 0x40ff6e
test al, 1
jne 0x40ff6e
imul eax, eax, 0x30
imul ecx, edi, 0x30
add eax, 0xffffffd0
add eax, ebx
add ecx, ebx
push eax
call fcn.0040ad54
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x10], edi
jge 0x40ffa0
push dword [esp + 0x20]
lea esi, [edi - 1]
sar esi, 1
imul ebp, esi, 0x30
add ebp, ebx
mov ecx, ebp
call fcn.00403c56
test al, al
je 0x40ffa0
imul ecx, edi, 0x30
push ebp
add ecx, ebx
call fcn.0040ad54
mov edi, esi
cmp dword [esp + 0x10], esi
jl 0x40ff74
push dword [esp + 0x20]
imul ecx, edi, 0x30
add ecx, ebx
call fcn.0040ad54
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x4102de
Capabilities:
Delete registry key

Disassembly:
push 0x38
mov eax, 0x473013
call fcn.00448da9
mov dword [ebp - 0x14], edx
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x44], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x30], bl
test edi, edi
jne 0x410346
test esi, esi
jne 0x410326
push 0x2001f
push str.SOFTWAREJavaSoftJava_UpdatePolicyjucheck
lea ecx, [ebp - 0x44]
call fcn.004329ad
mov edi, dword [ebp - 0x3c]
jmp 0x41033b
mov ecx, str.SetJavaUpdateStringKey_was_called_with_a_NULL_value_for_the_key__so_defaulting_to_trying_jucheck_key
call fcn.00426ee5
lea ecx, [ebp - 0x10]
call fcn.0044f7eb
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x410346
mov dword [ebp - 0x18], 1
push ecx
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
call fcn.00410bb9
mov dword [ebp - 4], ebx
mov eax, edi
mov dword [ebp - 0x40], eax
test esi, esi
je 0x410380
push esi
mov dword [ebp - 0x28], 1
call fcn.00451490
pop ecx
push dword [ebp + 8]
inc eax
lea ecx, [ebp - 0x24]
add eax, esi
push eax
push esi
call fcn.00432ab5
mov eax, dword [ebp - 0x40]
test edi, edi
je 0x4103c5
test esi, esi
jne 0x410394
push dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4103be
push esi
mov dword [ebp - 0x28], 1
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push esi
push dword [ebp - 0x24]
call fcn.00449e30
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x14]
call fcn.00432a93
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
cmp dword [ebp - 0x18], 0
je 0x4103d3
lea ecx, [ebp - 0x44]
call fcn.004329e4
lea ecx, [ebp - 0x24]
call fcn.0040c03a
mov eax, ebx
call fcn.00448d72
ret
Function at 0x410470
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
sub esp, 0x44c
mov eax, dword [0x4a8068]
xor eax, esp
mov dword [esp + 0x444], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0x54]
xor ebx, ebx
mov edi, SysStringLen
mov dword [esp + 0x34], ebx
push eax
mov edx, str.LocalFileName
mov dword [esp + 0x20], edi
xor ecx, ecx
mov byte [esp + 0x34], bl
call fcn.00410192
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
je 0x4104d2
cmp dword [esp + 0x14], ebx
je 0x4104d2
lea eax, [esp + 0x50]
push eax
call esi
lea ecx, [esp + 0x50]
call fcn.0044f7eb
test eax, eax
je 0x4104f1
lea edx, [esp + 0x50]
mov ecx, edx
call fcn.00410728
lea eax, [esp + 0x50]
push eax
call esi
call fcn.0044f7eb
push ebx
mov edx, str.PreDownldStatus
xor ecx, ecx
call fcn.004102de
pop ecx
push 0x80
lea eax, [esp + 0x54]
mov dword [esp + 0x20], edi
push eax
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, ebx
call edi
test eax, eax
jne 0x410587
mov ebp, 0x20019
push ebp
lea eax, [esp + 0x54]
inc esi
push eax
lea ecx, [esp + 0x20]
call fcn.004329ad
test eax, eax
jne 0x410572
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x50]
push ebp
push eax
mov dword [esp + 0x54], ebx
mov byte [esp + 0x50], bl
call fcn.004329ad
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
test eax, eax
jne 0x410572
push str.VersionXmlURL
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x80
lea eax, [esp + 0x54]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x410527
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004484c4
add esp, 0x44c
ret
Function at 0x410728
Capabilities:
Get common file path
Parse url

Disassembly:
sub esp, 0x644
mov eax, dword [0x4a8068]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
push esi
push edi
push 0x3c
pop ebp
xor ebx, ebx
lea eax, [esp + 0x10]
push ebp
push ebx
push eax
mov edi, edx
mov byte [esp + 0x15c], bl
mov esi, ecx
call fcn.0044b900
add esp, 0xc
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x250]
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
push ebx
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
mov ebp, 0x104
test eax, eax
je 0x4107ce
push 0x100
lea eax, [esp + 0x154]
push eax
push ebp
lea eax, [esp + 0x58]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x26c]
push ebx
push eax
call fcn.0044f7eb
lea eax, [esp + 0x70]
push 0x48a8f0
push eax
call fcn.0044bd40
add esp, 0x2c
test eax, eax
je 0x410809
cmp byte [esi], bl
je 0x4107f5
mov al, byte [esi]
cmp al, 0x20
je 0x4107dc
cmp al, 9
jne 0x4107e7
push esi
call dword [sym.imp.user32.dll_CharNextA]
mov esi, eax
jmp 0x4107d2
imul ebx, ebx, 0x1f
movsx eax, al
add ebx, eax
inc esi
cmp byte [esi], 0
jne 0x4107d2
push ebx
lea eax, [esp + 0x50]
push str.jupdate__x
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
push edi
push ebp
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [esp + 0x4c]
push eax
push edi
call esi
lea eax, [esp + 0x150]
push eax
push edi
call esi
mov ecx, dword [esp + 0x650]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004484c4
add esp, 0x644
ret
Function at 0x414bc5
Capabilities:
Delete file

Disassembly:
push 0x64
mov eax, 0x473706
call fcn.00448ddd
mov esi, edx
mov edi, ecx
xor ebx, ebx
inc ebx
cmp dword [0x4ac0bc], ebx
jg 0x414c53
push str.Verify_integrity_of___s__file_from___s_...
lea ecx, [ebp - 0x28]
call fcn.00403e12
and dword [ebp - 4], 0
mov eax, str._null_
mov edx, eax
test esi, esi
mov ecx, eax
lea eax, [ebp - 0x28]
cmovne edx, esi
test edi, edi
push edx
cmovne ecx, edi
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004261a1
add esp, 0x10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], bl
push eax
push str.CheckFileIntegrity
push 0x95
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_wrappers_common_UpdateUtils.cpp
push ebx
mov ecx, 0x4ac0bc
call fcn.00427250
lea ecx, [ebp - 0x58]
call fcn.004049c7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049c7
test esi, esi
je 0x414c60
mov ecx, esi
call fcn.00426f0a
mov ebx, eax
mov edx, edi
or ecx, 0xffffffff
call fcn.0044f7eb
mov esi, eax
test ebx, ebx
je 0x414c78
test esi, esi
je 0x414d01
mov edx, edi
xor ecx, ecx
call fcn.0044f7eb
mov esi, eax
test esi, esi
je 0x414d01
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
cmp dword [0x4ac0bc], 3
jg 0x414d01
push str.Integrity_verification_failed_for___s_
lea ecx, [ebp - 0x40]
call fcn.00403e12
test edi, edi
mov dword [ebp - 4], 2
mov ecx, str._null_
lea eax, [ebp - 0x40]
cmovne ecx, edi
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004261a1
add esp, 0xc
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
push str.CheckFileIntegrity
push 0xac
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_wrappers_common_UpdateUtils.cpp
push 3
mov ecx, 0x4ac0bc
call fcn.00427250
lea ecx, [ebp - 0x70]
call fcn.004049c7
lea ecx, [ebp - 0x40]
call fcn.004049c7
mov eax, esi
call fcn.00448d87
ret