joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1217fc20
Capabilities:
Impersonate user

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 8
call dword [sym.imp.kernel32.dll_SetLastError]
cmp dword [ebp + 8], 0
je 0x1217fc69
mov eax, dword [ebp + 8]
push eax
call fcn.12171010
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1217fc69
jmp 0x1217fcc4
cmp dword [ebp + 0xc], 0
je 0x1217fc86
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.12171010
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1217fc86
jmp 0x1217fcc4
cmp dword [ebp + 0x10], 0
je 0x1217fca3
mov edx, dword [ebp + 0x10]
push edx
call fcn.12171010
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1217fca3
jmp 0x1217fcc4
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_LogonUserA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x1217fcd4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 8], 0
je 0x1217fce4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 4], 0
je 0x1217fcf4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x12182870
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.12171010
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1218289d
jmp 0x121828ae
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x121828be
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x121828d0
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x12182903
mov eax, dword [ebp + 0xc]
push eax
call fcn.12171010
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x12182903
jmp 0x12182914
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x12182924
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x12182940
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 8
mov eax, dword [ebp + 0x14]
push eax
push 0
call fcn.12171010
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x12182968
jmp 0x12182999
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp dword [ebp - 4], 0
je 0x121829a9
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x121829c0
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
push 0
call fcn.12171010
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x121829f5
jmp 0x12182a91
cmp dword [ebp + 0x1c], 0
je 0x12182a1e
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
push edx
push 0
call fcn.12171010
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x12182a16
jmp 0x12182a91
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x24]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp + 0x1c], 0
je 0x12182a91
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
cmp dword [ebp - 8], 0
je 0x12182aa1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 0x10], 0
je 0x12182ab1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 0x20
Function at 0x12182e00
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x12182e33
mov eax, dword [ebp + 0xc]
push eax
call fcn.12171010
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x12182e33
jmp 0x12182e6c
mov ecx, dword [ebp + 0x34]
push ecx
mov edx, dword [ebp + 0x30]
push edx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x12182e7c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x30

Function at 0x12182e90
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 8
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
shr ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], 0
je 0x12182ed4
mov edx, dword [ebp + 0xc]
push edx
call fcn.12171010
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x12182ed4
jmp 0x12182f3e
cmp dword [ebp + 0x10], 0
je 0x12182ef3
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.12171010
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x12182ef3
jmp 0x12182f3e
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x12182f3e
cmp dword [ebp - 4], 0
je 0x12182f34
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
shr eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
push 0
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0xc]
shl eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebp - 0x10], 0
je 0x12182f4e
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 4], 0
je 0x12182f5e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x12183460
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 8
call dword [sym.imp.kernel32.dll_SetLastError]
cmp dword [ebp + 0xc], 0
je 0x121834ab
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.12171010
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x121834ab
jmp 0x1218353c
cmp dword [ebp + 0x14], 0
je 0x1218351f
cmp dword [ebp + 0x10], 1
je 0x121834bd
cmp dword [ebp + 0x10], 2
jne 0x121834ec
mov edx, dword [ebp + 0x14]
push edx
call fcn.12171010
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x121834d4
jmp 0x1218353c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.kernel32.dll_lstrlenA]
add eax, 1
mov dword [ebp + 0x18], eax
jmp 0x1218351f
cmp dword [ebp + 0x10], 7
jne 0x1218351f
mov edx, dword [ebp + 0x14]
push edx
call fcn.12171010
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x12183509
jmp 0x1218353c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.kernel32.dll_lstrlenA]
add eax, 1
mov dword [ebp + 0x18], eax
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
je 0x1218354c
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 0xc], 0
je 0x1218355c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x12183570
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
push 8
call dword [sym.imp.kernel32.dll_SetLastError]
cmp dword [ebp + 0xc], 0
je 0x121835bb
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.12171010
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x121835bb
jmp 0x1218364b
cmp dword [ebp + 0x18], 0
je 0x1218362a
cmp dword [ebp + 0x14], 1
je 0x121835cd
cmp dword [ebp + 0x14], 2
jne 0x121835fc
mov edx, dword [ebp + 0x18]
push edx
call fcn.12171010
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x121835e4
jmp 0x1218364b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.kernel32.dll_lstrlenA]
add eax, 1
mov dword [ebp + 0x1c], eax
jmp 0x1218362a
cmp dword [ebp + 0x14], 7
jne 0x1218362a
mov edx, dword [ebp + 0x18]
push edx
call sym.SQLUNIRL.dll_AllocConvertMultiSZNameToA
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x12183619
jmp 0x1218364b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x1218365b
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 0x10], 0
je 0x1218366b
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x121836e0
Capabilities:
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 8
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x1218371a
mov eax, dword [ebp + 8]
push eax
call fcn.12171010
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1218371a
jmp 0x12183754
cmp dword [ebp + 0xc], 0
je 0x12183737
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.12171010
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x12183737
jmp 0x12183754
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x12183764
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp - 8], 0
je 0x12183774
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x14
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.004523ea
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.004523ea
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.004523ea
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.004523ea
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.004523ea
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.004523ea
mov esi, eax
test ebx, ebx
je 0x414c78
test esi, esi
je 0x414d01
mov edx, edi
xor ecx, ecx
call fcn.004523ea
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