joyce8/EMBER2024-capa huggingface dataset:
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.0046dfb5
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.0046dfb5
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.0046dfb5
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.0046dfb5
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.0046dfb5
mov esi, eax
test ebx, ebx
je 0x414c78
test esi, esi
je 0x414d01
mov edx, edi
xor ecx, ecx
call fcn.0046dfb5
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.0046dfb5
push eax
mov edx, str.encryption_failed__sysError
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x44]
call fcn.0046dfb5
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.0046dfb5
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.0046dfb5
push eax
mov edx, str.decryption_failed__sysError
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x40]
call fcn.0046dfb5
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.0046dfb5
int3
Function at 0x418bca
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0xa0
mov eax, 0x4742e0
call fcn.00448ddd
mov eax, edx
mov dword [ebp - 0x94], eax
mov esi, ecx
mov dword [ebp - 0x90], esi
xor ebx, ebx
mov dword [ebp - 0x90], esi
cmp dword [ebp + 8], ebx
jne 0x418c07
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
jmp 0x418cf3
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], ebx
push ecx
push ebx
push 0x40000001
push dword [ebp + 8]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x418cfb
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
push ebx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x90]
call fcn.00403d4b
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x90]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x40000001
push dword [ebp + 8]
push dword [ebp - 0x94]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x418cbf
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea ecx, [ebp - 0x74]
call fcn.0046dfb5
push eax
mov edx, str.binary2string__phase2__failed__sysError
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.0046dfb5
add esp, 0xc
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.00402329
push 0x4a5b24
lea eax, [ebp - 0xac]
jmp 0x418d3a
push ebx
push dword [ebp - 0x90]
lea ecx, [ebp - 0x2c]
call fcn.00403d4b
mov byte [ebp - 0x94], bl
lea eax, [ebp - 0x2c]
push dword [ebp - 0x94]
mov ecx, esi
mov dword [esi + 0x10], ebx
push eax
mov dword [esi + 0x14], ebx
call fcn.00404ba7
lea ecx, [ebp - 0x2c]
call fcn.004049c7
mov eax, esi
call fcn.00448d87
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.0046dfb5
push eax
mov edx, str.binary2string__phase1__failed__sysError
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x5c]
call fcn.0046dfb5
add esp, 0xc
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a5b24
lea eax, [ebp - 0xa0]
push eax
call fcn.0046dfb5
int3
Function at 0x418d41
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x8c
mov eax, 0x474330
call fcn.00448ddd
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x74], edi
xor esi, esi
mov dword [ebp - 0x74], edi
cmp dword [ebx + 0x10], esi
jne 0x418d6e
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
jmp 0x418e2e
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
mov dword [ebp - 0x74], esi
jb 0x418d7b
mov eax, dword [ebx]
push esi
push esi
lea ecx, [ebp - 0x74]
push ecx
push esi
push 1
push dword [ebx + 0x10]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x418e36
push ecx
push dword [ebp - 0x74]
lea ecx, [ebp - 0x80]
call fcn.00410bb9
mov dword [ebp - 4], 2
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
jb 0x418db4
mov ebx, dword [ebx]
push esi
push esi
lea ecx, [ebp - 0x74]
push ecx
push dword [ebp - 0x80]
push 1
push eax
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x418e0d
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x58]
call fcn.0046dfb5
push eax
mov edx, str.string2binary__phase2__failed__sysError
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0046dfb5
add esp, 0xc
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.00402329
push 0x4a5b24
lea eax, [ebp - 0x98]
jmp 0x418e75
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x74]
mov ecx, eax
call fcn.00418eeb
lea eax, [ebp - 0x80]
mov ecx, edi
push eax
call fcn.00418ebe
lea ecx, [ebp - 0x80]
call fcn.0040c03a
mov eax, edi
call fcn.00448d87
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.0046dfb5
push eax
mov edx, str.string2binary__phase1__failed__sysError
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x40]
call fcn.0046dfb5
add esp, 0xc
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a5b24
lea eax, [ebp - 0x8c]
push eax
call fcn.0046dfb5
int3
Function at 0x4233b8
Capabilities:
Clear file content

Disassembly:
push 0xe4
mov eax, 0x47594a
call fcn.00448ddd
mov dword [ebp - 0x38], edx
mov edi, ecx
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4233d6
mov eax, dword [edi]
mov ebx, dword [sym.imp.kernel32.dll_CreateFileA]
xor ecx, ecx
push ecx
push 0x80
push 3
push ecx
push ecx
push 0xc0000000
push eax
call ebx
mov esi, eax
mov byte [ebp - 0x3c], 1
mov dword [ebp - 0x40], esi
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, 0xffffffff
je 0x423516
mov ebx, dword [sym.imp.kernel32.dll_SetFilePointerEx]
push eax
push eax
push eax
push dword [ebp - 0x38]
push esi
call ebx
test eax, eax
jne 0x423489
push 0x16c
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x58]
call fcn.00402dde
push eax
push str.System_error
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push ebx
push str.:_seek_failed
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.00403e50
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 5
call fcn.00402b9d
mov byte [ebp - 4], 6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00405461
mov ecx, eax
call fcn.0040544d
push eax
lea ecx, [ebp - 0x4c]
call fcn.00435e5f
mov byte [ebp - 4], 8
jmp 0x423580
mov ebx, dword [sym.imp.kernel32.dll_SetEndOfFile]
push esi
call ebx
test eax, eax
jne 0x423502
push 0x170
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x58]
call fcn.00402dde
push eax
push str.System_error
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push ebx
push str.:_cannot_set_EOF
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.00403e50
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 9
call fcn.00402b9d
mov byte [ebp - 4], 0xa
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00405461
mov ecx, eax
call fcn.0040544d
push eax
lea ecx, [ebp - 0x4c]
call fcn.00435e5f
mov byte [ebp - 4], 0xc
jmp 0x423580
push esi
mov dword [ebp - 4], 0xd
call fcn.00436a38
pop ecx
call fcn.00448d87
ret
push 0x166
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x4c]
call fcn.00402dde
push eax
push str.System_error
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push ebx
push str.:_cannot_open
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.00403e50
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.00402b9d
mov byte [ebp - 4], 2
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00405461
mov ecx, eax
call fcn.0040544d
push eax
lea ecx, [ebp - 0x58]
call fcn.00435e5f
mov byte [ebp - 4], 4
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.0041e178
lea eax, [ebp - 0x34]
mov dword [esp], 0x4a5da4
push eax
call fcn.0046dfb5
int3
Function at 0x424ab7
Capabilities:
Check http status code

Disassembly:
push 0x84
mov eax, 0x475e0e
call fcn.00448ddd
mov edi, ecx
push ecx
push 0x13
call fcn.0042457f
mov esi, eax
cmp esi, 0xc8
je 0x424b7d
cmp esi, 0xce
je 0x424b7d
cmp esi, 0x193
jne 0x424b3f
push 0x4880ad
lea ecx, [ebp - 0x2c]
call fcn.00403e12
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push 0x14
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.004246bc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004049c7
push 0
push str.Export_Denied
lea ecx, [ebp - 0x44]
call fcn.0040bf23
cmp eax, 0xffffffff
jne 0x424b83
or dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
call fcn.00403dc0
push esi
lea ecx, [ebp - 0x90]
call fcn.004223a6
mov edx, eax
push 0x2ce
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 4
call fcn.00402dde
push eax
lea ecx, [ebp - 0x70]
call fcn.004257e2
mov dword [esp], 0x4a5f48
jmp 0x424bbb
call fcn.00448d87
ret
lea ecx, [ebp - 0x90]
call fcn.00422438
mov edx, eax
push 0x2cb
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00402dde
push eax
lea ecx, [ebp - 0x70]
call fcn.0042581b
mov dword [esp], 0x4a6008
lea eax, [ebp - 0x70]
push eax
call fcn.0046dfb5
int3

Function at 0x424e30
Capabilities:
Check http status code
Check internet connectivity via wininet

Disassembly:
push 0xf4
mov eax, 0x475ee4
call fcn.00448e4b
xor ebx, ebx
lea eax, [ebp - 0xe4]
push ebx
push eax
mov dword [ebp - 0xe4], ebx
call dword [sym.imp.wininet.dll_InternetGetConnectedState]
test eax, eax
je 0x424e60
mov al, 1
jmp 0x424f8c
test byte [ebp - 0xe4], 0x40
jne 0x424e59
push str.http:__java.sun.com
lea ecx, [ebp - 0x48]
mov byte [ebp - 0xdd], bl
mov dword [ebp - 4], ebx
call fcn.00403e12
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xdc]
call fcn.00422642
push ebx
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
mov dword [eax + 0x1c], 2
mov word [eax + 0x18], 1
call fcn.0046dfb5
push ecx
push 0x13
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0042457f
lea ecx, [ebp - 0x100]
mov esi, eax
call fcn.0046dfb5
lea ecx, [ebp - 0xdc]
call fcn.004226af
lea ecx, [ebp - 0x48]
call fcn.004049c7
cmp esi, 0xc8
je 0x424ef4
cmp esi, 0x197
jne 0x424f8a
mov bl, 1
jmp 0x424f8a
mov al, bl
call fcn.00448d98
ret
Function at 0x42a3d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push pe_nt_image_headers32
mov eax, 0x476d41
call fcn.00448ddd
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
call fcn.0042a3b3
mov ebx, eax
test ebx, ebx
je 0x42a4bf
mov esi, dword [sym.imp.kernel32.dll_LoadResource]
push ebx
push dword [edi + 0x38]
call esi
test eax, eax
jne 0x42a477
push str.cannot_load_resource
lea ecx, [ebp - 0x2c]
call fcn.00403e12
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.0042a2f5
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 5
call fcn.00426e87
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x84]
call fcn.00435e5f
mov edx, eax
push 0x46
push str.Resource::getPtr
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_Resources.cpp
jmp 0x42a52c
push eax
call dword [sym.imp.kernel32.dll_LockResource]
cmp dword [edi + 0x34], 6
mov esi, eax
jne 0x42a4a6
mov ecx, dword [edi + 0x18]
and ecx, 0xf
jbe 0x42a49c
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x42a48e
movzx eax, word [esi]
add eax, eax
add esi, 2
jmp 0x42a4b0
push ebx
push dword [edi + 0x38]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov eax, esi
call fcn.00448d87
ret 4
push str.cannot_find_resource
lea ecx, [ebp - 0x2c]
call fcn.00403e12
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.0042a2f5
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 1
call fcn.00426e87
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push dword [sym.imp.kernel32.dll_FindResourceA]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x78]
call fcn.00435e5f
mov edx, eax
push 0x41
push str.Resource::getPtr
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_Resources.cpp
call fcn.00402dde
push eax
lea ecx, [ebp - 0x50]
call fcn.0041e178
lea eax, [ebp - 0x50]
mov dword [esp], 0x4a5da4
push eax
call fcn.0046dfb5
int3

Function at 0x42a7fb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x42a803
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
ret

Function at 0x42a811
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x42a819
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42a82c
test al, 0x10
je 0x42a82c
mov al, 1
ret
xor al, al
ret