joyce8/EMBER2024-capa huggingface dataset:
Function at 0x554021
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ca1e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0053bc66
and dword [ebp - 0x14], 0
cmp dword [0x5d4210], 0
mov dword [ebp - 0x18], eax
jne 0x5540d4
push 0x5ab030
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x55417c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5ab024
push ebx
call edi
test eax, eax
je 0x55417c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5ab014
push ebx
mov dword [0x5d4210], eax
call edi
push eax
call esi
push 0x5ab000
push ebx
mov dword [0x5d4214], eax
call edi
push eax
call esi
push 0x5aafe4
push ebx
mov dword [0x5d4218], eax
call edi
push eax
call esi
mov dword [0x5d4220], eax
test eax, eax
je 0x5540d4
push 0x5aafcc
push ebx
call edi
push eax
call esi
mov dword [0x5d421c], eax
mov eax, dword [0x5d421c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x55412d
cmp dword [0x5d4220], ecx
je 0x55412d
push eax
call esi
push dword [0x5d4220]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x55412d
test ebx, ebx
je 0x55412d
call edi
test eax, eax
je 0x554124
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x554124
test byte [ebp - 8], 1
jne 0x55412d
or dword [ebp + 0x10], 0x200000
jmp 0x554160
mov eax, dword [0x5d4214]
cmp eax, dword [ebp - 0x18]
je 0x554160
push eax
call esi
test eax, eax
je 0x554160
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x554160
mov eax, dword [0x5d4218]
cmp eax, dword [ebp - 0x18]
je 0x554160
push eax
call esi
test eax, eax
je 0x554160
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5d4210]
call esi
test eax, eax
je 0x55417c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x55417e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005310be
leave
ret
Function at 0x4f7490
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3e4000]
push edi
or ebp, 0xffffffff
jmp 0x4f74b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f74b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f74a8
mov eax, 1
add ebx, ebx
jne 0x4f74cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f74dc
jne 0x4f74fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f74fb
dec eax
add ebx, ebx
jne 0x4f74e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f74c0
add ebx, ebx
jne 0x4f74f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f754d
xor ecx, ecx
sub eax, 3
jb 0x4f7513
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f7582
sar eax, 1
mov ebp, eax
jmp 0x4f751e
add ebx, ebx
jne 0x4f751e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f74ec
inc ecx
add ebx, ebx
jne 0x4f752c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f74ec
add ebx, ebx
jne 0x4f7539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f752e
jne 0x4f754a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f752e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f756c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f755e
jmp 0x4f74ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f756c
add edi, ecx
jmp 0x4f74ae
pop esi
mov edi, esi
mov ecx, 0xf6c2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f758a
cmp byte [edi], 0x39
jne 0x4f758a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f758f
lea edi, [esi + 0x4d3000]
mov eax, dword [edi]
or eax, eax
je 0x4f75fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4eb84c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4eb950]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f75bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4eb954]
or eax, eax
je 0x4f75f8
mov dword [ebx], eax
add ebx, 4
jmp 0x4f75d9
call dword [esi + 0x4eb964]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4f762f
cmp al, 0xef
ja 0x4f7622
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4f7604
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4f7611
mov ebp, dword [esi + 0x4eb958]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4f7663
sub esp, 0xffffff80
jmp 0x221cb8
Function at 0x6d6935b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xfa0]
mov eax, 0x1020
call fcn.6d6a89f0
mov eax, dword [0x6d6e05c8]
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 0x6d6d32a4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d693792
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 0x6d693774
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x7c], ebx
cmp dword [ebp - 0x6c], edi
jbe 0x6d69375f
cmp byte [ebp + eax + 0x79c], 0x2e
jne 0x6d693644
inc ecx
cmp ecx, 1
jg 0x6d693653
inc eax
cmp eax, dword [ebp - 0x6c]
jb 0x6d693634
cmp ecx, 1
jle 0x6d69375f
push 0x6d6d32d0
lea eax, [ebp + 0x79c]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d69375f
lea eax, [ebp + 0x79c]
push eax
call fcn.6d697031
pop ecx
test al, al
je 0x6d69375f
lea eax, [ebp + 0x79c]
push eax
push 0x6d6d32d8
lea eax, [ebp - 0x64]
push 0x6d6d3304
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 0x6d69375f
mov eax, dword [esi]
imul eax, eax, 0xc
add eax, dword [ebp - 0x68]
push eax
call fcn.6d692ac3
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.6d6bdb83
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 0x6d6d330c
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d693745
lea eax, [ebp + 0x79c]
push eax
call fcn.6d6bdb83
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.6d6bdb83
mov edx, dword [ebp - 0x68]
pop ecx
pop ecx
mov ecx, dword [esi]
imul ecx, ecx, 0xc
mov byte [ecx + edx + 9], al
jmp 0x6d693754
mov eax, dword [esi]
imul eax, eax, 0xc
add eax, dword [ebp - 0x68]
push eax
call fcn.6d692a84
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 0x6d693624
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.6d6a886c
add ebp, 0xfa0
leave
ret
Function at 0x6d6943ca
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 0x6d694418
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d694429
push 0xd
pop eax
jmp 0x6d694453
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 0x6d69442c
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 0x6d694b91
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d6e05c8]
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.6d6bdb83
mov ebx, eax
cmp ebx, esi
je 0x6d694c04
lea ecx, [ebp - 0x74]
call fcn.6d694310
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d6a886c
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d694c1c
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d694b91
cmp eax, esi
jne 0x6d694c4e
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 0x6d694c0c
lea ecx, [ebp - 0x74]
call fcn.6d694310
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d6942e2
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d694310
mov eax, esi
jmp 0x6d694bea
Function at 0x6d6976ae
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x6d6e05c8]
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 0x6d6d38e0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d6977a2
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 0x6d69778d
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x6d69777b
cmp byte [ebp + eax - 0x70], 0x2e
jne 0x6d697729
inc ecx
cmp ecx, 1
jg 0x6d697734
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x6d69771c
cmp ecx, 1
jle 0x6d69777b
push str.1.3.1
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d69777b
lea eax, [ebp - 0x70]
push eax
call fcn.6d697031
pop ecx
test al, al
je 0x6d69777b
push dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jle 0x6d69777b
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x7a0]
push dword [ebp - 0x80]
call fcn.6d6bdb83
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 0x6d697713
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.6d6a886c
add ebp, 0x794
leave
ret
Function at 0x6d697d86
Capabilities:
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1fc4]
mov eax, 0x2044
call fcn.6d6a89f0
mov eax, dword [0x6d6e05c8]
xor eax, ebp
mov dword [ebp + 0x1fc0], eax
cmp dword [0x6d6e6388], 0
je 0x6d697f0f
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 0x6d6d3b74
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x7c], 0x800
call esi
test eax, eax
jne 0x6d697f0c
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 0x6d6d3bdc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [ebp - 0x74], 0
jne 0x6d697f03
lea eax, [ebp - 0x80]
push eax
push ebx
push 0
lea eax, [ebp - 0x40]
push eax
push edi
call esi
test eax, eax
jne 0x6d697f03
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x7c0]
push eax
xor edi, edi
push edi
push edi
push 0x6d6d3be4
push dword [ebp - 0x80]
mov esi, 0x800
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d697f03
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.6d6bdb83
add esp, 0x14
test eax, eax
jne 0x6d697efa
push str._requested.list
lea eax, [ebp + 0x17c0]
push esi
push eax
mov dword [ebp - 0x74], edi
call fcn.6d6bdb83
push 0x6d6d3c10
lea eax, [ebp + 0x17c0]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.6d6bdb83
add esp, 0x18
test eax, eax
jne 0x6d697efa
mov ecx, dword [0x6d6e6388]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d697eda
push dword [ebp - 0x74]
sub eax, esi
push eax
push 1
push ecx
call fcn.6d6aac85
push dword [ebp - 0x74]
call fcn.6d6aaaba
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.6d6a886c
add ebp, 0x1fc4
leave
ret
Function at 0x6d6987b9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x6d6e05c8]
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 0x6d69882e
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 0x6d69882e
xor eax, eax
inc eax
jmp 0x6d69883f
push str.TOOLKIT_ALLOW_UNSIGNED
call fcn.6d6ab30b
neg eax
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
xor ecx, ebp
call fcn.6d6a886c
add ebp, 0x78c
leave
ret

Function at 0x6d6999a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xb8
mov eax, dword [0x6d6e05c8]
xor eax, ebp
mov dword [ebp + 0x70], eax
movzx eax, word [ebp + 0x7c]
push esi
mov esi, dword [0x6d6e7218]
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 0x6d699ad1
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x6d699ad1
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x6d699ad1
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x6d699acf
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 0x6d699a6d
lea eax, [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.6d69985a
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 0x6d699a5a
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x10]
cmp dword [ebp - 0x14], eax
je 0x6d699ac2
push dword [ebp - 0x14]
call fcn.6d6bdb83
pop ecx
jmp 0x6d699ac2
mov ecx, 0x1234
cmp cx, ax
jne 0x6d699ac2
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.6d69985a
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x3c], eax
cmp eax, ecx
je 0x6d699aa5
push eax
call fcn.6d6bdb83
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 0x6d699ac2
and dword [ebp - 0x18], 0
add esi, dword [ebp - 0x20]
cmp dword [ebp - 0x18], 0
jne 0x6d699a08
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop esi
call fcn.6d6a886c
add ebp, 0x74
leave
ret 4
Function at 0x6d69ef1a
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x6d6e05c8]
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.6d6bdb83
lea eax, [ebp - 0x60]
push eax
call fcn.6d6bdb83
add esp, 0x14
cmp eax, 0x64
jae 0x6d69efb2
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.6d699c62
cmp dword [ebp - 0x6c], ebx
je 0x6d69efab
push dword [ebp - 0x6c]
call fcn.6d6bdb83
mov eax, 0x80004005
jmp 0x6d69efcc
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.6d6a886c
add ebp, 0x7a8
leave
ret
Function at 0x6d69f430
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x224]
sub esp, 0x2a4
mov eax, dword [0x6d6e05c8]
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.6d6a8a20
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 0x6d69f51f
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x6d69f556
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.6d6a8a20
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], 0x6d6d3aae
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 0x6d69f552
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6d69f552
mov dword [ebp], eax
push dword [ebp]
call fcn.6d696aaf
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 0x6d69f547
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 0x6d69f55b
xor eax, eax
jmp 0x6d69f55e
call fcn.6d6bdb83
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x220]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d6a886c
add ebp, 0x224
leave
ret
Function at 0x6d6a0fe2
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x17a0]
mov eax, 0x1820
call fcn.6d6a89f0
mov eax, dword [0x6d6e05c8]
xor eax, ebp
mov dword [ebp + 0x179c], eax
push ebx
push esi
mov esi, dword [ebp + 0x17a8]
push edi
mov edi, dword [ebp + 0x17ac]
xor ebx, ebx
push str.FORCED_FX_ROOT
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x64], bl
call fcn.6d6ab452
add esp, 0xc
cmp dword [ebp - 0x6c], ebx
je 0x6d6a105d
cmp eax, ebx
jne 0x6d6a105d
push str.2.0
push dword [ebp + 0x17b0]
push edi
call fcn.6d6bdb83
push dword [ebp - 0x6c]
call fcn.6d6bdb83
add esp, 0x10
jmp 0x6d6a11c1
cmp esi, ebx
jne 0x6d6a1070
mov dword [ebp - 0x74], 1
mov byte [ebp + 0x79c], bl
jmp 0x6d6a10b5
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d6a1075
sub eax, edx
lea eax, [esi + eax - 1]
mov cl, byte [eax]
cmp cl, 0x2b
jne 0x6d6a1092
mov dword [ebp - 0x74], 1
jmp 0x6d6a109e
cmp cl, 0x2a
jne 0x6d6a10a0
mov dword [ebp - 0x7c], 1
mov byte [eax], bl
push esi
lea eax, [ebp + 0x79c]
push 0x800
push eax
call fcn.6d6bdb83
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x20019
push ebx
push 0x6d6d47b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d6a119e
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xf9c]
push eax
mov dword [ebp - 0x70], ebx
push ebx
jmp 0x6d6a118a
push str.1.9.0
lea eax, [ebp + 0xf9c]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d6a1175
push dword [ebp - 0x74]
lea eax, [ebp + 0x79c]
push dword [ebp - 0x7c]
push eax
lea eax, [ebp + 0xf9c]
push eax
call fcn.6d6bdb83
add esp, 0x10
test eax, eax
je 0x6d6a1175
lea esi, [ebp - 0x64]
lea eax, [ebp + 0xf9c]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x6d6a1154
cmp cl, bl
je 0x6d6a1150
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x6d6a1154
add eax, 2
add esi, 2
cmp cl, bl
jne 0x6d6a1134
xor eax, eax
jmp 0x6d6a1159
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jle 0x6d6a1175
lea eax, [ebp + 0xf9c]
push eax
lea eax, [ebp - 0x64]
push 0x800
push eax
call fcn.6d6bdb83
add esp, 0xc
inc dword [ebp - 0x70]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xf9c]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x68]
mov dword [ebp - 0x78], 0x800
call edi
test eax, eax
je 0x6d6a10f5
mov eax, dword [ebp + 0x17b0]
lea ecx, [eax - 1]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push eax
push dword [ebp - 0x80]
call fcn.6d6bdb83
add esp, 0x10
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x179c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d6a886c
add ebp, 0x17a0
leave
ret