joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d1f1a40
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 0x6d1f1a8e
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d1f1a9f
push 0xd
pop eax
jmp 0x6d1f1ac9
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 0x6d1f1aa2
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 0x6d1f1fbb
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x7b0]
sub esp, 0x830
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x7ac], eax
push esi
xor esi, esi
push 0x20019
push 0x6d21f894
push SysReAllocString
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
call fcn.6d219ca3
test eax, eax
je 0x6d1f202f
lea ecx, [ebp - 0x64]
call fcn.6d1f196e
lea ecx, [ebp - 0x7c]
call fcn.6d1f196e
lea ecx, [ebp - 0x70]
call fcn.6d1f196e
jmp 0x6d1f2120
push edi
mov edi, str.CAFEEFAC_DEC7_0000_0001_ABCDEFFEDCBA
push edi
lea ecx, [ebp - 0x70]
call fcn.6d1f23c7
push esi
push esi
push 0x2001f
push esi
push esi
push edi
push dword [ebp - 0x70]
lea ecx, [ebp - 0x7c]
call fcn.6d219ca3
test eax, eax
je 0x6d1f2074
lea ecx, [ebp - 0x64]
call fcn.6d1f196e
lea ecx, [ebp - 0x7c]
call fcn.6d1f196e
lea ecx, [ebp - 0x70]
call fcn.6d1f196e
jmp 0x6d1f211f
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push 4
pop ebx
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
push 0x6d22c078
push dword [ebp - 0x7c]
mov dword [ebp - 0x58], esi
call edi
lea ecx, [ebp - 0x64]
test eax, eax
jne 0x6d1f2109
push esi
push esi
push 0x2001f
push esi
push esi
push str.InprocServer32
push dword [ebp - 0x7c]
call fcn.6d219ca3
test eax, eax
jne 0x6d1f2106
push 0x800
lea eax, [ebp - 0x54]
push eax
push dword [0x6d233750]
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
je 0x6d1f2106
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x58], esi
call edi
test eax, eax
jne 0x6d1f2106
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
push str.Apartment
push dword [ebp - 0x64]
mov dword [ebp - 0x58], str.ThreadingModel
call edi
test eax, eax
jne 0x6d1f2106
mov dword [ebp - 0x80], 1
lea ecx, [ebp - 0x64]
call fcn.6d1f196e
lea ecx, [ebp - 0x7c]
call fcn.6d1f196e
lea ecx, [ebp - 0x70]
call fcn.6d1f196e
pop ebx
pop edi
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x7ac]
neg eax
sbb eax, eax
and eax, 0x7ffbfdff
xor ecx, ebp
add eax, 0x80040201
pop esi
call fcn.6d20a065
add ebp, 0x7b0
leave
ret
Function at 0x6d1f23c7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d22e258]
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.6d219ca3
mov ebx, eax
cmp ebx, esi
je 0x6d1f243a
lea ecx, [ebp - 0x74]
call fcn.6d1f196e
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d20a065
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d1f2452
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d1f23c7
cmp eax, esi
jne 0x6d1f2484
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 0x6d1f2442
lea ecx, [ebp - 0x74]
call fcn.6d1f196e
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d1f18ff
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d1f196e
mov eax, esi
jmp 0x6d1f2420
Function at 0x6d1f4ece
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x6d1f4ed8
lea esi, [ecx - 0x78]
jmp 0x6d1f4eda
xor esi, esi
lea eax, [esi + 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x6d1f4ef6
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x6d1f60bd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x6d1f60cf
add eax, 0xffffff84
jmp 0x6d1f60d1
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x6d21ffe4
lea ecx, [eax + 4]
call fcn.6d1f4ba0
test eax, eax
js 0x6d1f613a
cmp dword [ebp + 8], 0
je 0x6d1f6137
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x6d1f610f
inc edi
push 0x11
call esi
test ax, ax
jns 0x6d1f611b
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x6d1f6127
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x6d1f613a
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x6d1f6150
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x6d1f8b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x790]
sub esp, 0x810
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x78c], eax
mov eax, dword [ebp + 0x79c]
push esi
mov esi, dword [ebp + 0x7a0]
push edi
test eax, eax
jne 0x6d1f8bc1
xor edi, edi
jmp 0x6d1f8bde
cmp word [eax], 8
jne 0x6d1f8c9a
push dword [eax + 8]
call fcn.6d1fb748
mov edi, eax
pop ecx
test edi, edi
je 0x6d1f8c9a
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push 0x6d220364
lea eax, [ebp + 0x38c]
push 0x6d220388
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
push 0x6d22038c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d1f8c62
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0x6d2203b8
push dword [ebp - 0x78]
mov dword [ebp - 0x80], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x7c], 0
jne 0x6d1f8c62
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x38c]
push 0x6d2203c4
push eax
call ebx
add esp, 0xc
push 0
lea eax, [ebp + 0x38c]
push eax
push edi
call fcn.6d1fe197
push edi
mov ebx, eax
call fcn.6d219ca3
add esp, 0x10
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0xb
pop eax
mov word [esi], ax
xor eax, eax
cmp ebx, 1
setne al
pop ebx
dec eax
mov dword [esi + 8], eax
xor eax, eax
jmp 0x6d1f8c9f
mov eax, 0x80070057
mov ecx, dword [ebp + 0x78c]
pop edi
xor ecx, ebp
pop esi
call fcn.6d20a065
add ebp, 0x790
leave
ret 0xc
Function at 0x6d1fb555
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x2a4], eax
mov eax, dword [ebp + 0x2b0]
push ebx
push esi
push edi
mov esi, 0x104
push esi
mov dword [ebp - 0x7c], eax
xor edi, edi
lea eax, [ebp + 0x9c]
push edi
push eax
call fcn.6d20a0b0
push esi
lea eax, [ebp + 0x1a0]
push edi
push eax
call fcn.6d20a0b0
push esi
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.6d20a0b0
mov dword [ebp - 0x78], edi
xor eax, eax
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x24
stosd dword es:[edi], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x9c]
push eax
push str.CLSID08B0E5C0_4FCB_11CF_AAA5_00401C608501TreatAs
mov ebx, SysReAllocString
push ebx
mov dword [ebp - 0x80], esi
call edi
test eax, eax
jne 0x6d1fb724
push 0x6d220af4
lea eax, [ebp + 0x1a0]
push esi
push eax
call fcn.6d219ca3
push 0x6d220afc
lea eax, [ebp + 0x1a0]
push esi
push eax
call fcn.6d219ca3
lea eax, [ebp + 0x9c]
push eax
lea eax, [ebp + 0x1a0]
push esi
push eax
call fcn.6d219ca3
push 0x6d220b00
lea eax, [ebp + 0x1a0]
push esi
push eax
call fcn.6d219ca3
push 0x6d220b04
lea eax, [ebp + 0x1a0]
push esi
push eax
call fcn.6d219ca3
add esp, 0x3c
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x1a0]
push eax
push ebx
mov dword [ebp - 0x80], esi
call edi
test eax, eax
jne 0x6d1fb724
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x6d1fb724
lea eax, [ebp + 0x9c]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1fb68b
xor eax, eax
jmp 0x6d1fb6a5
lea eax, [edi + edi]
call fcn.6d20a080
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x9c]
push ecx
push eax
call fcn.6d219ca3
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edi, eax
movzx eax, byte [ebp - 0x6f]
push 0x10
cdq
pop ecx
idiv ecx
lea ecx, [eax + edx]
test edi, edi
jne 0x6d1fb724
movzx eax, word [ebp - 0x74]
test ecx, ecx
je 0x6d1fb6f8
push ecx
movzx ecx, word [ebp - 0x72]
push ecx
mov ecx, eax
and ecx, 0x8000000f
jns 0x6d1fb6e0
dec ecx
or ecx, 0xfffffff0
inc ecx
push ecx
shr eax, 4
push eax
push str._1d._1d._1d__02d
push esi
push dword [ebp - 0x7c]
call fcn.6d219ca3
add esp, 0x1c
jmp 0x6d1fb72a
movzx ecx, word [ebp - 0x72]
push ecx
mov ecx, eax
and ecx, 0x8000000f
jns 0x6d1fb70c
dec ecx
or ecx, 0xfffffff0
inc ecx
push ecx
shr eax, 4
push eax
push str._1d._1d._1d
push esi
push dword [ebp - 0x7c]
call fcn.6d219ca3
add esp, 0x18
jmp 0x6d1fb72a
mov eax, dword [ebp - 0x7c]
mov byte [eax], 0
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a4]
xor ecx, ebp
call fcn.6d20a065
add ebp, 0x2a8
leave
ret
Function at 0x6d1fc36c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x6d22e258]
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 0x6d220c78
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d1fc460
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 0x6d1fc44b
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x6d1fc439
cmp byte [ebp + eax - 0x70], 0x2e
jne 0x6d1fc3e7
inc ecx
cmp ecx, 1
jg 0x6d1fc3f2
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x6d1fc3da
cmp ecx, 1
jle 0x6d1fc439
push str.1.3.1
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d1fc439
lea eax, [ebp - 0x70]
push eax
call fcn.6d1fbd29
pop ecx
test al, al
je 0x6d1fc439
push dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jle 0x6d1fc439
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x7a0]
push dword [ebp - 0x80]
call fcn.6d219ca3
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 0x6d1fc3d1
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.6d20a065
add ebp, 0x794
leave
ret
Function at 0x6d1fc85e
Capabilities:
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1fc4]
mov eax, 0x2044
call fcn.6d20a9b0
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x1fc0], eax
cmp dword [0x6d2336c8], 0
je 0x6d1fc9e7
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 0x6d220f0c
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x7c], 0x800
call esi
test eax, eax
jne 0x6d1fc9e4
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 0x6d220f74
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [ebp - 0x74], 0
jne 0x6d1fc9db
lea eax, [ebp - 0x80]
push eax
push ebx
push 0
lea eax, [ebp - 0x40]
push eax
push edi
call esi
test eax, eax
jne 0x6d1fc9db
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x7c0]
push eax
xor edi, edi
push edi
push edi
push 0x6d220f7c
push dword [ebp - 0x80]
mov esi, 0x800
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d1fc9db
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.6d219ca3
add esp, 0x14
test eax, eax
jne 0x6d1fc9d2
push str._requested.list
lea eax, [ebp + 0x17c0]
push esi
push eax
mov dword [ebp - 0x74], edi
call fcn.6d219ca3
push 0x6d220fa8
lea eax, [ebp + 0x17c0]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.6d219ca3
add esp, 0x18
test eax, eax
jne 0x6d1fc9d2
mov ecx, dword [0x6d2336c8]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d1fc9b2
push dword [ebp - 0x74]
sub eax, esi
push eax
push 1
push ecx
call fcn.6d20c102
push dword [ebp - 0x74]
call fcn.6d20bf37
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.6d20a065
add ebp, 0x1fc4
leave
ret
Function at 0x6d1fd291
Capabilities:
Query or enumerate registry value

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

Function at 0x6d1fd9f0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x6d22e258]
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.6d219ca3
lea eax, [ebp - 0x60]
push eax
call fcn.6d219ca3
add esp, 0x14
cmp eax, 0x64
jae 0x6d1fda88
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x80], 0x6d2212e4
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x80]
call fcn.6d1ff6d1
cmp dword [ebp - 0x6c], ebx
je 0x6d1fda81
push dword [ebp - 0x6c]
call fcn.6d219ca3
mov eax, 0x80004005
jmp 0x6d1fdaa2
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.6d20a065
add ebp, 0x7a8
leave
ret
Function at 0x6d1fdaba
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x224]
sub esp, 0x2a4
mov eax, dword [0x6d22e258]
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.6d20a0b0
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 0x6d1fdba9
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x6d1fdbe0
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.6d20a0b0
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], 0x6d220e46
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 0x6d1fdbdc
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6d1fdbdc
mov dword [ebp], eax
push dword [ebp]
call fcn.6d1fb7a7
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 0x6d1fdbd1
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 0x6d1fdbe5
xor eax, eax
jmp 0x6d1fdbe8
call fcn.6d219ca3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x220]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d20a065
add ebp, 0x224
leave
ret
Function at 0x6d1ff40f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xb8
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x70], eax
movzx eax, word [ebp + 0x7c]
push esi
mov esi, dword [0x6d233754]
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 0x6d1ff540
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x6d1ff540
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x6d1ff540
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x6d1ff53e
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 0x6d1ff4dc
lea eax, [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.6d1ff3a8
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 0x6d1ff4c9
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x10]
cmp dword [ebp - 0x14], eax
je 0x6d1ff531
push dword [ebp - 0x14]
call fcn.6d219ca3
pop ecx
jmp 0x6d1ff531
mov ecx, 0x1234
cmp cx, ax
jne 0x6d1ff531
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.6d1ff3a8
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x3c], eax
cmp eax, ecx
je 0x6d1ff514
push eax
call fcn.6d219ca3
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 0x6d1ff531
and dword [ebp - 0x18], 0
add esi, dword [ebp - 0x20]
cmp dword [ebp - 0x18], 0
jne 0x6d1ff477
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop esi
call fcn.6d20a065
add ebp, 0x74
leave
ret 4
Function at 0x6d203536
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x17a0]
mov eax, 0x1820
call fcn.6d20a9b0
mov eax, dword [0x6d22e258]
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.6d20c6a7
add esp, 0xc
cmp dword [ebp - 0x6c], ebx
je 0x6d2035b1
cmp eax, ebx
jne 0x6d2035b1
push str.2.0
push dword [ebp + 0x17b0]
push edi
call fcn.6d219ca3
push dword [ebp - 0x6c]
call fcn.6d219ca3
add esp, 0x10
jmp 0x6d203715
cmp esi, ebx
jne 0x6d2035c4
mov dword [ebp - 0x74], 1
mov byte [ebp + 0x79c], bl
jmp 0x6d203609
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d2035c9
sub eax, edx
lea eax, [esi + eax - 1]
mov cl, byte [eax]
cmp cl, 0x2b
jne 0x6d2035e6
mov dword [ebp - 0x74], 1
jmp 0x6d2035f2
cmp cl, 0x2a
jne 0x6d2035f4
mov dword [ebp - 0x7c], 1
mov byte [eax], bl
push esi
lea eax, [ebp + 0x79c]
push 0x800
push eax
call fcn.6d219ca3
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x20019
push ebx
push 0x6d221a08
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d2036f2
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 0x6d2036de
push str.1.9.0
lea eax, [ebp + 0xf9c]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d2036c9
push dword [ebp - 0x74]
lea eax, [ebp + 0x79c]
push dword [ebp - 0x7c]
push eax
lea eax, [ebp + 0xf9c]
push eax
call fcn.6d219ca3
add esp, 0x10
test eax, eax
je 0x6d2036c9
lea esi, [ebp - 0x64]
lea eax, [ebp + 0xf9c]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x6d2036a8
cmp cl, bl
je 0x6d2036a4
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x6d2036a8
add eax, 2
add esi, 2
cmp cl, bl
jne 0x6d203688
xor eax, eax
jmp 0x6d2036ad
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jle 0x6d2036c9
lea eax, [ebp + 0xf9c]
push eax
lea eax, [ebp - 0x64]
push 0x800
push eax
call fcn.6d219ca3
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 0x6d203649
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.6d219ca3
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.6d20a065
add ebp, 0x17a0
leave
ret