joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ec25
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1006ae8c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x214]
xor eax, eax
xor esi, esi
mov dword [ebp - 4], esi
mov word [ebx], ax
lea eax, [ebp]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
js 0x1002ed11
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000154d
mov eax, dword [eax]
test eax, eax
je 0x1002ec9e
mov esi, dword [eax]
push 0x104
push esi
push dword [ebp + 0x218]
push ebx
call fcn.100412dd
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1002ece7
call fcn.100016dc
jmp 0x1002ece7
xor eax, eax
test edi, edi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1003b105
add ebp, 0x20c
leave
ret
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.10036f28
pop ecx
pop ecx
push esi
push edi
call fcn.1003ca50
int3

Function at 0x1002ed2b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1006aeb6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x214]
xor eax, eax
xor esi, esi
mov dword [ebp - 4], esi
mov word [ebx], ax
lea eax, [ebp]
push eax
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
js 0x1002ee17
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000154d
mov eax, dword [eax]
test eax, eax
je 0x1002eda4
mov esi, dword [eax]
push 0x104
push esi
push dword [ebp + 0x218]
push ebx
call fcn.100412dd
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1002eded
call fcn.100016dc
jmp 0x1002eded
xor eax, eax
test edi, edi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1003b105
add ebp, 0x20c
leave
ret
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.10036f28
pop ecx
pop ecx
push esi
push edi
call fcn.1003ca50
int3
Function at 0x1002f5dd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov ebx, 0x208
push ebx
push 0
push eax
call fcn.1003d660
add esp, 0xc
lea eax, [ebp - 0x20c]
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1002f663
cmp eax, edi
ja 0x1002f663
push ebx
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1003d660
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x10098818
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1002f665
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b105
leave
ret

Function at 0x1002f686
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x1002f693
xor eax, eax
pop ebp
ret
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop ebp
ret

Function at 0x1002f705
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.1003d660
xor eax, eax
mov dword [ebp - 0x58], esi
lea edi, [ebp - 0x14]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x28], ax
xor edi, edi
lea eax, [ebp - 4]
inc edi
push eax
push 0x2000000
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1002f79d
cmp dword [ebp + 8], ebx
je 0x1002f79d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x8000008
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1002f79d
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, edi
jmp 0x1002f79f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002f7a4
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x280c
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x2808], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x281c]
lea eax, [esp + 0x1814]
push edi
mov ebx, 0x1000
xor edi, edi
push ebx
push edi
push eax
call fcn.1003d660
push esi
push 0x100988a8
push 0x10098900
mov ebp, 0x800
lea eax, [esp + 0x1830]
push ebp
push eax
call fcn.10007104
add esp, 0x20
lea eax, [esp + 0x10]
push eax
push 0x20019
push edi
lea eax, [esp + 0x1824]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002f8fb
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push edi
push 0x1009890c
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1002f8fb
push ebx
lea eax, [esp + 0x81c]
push edi
push eax
call fcn.1003d660
push 0x10098920
lea eax, [esp + 0x28]
push eax
push 0x1009893c
lea eax, [esp + 0x830]
push ebp
push eax
call fcn.10007104
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x838]
add esp, 0x20
push eax
call ebx
test eax, eax
je 0x1002f8fb
push 0x10098948
lea eax, [esp + 0x1c]
push eax
push 0x10098970
lea eax, [esp + 0x824]
push ebp
push eax
call fcn.10007104
add esp, 0x14
lea eax, [esp + 0x818]
push eax
call ebx
mov esi, eax
lea eax, [esp + 0x18]
push 0x1009897c
push eax
push 0x100989a4
lea eax, [esp + 0x824]
push ebp
push eax
call fcn.10007104
add esp, 0x14
lea eax, [esp + 0x818]
push eax
call ebx
test esi, esi
jne 0x1002f8f8
test eax, eax
je 0x1002f8fb
xor edi, edi
inc edi
mov ecx, dword [esp + 0x2818]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x280c
ret

Function at 0x1002fb13
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x1002fb37
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
inc ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
ret
Function at 0x1002fd9c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100c
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x101c]
lea eax, [esp + 0x14]
push edi
mov edi, dword [esp + 0x1028]
mov ebp, 0x800
push ebp
xor ebx, ebx
push ebx
push eax
call fcn.1003d660
push esi
push str.SOFTWAREClassesCLSID_sInprocServer32
lea eax, [esp + 0x2c]
push 0x400
push eax
call fcn.10007104
add esp, 0x1c
lea eax, [esp + 0x10]
neg edi
sbb edi, edi
push eax
push 0x20019
push ebx
lea eax, [esp + 0x24]
add edi, reloc.OLEAUT32.dll_SysReAllocString
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
je 0x1002fe22
xor eax, eax
cmp ecx, 2
sete al
jmp 0x1002fe98
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
lea eax, [esp + 0x81c]
push eax
push 0x10098be4
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push dword [esp + 0x10]
test eax, eax
je 0x1002fe54
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1002fe98
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1024]
lea ecx, [esp + 0x818]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002fe8c
test dx, dx
je 0x1002fe91
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002fe8c
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002fe68
jmp 0x1002fe91
sbb ebx, ebx
or ebx, 1
xor eax, eax
test ebx, ebx
setne al
mov ecx, dword [esp + 0x1018]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x100c
ret
Function at 0x1002feb1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x9c]
push ebx
mov ebx, dword [esp + 0x98]
push esi
mov esi, dword [esp + 0xa0]
push edi
mov dword [esp + 0xc], eax
lea edi, [esp + 0x18]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
push 8
pop edx
mov dword [esp + 0x14], eax
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
lea edi, [esp + 0x38]
mov ecx, edx
rep stosd dword es:[edi], eax
lea edi, [esp + 0x58]
mov ecx, edx
rep stosd dword es:[edi], eax
lea edi, [esp + 0x78]
mov ecx, edx
rep stosd dword es:[edi], eax
test ebx, ebx
je 0x100300c3
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call ebp
push str.0000
mov edi, eax
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.1004a3c0
push 0x10098bec
lea eax, [esp + 0x4c]
push 0x10
push eax
call fcn.1004a3c0
push 0x10098bf0
lea eax, [esp + 0x78]
push 0x10
push eax
call fcn.1004a3c0
push 0x10098bf4
lea eax, [esp + 0xa4]
push 0x10
push eax
call fcn.1004a3c0
push ebx
lea eax, [esp + 0x50]
push 0x10
push eax
call fcn.1004a3c0
add esp, 0x3c
xor eax, eax
push 0x2e
pop edx
test edi, edi
jle 0x1002ffb0
lea ecx, [eax + eax]
cmp word [ecx + ebx], dx
je 0x1002ffa0
inc eax
cmp eax, edi
jl 0x1002ff90
jmp 0x1002ffb0
cmp ecx, 0x20
jae 0x100300db
xor eax, eax
mov word [esp + ecx + 0x1c], ax
lea eax, [esp + 0x1c]
push eax
call fcn.1004e1cd
mov dword [esi], eax
lea eax, [esp + 0x20]
pop ecx
push eax
call ebp
lea esi, [eax + 1]
lea ecx, [ebx + esi*2]
push ecx
lea eax, [esp + 0x40]
push 0x10
push eax
call fcn.1004a3c0
add esp, 0xc
mov eax, esi
cmp esi, edi
jge 0x10030004
push 0x2e
pop ecx
cmp word [ebx + eax*2], cx
je 0x1002fff0
inc eax
cmp eax, edi
jl 0x1002ffe3
jmp 0x10030004
sub eax, esi
add eax, eax
cmp eax, 0x20
jae 0x100300db
xor ecx, ecx
mov word [esp + eax + 0x3c], cx
lea eax, [esp + 0x3c]
push eax
call fcn.1004e1cd
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
lea eax, [esp + 0x3c]
push eax
call ebp
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esi, 2
add esi, eax
cmp esi, edi
jge 0x100300bf
lea eax, [ebx + esi*2]
push eax
lea eax, [esp + 0x60]
push 0x10
push eax
call fcn.1004a3c0
add esp, 0xc
mov eax, esi
cmp word [ebx + eax*2], 0x5f
je 0x10030055
inc eax
cmp eax, edi
jl 0x10030047
jmp 0x10030065
sub eax, esi
add eax, eax
cmp eax, 0x20
jae 0x100300db
xor ecx, ecx
mov word [esp + eax + 0x5c], cx
lea eax, [esp + 0x5c]
push eax
call fcn.1004e1cd
pop ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
lea eax, [esp + 0x5c]
push eax
call ebp
mov esi, eax
lea eax, [esp + 0x3c]
push eax
call ebp
add esi, eax
lea eax, [esp + 0x1c]
push eax
call ebp
add eax, 3
add eax, esi
cmp eax, edi
jge 0x100300ae
lea eax, [ebx + eax*2]
push eax
lea eax, [esp + 0x80]
push 0x10
push eax
call fcn.1004a3c0
add esp, 0xc
lea eax, [esp + 0x7c]
push eax
call fcn.1004e1cd
pop ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
xor eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x90
ret
call fcn.1003b8ee
int3
Function at 0x1003084d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1006af3c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0x208], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10098db4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1004aa3f
add esp, 0xc
test eax, eax
jne 0x1003093e
push dword [ebp - 0x18]
call fcn.100411f4
cmp dword [0x100c0cac], 0
pop ecx
je 0x100308bc
xor eax, eax
inc eax
jmp 0x10030940
lea eax, [ebp]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, esi
ja 0x1003093e
test eax, eax
je 0x1003093e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000154d
xor edi, edi
lea ecx, [ebp - 0x10]
push str.JavaDeployReg.log
mov dword [ebp - 4], edi
call fcn.1000154d
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.10001683
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1003090e
call fcn.100016dc
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10030917
mov edi, dword [esi]
push 0x10098e60
push edi
push 0x100c0cac
call fcn.1004b341
add esp, 0xc
neg eax
sbb edi, edi
test esi, esi
je 0x10030939
mov ecx, esi
call fcn.100016dc
lea eax, [edi + 1]
jmp 0x10030940
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1003b105
add ebp, 0x20c
leave
ret

Function at 0x10030d1d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.10031048
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*2 + 2]
lea eax, [ebp - 4]
push eax
push 0x20006
push esi
push dword [0x100bc78c]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10030d60
xor eax, eax
jmp 0x10030d85
push edi
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10030d7a
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x10030d89
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x2010
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
mov ebx, dword [esp + 0x2018]
lea eax, [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x2028]
mov ebp, 0x1000
xor esi, esi
mov dword [esp + 0x18], 1
push ebp
push esi
push eax
mov dword [esp + 0x1c], esi
call fcn.1003d660
push ebp
lea eax, [esp + 0x102c]
push esi
push eax
call fcn.1003d660
push ebx
call fcn.1004aa5d
add esp, 0x1c
test eax, eax
je 0x10030e22
push eax
push dword [esp + 0x2030]
push edi
call fcn.1004a3c0
add esp, 0xc
test eax, eax
je 0x10030fbb
xor eax, eax
mov ecx, dword [esp + 0x201c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x2010
ret
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push dword [0x100bc788]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10030e07
lea eax, [esp + 0x202c]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10030f9f
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x1009aa34
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10030e9d
xor esi, esi
inc esi
jmp 0x10030f9f
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10030e95
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x1020]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push str.deployment.modified.timestamp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10030e95
mov dword [esp + 0x14], 0x800
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x101c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10030f29
test dx, dx
je 0x10030f25
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10030f29
add eax, 4
add ecx, 4
test dx, dx
jne 0x10030f03
mov eax, esi
jmp 0x10030f2e
sbb eax, eax
or eax, 1
test eax, eax
js 0x10030fbb
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10030e95
push dword [esp + 0x10]
call ebp
call fcn.100301c2
test eax, eax
jne 0x10030fbb
lea eax, [esp + 0x10]
push eax
push 0x20006
push esi
push dword [0x100bc788]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10030e07
push dword [esp + 0x14]
push edi
push 1
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10030fac
push dword [esp + 0x10]
call ebp
mov eax, esi
jmp 0x10030e09
push dword [esp + 0x10]
call ebp
push edi
push ebx
call fcn.10030d1d
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x10030e09
Function at 0x10030fc3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 8]
xor edi, edi
xor esi, esi
inc edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
call fcn.1004aa5d
pop ecx
test eax, eax
je 0x10030ff9
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.1004a3c0
add esp, 0xc
test eax, eax
jne 0x10031018
mov eax, edi
jmp 0x10031044
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push dword [0x100bc78c]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1003101c
xor eax, eax
jmp 0x10031044
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
cmove esi, edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x1003118a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x3014
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x3010], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3024]
lea eax, [esp + 0x1c]
push edi
mov ebp, 0x1000
xor ebx, ebx
push ebp
push ebx
push eax
mov edi, ebx
call fcn.1003d660
push ebp
lea eax, [esp + 0x1030]
push ebx
push eax
call fcn.1003d660
add esp, 0x18
mov dword [esp + 0x10], 0x800
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push 0x1009a868
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10031303
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [esp + 0x34]
call ebp
test eax, eax
jne 0x10031303
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x20]
push eax
push 0x1009a8c0
push 0x1009a918
lea eax, [esp + 0x102c]
push 0x800
push eax
call fcn.10007104
add esp, 0x14
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea eax, [esp + 0x102c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100312d9
push 0x1000
push eax
lea eax, [esp + 0x2028]
push eax
call fcn.1003d660
add esp, 0xc
mov dword [esp + 0x10], 0x800
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2024]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x1009a924
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x100312d9
cmp dword [esp + 0x10], eax
jbe 0x100312d9
mov eax, dword [esp + 0x302c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x24]
push eax
push 0
push 0x1009a93c
push dword [esp + 0x28]
call ebx
xor eax, eax
mov dword [esp + 0x10], 0x800
push eax
push eax
push eax
push eax
lea eax, [esp + 0x20]
inc edi
push eax
lea eax, [esp + 0x34]
push eax
push edi
push dword [esp + 0x34]
call ebp
test eax, eax
je 0x10031228
xor ebx, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x10031306
sub esi, ecx
xor eax, eax
mov ecx, dword [esp + 0x3020]
sar esi, 1
cmp eax, esi
pop edi
pop esi
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.1003b105
add esp, 0x3014
ret
Function at 0x10031336
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x230]
sub esp, 0x2b0
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push ebx
push 0x208
xor ebx, ebx
lea eax, [ebp + 0x24]
push ebx
push eax
call fcn.1003d660
add esp, 0xc
lea eax, [ebp + 0x24]
push eax
push ebx
push ebx
push 0x2c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x10031380
xor eax, eax
jmp 0x10031477
push esi
push edi
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0xc]
call fcn.100125ed
push str.JavaJava_Updatejucheck.exe
mov ecx, eax
call fcn.10031994
push eax
lea ecx, [ebp - 0x24]
call fcn.10012532
lea ecx, [ebp - 0xc]
call fcn.100144d4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push 0x22
push eax
call fcn.1003160a
add esp, 0xc
mov esi, eax
mov ecx, esi
push 0x22
call fcn.100151b9
push esi
lea ecx, [ebp + 0xc]
call fcn.10012532
lea ecx, [ebp - 0xc]
call fcn.100144d4
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.1003d660
xor eax, eax
mov dword [ebp - 0x80], esi
lea edi, [ebp - 0x3c]
add esp, 0xc
cmp dword [ebp + 0x20], 8
lea ecx, [ebp + 0xc]
stosd dword es:[edi], eax
lea edx, [ebp - 0x25]
cmovae ecx, dword [ebp + 0xc]
push edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1c]
lea eax, [ecx + eax*2]
lea ecx, [ebp + 0xc]
cmovae ecx, dword [ebp + 0xc]
push eax
push ecx
lea ecx, [ebp]
call fcn.100315d1
lea eax, [ebp - 0x2a]
mov dword [ebp - 0x2a], ebx
push eax
lea ecx, [ebp]
call fcn.10031676
cmp dword [ebp - 0x10], 8
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push 0x8000000
push 1
push ebx
push ebx
push dword [ebp]
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call fcn.1002f686
add esp, 0x28
neg eax
sbb esi, esi
lea ecx, [ebp]
neg esi
call fcn.1003196e
lea ecx, [ebp + 0xc]
call fcn.100144d4
lea ecx, [ebp - 0x24]
call fcn.100144d4
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
pop ebx
call fcn.1003b105
add ebp, 0x230
leave
ret

Function at 0x1003148d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x400
lea eax, [ebp - 0x804]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x100314fc
push str.DeploymentRuleSet.jar
lea eax, [ebp - 0x804]
push eax
push str._sSunJavaDeployment_s
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.100317f3
add esp, 0x14
test eax, eax
jle 0x100314fc
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100314fc
test al, 0x10
jne 0x100314fc
xor eax, eax
inc eax
jmp 0x100314fe
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003b105
leave
ret