joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002b093
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xff8]
mov eax, 0x1078
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0xff4], eax
mov eax, dword [ebp + 0x1004]
push ebx
push esi
mov esi, dword [ebp + 0x1000]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x1005d148]
fld qword [0x1005d140]
fdiv st(1), st(0)
fxch st(1)
call fcn.1003aca0
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1008]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.1003aca0
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x1005d138]
fadd qword [0x1005d130]
call fcn.1003aca0
neg eax
cmp dword [ebp + 0x100c], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, 0x800
push eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x52], ebx
mov word [ebp - 0x4e], bx
push ecx
push 0x1002
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push 5
lea eax, [ebp - 0xc]
push str.Japan
push eax
call fcn.10052b6b
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
jne 0x1002b1d1
push 0x10069830
jmp 0x1002b1d4
push dword [ebp - 0x78]
push 0x20
push eax
call fcn.10052b6b
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0xff4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0xff8
leave
ret 0x10
Function at 0x1002d6af
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2794]
mov eax, 0x2814
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x2790], eax
push ebx
push esi
mov esi, dword [ebp + 0x279c]
push edi
xor eax, eax
mov edi, 0xffe
xor ebx, ebx
push edi
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
call fcn.10039d40
push esi
push 0x1006afe8
push 0x1006afdc
mov esi, 0x800
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.10052b6b
add esp, 0x20
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002d815
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x1f90]
push eax
push ebx
push ebx
push 0x1006b040
push dword [ebp - 0x78]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
jne 0x1002d815
xor eax, eax
push edi
mov word [ebp + 0xf90], ax
lea eax, [ebp + 0xf92]
push ebx
push eax
call fcn.10039d40
push 0x1006b054
lea eax, [ebp + 0x1f90]
push eax
push 0x1006b070
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.10052b6b
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x20
lea eax, [ebp + 0xf90]
push eax
call edi
test eax, eax
je 0x1002d815
push 0x1006b07c
lea eax, [ebp + 0x1f90]
push eax
push 0x1006b0a4
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.10052b6b
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
mov dword [ebp - 0x74], eax
push 0x1006b0b0
lea eax, [ebp + 0x1f90]
push eax
push 0x1006b0d8
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.10052b6b
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
cmp dword [ebp - 0x74], ebx
jne 0x1002d80e
cmp eax, ebx
je 0x1002d815
mov dword [ebp - 0x7c], 1
mov ecx, dword [ebp + 0x2790]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0x2794
leave
ret
Function at 0x1002d8ba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf8c]
mov eax, 0x100c
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0xf88], eax
push esi
mov esi, dword [ebp + 0xf9c]
push edi
mov edi, dword [ebp + 0xf94]
xor eax, eax
push 0x7fe
push eax
mov word [ebp + 0x788], ax
lea eax, [ebp + 0x78a]
push eax
call fcn.10039d40
push edi
push str.SOFTWAREClassesCLSID_sInprocServer32
lea eax, [ebp + 0x788]
push 0x400
push eax
call fcn.10052b6b
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
neg esi
push 0
lea eax, [ebp + 0x788]
sbb esi, esi
push eax
add esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop edi
pop esi
test eax, eax
je 0x1002d94f
xor ecx, ecx
cmp eax, 2
sete cl
jmp 0x1002d9be
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x1006b2b4
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push dword [ebp - 0x7c]
test eax, eax
je 0x1002d97d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1002d9c0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xf98]
lea ecx, [ebp - 0x78]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002d9b2
test dx, dx
je 0x1002d9ae
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002d9b2
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002d98c
xor eax, eax
jmp 0x1002d9b7
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp + 0xf88]
xor ecx, ebp
call fcn.10039bc2
add ebp, 0xf8c
leave
ret

Function at 0x1002dbc7
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x1002dbe8
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0x1006b3cc
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1002dbe8
inc esi
mov eax, esi
pop esi
ret
Function at 0x1002debf
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7bc]
sub esp, 0x83c
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x7b8], eax
push esi
push edi
xor edi, edi
mov esi, 0x20019
push esi
push 0x1006ae70
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], edi
call fcn.10052b6b
test eax, eax
je 0x1002df5d
lea ecx, [ebp - 0x74]
call fcn.10016b3c
lea ecx, [ebp - 0x58]
call fcn.10016b3c
lea ecx, [ebp - 0x68]
call fcn.10016b3c
lea ecx, [ebp - 0x80]
call fcn.10016b3c
xor eax, eax
mov ecx, dword [ebp + 0x7b8]
pop edi
xor ecx, ebp
pop esi
call fcn.10039bc2
add ebp, 0x7bc
leave
ret
push esi
push 0x1006ae84
push dword [ebp - 0x80]
lea ecx, [ebp - 0x68]
call fcn.10052b6b
test eax, eax
jne 0x1002df24
push esi
push 0x1006ae98
push dword [ebp - 0x68]
lea ecx, [ebp - 0x58]
call fcn.10052b6b
test eax, eax
je 0x1002dfab
lea ecx, [ebp - 0x74]
call fcn.10016b3c
lea ecx, [ebp - 0x58]
call fcn.10016b3c
lea ecx, [ebp - 0x68]
call fcn.10016b3c
lea ecx, [ebp - 0x80]
call fcn.10016b3c
mov eax, edi
jmp 0x1002df46
push ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.10039d40
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
add esp, 0xc
push esi
lea eax, [ebp - 0x48]
push eax
push edi
jmp 0x1002e01e
inc dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x7c4]
lea eax, [ebp - 0x48]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002dfff
cmp dx, di
je 0x1002dffb
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002dfff
add eax, 4
add ecx, 4
cmp dx, di
jne 0x1002dfd9
xor eax, eax
jmp 0x1002e004
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea eax, [ebp - 0x48]
je 0x1002e029
push esi
push edi
push eax
call fcn.10039d40
add esp, 0xc
push esi
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x4c]
push dword [ebp - 0x58]
call ebx
test eax, eax
je 0x1002dfcd
jmp 0x1002e060
push 0x20019
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x74]
call fcn.10052b6b
test eax, eax
jne 0x1002e060
lea eax, [ebp - 0x4c]
push eax
push 0x1006aeb4
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x4c], edi
call fcn.10052b6b
test eax, eax
jne 0x1002e060
cmp dword [ebp - 0x4c], 1
sete al
mov dword [ebp - 0x5c], eax
mov edi, dword [ebp - 0x5c]
pop ebx
jmp 0x1002df87
Function at 0x1002e4c4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xfc0]
mov eax, 0x1040
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0xfbc], eax
push ebx
push esi
push edi
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x42]
push eax
call fcn.10039d40
and dword [ebp - 0x80], 0
add esp, 0xc
push 0x800
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x1002e62e
call fcn.10052b6b
test eax, eax
lea eax, [ebp - 0x44]
push eax
je 0x1002e5d9
lea ecx, [ebp - 0x78]
call fcn.10001309
push str._system32javaws.exe
lea ecx, [ebp - 0x7c]
call fcn.10001309
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x78]
call fcn.10001524
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x1002e55b
call fcn.10001441
mov esi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.Wow64DisableWow64FsRedirection
push 0x1006a3d8
call esi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call edi
push str.Wow64RevertWow64FsRedirection
push str.kernel32
mov ebx, eax
call esi
push eax
call edi
mov esi, dword [ebp - 0x78]
mov edi, eax
test ebx, ebx
je 0x1002e623
test edi, edi
je 0x1002e623
lea eax, [ebp - 0x80]
push eax
call ebx
test eax, eax
je 0x1002e623
test esi, esi
je 0x1002e5ae
mov eax, dword [esi]
jmp 0x1002e5b0
xor eax, eax
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.10052b6b
pop ecx
pop ecx
push dword [ebp - 0x80]
test eax, eax
jne 0x1002e5d5
call edi
test esi, esi
je 0x1002e5d0
mov ecx, esi
call fcn.10001441
xor eax, eax
inc eax
jmp 0x1002e630
call edi
jmp 0x1002e623
lea ecx, [ebp - 0x7c]
call fcn.10001309
push str._sysWow64javaws.exe
lea ecx, [ebp - 0x78]
call fcn.10001309
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10001524
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1002e606
call fcn.10001441
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x1002e611
mov eax, dword [esi]
jmp 0x1002e613
xor eax, eax
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.10052b6b
pop ecx
pop ecx
test eax, eax
je 0x1002e5c5
test esi, esi
je 0x1002e62e
mov ecx, esi
call fcn.10001441
xor eax, eax
mov ecx, dword [ebp + 0xfbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0xfc0
leave
ret
Function at 0x1002eb17
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x10059221
call fcn.10039bd1
push 0x1006b464
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003b936
add esp, 0xc
test eax, eax
jne 0x1002ebf2
push dword [ebp - 0x18]
call fcn.10052b6b
cmp dword [0x100825c4], 0
pop ecx
je 0x1002eb72
xor eax, eax
inc eax
jmp 0x1002ebf4
lea eax, [ebp]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
cmp eax, esi
ja 0x1002ebf2
test eax, eax
je 0x1002ebf2
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001309
and dword [ebp - 4], 0
push str.JavaDeployReg.log
lea ecx, [ebp - 0x14]
call fcn.10001309
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10001524
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1002ebc3
call fcn.10001441
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1002ebce
mov eax, dword [esi]
jmp 0x1002ebd0
xor eax, eax
push 0x1006b510
push eax
push 0x100825c4
call fcn.10052b6b
add esp, 0xc
test eax, eax
je 0x1002ec17
test esi, esi
je 0x1002ebf2
mov ecx, esi
call fcn.10001441
xor eax, eax
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.10039bc2
add ebp, 0x20c
leave
ret
test esi, esi
je 0x1002eb6a
mov ecx, esi
call fcn.10001441
jmp 0x1002eb6a

Function at 0x1002eec6
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10059249
call fcn.10039c04
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.10052b6b
test eax, eax
je 0x1002eef1
call fcn.1002eeb7
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x1005fda0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x1002ef4c
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.1003544c
pop ecx
pop ecx
push edi
push esi
call fcn.10052b6b
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.10004b09
push eax
push esi
push 0x1006a44c
call fcn.1003544c
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x1002ef45
ret
cmp ebx, edi
je 0x1002ef57
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1002f008
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1002efb4
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x1002ef10
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1002f008
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1002f008
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x1002ef10
mov eax, esi
call fcn.10039c70
ret
Function at 0x1002f34c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2f9c]
mov eax, 0x301c
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x2f98], eax
mov eax, dword [ebp + 0x2fa4]
push ebx
push esi
push edi
mov dword [ebp - 0x74], eax
xor eax, eax
mov edi, 0xffe
xor esi, esi
push edi
mov word [ebp + 0x1f98], ax
lea eax, [ebp + 0x1f9a]
push esi
push eax
mov dword [ebp - 0x70], esi
call fcn.10039d40
xor eax, eax
push edi
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push esi
push eax
call fcn.10039d40
add esp, 0x18
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push esi
push 0x1006b888
mov ebx, 0x800
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002f4b4
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
push esi
jmp 0x1002f4a3
lea eax, [ebp + 0x1f98]
push eax
push 0x1006b8e0
push 0x1006b87c
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.10052b6b
add esp, 0x14
lea eax, [ebp - 0x78]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002f48b
push edi
mov word [ebp + 0xf98], ax
lea eax, [ebp + 0xf9a]
push esi
push eax
call fcn.10039d40
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xf98]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push 0x1006b938
push dword [ebp - 0x78]
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002f48b
cmp dword [ebp - 0x6c], esi
jbe 0x1002f48b
mov eax, dword [ebp + 0x2fa8]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x80]
push eax
push esi
push 0x1006b950
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc dword [ebp - 0x70]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1002f3eb
mov eax, dword [ebp - 0x74]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1002f4ba
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp ecx, eax
mov ecx, dword [ebp + 0x2f98]
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.10039bc2
add ebp, 0x2f9c
leave
ret
Function at 0x1002fcaa
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x2b8
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x234], eax
push esi
push 0x208
xor esi, esi
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.10039d40
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
push esi
push esi
push 0x2c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1002fd05
xor eax, eax
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
pop esi
call fcn.10039bc2
add ebp, 0x238
leave
ret
xor eax, eax
push ebx
mov word [ebp + 0x10], ax
push edi
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x24], 7
mov dword [ebp + 0x20], esi
call fcn.10012f8b
push str.JavaJava_Updatejucheck.exe
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10052b6b
add esp, 0xc
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp + 0x10]
call fcn.100115e9
push 0x22
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x10]
push 0x22
push eax
call fcn.10030341
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10052b6b
add esp, 0xc
push esi
push ebx
lea ecx, [ebp + 0x10]
call fcn.100115e9
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.10039d40
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp + 8], 8
stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
mov eax, ecx
jae 0x1002fd9f
lea eax, [ebp - 0xc]
cmp dword [ebp + 8], 8
mov edx, dword [ebp + 4]
lea eax, [eax + edx*2]
jae 0x1002fdae
lea ecx, [ebp - 0xc]
push dword [ebp - 0x2c]
mov dword [ebp + 0x1c], esi
push eax
push ecx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
call fcn.100303c0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x2c], esi
call fcn.10030165
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1002fddf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push esi
push esi
push 0x8000000
push ebx
push esi
push esi
push dword [ebp + 0x1c]
push eax
call fcn.1002d5a7
add esp, 0x28
test eax, eax
jne 0x1002fe28
xor edi, edi
lea ecx, [ebp + 0x1c]
call fcn.10005d39
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.100115e9
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.100115e9
mov eax, edi
pop edi
pop ebx
jmp 0x1002fcef
mov edi, ebx
jmp 0x1002fe03
Function at 0x10030a65
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xfb0]
mov eax, 0x1030
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0xfac], eax
push esi
xor esi, esi
push 0x20019
push 0x1006c120
push SysReAllocStringLen
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.10052b6b
test eax, eax
je 0x10030add
lea ecx, [ebp - 0x64]
call fcn.10016b3c
lea ecx, [ebp - 0x7c]
call fcn.10016b3c
lea ecx, [ebp - 0x70]
call fcn.10016b3c
jmp 0x10030bce
push edi
mov edi, str.CAFEEFAC_DEC7_0000_0001_ABCDEFFEDCBA
push edi
lea ecx, [ebp - 0x70]
call fcn.1001a125
push esi
push esi
push 0x2001f
push esi
push esi
push edi
push dword [ebp - 0x70]
lea ecx, [ebp - 0x7c]
call fcn.10052b6b
test eax, eax
je 0x10030b22
lea ecx, [ebp - 0x64]
call fcn.10016b3c
lea ecx, [ebp - 0x7c]
call fcn.10016b3c
lea ecx, [ebp - 0x70]
call fcn.10016b3c
jmp 0x10030bcd
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push 4
pop ebx
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
push 0x1007edc8
push dword [ebp - 0x7c]
mov dword [ebp - 0x58], esi
call edi
lea ecx, [ebp - 0x64]
test eax, eax
jne 0x10030bb7
push esi
push esi
push 0x2001f
push esi
push esi
push str.InprocServer32
push dword [ebp - 0x7c]
call fcn.10052b6b
test eax, eax
jne 0x10030bb4
push 0x800
lea eax, [ebp - 0x54]
push eax
push dword [0x1008360c]
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
test eax, eax
je 0x10030bb4
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 0x10030bb4
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 0x10030bb4
mov dword [ebp - 0x80], 1
lea ecx, [ebp - 0x64]
call fcn.10016b3c
lea ecx, [ebp - 0x7c]
call fcn.10016b3c
lea ecx, [ebp - 0x70]
call fcn.10016b3c
pop ebx
pop edi
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0xfac]
neg eax
sbb eax, eax
and eax, 0x7ffbfdff
xor ecx, ebp
add eax, 0x80040201
pop esi
call fcn.10039bc2
add ebp, 0xfb0
leave
ret

Function at 0x10032a4d
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x10032a57
lea esi, [ecx - 0x78]
jmp 0x10032a59
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 0x10032a75
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8