joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410ea9
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, ecx
test esi, esi
jg 0x410ec9
jl 0x410ec0
test ebx, ebx
jne 0x410ec9
xor eax, eax
xor edx, edx
jmp 0x410f8c
cmp dword [ebp + 0x38], 0
je 0x410edf
push esi
push ebx
push dword [esp + 0x18]
call fcn.0040706e
jmp 0x410f8c
mov eax, dword [ebp + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x410f23
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x410f23
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.00405dbe
mov eax, dword [ebp + 0x2c]
add edi, esi
mov dword [esp + 0x20], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x410f2b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
je 0x410f82
mov ecx, ebp
call fcn.004104dd
mov ecx, dword [esp + 0x14]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x410f6d
push dword [ebp + 0x4c]
push eax
push 1
push ecx
call fcn.004600e9
mov ecx, dword [esp + 0x24]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x14], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x410f82
jmp 0x410f3e
test edx, edx
je 0x410f82
push dword [ebp + 0x4c]
push edi
push 1
push ecx
call fcn.004600e9
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb esi, 0
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x4111fc
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x4b4294]
xor eax, ebp
mov dword [ebp + 0x3b8], eax
push ebx
push esi
push edi
mov ebx, SysStringLen
lea ecx, [ebp - 0x64]
push ebx
call fcn.00437c16
lea eax, [ebp - 0x48]
push 0x400
push eax
call fcn.0041183f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
js 0x411248
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call fcn.004115e3
pop ecx
test eax, eax
je 0x411268
lea eax, [ebp - 0x48]
push eax
push eax
call fcn.004116e3
pop ecx
pop ecx
lea eax, [ebp - 0x48]
push eax
call esi
call fcn.0041131c
xor edi, edi
push edi
push str.PreDownldStatus
push edi
call fcn.00411926
add esp, 0xc
lea ecx, [ebp - 0x64]
push ebx
call fcn.00437c49
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.00437c90
test eax, eax
jne 0x411304
mov ebx, 0x20019
push ebx
lea eax, [ebp - 0x48]
inc edi
push eax
lea ecx, [ebp - 0x64]
call fcn.00437ca9
lea ecx, [ebp - 0x64]
mov esi, eax
call fcn.0040830e
test esi, esi
jne 0x4112f3
push eax
lea ecx, [ebp - 0x80]
call fcn.00437c16
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
call fcn.00437ca9
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.0040830e
push eax
lea ecx, [ebp - 0x80]
call fcn.00437c49
test esi, esi
jne 0x4112f3
push str.VersionXmlURL
lea ecx, [ebp - 0x80]
call fcn.00437c80
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.00437c90
test eax, eax
je 0x41129d
mov ecx, dword [ebp + 0x3b8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f332
add ebp, 0x3bc
leave
ret
Function at 0x4116e3
Capabilities:
Get common file path
Parse url

Disassembly:
sub esp, 0x644
mov eax, dword [0x4b4294]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x654]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x65c]
push 0x3c
pop ebx
push ebx
push 0
push eax
mov byte [esp + 0x15c], 0
call fcn.00452680
add esp, 0xc
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x250]
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x3c], eax
xor ebx, ebx
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 0x411795
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.00461364
lea eax, [esp + 0x70]
push 0x489220
push eax
call fcn.00452c80
add esp, 0x2c
test eax, eax
je 0x4117b1
push 1
push esi
call fcn.00411f99
push eax
lea eax, [esp + 0x58]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
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.0044f332
add esp, 0x644
ret
Function at 0x4156f7
Capabilities:
Delete file

Disassembly:
push 0x6c
mov eax, 0x47d124
call fcn.0044f3a5
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
inc ebx
push ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], esi
call fcn.00424fbb
mov ecx, eax
call fcn.004252a1
test al, al
je 0x415780
push str.Verify_integrity_of___s__file_from___s_...
lea ecx, [ebp - 0x28]
call fcn.0040317d
and dword [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004155de
add esp, 0x10
push eax
push str.CheckFileIntegrity
push 0x95
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_wrappers_common_UpdateUtils.cpp
push ebx
mov byte [ebp - 4], bl
call fcn.00424fbb
mov ecx, eax
call fcn.004252ad
lea ecx, [ebp - 0x58]
call fcn.00405bc4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405bc4
test esi, esi
je 0x41578d
push esi
call fcn.004270cb
pop ecx
mov ebx, eax
push edi
push 0xffffffffffffffff
call fcn.00415c24
mov esi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4157a5
test esi, esi
je 0x415828
push edi
push 0
call fcn.00415c24
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x415828
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 3
call fcn.00424fbb
mov ecx, eax
call fcn.004252a1
test al, al
je 0x415828
push str.Integrity_verification_failed_for___s_
lea ecx, [ebp - 0x40]
call fcn.0040317d
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040aca6
add esp, 0xc
push eax
push str.CheckFileIntegrity
push 0xac
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_wrappers_common_UpdateUtils.cpp
push 3
mov byte [ebp - 4], 3
call fcn.00424fbb
mov ecx, eax
call fcn.004252ad
lea ecx, [ebp - 0x70]
call fcn.00405bc4
lea ecx, [ebp - 0x40]
call fcn.00405bc4
mov eax, esi
call fcn.0044f354
ret
Function at 0x41a505
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x68
mov eax, 0x47def4
call fcn.0044f3a5
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x5c], eax
cmp dword [ebp + 0x10], edx
jne 0x41a53d
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 0xf
mov byte [esi], dl
jmp 0x41a657
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], edx
push ecx
push edx
push 0x40000001
push dword [ebp + 0x10]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x41a65f
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], cl
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], 2
test eax, eax
jne 0x41a58b
mov dword [ebp - 0x18], eax
mov byte [ebp + eax - 0x28], cl
jmp 0x41a595
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00405c48
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x60]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x40000001
push dword [ebp + 0x10]
push dword [ebp - 0x5c]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x41a5eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041aad7
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push str.binary2string__phase2__failed__sysError
push eax
call fcn.004072c7
add esp, 0x18
mov byte [ebp - 4], 4
jmp 0x41a68b
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x18]
ja 0x41a607
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x41a615
sub ecx, dword [ebp - 0x18]
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00405c48
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004030fd
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41a657
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], ecx
cmp eax, 0x1000
jb 0x41a64e
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00404e58
mov eax, dword [ebp - 0x64]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push ecx
call fcn.0044f0ce
pop ecx
pop ecx
mov eax, esi
call fcn.0044f354
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041aad7
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.004072c7
add esp, 0x18
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.004035fe
push 0x4a75d4
lea eax, [ebp - 0x70]
push eax
call fcn.0045285c
int3
Function at 0x41a6a3
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x47df30
call fcn.0044f3a5
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
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], ecx
push eax
movlpd qword [ebp - 0x48], xmm0
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x41a716
push dword [ebp - 0x48]
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.004110c3
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [esi]
call fcn.00452100
add esp, 0xc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.0044f354
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041aad7
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], edi
push str.decryption_failed__sysError
push eax
call fcn.004072c7
add esp, 0x18
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.004035fe
push 0x4a75d4
lea eax, [ebp - 0x60]
push eax
call fcn.0045285c
int3

Function at 0x41a840
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x47df30
call fcn.0044f3a5
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x50], eax
xor eax, eax
push 5
inc eax
mov dword [ebp - 0x4c], ecx
cmp dword [ebp + 0x14], eax
pop ecx
cmove eax, ecx
movlpd qword [ebp - 0x48], xmm0
lea ecx, [ebp - 0x48]
push ecx
push eax
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x41a8be
push dword [ebp - 0x48]
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.004110c3
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [esi]
call fcn.00452100
add esp, 0xc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.0044f354
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041aad7
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], edi
push str.encryption_failed__sysError
push eax
call fcn.004072c7
add esp, 0x18
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.004035fe
push 0x4a75d4
lea eax, [ebp - 0x60]
push eax
call fcn.0045285c
int3
Function at 0x41a95c
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x47dfd8
call fcn.0044f3a5
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x74], ecx
cmp dword [ecx], esi
jne 0x41a98a
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
jmp 0x41aa88
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
mov dword [ebp - 0x5c], esi
jb 0x41a997
mov eax, dword [ebx]
push esi
push esi
lea edx, [ebp - 0x5c]
push edx
push esi
push 1
push dword [ecx]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x41aa90
mov esi, dword [ebp - 0x5c]
xor eax, eax
and dword [ebp - 0x68], eax
and dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], eax
test esi, esi
je 0x41a9ff
cmp esi, 0x7fffffff
ja 0x41aad1
push esi
cmp esi, 0x1000
jb 0x41a9df
call fcn.004025d7
jmp 0x41a9e4
call fcn.0044f09e
pop ecx
add esi, eax
mov dword [ebp - 0x70], eax
push esi
push eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], esi
call fcn.0041115e
mov eax, dword [ebp - 0x70]
pop ecx
pop ecx
mov dword [ebp - 0x68], esi
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 4], 2
jb 0x41aa0e
mov ebx, dword [ebx]
push 0
push 0
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov eax, dword [ebp - 0x74]
push 1
push dword [eax]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x41aa68
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041aad7
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push str.string2binary__phase2__failed__sysError
push eax
call fcn.004072c7
add esp, 0x18
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004035fe
push 0x4a75d4
lea eax, [ebp - 0x1c]
jmp 0x41aacb
lea eax, [ebp - 0x5d]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
call fcn.0041a3f0
mov eax, dword [ebp - 0x6c]
mov dword [edi], eax
mov eax, dword [ebp - 0x68]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 8], eax
mov eax, edi
call fcn.0044f354
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041aad7
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], esi
push str.string2binary__phase1__failed__sysError
push eax
call fcn.004072c7
add esp, 0x18
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.004035fe
push 0x4a75d4
lea eax, [ebp - 0x6c]
push eax
call fcn.0045285c
call fcn.00410549
int3

Function at 0x41c37e
Capabilities:
Hide graphical window

Disassembly:
cmp dword [ecx + 4], 0
je 0x41c38f
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4280e4
Capabilities:
Check http status code

Disassembly:
push 0x80
mov eax, 0x47fd96
call fcn.0044f3a5
mov edi, ecx
push 0xffffffffffffffff
push 0x13
call fcn.00429b9e
mov esi, eax
cmp esi, 0xc8
je 0x4281ae
cmp esi, 0xce
je 0x4281ae
cmp esi, 0x193
jne 0x42816d
push 0x487974
lea ecx, [ebp - 0x28]
call fcn.0040317d
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
push 0x14
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00429f00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00405bc4
push 0
push str.Export_Denied
lea ecx, [ebp - 0x40]
call fcn.0040ca18
cmp eax, 0xffffffff
jne 0x4281b4
or dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
call fcn.004038ed
push esi
lea ecx, [ebp - 0x8c]
call fcn.00427b58
mov esi, eax
push 0x2ce
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 4
call fcn.0040336c
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00427475
add esp, 0xc
push 0x4aa924
jmp 0x4281ef
call fcn.0044f354
ret
lea ecx, [ebp - 0x8c]
call fcn.00427b1a
mov esi, eax
push 0x2cb
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.0040336c
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.0042745e
add esp, 0xc
push 0x4aa984
lea eax, [ebp - 0x6c]
push eax
call fcn.0045285c
int3
Function at 0x428e28
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4b4294]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x58]
push edi
mov edi, dword [ebp + 8]
push 0x3c
pop ebx
push ebx
push 0
push eax
call fcn.00452680
mov dword [ebp - 0x58], ebx
add esp, 0xc
xor ebx, ebx
inc ebx
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x44], ebx
jb 0x428e64
mov edi, dword [edi]
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x428e7b
xor al, al
jmp 0x428eb9
mov eax, dword [ebp - 0x4c]
push 3
pop ecx
sub eax, ecx
je 0x428e92
sub eax, 1
je 0x428e8e
mov dword [esi], ebx
jmp 0x428e98
mov dword [esi], ecx
jmp 0x428e98
mov dword [esi], 2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x48]
call fcn.004031ae
push eax
lea ecx, [esi + 4]
call fcn.00403b02
lea ecx, [ebp - 0x1c]
call fcn.00405bc4
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f332
leave
ret
Function at 0x42a239
Capabilities:
Check http status code
Check internet connectivity via wininet

Disassembly:
push 0xec
mov eax, 0x4803dd
call fcn.0044f411
xor ebx, ebx
lea eax, [ebp - 0xdc]
push ebx
push eax
mov dword [ebp - 0xdc], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x42a39d
test byte [ebp - 0xdc], 0x40
jne 0x42a39d
push str.http:__java.sun.com
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xd5], bl
mov dword [ebp - 4], ebx
call fcn.0040317d
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xd4]
call fcn.004279a6
push ebx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
mov dword [eax + 0x1c], 2
mov word [eax + 0x18], 1
call fcn.0042837e
push 0xffffffffffffffff
push 0x13
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00429b9e
lea ecx, [ebp - 0xf8]
mov esi, eax
call fcn.00415676
lea ecx, [ebp - 0xd4]
call fcn.00427e38
lea ecx, [ebp - 0x2c]
call fcn.00405bc4
cmp esi, 0xc8
je 0x42a2ff
cmp esi, 0x197
jne 0x42a399
mov bl, 1
jmp 0x42a399
mov al, bl
jmp 0x42a39f
mov al, 1
call fcn.0044f363
ret

Function at 0x42a725
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x6c
mov eax, 0x4804cd
call fcn.0044f3a5
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x58]
and dword [ebp - 0x58], 0
push edx
push dword [ebp + 0xc]
push eax
push dword [ecx + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42a758
mov eax, dword [ebp - 0x58]
call fcn.0044f354
ret 8
push str.InternetReadFile_failed
lea ecx, [ebp - 0x28]
call fcn.0040317d
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2c9
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x78]
call fcn.00427bda
mov esi, eax
push 0x2eb
push str.HttpConnection::Response::readContent
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0040336c
push eax
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0042748c
add esp, 0xc
lea eax, [ebp - 0x54]
push 0x4aa808
push eax
call fcn.0045285c
int3
Function at 0x42a8d4
Capabilities:
Clear file content

Disassembly:
push 0xe4
mov eax, 0x48057c
call fcn.0044f3a5
mov edi, dword [ebp + 8]
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x42a8f0
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 0x42aa30
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push eax
push eax
push eax
push dword [ebp + 0xc]
push esi
call ebx
test eax, eax
jne 0x42a9a3
push 0x16c
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x58]
call fcn.0040336c
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.00403121
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 5
call fcn.004034bd
mov byte [ebp - 4], 6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00402585
mov ecx, eax
call fcn.004023a1
push eax
lea ecx, [ebp - 0x4c]
call fcn.0043b3d7
mov byte [ebp - 4], 8
jmp 0x42aa9a
mov ebx, dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call ebx
test eax, eax
jne 0x42aa1c
push 0x170
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x58]
call fcn.0040336c
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.00403121
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 9
call fcn.004034bd
mov byte [ebp - 4], 0xa
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00402585
mov ecx, eax
call fcn.004023a1
push eax
lea ecx, [ebp - 0x4c]
call fcn.0043b3d7
mov byte [ebp - 4], 0xc
jmp 0x42aa9a
push esi
mov dword [ebp - 4], 0xd
call fcn.0043c302
pop ecx
call fcn.0044f354
ret
push 0x166
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x4c]
call fcn.0040336c
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.00403121
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.004034bd
mov byte [ebp - 4], 2
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00402585
mov ecx, eax
call fcn.004023a1
push eax
lea ecx, [ebp - 0x58]
call fcn.0043b3d7
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041c91a
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x4a8628
push eax
call fcn.0045285c
int3
Function at 0x42b222
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x148]
sub esp, 0x148
push 0xffffffffffffffff
push 0x4806c1
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4b4294]
xor eax, ebp
mov dword [ebp + 0x144], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x150]
lea eax, [ebp + 0x40]
mov edi, dword [ebp + 0x154]
mov ebx, dword [ebp + 0x158]
push 0x104
push 0
push eax
mov dword [ebp - 0x10], esi
call fcn.00452680
add esp, 0xc
lea eax, [ebp + 0x40]
xor edx, edx
mov ecx, 0x8000
push eax
xor eax, eax
cmp ebx, 1
push edx
cmove eax, ecx
push edx
or eax, edi
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x42b2f8
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x28]
call fcn.0040317d
lea eax, [ebp + 0x28]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0043311f
pop ecx
pop ecx
lea ecx, [ebp + 0x28]
call fcn.00405bc4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x144]
xor ecx, ebp
call fcn.0044f332
add ebp, 0x148
leave
ret
lea ecx, [ebp - 0xc8]
call fcn.004034bd
push dword [ebp - 0x10]
and dword [ebp - 4], 0
mov ecx, eax
push 0x4887e0
push ebx
push str.__mode
push edi
push fcn.00414aeb
push str.SHGetFolderPath_0x
call fcn.004023a1
mov ecx, eax
call fcn.00414458
mov ecx, eax
call fcn.00413825
mov ecx, eax
call fcn.004023a1
mov ecx, eax
call fcn.00413825
mov ecx, eax
call fcn.004023a1
push eax
lea ecx, [ebp - 0x30]
call fcn.00438c9b
mov esi, eax
push 0x1f5
push str.SysInfo::SHGetFolderPathAdapter
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_SysInfo.cpp
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040336c
push eax
lea eax, [ebp]
push esi
push eax
call fcn.0042af1a
add esp, 0xc
lea eax, [ebp]
push 0x4aae88
push eax
call fcn.0045285c
int3