joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bcc3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40bd60
push ebx
push esi
call fcn.0040bc8c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040bc20
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40bd0d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40bd5f
push edi
push eax
call fcn.0040a758
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40bd2d
call fcn.0040a803
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40bd5e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040bc20
add esp, 0x20
test eax, eax
jne 0x40bd4c
push edi
call fcn.0040a803
jmp 0x40bd54
push ebx
call fcn.0040a803
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40cf6f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416760
push 0x416758
push str.FlsAlloc
push 0x1f
call fcn.0040ce2e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40cfa3
push dword [ebp + 8]
mov ecx, esi
call dword [0x413194]
call esi
jmp 0x40cfa9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40cfef
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416770
push 0x416768
push str.FlsGetValue
push 0x21
call fcn.0040ce2e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d026
push dword [ebp + 8]
mov ecx, esi
call dword [0x413194]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40d02e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416778
push 0x416770
push str.FlsSetValue
push 0x22
call fcn.0040ce2e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d068
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x413194]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x412380
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4123ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4123ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407731
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x4a8068]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
mov ebx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
push esi
or eax, 0x2001f
mov dword [esp + 0x1c], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
call fcn.004076d5
jmp 0x407789
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00407731
mov esi, eax
test esi, esi
jne 0x4077dd
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x40777b
cmp dword [esp + 0xc], esi
je 0x4077cc
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.004075e2
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x4077ee
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004484c4
mov esp, ebp
pop ebp
ret 4
Function at 0x40be47
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push edi
xor edi, edi
lea eax, [ebp - 0x40]
push 0x3c
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0044b900
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [0x4ac0f0], 2
mov ecx, str.open
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, str.runas
push 6
cmovl eax, ecx
mov dword [ebp - 0x40], 0x3c
push edi
mov dword [ebp - 0x3c], 0x140
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
test eax, eax
je 0x40bef1
cmp dword [ebp + 0x10], 0
je 0x40bee3
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp eax, 0x669
cmove eax, ecx
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x40bef7
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret 0xc
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.0041067c
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 0x40e861
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x40e888
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040440b
jmp 0x40e93d
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x40e8aa
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x40e8ac
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x40e931
jg 0x40e8c1
test esi, esi
je 0x40e931
test ecx, ecx
jl 0x40e90a
jg 0x40e8cb
test eax, eax
je 0x40e90a
cmp edi, ecx
jg 0x40e8df
jl 0x40e8d5
cmp esi, eax
jae 0x40e8df
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.0044a3b0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x40e90d
mov edx, dword [ebp + 8]
test edi, edi
jl 0x40e931
jg 0x40e917
test esi, esi
je 0x40e931
cmp dword [ebx + 0x4c], 0
je 0x40e931
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.00457851
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e946
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x40e96d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004044e7
jmp 0x40ea3c
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x40e98f
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x40e991
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x40ea30
jg 0x40e9ae
test esi, esi
je 0x40ea30
test ecx, ecx
jl 0x40e9fb
jg 0x40e9b8
test eax, eax
je 0x40e9fb
cmp ebx, ecx
jg 0x40e9cc
jl 0x40e9c2
cmp esi, eax
jae 0x40e9cc
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.0044a3b0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x40ea02
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x40ea30
jg 0x40ea0c
test esi, esi
je 0x40ea30
cmp dword [edi + 0x4c], 0
je 0x40ea30
mov ecx, edi
call fcn.0040f023
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.00457e47
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40f06e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a8068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x40f0f0
cmp byte [esi + 0x3d], 0
je 0x40f0f0
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40f0c2
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40f0c6
sub eax, 1
je 0x40f0ca
dec eax
sub eax, 1
je 0x40f0f0
xor al, al
jmp 0x40f0f2
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40f0e7
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00457851
add esp, 0x10
cmp edi, eax
jne 0x40f0c2
cmp byte [esi + 0x3d], 0
sete al
jmp 0x40f0f2
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004484c4
leave
ret
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.004100a4
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.004100e3
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.004105a0
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.0045859c
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.00414afa
mov esi, eax
test ebx, ebx
je 0x414c78
test esi, esi
je 0x414d01
mov edx, edi
xor ecx, ecx
call fcn.00414afa
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
Function at 0x418a05
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x474238
call fcn.00448ddd
mov esi, ecx
mov dword [ebp - 0x48], esi
push 5
xor eax, eax
mov dword [ebp - 0x48], esi
pop ecx
inc eax
mov dword [ebp - 0x54], 4
cmp dword [ebp + 0xc], eax
xorps xmm0, xmm0
mov dword [ebp - 0x50], edx
cmove eax, ecx
movlpd qword [ebp - 0x4c], xmm0
lea ecx, [ebp - 0x4c]
xor edi, edi
push ecx
push eax
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x418a7c
push ecx
push dword [ebp - 0x4c]
mov ecx, esi
call fcn.00410bb9
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [esi]
call fcn.0044a3b0
add esp, 0xc
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.00448d87
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.004189ab
push eax
mov edx, str.encryption_failed__sysError
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x44]
call fcn.0040a016
add esp, 0xc
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a5b24
lea eax, [ebp - 0x60]
push eax
call fcn.0044c197
int3

Function at 0x418abc
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x50
mov eax, 0x47426d
call fcn.00448ddd
mov esi, ecx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x44], esi
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
push eax
push 1
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], edx
push eax
movlpd qword [ebp - 0x48], xmm0
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x418b27
push ecx
push dword [ebp - 0x48]
mov ecx, esi
call fcn.00410bb9
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [esi]
call fcn.0044a3b0
add esp, 0xc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.00448d87
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.004189ab
push eax
mov edx, str.decryption_failed__sysError
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x40]
call fcn.0040a016
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a5b24
lea eax, [ebp - 0x5c]
push eax
call fcn.0044c197
int3