joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb9ae81
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0xbc59cc
call fcn.00bb501e
mov ebx, ecx
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x34], ebx
je 0xb9af71
cmp byte [ebx + 0x49], 0
je 0xb9af71
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0xb9aeb9
xor al, al
jmp 0xb9af73
push 0
push 8
pop edi
lea esi, [ebp - 0x2c]
call fcn.00b9ab20
and dword [ebp - 4], 0
lea eax, [ebx + 0x4c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0xb9af10
lea eax, [ebp - 0x2c]
mov edx, eax
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
push eax
push edx
push dword [ebp - 0x38]
call dword [esi + 0x18]
xor edi, edi
sub eax, edi
je 0xb9af15
dec eax
je 0xb9af19
dec eax
dec eax
je 0xb9af6d
xor bl, bl
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00b95dcc
mov al, bl
jmp 0xb9af73
mov edx, dword [ebp - 0x2c]
jmp 0xb9aede
mov byte [ebx + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0xb9af25
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0xb9af4b
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0xb9af38
lea eax, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push eax
call fcn.00bb23ff
add esp, 0x10
cmp esi, eax
jne 0xb9aeff
cmp byte [ebx + 0x49], 0
je 0xb9af6d
cmp esi, edi
jne 0xb9aed0
push edi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.00b9ab71
mov ebx, dword [ebp - 0x34]
jmp 0xb9aed0
mov bl, 1
jmp 0xb9af01
mov al, 1
call fcn.00bb50a1
ret
Function at 0xb9dc2a
Capabilities:
Delete registry key

Disassembly:
push 0x38
mov eax, 0xbc6fcf
call fcn.00bb4fb3
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], 0x80000002
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x2c], bl
cmp eax, ebx
jne 0xb9dc96
cmp dword [ebp + 0x10], ebx
jne 0xb9dc73
push 0x2001f
push str.SOFTWAREJavaSoftJava_UpdatePolicyjucheck
lea eax, [ebp - 0x40]
call fcn.00ba2d13
mov eax, dword [ebp - 0x38]
mov dword [ebp + 8], eax
jmp 0xb9dc88
push str.SetJavaUpdateStringKey_was_called_with_a_NULL_value_for_the_key__so_defaulting_to_trying_jucheck_key
call fcn.00ba262c
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.00b9d96d
pop ecx
cmp dword [ebp + 8], ebx
je 0xb9dc99
mov dword [ebp - 0x10], 1
jmp 0xb9dc99
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.00b9e897
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x10], ebx
je 0xb9dcca
push dword [ebp + 0x10]
lea ebx, [ebp - 0x24]
call fcn.00babe05
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0xb9dd17
cmp dword [ebp + 0x10], ebx
jne 0xb9dce2
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0xb9dd10
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.00baf040
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
call fcn.00ba2ded
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp - 0x10], ebx
je 0xb9dd24
lea esi, [ebp - 0x40]
call fcn.00ba2d4a
lea esi, [ebp - 0x20]
call fcn.00b9ad65
mov eax, edi
call fcn.00bb508d
ret
Function at 0xb9defb
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0xbd8630]
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, 0x80000003
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.00b9da5f
pop ecx
pop ecx
test eax, eax
je 0xb9df67
cmp dword [ebp - 0x40c], ebx
je 0xb9df67
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [ebp - 0x408]
call fcn.00b9d9ab
test eax, eax
je 0xb9df8a
mov eax, edi
push eax
mov ecx, edi
call fcn.00b9e69c
pop ecx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00b9e062
push ebx
push str.PreDownldStatus
push ebx
call fcn.00b9dc2a
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 0xb9e053
mov esi, 0x20019
inc dword [ebp - 0x40c]
push esi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x428]
call fcn.00ba2d13
cmp eax, ebx
jne 0xb9e031
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.00ba2d13
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x440], ecx
cmp eax, ebx
jne 0xb9e031
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 0xb9dfcd
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00bae56d
leave
ret
Function at 0xb9e3f3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0xbd8630]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00baf900
add esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0xb9e44e
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x94
call esi
test eax, eax
je 0xb9e473
cmp dword [ebp - 0x98], 2
jne 0xb9e470
cmp dword [ebp - 0xa4], 6
jae 0xb9e470
cmp dword [ebp - 0xa4], 4
jb 0xb9e470
call fcn.00b9e1f5
jmp 0xb9e473
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00bae56d
leave
ret

Function at 0xb9e69c
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x64c
mov eax, dword [0xbd8630]
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.00baf900
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 0xb9e744
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.00bb2a6a
lea eax, [ebp + 0x4c4]
push 0xbce234
push eax
call fcn.00baf500
add esp, 0x2c
test eax, eax
je 0xb9e78d
mov eax, esi
mov dword [ebp - 0x40], ebx
cmp byte [esi], bl
je 0xb9e775
mov cl, byte [eax]
cmp cl, 0x20
je 0xb9e759
cmp cl, 9
jne 0xb9e762
push eax
call dword [sym.imp.USER32.dll_CharNextA]
jmp 0xb9e74d
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 0xb9e74d
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.00bae56d
add ebp, 0x5cc
leave
ret
Function at 0xba09fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0xbd8630]
xor eax, ebp
mov dword [ebp + 0x390], eax
mov eax, dword [ebp + 0x39c]
push esi
push edi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push 0x80000002
mov dword [ebp - 0x78], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xba0add
mov byte [ebp - 0x70], al
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.TransferJobID
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x78], 0
jbe 0xba0add
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
je 0xba0add
lea eax, [ebp - 0x70]
push eax
call esi
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0xba0a9b
xor eax, eax
jmp 0xba0ab1
lea eax, [edi + edi]
call fcn.00bc0a00
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x70]
push eax
call fcn.00b91106
push dword [ebp - 0x74]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push 0x10
push 0xbc9410
push dword [ebp - 0x74]
call fcn.00bb0158
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
jmp 0xba0ae2
mov eax, 0x80004005
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0x390]
xor ecx, ebp
call fcn.00bae56d
add ebp, 0x394
leave
ret

Function at 0xba1d60
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0xbc62f2
call fcn.00bb501e
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 0xba1ded
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00ba1cfa
push eax
lea eax, [ebp - 0x4c]
push str.encryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00b960a2
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00b97285
push 0xbd234c
mov eax, esi
push eax
call fcn.00bb4705
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.00b9e897
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.00bae580
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.00bb50a1
ret
Function at 0xba1e24
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0xbc62f2
call fcn.00bb501e
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 0xba1ea2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00ba1cfa
push eax
lea eax, [ebp - 0x4c]
push str.decryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00b960a2
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00b97285
push 0xbd234c
mov eax, esi
push eax
call fcn.00bb4705
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.00b9e897
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.00bae580
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.00bb50a1
ret

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

Disassembly:
push 0x6c
mov eax, 0xbc62bd
call fcn.00bb501e
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 0xba1f7a
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ecx
mov byte [edi], cl
jmp 0xba2073
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 0xba1fd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x64]
call fcn.00ba1cfa
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.00b960a2
add esp, 0x14
mov byte [ebp - 4], 1
lea esi, [ebp - 0x78]
call fcn.00b97285
push 0xbd234c
mov eax, esi
push eax
call fcn.00bb4705
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.00ba22ca
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0xba2005
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 0xba2047
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x48]
call fcn.00ba1cfa
push eax
lea eax, [ebp - 0x64]
push str.binary2string__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00b960a2
add esp, 0x14
mov byte [ebp - 4], 4
jmp 0xba1fc3
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00ba22ca
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea esi, [ebp - 0x2c]
mov byte [edi], 0
call fcn.00b95ce9
push 0
push 1
mov ecx, esi
call fcn.00b95dcc
mov eax, edi
call fcn.00bb50a1
ret
Function at 0xba207b
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x98
mov eax, 0xbc626d
call fcn.00bb501e
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 0xba20b1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0xba21eb
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
jb 0xba20c1
mov eax, dword [edi]
jmp 0xba20c3
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 0xba211c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x48]
call fcn.00ba1cfa
push eax
lea eax, [ebp - 0x80]
push str.string2binary__phase1__failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00b960a2
add esp, 0x14
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00b97285
push 0xbd234c
mov eax, esi
push eax
call fcn.00bb4705
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.00b9e897
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0xba2151
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 0xba21af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x64]
call fcn.00ba1cfa
push eax
lea eax, [ebp - 0x2c]
push str.string2binary__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00b960a2
add esp, 0x14
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00b97285
push 0xbd234c
mov eax, esi
jmp 0xba2116
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
call fcn.00b9e897
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0x98]
call fcn.00ba22ed
cmp dword [ebp - 0x98], ebx
je 0xba21e5
push dword [ebp - 0x98]
call fcn.00bae562
pop ecx
mov eax, dword [ebp - 0x88]
call fcn.00bb50a1
ret
Function at 0xba396b
Capabilities:
Create process on windows

Disassembly:
push 0x2c
mov eax, 0xbc7267
call fcn.00bb501e
cmp dword [0xbdb6cc], 1
mov ebx, ecx
jg 0xba39c6
lea eax, [ebp - 0x30]
push str.Executor.exec__:
lea edi, [ebx + 0x38]
push eax
call fcn.00ba0b38
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Executor::startExecution
push 0x93
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u45_3627_install_src_windows_common_Executor.cpp
push 1
mov edx, eax
mov ecx, 0xbdb6cc
call fcn.00ba2fce
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00b95dcc
push 0x44
pop esi
push esi
lea edi, [ebx + 0x7c]
push 0
push edi
call fcn.00baf900
add esp, 0xc
push 0x10
lea eax, [ebx + 0x6c]
push 0
push eax
mov dword [edi], esi
call fcn.00baf900
add esp, 0xc
cmp dword [ebx + 0xc0], 1
jne 0xba3a0a
or dword [ebx + 0xa8], 1
xor eax, eax
mov word [ebx + 0xac], ax
mov dword [ebx + 0x60], 0x8000000
cmp byte [ebx + 0xcd], 0
je 0xba3a1a
mov esi, ebx
call fcn.00ba3eab
lea eax, [ebx + 0x38]
mov edx, dword [eax + 0x14]
cmp edx, 0x10
jb 0xba3a29
mov esi, dword [eax]
jmp 0xba3a2b
mov esi, eax
mov ecx, dword [eax + 0x10]
add ecx, esi
cmp edx, 0x10
jb 0xba3a37
mov eax, dword [eax]
push dword [ebp - 0x35]
xor edx, edx
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
call fcn.00b9cc48
mov dword [ebp - 4], 1
lea eax, [ebp - 0x31]
lea esi, [ebp - 0x24]
mov byte [ebp - 0x31], 0
call fcn.00b9a1c4
cmp dword [ebx + 0x14], 0x10
jb 0xba3a70
mov ecx, dword [ebx]
jmp 0xba3a72
mov ecx, ebx
lea eax, [ebx + 0x6c]
push eax
push edi
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne bl
cmp dword [ebp - 0x24], 0
je 0xba3aa7
push dword [ebp - 0x24]
call fcn.00bae562
pop ecx
mov al, bl
call fcn.00bb50a1
ret
Function at 0xba422e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xbc6bd4
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0xbd8630]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0xbd8630]
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 0xba42d2
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], str.Destination_buffer_cant_be_NULL
call fcn.00baeced
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:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u45_3627_install_src_common_share_tstrings.cpp
mov dword [esp + 0x1c], str.tstrings::format
mov dword [esp + 0x20], 0x1b
call fcn.00ba4b88
lea eax, [esp + 0x4c]
mov dword [esp], 0xbd24ec
push eax
call fcn.00bb4705
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.00ba22ca
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0xba430d
lea eax, [esp + 0x2c]
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [esp + 0x48]
push eax
call fcn.00bb43f2
add esp, 0x14
cmp eax, 0xffffffff
je 0xba42ec
lea ecx, [esp + 0x2c]
call fcn.00ba22ca
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
lea esi, [esp + 0x2c]
mov byte [edi], bl
call fcn.00b95ce9
push ebx
push 1
mov ecx, esi
call fcn.00b95dcc
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.00bae56d
mov esp, ebp
pop ebp
ret

Function at 0xba5c78
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.00baf900
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 0xba5fab
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0xbc5ca3
call fcn.00bb501e
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.00ba40a7
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 0xba6007
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.00ba40a7
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.00b95ac0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00babda5
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00b95dcc
test esi, esi
je 0xba6036
push esi
call fcn.00bae562
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.00bb50a1
ret

Function at 0xba603f
Capabilities:
Get common file path

Disassembly:
push 0x18c
mov eax, 0xbc77b4
call fcn.00bb501e
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x118]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x18c], ebx
call fcn.00baf900
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp eax, ebx
je 0xba616f
cmp dword [0xbdb6cc], 3
jg 0xba6138
push eax
lea edi, [ebp - 0x188]
call fcn.00ba336d
mov esi, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x16c]
mov dword [esp], str.GetSystem32Dir
call fcn.00b95ac0
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0xba60c3
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0xba60cb
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x150]
call fcn.00ba422e
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0xba60ec
mov eax, dword [eax]
push eax
push 0xd6
push 3
mov ebx, str.SysInfo::getSystem32Dir
mov edi, str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u45_3627_install_src_windows_common_SysInfo.cpp
mov esi, 0xbdb6cc
call fcn.00b9102d
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x150]
call fcn.00b95dcc
push esi
push 1
lea ecx, [ebp - 0x16c]
call fcn.00b95dcc
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x188]
call fcn.00b95dcc
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x18c], str.SHGetFolderPath_CSIDL_SYSTEM__failed
call fcn.00baeced
push 0xbd234c
lea eax, [ebp - 0x198]
push eax
mov dword [ebp - method.std::logic_error.virtual_0], vtable.std::runtime_error.0
call fcn.00bb4705
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.00b95ac0
lea edx, [ebp - 0x134]
mov eax, esi
mov dword [ebp - 4], 3
call fcn.00babda5
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.00b95dcc
mov eax, esi
call fcn.00bb50a1
ret
Function at 0xba65b9
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0xbc583a
call fcn.00bb4fb3
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.00ba658d
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00ba658d
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00ba658d
mov eax, esi
mov dword [esp], 0x409
call fcn.00ba658d
pop ecx
mov eax, esi
call fcn.00bb508d
ret