joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4117f9
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x64c
mov eax, dword [0x4956a0]
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.0044b630
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 0x4118a1
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.00449e71
lea eax, [ebp + 0x4c4]
push 0x47a3ec
push eax
call fcn.0044b9c0
add esp, 0x2c
test eax, eax
je 0x4118ea
mov eax, esi
mov dword [ebp - 0x40], ebx
cmp byte [esi], bl
je 0x4118d2
mov cl, byte [eax]
cmp cl, 0x20
je 0x4118b6
cmp cl, 9
jne 0x4118bf
push eax
call dword [sym.imp.user32.dll_CharNextA]
jmp 0x4118aa
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 0x4118aa
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.00449589
add ebp, 0x5cc
leave
ret
Function at 0x4150a2
Capabilities:
Delete file

Disassembly:
push 0x48
mov eax, 0x46916e
call fcn.004516bd
cmp dword [0x49a024], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov ebx, str.CheckFileIntegrity
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_wrappers_common_UpdateUtils.cpp
mov esi, 0x49a024
jg 0x41511c
test eax, eax
jne 0x4150d8
mov eax, 0x4791b8
test ecx, ecx
jne 0x4150e1
mov ecx, 0x4791b8
push eax
push ecx
push str.Verify_integrity_of___s__file_from___s_...
lea ecx, [ebp - 0x48]
call fcn.00449e71
add esp, 0xc
and dword [ebp - 4], 0
push ebx
push 0x94
push edi
push 1
mov edx, eax
mov ecx, esi
call fcn.0042432e
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00403353
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x415129
mov dword [ebp - 0x54], 1
jmp 0x415133
push eax
call fcn.004295d7
pop ecx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
push 0xffffffffffffffff
call fcn.00449e71
cmp dword [ebp - 0x54], 0
pop ecx
mov dword [ebp - 0x4c], eax
je 0x41514b
test eax, eax
je 0x4151b0
mov ecx, dword [ebp - 0x50]
push 0
call fcn.00449e71
pop ecx
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4151b0
push dword [ebp - 0x50]
call dword [sym.imp.kernel32.dll_DeleteFileA]
cmp dword [0x49a024], 3
jg 0x4151b0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x41517b
mov eax, 0x4791b8
push eax
push str.Integrity_verification_failed_for___s_
lea ecx, [ebp - 0x2c]
call fcn.00449e71
pop ecx
pop ecx
push ebx
push 0xab
push edi
push 3
mov edx, eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0042432e
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403353
mov eax, dword [ebp - 0x4c]
call fcn.00451740
ret

Function at 0x419557
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x467c4a
call fcn.004516bd
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 0x4195e4
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00449e71
push eax
lea eax, [ebp - 0x4c]
push str.encryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00449e71
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00449e71
push 0x48627c
mov eax, esi
push eax
call fcn.00449e71
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.004128e4
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.00449e71
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.kernel32.dll_LocalFree]
mov eax, edi
call fcn.00451740
ret
Function at 0x41961b
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x467c4a
call fcn.004516bd
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 0x419699
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00449e71
push eax
lea eax, [ebp - 0x4c]
push str.decryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00449e71
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00449e71
push 0x48627c
mov eax, esi
push eax
call fcn.00449e71
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.004128e4
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.00449e71
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.kernel32.dll_LocalFree]
mov eax, edi
call fcn.00451740
ret

Function at 0x419742
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x467c15
call fcn.004516bd
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 0x419771
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ecx
mov byte [edi], cl
jmp 0x41986a
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 0x4197cf
call dword [sym.imp.kernel32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x64]
call fcn.00449e71
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.00449e71
add esp, 0x14
mov byte [ebp - 4], 1
lea esi, [ebp - 0x78]
call fcn.00449e71
push 0x48627c
mov eax, esi
push eax
call fcn.00449e71
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.00419aed
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4197fc
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 0x41983e
call dword [sym.imp.kernel32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x48]
call fcn.00449e71
push eax
lea eax, [ebp - 0x64]
push str.binary2string__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00449e71
add esp, 0x14
mov byte [ebp - 4], 4
jmp 0x4197ba
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00419aed
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea esi, [ebp - 0x2c]
mov byte [edi], 0
call fcn.0040319c
push 0
push 1
mov ecx, esi
call fcn.00403353
mov eax, edi
call fcn.00451740
ret
Function at 0x419872
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x98
mov eax, 0x467bc5
call fcn.004516bd
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 0x4198a8
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4199e2
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
jb 0x4198b8
mov eax, dword [edi]
jmp 0x4198ba
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 0x419913
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x48]
call fcn.00449e71
push eax
lea eax, [ebp - 0x80]
push str.string2binary__phase1__failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00449e71
add esp, 0x14
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00449e71
push 0x48627c
mov eax, esi
push eax
call fcn.00449e71
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.004128e4
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x419948
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 0x4199a6
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x64]
call fcn.00449e71
push eax
lea eax, [ebp - 0x2c]
push str.string2binary__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00449e71
add esp, 0x14
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00449e71
push 0x48627c
mov eax, esi
jmp 0x41990d
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
call fcn.004128e4
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0x98]
call fcn.00419b08
cmp dword [ebp - 0x98], ebx
je 0x4199dc
push dword [ebp - 0x98]
call fcn.00449e71
pop ecx
mov eax, dword [ebp - 0x88]
call fcn.00451740
ret

Function at 0x41a174
Capabilities:
Hide graphical window

Disassembly:
push 0x34
mov eax, 0x46e11c
call fcn.00451654
mov edi, ecx
lea ebx, [edi + 0x44]
mov eax, ebx
lea esi, [ebp - 0x28]
call fcn.00435f4f
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], 0
and dword [edi + 0x50], 0
mov ecx, edi
call fcn.0041a26b
mov eax, esi
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0043618e
lea ebx, [edi + 0x54]
mov eax, ebx
lea esi, [ebp - 0x40]
call fcn.00435f4f
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + 4]
test eax, eax
je 0x41a1d2
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
lea ecx, [ebp - 0x40]
call fcn.00435f99
mov edi, dword [edi + 0x50]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00435f99
mov eax, edi
call fcn.0045172c
ret
Function at 0x41b079
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 0x41b090
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 0x41b0a3
and dword [eax + 8], 0
call fcn.0041d32e
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 0x42bd44
Capabilities:
Check http status code
Check internet connectivity via wininet

Disassembly:
push 0xfc
mov eax, 0x46d7e4
call fcn.004516f3
xor ebx, ebx
push ebx
lea eax, [ebp - 0xe8]
push eax
mov dword [ebp - 0xe8], ebx
call dword [sym.imp.wininet.dll_InternetGetConnectedState]
test eax, eax
je 0x42bd74
mov al, 1
jmp 0x42be17
test byte [ebp - 0xe8], 0x40
jne 0x42bd6d
push str.http:__java.sun.com
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0xe1], bl
mov dword [ebp - 4], ebx
call fcn.00402573
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 1
call fcn.0042a21c
push ebx
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x108]
mov dword [eax + 0x20], 2
mov word [eax + 0x1c], 1
call fcn.0042a2a9
push eax
push 0x13
pop ecx
mov byte [ebp - 4], 3
call fcn.00449e71
mov esi, eax
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 2
call fcn.0040a2b7
lea edi, [ebp - 0xe0]
call fcn.0042a264
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00403353
cmp esi, 0xc8
je 0x42be0a
cmp esi, 0x197
jne 0x42be11
mov byte [ebp - 0xe1], 1
mov al, byte [ebp - 0xe1]
call fcn.0045174f
ret

Function at 0x42beb3
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x70
lea ebp, [esp - 4]
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push 0x44
mov eax, 0x46841f
call fcn.00451654
xor edi, edi
push 0x38
lea eax, [ebp - 0x4c]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x14], edi
call fcn.0044b630
xor ebx, ebx
inc ebx
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x3c], ebx
jb 0x42befc
mov esi, dword [esi]
lea eax, [ebp - 0x50]
push eax
push edi
push edi
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
test eax, eax
jne 0x42bf14
xor al, al
jmp 0x42bfec
cmp dword [ebp - 0x44], 3
je 0x42bf20
cmp dword [ebp - 0x44], 4
jne 0x42bf0d
push dword [ebp - 0x3c]
lea esi, [ebp + 0x54]
push dword [ebp - 0x40]
call fcn.004037de
push str.sun.com
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.00402573
mov byte [ebp - 4], bl
lea edx, [ebp]
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.00425c13
test al, al
jne 0x42bfa5
push str.java.com
lea ecx, [ebp + 0x1c]
call fcn.00402573
push 3
pop esi
mov dword [ebp - 4], 2
lea edx, [ebp + 0x1c]
lea ecx, [ebp + 0x54]
mov dword [ebp - 0x14], esi
call fcn.00425c13
test al, al
jne 0x42bfa5
push str.oracle.com
lea ecx, [ebp + 0x38]
call fcn.00402573
mov dword [ebp - 4], esi
lea edx, [ebp + 0x38]
lea ecx, [ebp + 0x54]
mov dword [ebp - 0x14], 7
call fcn.00425c13
mov byte [ebp - 0xd], 0
test al, al
je 0x42bfa8
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 4
je 0x42bfbc
and dword [ebp - 0x14], 0xfffffffb
push edi
push ebx
lea ecx, [ebp + 0x38]
call fcn.00403353
test byte [ebp - 0x14], 2
je 0x42bfd0
and dword [ebp - 0x14], 0xfffffffd
push edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00403353
test byte [ebp - 0x14], bl
je 0x42bfdf
push edi
push ebx
lea ecx, [ebp]
call fcn.00403353
push edi
push ebx
lea ecx, [ebp + 0x54]
call fcn.00403353
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.00449589
add ebp, 0x74
leave
ret
Function at 0x42ced5
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x466f0d
call fcn.004516bd
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.0042c009
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 0x42cf31
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.0042c009
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.00402573
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0042de14
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403353
test esi, esi
je 0x42cf60
push esi
call fcn.00449e71
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.00451740
ret

Function at 0x42d00e
Capabilities:
Get common file path

Disassembly:
push 0x20c
mov eax, 0x46bfd0
call fcn.004516bd
xor esi, esi
push 0x104
lea eax, [ebp - 0x118]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x170], esi
call fcn.0044b630
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.shell32.dll_SHGetFolderPathA]
mov ebx, eax
cmp ebx, esi
je 0x42d13c
lea eax, [ebp - 0x218]
push eax
call fcn.00402897
lea eax, [ebp - 0x218]
push str.SHGetFolderPath_0x
push eax
mov dword [ebp - 4], esi
call fcn.00405650
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 4]
pop ecx
lea eax, [ebp + eax - 0x218]
pop ecx
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
push 0x23
lea eax, [ebp - 0x218]
push eax
call fcn.0040a98f
lea eax, [ebp - 0x218]
push str.__mode
push eax
call fcn.00405650
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x218]
push eax
call fcn.0040a98f
lea eax, [ebp - 0x218]
push 0x4793cc
push eax
call fcn.00405650
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea edi, [ebp - 0x180]
call fcn.00433f6e
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
push ecx
lea esi, [ebp - 0x16c]
mov ecx, eax
mov dword [ebp - 0x16c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_SysInfo.cpp
mov dword [ebp - 0x168], str.SysInfo::SHGetFolderPathAdapter
mov dword [ebp - 0x164], 0x19a
call fcn.0042d560
lea eax, [ebp - 0x160]
mov dword [esp], 0x4867d4
push eax
call fcn.00449e71
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.00402573
lea edx, [ebp - 0x134]
mov eax, edi
mov dword [ebp - 4], 2
call fcn.0042de14
push esi
push 1
lea ecx, [ebp - 0x134]
call fcn.00403353
mov eax, edi
call fcn.00451740
ret
Function at 0x42d751
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x120
mov eax, 0x46bf26
call fcn.004516bd
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x78], eax
mov eax, esi
call fcn.0042d733
mov edi, eax
test edi, edi
jne 0x42d809
push str.cannot_find_resource
lea ecx, [ebp - 0x30]
call fcn.00402573
and dword [ebp - 4], edi
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
call fcn.0042d67e
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.00422632
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [sym.imp.kernel32.dll_FindResourceA]
push eax
mov eax, esi
push eax
lea edi, [ebp - 0x90]
call fcn.00436725
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x41
lea ecx, [ebp - 0x58]
push ecx
lea esi, [ebp - 0x84]
mov ecx, eax
call fcn.0041c4f8
lea eax, [ebp - 0x58]
mov dword [esp], 0x4864a4
push eax
call fcn.00449e71
mov ebx, dword [sym.imp.kernel32.dll_LoadResource]
push edi
push dword [esi + 0x40]
call ebx
test eax, eax
jne 0x42d88d
push str.cannot_load_resource
lea ecx, [ebp - 0x30]
call fcn.00402573
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0042d67e
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.00422632
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov eax, esi
push eax
mov ecx, ebx
lea edi, [ebp - 0x90]
call fcn.00436725
mov byte [ebp - 4], 7
mov dword [ebp - 0x84], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x46
jmp 0x42d7e8
push eax
call dword [sym.imp.kernel32.dll_LockResource]
cmp dword [esi + 0x3c], 6
mov ebx, eax
jne 0x42d8bd
mov esi, dword [esi + 0x1c]
and esi, 0xf
jbe 0x42d8ae
dec esi
movzx ecx, word [eax]
lea eax, [eax + ecx*2 + 2]
jne 0x42d8a4
movzx ecx, word [eax]
mov edx, dword [ebp - 0x78]
add ecx, ecx
mov dword [edx], ecx
lea ebx, [eax + 2]
jmp 0x42d8cc
push edi
push dword [esi + 0x40]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov eax, ebx
call fcn.00451740
ret 4

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

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

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

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x42dbc8
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42dbdc
test al, 0x10
je 0x42dbdc
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x42e2e6
Capabilities:
Create directory

Disassembly:
push 0xe4
mov eax, 0x46beb2
call fcn.004516bd
mov eax, dword [ebp + 0x24]
mov ebx, ecx
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x42e30d
lea eax, [ebp + 8]
mov edi, dword [sym.imp.kernel32.dll_CreateDirectoryA]
push ebx
push eax
call edi
test eax, eax
je 0x42e3d7
cmp dword [0x49a024], 0
jg 0x42e3ad
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.00402552
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 1
call fcn.00402897
lea eax, [ebp - 0xf0]
push str.Created__
push eax
mov byte [ebp - 4], 2
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.004043f5
mov esi, eax
push str.__directory
push esi
call fcn.00405650
pop ecx
pop ecx
push esi
push 0x1ce
push 0
mov ebx, str.FileUtils::_anonymous_namespace::createDir
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov esi, 0x49a024
call fcn.004016a1
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0
call fcn.004015c3
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x42e3ef
lea edx, [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0042de14
push eax
mov byte [ebp - 4], 4
call fcn.00423ff7
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403353
jmp 0x42e3ef
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x42e401
lea eax, [ebp + 8]
call fcn.0042dbc0
test al, al
je 0x42e401
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00403353
call fcn.00451740
ret
push str.System_error
push esi
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x4c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.FileUtils::_anonymous_namespace::createDir
mov dword [ebp - 0x44], 0x1d7
lea ebx, [ebp - 0x4c]
call fcn.00402552
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 5
call fcn.00402897
lea eax, [ebp - 0xf0]
push str.CreateDirectory_
push eax
mov byte [ebp - 4], 6
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 7
call fcn.004043f5
mov esi, eax
push 0x47e3ac
push esi
call fcn.00405650
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.00436725
lea ecx, [ebp - 0x38]
push ecx
mov esi, ebx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041c4f8
lea eax, [ebp - 0x38]
mov dword [esp], 0x4864a4
push eax
call fcn.00449e71
int3
Function at 0x42ea19
Capabilities:
Delete file

Disassembly:
push 0x9c
mov eax, 0x46961d
call fcn.00451654
mov edi, ecx
cmp dword [edi + 0x14], 0x10
jb 0x42ea34
mov eax, dword [edi]
jmp 0x42ea36
mov eax, edi
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
setne al
xor ebx, ebx
cmp al, bl
je 0x42ead4
cmp dword [0x49a024], ebx
jg 0x42ead0
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.00402552
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 4], ebx
call fcn.00402897
lea eax, [ebp - 0xa8]
push str.Deleted__
push eax
mov byte [ebp - 4], 1
call fcn.00405650
pop ecx
pop ecx
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.004043f5
mov esi, eax
push str.__file
push esi
call fcn.00405650
pop ecx
pop ecx
push esi
push 0x25b
push ebx
mov ebx, str.FileUtils::_anonymous_namespace::deleteFileImpl
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov esi, 0x49a024
call fcn.004016a1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa8]
call fcn.004015c3
mov al, 1
jmp 0x42eae3
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.0042ea04
add esp, 4
call fcn.0045172c
ret