joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
mov ecx, 0x308002a5
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3ded722a
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x412082
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x418680], 0
push ebx
push esi
mov esi, 0x418688
jne 0x4120ae
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4186a0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x418680], 1
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x41214b
push 0x14
push 8
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412175
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x418684]
test eax, eax
je 0x4120f0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x418684], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41217a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412175
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xa11420
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor eax, eax
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
or dword [esi + 0x2c], 0x100
or eax, 0xffffffff
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x1108]
push eax
lea ebx, [edi + 0x110c]
push ebx
push str.RemCom_stdout
lea edx, [ebp - 0x20]
push str..pipe_s_s_d
push 0xa1ef30
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], edx
mov dword [ebp - 4], 1
call fcn.00a11af8
mov ecx, dword [edi + 0x1108]
push ecx
push ebx
push str.RemCom_stdin
push str..pipe_s_s_d
push 0xa1f038
call fcn.00a11af8
mov edx, dword [edi + 0x1108]
push edx
push ebx
push str.RemCom_stderr
push str..pipe_s_s_d
push 0xa1f140
call fcn.00a11af8
mov edi, dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
add esp, 0x3c
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push 0
push 0
push 0xff
push 4
push 2
push 0xa1ef30
call edi
lea ecx, [ebp - 0xc]
push ecx
push 0xffffffffffffffff
push 0
push 0
push 0xff
push 4
push 2
push 0xa1f140
mov dword [esi + 0x3c], eax
call edi
lea edx, [ebp - 0xc]
push edx
push 0xffffffffffffffff
push 0
push 0
push 0xff
mov dword [esi + 0x40], eax
push 4
push 1
push 0xa1f038
call edi
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x38], eax
cmp ecx, 0xffffffff
je 0xa11575
cmp dword [esi + 0x40], 0xffffffff
je 0xa11575
cmp eax, 0xffffffff
je 0xa11575
mov edi, dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push 0
push ecx
call edi
mov eax, dword [esi + 0x38]
push 0
push eax
call edi
mov ecx, dword [esi + 0x40]
push 0
push ecx
call edi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esi + 0x40]
push edx
call edi
mov eax, dword [esi + 0x38]
push eax
call edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xa115a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x44
lea eax, [ebp - 0x160]
push 0
push eax
call fcn.00a11b80
lea ecx, [ebp - 0x160]
push ecx
push esi
mov dword [ebp - 0x160], 0x44
call fcn.00a11420
add esp, 0x14
test eax, eax
jne 0xa115fe
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1186a
mov esp, ebp
pop ebp
ret
push ebx
push esi
lea edx, [ebp - 0x108]
push 0xa1b244
push edx
mov dword [edi], 0
mov dword [ebp - 0x10c], 0
call fcn.00a11af8
movsx eax, byte [esi + 0x1000]
add esp, 0xc
lea ecx, [esi + 0x1000]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x160]
push edx
push eax
mov eax, dword [esi + 0x1104]
push 0
or eax, 0x8000000
push eax
push 1
push 0
push 0
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0xa116ac
mov eax, dword [ebp - 0x11c]
mov dword [edi], 0
cmp dword [esi + 0x1210], 0
mov ebx, eax
jne 0xa116b6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1186a
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10c], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00a1186a
mov esp, ebp
pop ebp
ret

Function at 0xa1186a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0xa11874
repz ret
jmp fcn.00a11db0
Function at 0xa17ceb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00a11f28
and dword [ebp - 4], 0
cmp dword [0xa1fbc4], 0
mov ebx, eax
jne 0xa17d9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0xa17e4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0xa17e4d
push eax
call fcn.00a11eb6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0xa1fbc4], eax
call esi
push eax
call fcn.00a11eb6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0xa1fbc8], eax
call esi
push eax
call fcn.00a11eb6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0xa1fbcc], eax
call esi
push eax
call fcn.00a11eb6
pop ecx
mov dword [0xa1fbd4], eax
test eax, eax
je 0xa17d9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00a11eb6
pop ecx
mov dword [0xa1fbd0], eax
mov eax, dword [0xa1fbd0]
cmp eax, ebx
je 0xa17df4
cmp dword [0xa1fbd4], ebx
je 0xa17df4
push eax
call fcn.00a11f31
push dword [0xa1fbd4]
mov esi, eax
call fcn.00a11f31
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0xa17df4
test edi, edi
je 0xa17df4
call esi
test eax, eax
je 0xa17deb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0xa17deb
test byte [ebp - 0xc], 1
jne 0xa17df4
or dword [ebp + 0x10], 0x200000
jmp 0xa17e2d
mov eax, dword [0xa1fbc8]
cmp eax, ebx
je 0xa17e2d
push eax
call fcn.00a11f31
pop ecx
test eax, eax
je 0xa17e2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0xa17e2d
mov eax, dword [0xa1fbcc]
cmp eax, ebx
je 0xa17e2d
push eax
call fcn.00a11f31
pop ecx
test eax, eax
je 0xa17e2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0xa1fbc4]
call fcn.00a11f31
pop ecx
test eax, eax
je 0xa17e4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0xa17e4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
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.6d7b404c
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.6d7b404c
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.6d7b404c
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.6d7b404c
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.6d7b404c
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.6d7b404c
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.6d7b404c
push 0x6d7e3c10
lea eax, [ebp + 0x17c0]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.6d7b404c
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.6d7b404c
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.6d7b404c
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.6d7b404c
lea eax, [ebp - 0x60]
push eax
call fcn.6d7b404c
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.6d7b404c
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