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

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
test ebp, ebp
jg 0x68fa94
jl 0x68fa8b
test ebx, ebx
jne 0x68fa94
xor eax, eax
xor edx, edx
jmp 0x68fb59
cmp dword [esi + 0x38], 0
je 0x68faaa
push ebp
push ebx
push dword [esp + 0x1c]
call fcn.00688fbe
jmp 0x68fb59
mov eax, dword [esi + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x68faf0
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x68faf0
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x18]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.0068854b
mov ecx, dword [esp + 0x1c]
add edi, esi
mov dword [esp + 0x24], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x68faf8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x4c], 0
je 0x68fb4f
mov ecx, esi
call fcn.0068e807
mov ecx, dword [esp + 0x18]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x68fb3a
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.006cb07d
mov ecx, dword [esp + 0x28]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x18], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x68fb4f
jmp 0x68fb0b
test edx, edx
je 0x68fb4f
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.006cb07d
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb ebp, 0
mov edx, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x68fb60
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x68fb82
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.006890ab
jmp 0x68fc54
mov eax, dword [ebx + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x68fbaf
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x68fbb5
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
mov dword [esp + 0x2c], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x68fc1d
jg 0x68fbcc
test esi, esi
je 0x68fc1d
test ecx, ecx
jl 0x68fc17
jg 0x68fbd6
test eax, eax
je 0x68fc17
cmp edi, ecx
jg 0x68fbea
jl 0x68fbe0
cmp esi, eax
jae 0x68fbea
mov eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x28]
push eax
push ebp
push dword [esp + 0x20]
call fcn.0068854b
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
add ebp, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x68fc21
mov ebp, dword [esp + 0x28]
jmp 0x68fc2b
mov ebp, dword [esp + 0x28]
test edi, edi
jl 0x68fc45
jg 0x68fc2b
test esi, esi
je 0x68fc45
cmp dword [ebx + 0x4c], 0
je 0x68fc45
push dword [ebx + 0x4c]
push esi
push 1
push ebp
call fcn.006cb704
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x692188
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x714334]
xor eax, ebp
mov dword [ebp + 0x3b8], eax
push ebx
push esi
push edi
mov ebx, 0x80000003
lea ecx, [ebp - 0x64]
push ebx
call fcn.00699e5c
lea eax, [ebp - 0x48]
push 0x400
push eax
call fcn.00692dfa
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
js 0x6921d4
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call fcn.00692599
pop ecx
test eax, eax
je 0x6921f4
lea eax, [ebp - 0x48]
push eax
push eax
call fcn.00692829
pop ecx
pop ecx
lea eax, [ebp - 0x48]
push eax
call esi
call fcn.006922a8
xor edi, edi
push edi
push str.PreDownldStatus
push edi
call fcn.00692f13
add esp, 0xc
lea ecx, [ebp - 0x64]
push ebx
call fcn.00699e9a
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.00699ee1
test eax, eax
jne 0x692290
mov ebx, 0x20019
push ebx
lea eax, [ebp - 0x48]
inc edi
push eax
lea ecx, [ebp - 0x64]
call fcn.00699efa
lea ecx, [ebp - 0x64]
mov esi, eax
call fcn.0068522e
test esi, esi
jne 0x69227f
push eax
lea ecx, [ebp - 0x80]
call fcn.00699e5c
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
call fcn.00699efa
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.0068522e
push eax
lea ecx, [ebp - 0x80]
call fcn.00699e9a
test esi, esi
jne 0x69227f
push str.VersionXmlURL
lea ecx, [ebp - 0x80]
call fcn.00699ed1
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.00699ee1
test eax, eax
je 0x692229
mov ecx, dword [ebp + 0x3b8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006c1212
add ebp, 0x3bc
leave
ret

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

Disassembly:
sub esp, 0x644
mov eax, dword [0x714334]
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.006c2bc0
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 0x6928db
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.006cbeda
lea eax, [esp + 0x70]
push 0x6f1868
push eax
call fcn.006c2d20
add esp, 0x2c
test eax, eax
je 0x6928f7
push 1
push esi
call fcn.006930fb
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.006c1212
add esp, 0x644
ret
Function at 0x692931
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x714334]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, 0x9c
lea eax, [ebp - 0x28]
push esi
push 0
push eax
call fcn.006c2bc0
add esp, 0xc
mov dword [ebp - 0x28], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x69297f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x94
push eax
call esi
test eax, eax
je 0x69299b
cmp dword [ebp - 0x18], 2
jne 0x692998
cmp dword [ebp - 0x24], 6
jae 0x692998
cmp dword [ebp - 0x24], 4
jb 0x692998
call fcn.006929f1
jmp 0x69299b
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.006c1212
add ebp, 0x78
leave
ret
Function at 0x694dfc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x390]
sub esp, 0x410
mov eax, dword [0x714334]
xor eax, ebp
mov dword [ebp + 0x38c], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x398]
lea eax, [ebp - 0x78]
push eax
push 1
xor ebx, ebx
mov dword [ebp - 0x7c], 0x400
push ebx
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x694ed0
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x74], bl
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push str.TransferJobID
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x7c], ebx
jbe 0x694ed0
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x694ed0
lea eax, [ebp - 0x74]
push eax
call fcn.006c6bc0
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jg 0x694eb0
lea eax, [esi + esi]
call fcn.006c1380
mov eax, esp
lea ecx, [ebp - 0x74]
push 3
push esi
push ecx
push eax
call fcn.006843eb
mov ebx, eax
push edi
push ebx
call dword [sym.imp.ole32.dll_CLSIDFromString]
push 0x10
push 0x6fa848
push edi
call fcn.006c35ce
add esp, 0xc
test eax, eax
je 0x694ed0
xor eax, eax
jmp 0x694ed5
mov eax, 0x80004005
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x38c]
xor ecx, ebp
call fcn.006c1212
add ebp, 0x390
leave
ret
Function at 0x696adf
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x68
mov eax, 0x6e80b9
call fcn.006c1285
mov esi, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x60], esi
cmp dword [ebp + 0x10], ecx
jne 0x696b0e
mov dword [esi], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xf
mov byte [esi], cl
jmp 0x696c2b
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], ecx
push eax
push ecx
push 0x40000001
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x696c33
xor ecx, ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], 2
test eax, eax
jne 0x696b56
mov dword [ebp - 0x18], eax
mov byte [ebp + eax - 0x28], cl
jmp 0x696b60
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0068e8f4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x40000001
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x696bb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.006970ac
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push str.binary2string__phase2__failed__sysError
push eax
call fcn.0068297a
add esp, 0x18
mov byte [ebp - 4], 4
jmp 0x696c5f
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x18]
ja 0x696bd0
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 0x696bde
sub ecx, dword [ebp - 0x18]
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.0068e8f4
and dword [esi], 0
lea eax, [ebp - 0x28]
and dword [esi + 0x10], 0
mov ecx, esi
and dword [esi + 0x14], 0
push eax
call fcn.006882b4
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x696c2b
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
cmp eax, 0x1000
jb 0x696c22
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00687e86
mov eax, dword [ebp - 0x64]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x60]
push eax
push ecx
call fcn.006c0da8
pop ecx
pop ecx
mov eax, esi
call fcn.006c1234
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.006970ac
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.0068297a
add esp, 0x18
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.00683346
push 0x70a894
lea eax, [ebp - 0x70]
push eax
call fcn.006c300d
int3
Function at 0x696c77
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x6e80f5
call fcn.006c1285
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 0x696cea
push dword [ebp - 0x48]
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.00692013
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [esi]
call fcn.006c2640
add esp, 0xc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.006c1234
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.006970ac
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], edi
push str.decryption_failed__sysError
push eax
call fcn.0068297a
add esp, 0x18
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00683346
push 0x70a894
lea eax, [ebp - 0x60]
push eax
call fcn.006c300d
int3

Function at 0x696e14
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x6e80f5
call fcn.006c1285
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 0x696e92
push dword [ebp - 0x48]
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.00692013
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [esi]
call fcn.006c2640
add esp, 0xc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.006c1234
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.006970ac
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], edi
push str.encryption_failed__sysError
push eax
call fcn.0068297a
add esp, 0x18
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00683346
push 0x70a894
lea eax, [ebp - 0x60]
push eax
call fcn.006c300d
int3
Function at 0x696f31
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x6e819d
call fcn.006c1285
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 0x696f5f
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
jmp 0x69705d
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
mov dword [ebp - 0x5c], esi
jb 0x696f6c
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 0x697065
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 0x696fd4
cmp esi, 0x7fffffff
ja 0x6970a6
push esi
cmp esi, 0x1000
jb 0x696fb4
call fcn.00682a96
jmp 0x696fb9
call fcn.006c0d78
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.006920ae
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 0x696fe3
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 0x69703d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.006970ac
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push str.string2binary__phase2__failed__sysError
push eax
call fcn.0068297a
add esp, 0x18
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00683346
push 0x70a894
lea eax, [ebp - 0x1c]
jmp 0x6970a0
lea eax, [ebp - 0x5d]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
call fcn.00696934
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.006c1234
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.006970ac
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], esi
push str.string2binary__phase1__failed__sysError
push eax
call fcn.0068297a
add esp, 0x18
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00683346
push 0x70a894
lea eax, [ebp - 0x6c]
push eax
call fcn.006c300d
call fcn.0068e8cb
int3
Function at 0x699a9a
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa0c
mov eax, dword [0x714334]
xor eax, esp
mov dword [esp + 0xa08], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa1c]
lea eax, [esp + 0x110]
push edi
mov ebp, 0x104
xor ebx, ebx
push ebp
push ebx
push eax
call fcn.006c2bc0
add esp, 0xc
lea eax, [esp + 0x114]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, eax
test edi, edi
je 0x699c2f
cmp edi, ebp
ja 0x699c2f
push ebp
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.006c2bc0
push esi
lea eax, [esp + 0x124]
push eax
push 0x6f0118
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.00689c6f
add esp, 0x24
test eax, eax
jg 0x699b90
mov esi, 0x800
lea eax, [esp + 0x218]
push esi
push ebx
push eax
call fcn.006c2bc0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._snprintf_failed.__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [esp + 0x224]
push esi
push eax
call fcn.00689c6f
add esp, 0x14
cmp eax, esi
jae 0x699cc0
push 3
mov byte [esp + eax + 0x21c], bl
call fcn.00698a5b
mov ecx, eax
call fcn.00698cc4
test al, al
je 0x699ca5
lea eax, [esp + 0x218]
push eax
push str.JRE_System_LoadLibrary
push 0x50
jmp 0x699c92
cmp eax, ebp
jae 0x699cc0
mov byte [esp + eax + 0x10], bl
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x699c2b
mov esi, 0x800
lea eax, [esp + 0x218]
push esi
push ebx
push eax
call fcn.006c2bc0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push eax
push str.LoadLibrary__s__failed.__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [esp + 0x228]
push esi
push eax
call fcn.00689c6f
add esp, 0x18
cmp eax, esi
jae 0x699cc0
push 3
mov byte [esp + eax + 0x21c], bl
call fcn.00698a5b
mov ecx, eax
call fcn.00698cc4
test al, al
je 0x699c2b
lea eax, [esp + 0x218]
push eax
push str.JRE_System_LoadLibrary
push 0x5a
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u411_893_install_src_windows_common_AllUtils.cpp
push 3
call fcn.00698a5b
mov ecx, eax
call fcn.00688843
mov eax, edi
jmp 0x699ca7
mov esi, 0x800
lea eax, [esp + 0x218]
push esi
push ebx
push eax
call fcn.006c2bc0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.GetSystemDirectory_failed.__Return_Code:__d__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [esp + 0x228]
push esi
push eax
call fcn.00689c6f
add esp, 0x18
cmp eax, esi
jae 0x699cc0
push 3
mov byte [esp + eax + 0x21c], bl
call fcn.00698a5b
mov ecx, eax
call fcn.00698cc4
test al, al
je 0x699ca5
lea eax, [esp + 0x218]
push eax
push str.JRE_System_LoadLibrary
push 0x46
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u411_893_install_src_windows_common_AllUtils.cpp
push 3
call fcn.00698a5b
mov ecx, eax
call fcn.00688843
xor eax, eax
mov ecx, dword [esp + 0xa18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006c1212
add esp, 0xa0c
ret
call fcn.006c112e
int3
Function at 0x699f31
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x6e8847
call fcn.006c1252
mov ebx, ecx
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push 0
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x699fb4
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov ecx, edi
lea eax, [ebp - 0x20]
push eax
call fcn.00699e6f
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x699fb0
mov eax, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x699fa7
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00687e86
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.006c0da8
pop ecx
pop ecx
mov eax, esi
jmp 0x699fd9
lea eax, [ebp + 0xf]
push eax
push dword [ebp - 0x10]
lea ecx, [edi + 4]
call fcn.00696934
lea eax, [ebp - 0x10]
push eax
push dword [edi + 4]
push edi
push 0
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call fcn.006c1220
ret 8
Function at 0x69d341
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x6e8dc4
call fcn.006c1285
mov eax, dword [ebp + 8]
mov edi, 0x104
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
call fcn.006c0d78
mov ebx, eax
mov dword [ebp - 0x40], ebx
lea esi, [ebx + 0x104]
push esi
push ebx
mov dword [ebp - 0x38], esi
call fcn.006920ae
add esp, 0xc
mov dword [ebp - 0x3c], esi
and dword [ebp - 4], 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, ebx
cmp eax, 0x104
jbe 0x69d3b3
lea ecx, [ebp - 0x2d]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00696934
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
sub eax, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [ebp - 0x38]
mov edi, ebx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00682f12
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.006ad12b
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00688398
test edi, edi
je 0x69d409
sub esi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], esi
cmp esi, 0x1000
jb 0x69d400
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00687e86
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
pop ecx
pop ecx
push esi
push edi
call fcn.006c0da8
pop ecx
pop ecx
mov eax, ebx
call fcn.006c1234
ret

Function at 0x69dce4
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.006c2bc0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x24], 9
sete al
leave
ret
Function at 0x69e9b4
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
and dword [esp + 4], 0
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0xc
push 0
push eax
xor ebp, ebp
lea edi, [esi + 0xc8]
inc ebp
push edi
lea ebx, [esi + 0xc4]
mov dword [esp + 0x24], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x69e51c
mov eax, dword [edi]
or dword [esi + 0x9c], 0x100
push 0
push ebp
push dword [ebx]
mov dword [esi + 0xb0], eax
mov dword [esi + 0xac], eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
xor ebx, ebx
inc ebx
push ebx
mov dword [esi + 0x50], ebx
call fcn.00698a5b
mov ecx, eax
call fcn.00698cc4
test al, al
je 0x69e518
push str.Create_pipe_SUCCESS
push str.Executor::createPipe
push 0xe8
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u411_893_install_src_windows_common_Executor.cpp
push ebx
call fcn.00698a5b
mov ecx, eax
call fcn.00688843
mov al, bl
jmp 0x69e550
push ebp
call fcn.00698a5b
mov ecx, eax
call fcn.00698cc4
test al, al
je 0x69e54e
push str.Create_pipe_FAILURE
push str.Executor::createPipe
push 0xeb
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u411_893_install_src_windows_common_Executor.cpp
push ebp
call fcn.00698a5b
mov ecx, eax
call fcn.00688843
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push esi
push edi
mov edi, ecx
push 0x44
push 0
lea esi, [edi + 0x70]
push esi
call fcn.006c2bc0
push 0x10
lea eax, [edi + 0x60]
mov dword [esi], 0x44
push 0
push eax
call fcn.006c2bc0
add esp, 0x18
cmp dword [edi + 0xb4], 1
jne 0x69e9fb
or dword [edi + 0x9c], 1
xor eax, eax
mov word [edi + 0xa0], ax
mov dword [edi + 0x54], 0x8000000
cmp byte [edi + 0xc1], 0
je 0x69ea0d
mov ecx, edi
pop edi
pop esi
jmp 0x69e482
pop edi
pop esi
ret