joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fb84
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2a
push 0
push 0
dec ecx
jne 0x44fb8c
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x44fe1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403e08
xor eax, eax
push ebp
push 0x44fd94
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dword [ebp - 0xdc], 0x94
lea eax, [ebp - 0xdc]
push eax
call sub.kernel32.dll_GetVersionExA
cmp bl, 1
jne 0x44fbef
cmp dword [ebp - 0xd8], 6
jae 0x44fbef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44fd9e
lea edx, [ebp - 0xe0]
mov eax, 0x44fe38
call fcn.00434c60
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x18]
call fcn.00412f24
push 0
push 0
lea eax, [ebp - 0xf4]
push eax
mov eax, 0x44fe5c
mov dword [ebp - 0x104], eax
mov byte [ebp - 0x100], 0xb
cmp dword [ebp - 0xd8], 6
setae al
and eax, 0x7f
mov eax, dword [eax*4 + 0x453608]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 0xf8], 0xb
lea edx, [ebp - 0x104]
mov ecx, 1
mov eax, 0x44fe6c
call fcn.00408930
mov eax, dword [ebp - 0xf4]
push eax
push 0x44fe7c
push 0x44fe88
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0040ea88
add esp, 0x1c
lea edx, [ebp - 0xf0]
lea eax, [ebp - 0x28]
call fcn.0041300c
push 0
push 0x44fea8
lea eax, [ebp - 0x118]
push eax
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4535fc]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x44feb4
call fcn.00408930
mov eax, dword [ebp - 0x118]
push eax
push 0x44fec8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0040ea88
add esp, 0x18
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x38]
call fcn.0041300c
push 0x44fed8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.0040ea88
add esp, 0xc
lea edx, [ebp - 0x134]
lea eax, [ebp - 0x124]
call fcn.00412b60
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 4]
mov ecx, 0x44fee4
call fcn.004057b4
jmp 0x44fd73
push 0x44fef4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0040ea88
add esp, 0xc
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.00411e60
lea eax, [ebp - 0x154]
call fcn.004137f4
lea edx, [ebp - 0x154]
lea eax, [ebp - 0x48]
call fcn.0041300c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x44fd35
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44fd9e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe26
lea eax, [ebp - 0x154]
mov edx, dword [0x401048]
mov ecx, 3
call fcn.00404910
lea eax, [ebp - 0x124]
call fcn.00405770
lea eax, [ebp - 0x118]
call fcn.00403e08
lea eax, [ebp - 0x114]
call fcn.0040ea80
lea eax, [ebp - 0xf4]
call fcn.00403e08
lea eax, [ebp - 0xf0]
call fcn.0040ea80
lea eax, [ebp - 0xe0]
call fcn.00405770
lea eax, [ebp - 0x48]
mov edx, dword [0x401058]
mov ecx, 4
call fcn.00404910
lea eax, [ebp - 4]
call fcn.00405770
ret
Function at 0x44ff04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x78], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x450040
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x5c]
call fcn.0044fab0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov eax, dword [0x453928]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea eax, [ebp - 0x60]
call fcn.0044fa24
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
lea eax, [ebp - 0x64]
call fcn.0044e960
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
lea eax, [ebp - 0x68]
call fcn.0044ee74
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea eax, [ebp - 0x6c]
call fcn.0044ea08
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea eax, [ebp - 0x70]
call fcn.0044fb84
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x78]
mov eax, dword [0x453794]
mov eax, dword [eax]
call fcn.00438774
cmp dword [ebp - 0x78], 0
setne al
and eax, 0x7f
lea edx, [ebp - 0x74]
call fcn.00407b34
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [0x4537a0]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x7c]
call fcn.0044eeb4
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea eax, [ebp - 0x80]
call fcn.0044e8e0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x58]
mov ecx, 0xa
mov eax, 0x450054
call fcn.00408930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450047
lea eax, [ebp - 0x80]
mov edx, 0xa
call fcn.00403e2c
ret

Function at 0x450078
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0
push 0
push 0
push 0
call sub.shfolder.dll_SHGetFolderPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404078
mov eax, dword [ebx]
call fcn.004040c8
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4500b9
mov eax, ebx
mov edx, 0x4500cc
call fcn.004040d0
add esp, 0x108
pop ebx
ret

Function at 0x4500d0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0
push 0
push 5
push 0
call sub.shfolder.dll_SHGetFolderPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404078
mov eax, dword [ebx]
call fcn.004040c8
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x450111
mov eax, ebx
mov edx, 0x450124
call fcn.004040d0
add esp, 0x108
pop ebx
ret
Function at 0x4501c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042b8
mov eax, dword [ebp - 8]
call fcn.004042b8
mov eax, dword [ebp - 0xc]
call fcn.004042b8
xor eax, eax
push ebp
push 0x45024c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404114
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404114
lea eax, [ebp - 0xc]
call fcn.00404320
push eax
lea eax, [ebp - 8]
call fcn.00404320
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
je 0x450231
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450253
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403e2c
ret

Function at 0x45025c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
xor ebx, ebx
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x45027e
push 0
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x45027e
mov bl, 1
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x6d7a35b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xfa0]
mov eax, 0x1020
call fcn.6d7b89f0
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0xf9c], eax
mov eax, dword [ebp + 0xfa8]
push esi
mov esi, dword [ebp + 0xfac]
push edi
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
xor edi, edi
push edi
push 0x6d7e32a4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d7a3792
push ebx
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x79c]
push eax
mov dword [ebp - 0x70], edi
mov ebx, 0x800
push edi
jmp 0x6d7a3774
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x7c], ebx
cmp dword [ebp - 0x6c], edi
jbe 0x6d7a375f
cmp byte [ebp + eax + 0x79c], 0x2e
jne 0x6d7a3644
inc ecx
cmp ecx, 1
jg 0x6d7a3653
inc eax
cmp eax, dword [ebp - 0x6c]
jb 0x6d7a3634
cmp ecx, 1
jle 0x6d7a375f
push 0x6d7e32d0
lea eax, [ebp + 0x79c]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d7a375f
lea eax, [ebp + 0x79c]
push eax
call fcn.6d7a7031
pop ecx
test al, al
je 0x6d7a375f
lea eax, [ebp + 0x79c]
push eax
push 0x6d7e32d8
lea eax, [ebp - 0x64]
push 0x6d7e3304
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x64]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d7a375f
mov eax, dword [esi]
imul eax, eax, 0xc
add eax, dword [ebp - 0x68]
push eax
call fcn.6d7a2ac3
mov ecx, dword [ebp - 0x68]
lea eax, [ebp + 0x79c]
push eax
mov eax, dword [esi]
imul eax, eax, 0xc
push ebx
push dword [eax + ecx]
call fcn.6d7c9aaf
mov ecx, dword [ebp - 0x68]
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi]
imul eax, eax, 0xc
push dword [eax + ecx + 4]
lea eax, [ebp - 0x80]
push eax
push edi
push 0x6d7e330c
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d7a3745
lea eax, [ebp + 0x79c]
push eax
call fcn.6d7c9aaf
mov ecx, dword [esi]
mov edx, dword [ebp - 0x68]
imul ecx, ecx, 0xc
mov byte [ecx + edx + 8], al
lea eax, [ebp + 0x79c]
push eax
call fcn.6d7c9aaf
mov edx, dword [ebp - 0x68]
pop ecx
pop ecx
mov ecx, dword [esi]
imul ecx, ecx, 0xc
mov byte [ecx + edx + 9], al
jmp 0x6d7a3754
mov eax, dword [esi]
imul eax, eax, 0xc
add eax, dword [ebp - 0x68]
push eax
call fcn.6d7a2a84
pop ecx
push dword [ebp - 0x78]
inc dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x70]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x79c]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x74]
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x6d7a3624
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp + 0xf9c]
pop edi
xor ecx, ebp
pop esi
call fcn.6d7b886c
add ebp, 0xfa0
leave
ret
Function at 0x6d7a43ca
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d7a4418
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d7a4429
push 0xd
pop eax
jmp 0x6d7a4453
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d7a442c
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d7a4b91
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d7c9aaf
mov ebx, eax
cmp ebx, esi
je 0x6d7a4c04
lea ecx, [ebp - 0x74]
call fcn.6d7a4310
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7b886c
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d7a4c1c
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d7a4b91
cmp eax, esi
jne 0x6d7a4c4e
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d7a4c0c
lea ecx, [ebp - 0x74]
call fcn.6d7a4310
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d7a42e2
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d7a4310
mov eax, esi
jmp 0x6d7a4bea
Function at 0x6d7a76ae
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x790], eax
mov eax, dword [ebp + 0x79c]
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor esi, esi
push esi
push 0x6d7e38e0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d7a77a2
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x7c], esi
push esi
jmp 0x6d7a778d
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x6d7a777b
cmp byte [ebp + eax - 0x70], 0x2e
jne 0x6d7a7729
inc ecx
cmp ecx, 1
jg 0x6d7a7734
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x6d7a771c
cmp ecx, 1
jle 0x6d7a777b
push str.1.3.1
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d7a777b
lea eax, [ebp - 0x70]
push eax
call fcn.6d7a7031
pop ecx
test al, al
je 0x6d7a777b
push dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jle 0x6d7a777b
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x7a0]
push dword [ebp - 0x80]
call fcn.6d7c9aaf
add esp, 0xc
inc dword [ebp - 0x7c]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 0x800
call edi
test eax, eax
je 0x6d7a7713
pop edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x790]
xor ecx, ebp
pop esi
call fcn.6d7b886c
add ebp, 0x794
leave
ret
Function at 0x6d7a7d86
Capabilities:
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1fc4]
mov eax, 0x2044
call fcn.6d7b89f0
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x1fc0], eax
cmp dword [0x6d7f6388], 0
je 0x6d7a7f0f
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 0x78]
push eax
mov ebx, 0x20019
push ebx
push 0
push 0x6d7e3b74
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x7c], 0x800
call esi
test eax, eax
jne 0x6d7a7f0c
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0xfc0]
push eax
push 0
push 0
push str.CurrentVersion
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0xfc0]
push eax
push str.SOFTWAREJavaSoftJava_Runtime_Environment
lea eax, [ebp - 0x40]
push 0x6d7e3bdc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [ebp - 0x74], 0
jne 0x6d7a7f03
lea eax, [ebp - 0x80]
push eax
push ebx
push 0
lea eax, [ebp - 0x40]
push eax
push edi
call esi
test eax, eax
jne 0x6d7a7f03
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x7c0]
push eax
xor edi, edi
push edi
push edi
push 0x6d7e3be4
push dword [ebp - 0x80]
mov esi, 0x800
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d7a7f03
lea eax, [ebp + 0x7c0]
push eax
lea eax, [ebp + 0x17c0]
push str._slib_bundles
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x17c0]
push eax
call fcn.6d7c9aaf
add esp, 0x14
test eax, eax
jne 0x6d7a7efa
push str._requested.list
lea eax, [ebp + 0x17c0]
push esi
push eax
mov dword [ebp - 0x74], edi
call fcn.6d7c9aaf
push 0x6d7e3c10
lea eax, [ebp + 0x17c0]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.6d7c9aaf
add esp, 0x18
test eax, eax
jne 0x6d7a7efa
mov ecx, dword [0x6d7f6388]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d7a7eda
push dword [ebp - 0x74]
sub eax, esi
push eax
push 1
push ecx
call fcn.6d7bac85
push dword [ebp - 0x74]
call fcn.6d7baaba
add esp, 0x14
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1fc0]
xor ecx, ebp
call fcn.6d7b886c
add ebp, 0x1fc4
leave
ret
Function at 0x6d7a87b9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x788], eax
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
push str.SoftwareJavaSoftJava_Deployment_Toolkit
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d7a882e
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.Allow_Unsigned_Installers
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x7c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x6d7a882e
xor eax, eax
inc eax
jmp 0x6d7a883f
push str.TOOLKIT_ALLOW_UNSIGNED
call fcn.6d7bb30b
neg eax
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
xor ecx, ebp
call fcn.6d7b886c
add ebp, 0x78c
leave
ret

Function at 0x6d7a99a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xb8
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x70], eax
movzx eax, word [ebp + 0x7c]
push esi
mov esi, dword [0x6d7f7218]
push pe_nt_image_headers32
push eax
push esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 1
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x6d7a9ad1
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x6d7a9ad1
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x6d7a9ad1
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x6d7a9acf
mov ecx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov dword [ebp - 0x20], ecx
mov ecx, 0x403
add esi, 8
cmp cx, ax
jne 0x6d7a9a6d
lea eax, [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.6d7a985a
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push 0
push 0x143
push edi
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x6d7a9a5a
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x10]
cmp dword [ebp - 0x14], eax
je 0x6d7a9ac2
push dword [ebp - 0x14]
call fcn.6d7c9aaf
pop ecx
jmp 0x6d7a9ac2
mov ecx, 0x1234
cmp cx, ax
jne 0x6d7a9ac2
or dword [ebp - 0x40], 0xffffffff
lea eax, [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x14], eax
call fcn.6d7a985a
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x3c], eax
cmp eax, ecx
je 0x6d7a9aa5
push eax
call fcn.6d7c9aaf
pop ecx
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
push 0
push 0x401
push edi
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x6d7a9ac2
and dword [ebp - 0x18], 0
add esi, dword [ebp - 0x20]
cmp dword [ebp - 0x18], 0
jne 0x6d7a9a08
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop esi
call fcn.6d7b886c
add ebp, 0x74
leave
ret 4
Function at 0x6d7aef1a
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push ebx
push esi
mov esi, dword [ebp + 0x7b0]
push edi
lea eax, [ebp - 0x5c]
push eax
push 0x800
call dword [sym.imp.kernel32.dll_GetTempPathA]
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x60], bl
lea edi, [ebp - 0x5f]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 3
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push 4
push eax
call fcn.6d7c9aaf
lea eax, [ebp - 0x60]
push eax
call fcn.6d7c9aaf
add esp, 0x14
cmp eax, 0x64
jae 0x6d7aefb2
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x80], vtable.ATL::CSimpleDialog_110__1_.0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x80]
call fcn.6d7a9c62
cmp dword [ebp - 0x6c], ebx
je 0x6d7aefab
push dword [ebp - 0x6c]
call fcn.6d7c9aaf
mov eax, 0x80004005
jmp 0x6d7aefcc
push str.1000
lea eax, [ebp - 0x5c]
push eax
push str._sJREInstall_s.exe
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp + 0x7a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7b886c
add ebp, 0x7a8
leave
ret
Function at 0x6d7af430
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x224]
sub esp, 0x2a4
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0x220], eax
mov eax, dword [ebp + 0x230]
push ebx
mov ebx, dword [ebp + 0x22c]
push esi
push edi
push 0x44
pop edi
xor esi, esi
push edi
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x80]
push esi
push eax
mov dword [ebp + 0x10], esi
call fcn.6d7b8a20
lea eax, [ebp + 0x18]
mov dword [ebp - 0x80], edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push ebx
push eax
call edi
push dword [ebp + 0x14]
lea eax, [ebp + 0x11c]
push ebx
push str._s__s
push eax
call edi
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
cmp eax, esi
jne 0x6d7af51f
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x6d7af556
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.6d7b8a20
lea eax, [ebp + 0x11c]
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x6d7e3aae
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp eax, esi
je 0x6d7af552
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6d7af552
mov dword [ebp], eax
push dword [ebp]
call fcn.6d7a6aaf
or dword [ebp + 0x14], 0xffffffff
lea eax, [ebp + 0x14]
push eax
push dword [ebp]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
je 0x6d7af547
xor eax, eax
cmp dword [ebp + 0x14], esi
sete al
mov dword [ebp + 0x10], eax
push dword [ebp]
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x6d7af55b
xor eax, eax
jmp 0x6d7af55e
call fcn.6d7c9aaf
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x220]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7b886c
add ebp, 0x224
leave
ret