joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f152
Capabilities:
Delete registry key

Disassembly:
push 0x38
mov eax, 0x46a91a
call fcn.00452594
mov eax, dword [ebp + 8]
xor ebx, ebx
xor edi, edi
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x2c], bl
cmp eax, ebx
jne 0x40f1be
cmp dword [ebp + 0x10], ebx
jne 0x40f19b
push 0x2001f
push str.SOFTWAREJavaSoftJava_UpdatePolicyjucheck
lea eax, [ebp - 0x40]
call fcn.00433b08
mov eax, dword [ebp - 0x38]
mov dword [ebp + 8], eax
jmp 0x40f1b0
push str.SetJavaUpdateStringKey_was_called_with_a_NULL_value_for_the_key__so_defaulting_to_trying_jucheck_key
call fcn.00426753
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.0040eefc
pop ecx
cmp dword [ebp + 8], ebx
je 0x40f1c1
mov dword [ebp - 0x10], 1
jmp 0x40f1c1
mov dword [ebp + 8], eax
xor esi, esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0040faa8
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x10], ebx
je 0x40f1f2
push dword [ebp + 0x10]
lea ebx, [ebp - 0x24]
call fcn.00433cf8
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40f23f
cmp dword [ebp + 0x10], ebx
jne 0x40f20a
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x40f238
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x20]
call fcn.0044abe0
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
call fcn.00433be2
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp - 0x10], ebx
je 0x40f24c
lea esi, [ebp - 0x40]
call fcn.00433b3f
lea esi, [ebp - 0x20]
call fcn.0043484a
mov eax, edi
call fcn.0045266c
ret
Function at 0x40f2f1
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x4976a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x40c]
xor ebx, ebx
push eax
mov esi, SysStringLen
push ebx
lea edx, [ebp - 0x408]
mov ecx, str.LocalFileName
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x410], ebx
mov byte [ebp - 0x414], bl
mov dword [ebp - 0x40c], 0x400
call fcn.0040efee
pop ecx
pop ecx
test eax, eax
je 0x40f35d
cmp dword [ebp - 0x40c], ebx
je 0x40f35d
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [ebp - 0x408]
call fcn.0040ef3a
test eax, eax
je 0x40f380
mov eax, edi
push eax
mov ecx, edi
call fcn.0040f5e1
pop ecx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.0040f458
push ebx
push str.PreDownldStatus
push ebx
call fcn.0040f152
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push 0x80
lea eax, [ebp - 0x408]
push eax
push ebx
push esi
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x424], esi
call edi
test eax, eax
jne 0x40f449
mov esi, 0x20019
inc dword [ebp - 0x40c]
push esi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x428]
call fcn.00433b08
cmp eax, ebx
jne 0x40f427
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x444], eax
push esi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x430], bl
call fcn.00433b08
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x440], ecx
cmp eax, ebx
jne 0x40f427
push str.VersionXmlURL
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x80
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x40c]
push dword [ebp - 0x424]
call edi
test eax, eax
je 0x40f3c3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a659
leave
ret
Function at 0x40f5e1
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x64c
mov eax, dword [0x4976a0]
xor eax, ebp
mov dword [ebp + 0x5c8], eax
mov eax, dword [ebp + 0x5d4]
push ebx
push esi
push edi
push 0x3c
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x3c4], bl
call fcn.0044c700
lea eax, [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x50], 0x400
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edi, 0x104
cmp eax, ebx
je 0x40f689
push pe_nt_image_headers32
lea eax, [ebp + 0x3c4]
push eax
push edi
lea eax, [ebp + 0x4c4]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.0044df5d
lea eax, [ebp + 0x4c4]
push 0x47ae70
push eax
call fcn.0044ca90
add esp, 0x2c
test eax, eax
je 0x40f6d2
mov eax, esi
mov dword [ebp - 0x40], ebx
cmp byte [esi], bl
je 0x40f6ba
mov cl, byte [eax]
cmp cl, 0x20
je 0x40f69e
cmp cl, 9
jne 0x40f6a7
push eax
call dword [sym.imp.USER32.dll_CharNextA]
jmp 0x40f692
mov ecx, dword [ebp - 0x40]
movsx edx, byte [eax]
imul ecx, ecx, 0x1f
add ecx, edx
inc eax
mov dword [ebp - 0x40], ecx
cmp byte [eax], bl
jne 0x40f692
push dword [ebp - 0x40]
lea eax, [ebp + 0x4c4]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [ebp - 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x4c4]
push eax
push dword [ebp - 0x44]
call esi
lea eax, [ebp + 0x3c4]
push eax
push dword [ebp - 0x44]
call esi
mov ecx, dword [ebp + 0x5c8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a659
add ebp, 0x5cc
leave
ret
Function at 0x41410a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a857
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4976a0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x4976a0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
cmp dword [0x49c100], 1
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov ebx, str.CheckFileIntegrity
mov edi, str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_wrappers_common_UpdateUtils.cpp
mov esi, 0x49c100
jg 0x4141d9
push str.Verify_integrity_of___s__file_from___s_...
lea ecx, [esp + 0x24]
call fcn.00402450
and dword [esp + 0xa0], 0
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
call fcn.00414366
pop ecx
push ebx
push 0x95
push edi
push 1
mov edx, eax
mov ecx, esi
mov byte [esp + 0xb0], 1
call fcn.00421620
push 0
push 1
lea ecx, [esp + 0x60]
call fcn.0040320c
or dword [esp + 0xa0], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.0040320c
cmp dword [esp + 0x14], 0
jne 0x4141ea
mov dword [esp + 0x14], 1
jmp 0x4141f8
push dword [esp + 0x14]
call fcn.00426781
pop ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
call fcn.0041402a
cmp dword [esp + 0x18], 0
pop ecx
mov dword [esp + 0x1c], eax
je 0x414217
test eax, eax
je 0x41429e
mov ecx, dword [esp + 0x18]
push 0
call fcn.0041402a
pop ecx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x41429e
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x49c100], 3
jg 0x41429e
push str.Integrity_verification_failed_for___s_
lea ecx, [esp + 0x40]
call fcn.00402450
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x40]
mov dword [esp + 0xa4], 2
call fcn.0040ad6d
pop ecx
push ebx
push 0xac
push edi
push 3
mov edx, eax
mov ecx, esi
mov byte [esp + 0xb0], 3
call fcn.00421620
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.0040320c
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.0040320c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0044a659
mov esp, ebp
pop ebp
ret
Function at 0x41855c
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x468a7d
call fcn.004525fd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
dec ecx
push 4
neg ecx
sbb ecx, ecx
mov esi, edx
pop edx
and ecx, 0xfffffffc
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
add ecx, edx
lea eax, [ebp - 0x54]
push eax
or ecx, 1
push ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], edx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x4185e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.004184f6
push eax
lea eax, [ebp - 0x4c]
push str.encryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00408a07
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040102d
push 0x4875d4
mov eax, esi
push eax
call fcn.00452164
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.0040faa8
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.0044a670
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.00452680
ret

Function at 0x418620
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x468a7d
call fcn.004525fd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
mov esi, edx
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x41869e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.004184f6
push eax
lea eax, [ebp - 0x4c]
push str.decryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00408a07
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040102d
push 0x4875d4
mov eax, esi
push eax
call fcn.00452164
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.0040faa8
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.0044a670
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.00452680
ret
Function at 0x418747
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x468a48
call fcn.004525fd
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
cmp dword [ebp + 0xc], ecx
jne 0x418776
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ecx
mov byte [edi], cl
jmp 0x41886f
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea edx, [ebp - 0x68]
push edx
push ecx
mov ebx, 0x40000001
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
push eax
call esi
test eax, eax
jne 0x4187d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x64]
call fcn.004184f6
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.00408a07
add esp, 0x14
mov byte [ebp - 4], 1
lea esi, [ebp - 0x78]
call fcn.0040102d
push 0x4875d4
mov eax, esi
push eax
call fcn.00452164
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00418af2
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x418801
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x6c]
call esi
test eax, eax
jne 0x418843
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x48]
call fcn.004184f6
push eax
lea eax, [ebp - 0x64]
push str.binary2string__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00408a07
add esp, 0x14
mov byte [ebp - 4], 4
jmp 0x4187bf
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00418af2
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea esi, [ebp - 0x2c]
mov byte [edi], 0
call fcn.00403055
push 0
push 1
mov ecx, esi
call fcn.0040320c
mov eax, edi
call fcn.00452680
ret
Function at 0x418877
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x98
mov eax, 0x4689f8
call fcn.004525fd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x84], ebx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x88], eax
cmp ecx, ebx
jne 0x4188ad
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4189e7
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
jb 0x4188bd
mov eax, dword [edi]
jmp 0x4188bf
mov eax, edi
push ebx
push ebx
lea edx, [ebp - 0x84]
push edx
push ebx
push 1
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x418918
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x48]
call fcn.004184f6
push eax
lea eax, [ebp - 0x80]
push str.string2binary__phase1__failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00408a07
add esp, 0x14
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.0040102d
push 0x4875d4
mov eax, esi
push eax
call fcn.00452164
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
call fcn.0040faa8
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x41894d
mov edi, dword [edi]
push ebx
push ebx
lea ecx, [ebp - 0x84]
push ecx
push dword [ebp - 0x98]
push 1
push eax
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4189ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x64]
call fcn.004184f6
push eax
lea eax, [ebp - 0x2c]
push str.string2binary__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00408a07
add esp, 0x14
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.0040102d
push 0x4875d4
mov eax, esi
jmp 0x418912
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
call fcn.0040faa8
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0x98]
call fcn.00418b0d
cmp dword [ebp - 0x98], ebx
je 0x4189e1
push dword [ebp - 0x98]
call fcn.0044a64e
pop ecx
mov eax, dword [ebp - 0x88]
call fcn.00452680
ret

Function at 0x419211
Capabilities:
Hide graphical window

Disassembly:
push 0x34
mov eax, 0x46fabd
call fcn.00452594
mov edi, ecx
lea ebx, [edi + 0x44]
mov eax, ebx
lea esi, [ebp - 0x28]
call fcn.00436d5b
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], 0
and dword [edi + 0x50], 0
mov ecx, edi
call fcn.00419308
mov eax, esi
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.00436f9a
lea ebx, [edi + 0x54]
mov eax, ebx
lea esi, [ebp - 0x40]
call fcn.00436d5b
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + 4]
test eax, eax
je 0x41926f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x40]
call fcn.00436da5
mov edi, dword [edi + 0x50]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00436da5
mov eax, edi
call fcn.0045266c
ret
Function at 0x419296
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d953
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4976a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea edi, [ebx + 0x44]
mov eax, edi
lea esi, [esp + 0xc]
call fcn.00436d5b
mov dword [esp + 0x20], edi
and dword [esp + 0x30], 0
mov eax, dword [ebp + 8]
push 0
mov dword [ebx + 0x50], eax
push dword [edi + 8]
call fcn.00437102
or dword [esp + 0x30], 0xffffffff
mov ecx, esi
call fcn.00436da5
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41a39e
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x41a3b4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x41a3c7
and dword [eax + 8], 0
call fcn.0041c6b4
mov eax, dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 4]
and dword [eax + 4], 0
pop esi
pop ebx
ret

Function at 0x422d61
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469e23
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4976a0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4976a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x422e05
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], str.Destination_buffer_cant_be_NULL
call fcn.0044aaac
mov dword [esp + 0x20], vtable.std::invalid_argument.0
mov dword [esp + 0x80], ebx
lea eax, [esp + 0x48]
push eax
lea esi, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_common_share_tstrings.cpp
mov dword [esp + 0x1c], str.tstrings::unsafe_format
mov dword [esp + 0x20], 0x1b
call fcn.0042367c
lea eax, [esp + 0x4c]
mov dword [esp], 0x48792c
push eax
call fcn.00452164
push 0xf
pop esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x80], 1
mov eax, dword [esp + 0x3c]
add eax, 0x100
lea ecx, [esp + 0x2c]
call fcn.00418af2
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x422e40
lea eax, [esp + 0x2c]
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [esp + 0x48]
push eax
call fcn.0044fe88
add esp, 0x14
cmp eax, 0xffffffff
je 0x422e1f
lea ecx, [esp + 0x2c]
call fcn.00418af2
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
lea esi, [esp + 0x2c]
mov byte [edi], bl
call fcn.00403055
push ebx
push 1
mov ecx, esi
call fcn.0040320c
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044a659
mov esp, ebp
pop ebp
ret
Function at 0x429b7a
Capabilities:
Check http status code

Disassembly:
push 0x94
mov eax, 0x46d6de
call fcn.004525fd
mov esi, ecx
push esi
push 0x13
pop ecx
call fcn.004295d8
mov dword [ebp - 0x8c], eax
cmp eax, 0xc8
je 0x429cc1
cmp eax, 0xce
je 0x429cc1
cmp eax, 0x193
jne 0x429c74
push 0x476f2c
lea ecx, [ebp - 0x4c]
call fcn.00402450
push 0x14
xor edi, edi
push esi
lea ecx, [ebp - 0x4c]
lea ebx, [ebp - 0x30]
mov dword [ebp - 4], edi
call fcn.00429762
push edi
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0040320c
mov esi, str.Export_Denied
push esi
call fcn.0044c4d0
pop ecx
push eax
push esi
mov eax, ebx
push eax
xor eax, eax
call fcn.0040ab50
cmp eax, 0xffffffff
je 0x429c65
mov edi, 0x193
lea ecx, [ebp - 0xa0]
call fcn.0042728b
mov dword [ebp - 0xa0], vtable.HttpConnection::export_compliance_error.0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x7c]
push eax
lea esi, [ebp - 0x88]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x88], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x84], str.HttpConnection::Response::checkStatus
mov dword [ebp - 0x80], 0x2cb
call fcn.0042a9b3
mov dword [esp], 0x487b0c
lea eax, [ebp - 0x7c]
push eax
call fcn.00452164
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.0040320c
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0xa0]
call fcn.0042728b
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 4
push ecx
lea esi, [ebp - 0x88]
mov ecx, eax
mov dword [ebp - 0x88], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_NetUtils.cpp
mov dword [ebp - 0x84], str.HttpConnection::Response::checkStatus
mov dword [ebp - 0x80], 0x2ce
call fcn.0042a954
mov dword [esp], 0x487aa8
jmp 0x429c5c
call fcn.00452680
ret

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

Disassembly:
push 0x114
mov eax, 0x4706be
call fcn.00452633
xor ebx, ebx
push ebx
lea eax, [ebp - 0x104]
push eax
mov dword [ebp - 0x104], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x429fe7
mov al, 1
jmp 0x42a08b
test byte [ebp - 0x104], 0x40
jne 0x429fe0
push str.http:__java.sun.com
lea ecx, [ebp - 0x34]
mov byte [ebp - 0xfd], bl
mov dword [ebp - 4], ebx
call fcn.00402450
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 1
call fcn.00427469
push ebx
lea ecx, [ebp - 0x120]
push ecx
mov byte [ebp - 4], 2
push eax
mov dword [eax + 0x20], 2
mov word [eax + 0x1c], 1
call fcn.0042824a
push eax
push 0x13
pop ecx
mov byte [ebp - 4], 3
call fcn.004295d8
mov esi, eax
lea eax, [ebp - 0x120]
push eax
mov byte [ebp - 4], 2
call fcn.00413fd1
lea edi, [ebp - 0xfc]
call fcn.004274ca
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.0040320c
cmp esi, 0xc8
je 0x42a07e
cmp esi, 0x197
jne 0x42a085
mov byte [ebp - 0xfd], 1
mov al, byte [ebp - 0xfd]
call fcn.0045268f
ret
Function at 0x42a127
Capabilities:
Parse url

Disassembly:
push 0x5c
mov eax, 0x468876
call fcn.004525fd
push 0x38
lea eax, [ebp - 0x64]
push 0
push eax
mov esi, ecx
mov edi, edx
call fcn.0044c700
xor ebx, ebx
inc ebx
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x54], ebx
jb 0x42a15c
mov esi, dword [esi]
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x42a173
xor al, al
jmp 0x42a1b7
mov eax, dword [ebp - 0x5c]
push 3
pop ecx
sub eax, ecx
je 0x42a188
dec eax
je 0x42a184
mov dword [edi], ebx
jmp 0x42a18e
mov dword [edi], ecx
jmp 0x42a18e
mov dword [edi], 2
push dword [ebp - 0x54]
lea esi, [ebp - 0x2c]
push dword [ebp - 0x58]
call fcn.00403697
and dword [ebp - 4], 0
add edi, 4
mov esi, eax
call fcn.00403055
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040320c
mov al, bl
call fcn.00452680
ret

Function at 0x42b130
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0044c700
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp word [ebp - 0x24], 9
sete al
leave
ret

Function at 0x42b7cf
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x467f28
call fcn.004525fd
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x30], eax
mov esi, 0x104
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.0042a5ca
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
sub edi, esi
push edi
call ebx
cmp eax, edi
jbe 0x42b82b
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.0042a5ca
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
push esi
sub eax, esi
push eax
call ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402450
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0042c7d8
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040320c
test esi, esi
je 0x42b85a
push esi
call fcn.0044a64e
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.00452680
ret