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

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x100394e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1004f860]
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 edi, dword [ebp + 0x214]
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp]
push ecx
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jns 0x10004a38
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.10005b30
add esp, 8
push 0
push esi
call fcn.10031220
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x18]
call fcn.10002e00
cmp dword [eax], 0
je 0x10004a4f
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x10004a51
xor eax, eax
push 0x104
push eax
mov eax, dword [ebp + 0x218]
push eax
push edi
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.10002330
mov dword [ebp - 4], 0xffffffff
jmp 0x10004aa6
xor eax, eax
test esi, esi
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.1003779c
lea esp, [ebp + 0x20c]
pop ebp
ret

Function at 0x10004ef0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x218], eax
push str.JAVA_REGDEPLOY_DEBUG
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MSVCR100.dll__wdupenv_s]
add esp, 0xc
test eax, eax
jne 0x10004fba
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
cmp dword [0x1004fba4], 0
jne 0x10004fd6
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x10004fba
test eax, eax
je 0x10004fba
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 4]
call fcn.10002e00
push str.JavaDeployReg.log
lea ecx, [esp + 8]
call fcn.10002e00
lea edx, [esp + 4]
push edx
lea ecx, [esp + 4]
call fcn.10004760
lea ecx, [esp + 4]
call fcn.10002330
mov eax, dword [esp]
test eax, eax
je 0x10004f98
mov eax, dword [eax]
jmp 0x10004f9a
xor eax, eax
push 0x1003b100
push eax
push 0x1004fba4
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
lea ecx, [esp]
test eax, eax
je 0x10004fd1
call fcn.10002330
xor eax, eax
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1003779c
add esp, 0x21c
ret
call fcn.10002330
mov ecx, dword [esp + 0x218]
xor ecx, esp
mov eax, 1
call fcn.1003779c
add esp, 0x21c
ret
Function at 0x10006a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100395c0
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1004f860]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push eax
lea ecx, [ebp - 0x21a]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x10006afa
push esi
push str.Error:_08x_in_::SHGetFolderPath_NULL__CSIDL_LOCAL_APPDATA__NULL__0__szLocalPath_
call fcn.10005b30
add esp, 8
push 0
push esi
call fcn.10031220
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR100.dll_wcsnlen]
add esp, 8
mov ecx, dword [edi]
push eax
lea edx, [ebp - 0x21c]
push edx
push edi
mov eax, dword [ecx + 0x28c]
call eax
jmp 0x10006b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003779c
mov esp, ebp
pop ebp
ret 8

Function at 0x10006b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100395f0
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1004f860]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push eax
lea ecx, [ebp - 0x21a]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x10006bfa
push esi
push str.Error:_08x_in_::SHGetFolderPath_NULL__CSIDL_APPDATA__NULL__0__szLocalPath_
call fcn.10005b30
add esp, 8
push 0
push esi
call fcn.10031220
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR100.dll_wcsnlen]
add esp, 8
mov ecx, dword [edi]
push eax
lea edx, [ebp - 0x21c]
push edx
push edi
mov eax, dword [ecx + 0x28c]
call eax
jmp 0x10006c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003779c
mov esp, ebp
pop ebp
ret 8
Function at 0x10006c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039620
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1004f860]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push eax
lea ecx, [ebp - 0x21a]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x10006cfa
push esi
push str.Error:_08x_in_::SHGetFolderPath_NULL__CSIDL_COMMON_APPDATA__NULL__0__szPath_
call fcn.10005b30
add esp, 8
push 0
push esi
call fcn.10031220
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR100.dll_wcsnlen]
add esp, 8
mov ecx, dword [edi]
push eax
lea edx, [ebp - 0x21c]
push edx
push edi
mov eax, dword [ecx + 0x28c]
call eax
jmp 0x10006d50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003779c
mov esp, ebp
pop ebp
ret 8
Function at 0x100087a0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x624
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x620], eax
test byte [0x1004fc04], 1
jne 0x100087db
or dword [0x1004fc04], 1
push 0x10039ab0
mov dword [0x1004fc00], 0
call fcn.10031220
add esp, 4
mov eax, dword [0x1004fc00]
test eax, eax
je 0x100087f9
mov eax, dword [eax]
test eax, eax
je 0x100087f9
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x10008946
lea eax, [esp + 0x210]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x10008946
push esi
push edi
lea ecx, [esp + 0x218]
push ecx
lea ecx, [esp + 0xc]
call fcn.10002e00
push str.jawshtml.html
lea ecx, [esp + 0x10]
call fcn.10006920
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
call fcn.10004760
lea ecx, [esp + 0xc]
call fcn.10002330
mov edi, dword [esp + 8]
test edi, edi
je 0x1000885c
mov eax, dword [edi]
jmp 0x1000885e
xor eax, eax
push 0x1003c434
push eax
call dword [sym.imp.MSVCR100.dll__wfopen]
mov esi, eax
push esi
push str._HTML___HTML_
call dword [sym.imp.MSVCR100.dll_fputws]
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
xor eax, eax
xor ecx, ecx
add esp, 0x14
mov word [esp + 0x10], ax
mov word [esp + 0x420], cx
test edi, edi
je 0x1000889b
mov edi, dword [edi]
jmp 0x1000889d
xor edi, edi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x424]
push eax
push edi
call dword [sym.imp.SHELL32.dll_FindExecutableW]
cmp eax, 0x20
jle 0x1000892a
lea eax, [esp + 0x10]
xor ecx, ecx
lea esi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x100088c0
sub eax, esi
sar eax, 1
cmp word [esp + 0x10], cx
je 0x100088f3
lea edx, [esp + 0x10]
lea ebx, [ebx]
cmp word [edx], 0x20
jne 0x100088f3
inc ecx
cmp word [esp + ecx*2 + 0x10], 0
lea edx, [esp + ecx*2 + 0x10]
jne 0x100088e0
cmp eax, ecx
jle 0x1000892a
lea edx, [esp + eax*2 + 0xe]
jmp 0x10008900
cmp word [edx], 0x20
jne 0x10008910
dec eax
sub edx, 2
cmp eax, ecx
jg 0x10008900
jmp 0x1000892a
cmp eax, ecx
jle 0x1000892a
xor edx, edx
mov word [esp + eax*2 + 0x10], dx
lea eax, [esp + ecx*2 + 0x10]
push eax
mov ecx, 0x1004fc00
call fcn.10006f80
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.MSVCR100.dll__wremove]
add esp, 4
lea ecx, [esp + 8]
call fcn.10002330
pop edi
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
mov eax, 0x1004fc00
call fcn.1003779c
add esp, 0x624
ret
Function at 0x1000b160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x410
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x40c], eax
mov eax, dword [esp + 0x414]
push ebx
mov ebx, dword [esp + 0x420]
push esi
mov esi, dword [esp + 0x420]
push edi
push 2
push 0
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
call fcn.10031220
mov edi, eax
test edi, edi
jne 0x1000b1bc
call fcn.100095a0
mov esi, eax
jmp 0x1000b25a
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000b1d2
call fcn.100095a0
jmp 0x1000b251
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x1000b1e7
call fcn.100095a0
jmp 0x1000b251
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x1000b1ff
mov esi, 0x8007000e
jmp 0x1000b253
push eax
lea ecx, [esp + 0x18]
call fcn.1000a400
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1000b218
mov esi, 0x8007000e
jmp 0x1000b253
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1000b231
call fcn.100095a0
jmp 0x1000b251
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x42c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.1000afd0
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea edx, [esp + 0x18]
cmp dword [esp + 0x14], edx
je 0x1000b270
lea ecx, [esp + 0x14]
call fcn.10009d00
lea ecx, [ecx]
mov ecx, dword [esp + 0x418]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x410
ret 0x10

Function at 0x1000c100
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
push 0x104
lea eax, [esp + 8]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x102
ja 0x1000c15a
lea ecx, [esp + 4]
push ecx
push esi
call fcn.10002b30
add esp, 8
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.1003779c
add esp, 0x20c
ret 8
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.1003779c
add esp, 0x20c
ret 8
Function at 0x1000ff60
Capabilities:
Initialize iwebbrowser2

Disassembly:
sub esp, 0x20
push edi
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x1000ff75
xor al, al
pop edi
add esp, 0x20
ret 0xc
push ebx
push ebp
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x38]
push eax
push 0x1003d1cc
push 0x17
push 0
push 0x10046020
mov dword [esp + 0x4c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebp, eax
test ebp, ebp
js 0x10010044
push esi
mov esi, dword [esp + 0x34]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x64]
push edi
push esi
call edx
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a4]
push 0
push edi
push esi
call ecx
lea edx, [esp + 0x10]
push edx
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
push ebx
lea ecx, [esp + 0x24]
mov word [esp + 0x24], ax
call fcn.10031220
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push edx
push edx
push edx
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2a8]
push ebx
push edi
push esi
mov ebp, eax
call edx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x20]
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
call ebx
test edi, edi
je 0x10010043
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
push edi
push esi
call eax
pop esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x38]
test ebp, ebp
setns bl
test eax, eax
je 0x1001005f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebp
mov al, bl
pop ebx
pop edi
add esp, 0x20
ret 0xc

Function at 0x10010cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x10010cd9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10010d12
push edi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10010d0e
lea ebx, [ebx]
cmp esi, eax
jae 0x10010d12
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10010d00
cmp esi, eax
jb 0x10010d18
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x100157a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 0
push eax
push 0
push 0
push ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.10005c00
test eax, eax
jne 0x10015819
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 8]
push edi
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push edx
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x10015811
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x10015828
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10
ret

Function at 0x10015830
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
push 0x2001f
push eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.10003190
mov esi, eax
test esi, esi
je 0x10015880
mov eax, dword [esp + 4]
test eax, eax
je 0x100158bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 8]
test esi, esi
jne 0x10015894
mov esi, 0xd
jmp 0x100158b3
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x20]
push edx
push esi
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test edi, edi
je 0x100158be
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x10015950
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10015a27
cmp eax, 0x104
ja 0x10015a27
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x216]
push ecx
mov word [esp + 0x218], ax
call sub.MSVCR100.dll_memset
push esi
lea edx, [esp + 0x14]
push edx
push str._s_s
push 0xffffffffffffffff
lea eax, [esp + 0x228]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll__snwprintf_s]
add esp, 0x24
test eax, eax
jg 0x100159ef
push str.LoadSystemLibrary:__snprintf_failed.
jmp 0x10015a2c
lea ecx, [esp + 0x20c]
push ecx
call fcn.10031220
mov esi, eax
test esi, esi
jne 0x10015a0f
push str.LoadSystemLibrary:_LoadLibrary___failed.
call fcn.10004ff0
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.1003779c
add esp, 0x414
ret
push str.LoadSystemLibrary:_GetSystemDirectory_failed.
call fcn.10004ff0
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
xor ecx, esp
xor eax, eax
call fcn.1003779c
add esp, 0x414
ret
Function at 0x1001a9e0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor eax, eax
push edi
mov word [ebx], ax
call fcn.10003310
test eax, eax
je 0x1001aa26
call fcn.100035c0
test eax, eax
je 0x1001aa18
call fcn.10003580
test eax, eax
je 0x1001aa18
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetSystemWow64DirectoryW]
jmp 0x1001aa32
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
jmp 0x1001aa32
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
push 0xc
mov dword [esp + 0x10], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
push str.__get_system_dir__
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10031220
push 0xc
mov dword [esi], eax
mov dword [esp + 0x1c], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
lea edi, [esi + 8]
push ebx
mov dword [esi + 4], 0
mov dword [edi], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x1001aa9b
push 0x8007000e
call fcn.10031220
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.10004760
mov ebx, dword [sym.imp.kernel32.dll_InterlockedDecrement]
push edi
call ebx
test eax, eax
jne 0x1001aae0
mov eax, dword [esi]
test eax, eax
je 0x1001aac7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001aad7
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
lea edi, [esi + 8]
push 0x1003ecc8
mov dword [esi + 4], 0
mov dword [edi], 1
call fcn.10031220
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
mov dword [esi], eax
mov dword [esp + 0x14], esi
call fcn.10004760
push edi
call ebx
test eax, eax
jne 0x1001ab4b
mov eax, dword [esi]
test eax, eax
je 0x1001ab32
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001ab42
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x1001ab62
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
test edi, edi
setne cl
movzx edx, cl
push edx
call fcn.10019f50
add esp, 8
test esi, esi
je 0x1001abab
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x1001abab
mov eax, dword [esi]
test eax, eax
je 0x1001ab92
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001aba2
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x10027fa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
lea eax, [esp + 4]
push eax
push 0x201
xor edi, edi
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028012
push esi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.ITCONFIG
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [esp + 0x10]
test esi, esi
pop esi
je 0x10028014
mov eax, edi
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
call fcn.1003779c
add esp, 0x20c
ret

Function at 0x10028050
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
xor edi, edi
mov dword [esp + 4], 0x200
call fcn.10027fa0
test al, 0x10
jne 0x10028081
call fcn.10026eb0
test eax, eax
jne 0x1002809c
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1003779c
add esp, 0x210
ret
lea eax, [esp + 0xc]
push eax
push 0x201
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028124
mov eax, dword [esp + 0xc]
push esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push edi
push str.EnableAutoUpdateCheck
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
pop esi
jne 0x10028124
mov dword [esp + 8], edi
call fcn.10027cf0
test eax, eax
je 0x10028116
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10031220
mov eax, dword [esp + 0x18]
add esp, 0x10
jmp 0x1002811a
mov eax, dword [esp + 0x10]
cmp eax, 0x64
mov eax, 1
je 0x10028126
mov eax, edi
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
call fcn.1003779c
add esp, 0x210
ret

Function at 0x10028140
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x202
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028179
mov ecx, dword [esp]
push str.EnableAutoUpdateCheck
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x10028180
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2021f
push 0
push 0
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x64
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1002822a
call fcn.10027cf0
test eax, eax
je 0x100281fb
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push 4
push ecx
call fcn.10031220
add esp, 0x10
jmp 0x10028203
mov edx, dword [esp + 4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 8]
mov edx, dword [esp]
push eax
lea ecx, [esp + 0x14]
push ecx
push 3
push 0
push str.EnableAutoUpdateCheck
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1003779c
add esp, 0x214
ret