joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002befe
Capabilities:
Parse url

Disassembly:
mov eax, 0x4040
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x403c], eax
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push esi
push edi
xor eax, eax
push 0xd7
push dword [ebx + 4]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x74], eax
call ebp
push dword [ebx + 0x28]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call edi
push 0x3c
pop esi
push esi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1003cd40
mov ecx, 0x800
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x2058]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ecx
add esp, 0xc
mov ecx, dword [ebx + 0x2c]
xor esi, esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x104c]
mov dword [esp + 0x20], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1002bf8b
lea eax, [esp + 0x10]
sub ecx, edx
push eax
push esi
sar ecx, 1
push ecx
push dword [ebx + 0x2c]
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
lea eax, [esp + 0x104c]
push eax
lea eax, [esp + 0x2050]
push eax
push str._s:___s
lea eax, [esp + 0x3058]
push 0x800
push eax
call fcn.100588e3
add esp, 0x14
push 0xd2
push dword [ebx + 4]
call ebp
lea ecx, [esp + 0x304c]
push ecx
push eax
call edi
push 0xd0
push dword [ebx + 4]
call ebp
push dword [ebx + 0x30]
mov esi, eax
lea eax, [esp + 0x50]
push 0x800
push eax
call fcn.100588e3
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push esi
call edi
push 0xd3
push dword [ebx + 4]
call ebp
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov esi, eax
push 0x800
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x40]
push dword [0x100bf194]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xd4
push dword [ebx + 4]
call ebp
push 0x800
mov esi, eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x44]
push dword [0x100bf194]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xd5
push dword [ebx + 4]
call ebp
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xcb
push dword [ebx + 4]
call ebp
push 0x800
mov esi, eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x38]
push dword [0x100bf194]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xcc
push dword [ebx + 4]
call ebp
push 0x800
mov esi, eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x3c]
push dword [0x100bf194]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x404c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
inc eax
call fcn.1003a5a7
add esp, 0x4040
ret 0x10
Function at 0x1002c406
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1074
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x1070], eax
push esi
mov esi, dword [esp + 0x107c]
push edi
mov edi, dword [esp + 0x1084]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10070dcc]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10070df0]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x108c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10070df0]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
mov ecx, 0x800
cvtdq2pd xmm0, xmm0
push ecx
andps xmm0, xmmword [0x10070e10]
divsd xmm0, qword [0x10070dd8]
addsd xmm0, qword [0x10070dd0]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x1090], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
setne byte [esp + 0x35]
mov word [esp + 0x3a], ax
lea eax, [esp + 0x7c]
push eax
push 0x1002
push ecx
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push 5
push str.Japan
lea eax, [esp + 0x80]
push eax
call fcn.100588e3
test eax, eax
mov ecx, 0x1008ccd0
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.100588e3
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x1078]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1003a5a7
add esp, 0x1074
ret 0x10
Function at 0x1002d9f0
Capabilities:
Get memory capacity

Disassembly:
push esi
push 0x40
mov esi, ecx
push 0
push esi
call fcn.1003cd40
add esp, 0xc
mov dword [esi], 0x40
push esi
call dword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
mov eax, esi
pop esi
ret

Function at 0x1002db30
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x100bc054]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp dword [0x100beb10], 0
je 0x1002db5b
mov eax, dword [0x100beb14]
jmp 0x1002dba0
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.1003cd40
add esp, 0xc
mov dword [ebp - 0x80], 0x114
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
xor eax, eax
inc eax
cmp dword [ebp - 0x70], 2
jne 0x1002db92
cmp dword [ebp - 0x7c], 6
jb 0x1002db92
mov esi, eax
mov dword [0x100beb10], eax
mov eax, esi
mov dword [0x100beb14], esi
pop esi
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.1003a5a7
add ebp, 0x98
leave
ret

Function at 0x1002dd1f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1040
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x103c], eax
push ebx
push ebp
push esi
push edi
push 0x1000
xor ebx, ebx
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.1003cd40
add esp, 0xc
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x4c]
push 0x800
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x1002de25
call fcn.100588e3
test eax, eax
lea eax, [esp + 0x4c]
push eax
je 0x1002de40
lea ecx, [esp + 0x18]
call fcn.1000155e
push str._system32javaws.exe
lea ecx, [esp + 0x14]
call fcn.1000155e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.10001697
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1002ddb4
call fcn.100016f0
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.Wow64DisableWow64FsRedirection
push 0x10094b70
call edi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call esi
push str.Wow64RevertWow64FsRedirection
push 0x10094ba4
mov ebp, eax
call edi
push eax
call esi
mov esi, dword [esp + 0x14]
mov edi, eax
test ebp, ebp
je 0x1002de1a
test edi, edi
je 0x1002de1a
lea eax, [esp + 0x18]
push eax
call ebp
test eax, eax
je 0x1002de1a
test esi, esi
je 0x1002ddff
mov ebx, dword [esi]
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.100588e3
pop ecx
pop ecx
push dword [esp + 0x18]
test eax, eax
jne 0x1002de18
call edi
jmp 0x1002de8d
call edi
test esi, esi
je 0x1002de25
mov ecx, esi
call fcn.100016f0
xor eax, eax
mov ecx, dword [esp + 0x104c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003a5a7
add esp, 0x1040
ret
lea ecx, [esp + 0x14]
call fcn.1000155e
push str._sysWow64javaws.exe
lea ecx, [esp + 0x18]
call fcn.1000155e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.10001697
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1002de72
call fcn.100016f0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1002de7c
mov ebx, dword [esi]
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.100588e3
pop ecx
pop ecx
test eax, eax
jne 0x1002de1a
test esi, esi
je 0x1002de98
mov ecx, esi
call fcn.100016f0
xor eax, eax
inc eax
jmp 0x1002de27
Function at 0x1002dff2
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x10067d90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100bc054]
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 0x1002e0de
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000155e
mov eax, dword [eax]
test eax, eax
je 0x1002e06b
mov esi, dword [eax]
push 0x104
push esi
push dword [ebp + 0x218]
push ebx
call fcn.100588e3
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1002e0b4
call fcn.100016f0
jmp 0x1002e0b4
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.1003a5a7
add ebp, 0x20c
leave
ret
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.10035fae
pop ecx
pop ecx
push esi
push edi
call fcn.100588e3
int3

Function at 0x1002e0f3
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x10067db8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100bc054]
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 0x1002e1df
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000155e
mov eax, dword [eax]
test eax, eax
je 0x1002e16c
mov esi, dword [eax]
push 0x104
push esi
push dword [ebp + 0x218]
push ebx
call fcn.100588e3
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1002e1b5
call fcn.100016f0
jmp 0x1002e1b5
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.1003a5a7
add ebp, 0x20c
leave
ret
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.10035fae
pop ecx
pop ecx
push esi
push edi
call fcn.100588e3
int3
Function at 0x1002e359
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10067de0
call fcn.1003a649
mov ebx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
mov esi, edi
mov dword [ebp - 0x14], esi
mov word [ebx], ax
call fcn.1002e270
test eax, eax
je 0x1002e38a
call fcn.1002e262
mov esi, eax
mov dword [ebp - 0x14], eax
push 0x104
push ebx
push esi
push edi
push 0x1007d680
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
test esi, esi
js 0x1002e4a0
jmp 0x1002e3da
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002e3e8
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x1002e498
push ebx
push edi
push edi
push 0x1a
push edi
mov dword [ebp - 4], 2
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x1002e449
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x1002e4a6
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x1002e498
push 1
push 0x1a
push ebx
push edi
mov dword [ebp - 4], 4
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
test esi, esi
jns 0x1002e498
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x1002e4a6
mov eax, esi
call fcn.1003a5b8
ret
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.10035fae
pop ecx
pop ecx
push edi
push esi
call fcn.100588e3
int3
Function at 0x1002f182
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x100bc054]
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 0x1002f393
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.100588e3
push 0x100959ec
lea eax, [esp + 0x4c]
push 0x10
push eax
call fcn.100588e3
push 0x100959f0
lea eax, [esp + 0x78]
push 0x10
push eax
call fcn.100588e3
push 0x100959f4
lea eax, [esp + 0xa4]
push 0x10
push eax
call fcn.100588e3
push ebx
lea eax, [esp + 0x50]
push 0x10
push eax
call fcn.100588e3
add esp, 0x3c
xor eax, eax
push 0x2e
pop ecx
test edi, edi
jle 0x1002f280
cmp word [ebx + eax*2], cx
je 0x1002f26e
inc eax
cmp eax, edi
jl 0x1002f261
jmp 0x1002f280
add eax, eax
cmp eax, 0x20
jae 0x1002f3ab
xor ecx, ecx
mov word [esp + eax + 0x1c], cx
lea eax, [esp + 0x1c]
push eax
call fcn.100588e3
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.100588e3
add esp, 0xc
mov eax, esi
cmp esi, edi
jge 0x1002f2d4
push 0x2e
pop ecx
cmp word [ebx + eax*2], cx
je 0x1002f2c0
inc eax
cmp eax, edi
jl 0x1002f2b3
jmp 0x1002f2d4
sub eax, esi
add eax, eax
cmp eax, 0x20
jae 0x1002f3ab
xor ecx, ecx
mov word [esp + eax + 0x3c], cx
lea eax, [esp + 0x3c]
push eax
call fcn.100588e3
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 0x1002f38f
lea eax, [ebx + esi*2]
push eax
lea eax, [esp + 0x60]
push 0x10
push eax
call fcn.100588e3
add esp, 0xc
mov eax, esi
cmp word [ebx + eax*2], 0x5f
je 0x1002f325
inc eax
cmp eax, edi
jl 0x1002f317
jmp 0x1002f335
sub eax, esi
add eax, eax
cmp eax, 0x20
jae 0x1002f3ab
xor ecx, ecx
mov word [esp + eax + 0x5c], cx
lea eax, [esp + 0x5c]
push eax
call fcn.100588e3
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 0x1002f37e
lea eax, [ebx + eax*2]
push eax
lea eax, [esp + 0x80]
push 0x10
push eax
call fcn.100588e3
add esp, 0xc
lea eax, [esp + 0x7c]
push eax
call fcn.100588e3
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.1003a5a7
add esp, 0x90
ret
call fcn.100588e3
int3
Function at 0x1002facf
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x10067e33
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100bc054]
xor eax, ebp
mov dword [ebp + 0x208], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10095b94
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100588e3
add esp, 0xc
test eax, eax
jne 0x1002fbc2
push dword [ebp - 0x18]
call fcn.100588e3
cmp dword [0x100beafc], 0
pop ecx
je 0x1002fb3e
xor eax, eax
inc eax
jmp 0x1002fbc4
lea eax, [ebp]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
cmp eax, esi
ja 0x1002fbc2
test eax, eax
je 0x1002fbc2
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000155e
xor edi, edi
lea ecx, [ebp - 0x10]
push str.JavaDeployReg.log
mov dword [ebp - 4], edi
call fcn.1000155e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1002fb90
call fcn.100016f0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1002fb99
mov edi, dword [esi]
push 0x10095c40
push edi
push 0x100beafc
call fcn.100588e3
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
test esi, esi
je 0x1002fbbd
mov ecx, esi
call fcn.100016f0
lea eax, [edi + 1]
jmp 0x1002fbc4
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.1003a5a7
add ebp, 0x20c
leave
ret
Function at 0x1003000d
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x2010
call fcn.1003a680
mov eax, dword [0x100bc054]
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.1003cd40
push ebp
lea eax, [esp + 0x102c]
push esi
push eax
call fcn.1003cd40
push ebx
call fcn.100588e3
add esp, 0x1c
test eax, eax
je 0x100300a6
push eax
push dword [esp + 0x2030]
push edi
call fcn.100588e3
add esp, 0xc
test eax, eax
je 0x1003023f
xor eax, eax
mov ecx, dword [esp + 0x201c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003a5a7
add esp, 0x2010
ret
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push dword [0x100ba780]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003008b
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 0x10030223
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 0x10097834
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10030121
xor esi, esi
inc esi
jmp 0x10030223
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 0x10030119
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 0x10030119
mov dword [esp + 0x14], 0x800
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x101c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100301ad
test dx, dx
je 0x100301a9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100301ad
add eax, 4
add ecx, 4
test dx, dx
jne 0x10030187
mov eax, esi
jmp 0x100301b2
sbb eax, eax
or eax, 1
test eax, eax
js 0x1003023f
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 0x10030119
push dword [esp + 0x10]
call ebp
call fcn.100588e3
test eax, eax
jne 0x1003023f
lea eax, [esp + 0x10]
push eax
push 0x20006
push esi
push dword [0x100ba780]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003008b
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 0x10030230
push dword [esp + 0x10]
call ebp
mov eax, esi
jmp 0x1003008d
push dword [esp + 0x10]
call ebp
push edi
push ebx
call fcn.100588e3
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x1003008d
Function at 0x100305ba
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x22c]
sub esp, 0x2ac
mov eax, dword [0x100bc054]
xor eax, ebp
mov dword [ebp + 0x228], eax
push ebx
push 0x208
xor ebx, ebx
lea eax, [ebp + 0x20]
push ebx
push eax
call fcn.1003cd40
add esp, 0xc
lea eax, [ebp + 0x20]
push eax
push ebx
push ebx
push 0x2c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x10030604
xor eax, eax
jmp 0x10030714
xor eax, eax
mov dword [ebp + 0x18], ebx
push esi
mov word [ebp + 8], ax
lea ecx, [ebp + 8]
push edi
lea eax, [ebp + 0x20]
mov dword [ebp + 0x1c], 7
push eax
call fcn.100145ec
push str.JavaJava_Updatejucheck.exe
lea ecx, [ebp + 8]
call fcn.10030c70
push eax
lea ecx, [ebp - 0x28]
call fcn.10012475
lea ecx, [ebp + 8]
call fcn.10014418
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push 0x22
push eax
call fcn.1003086e
add esp, 0xc
mov esi, eax
mov ecx, esi
push 0x22
call fcn.100588e3
push esi
lea ecx, [ebp - 0x10]
call fcn.10012475
lea ecx, [ebp + 8]
call fcn.10014418
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.1003cd40
xor eax, eax
mov dword [ebp - 0x80], esi
lea edi, [ebp - 0x3c]
mov dword [ebp + 0x14], ebx
stosd dword es:[edi], eax
lea ecx, [ebp - 0x10]
add esp, 0xc
mov dword [ebp + 0x18], ebx
cmp dword [ebp + 4], 8
mov dword [ebp + 0x1c], ebx
cmovae ecx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x10]
cmovae ecx, dword [ebp - 0x10]
push eax
push ecx
lea ecx, [ebp + 0x14]
call fcn.10030975
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
push eax
lea ecx, [ebp + 0x14]
call fcn.10030aef
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push 0x8000000
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 1
push ebx
push ebx
push dword [ebp + 0x14]
push eax
call fcn.100588e3
add esp, 0x28
lea ecx, [ebp + 0x14]
neg eax
sbb esi, esi
neg esi
call fcn.10030c30
lea ecx, [ebp - 0x10]
call fcn.10014418
lea ecx, [ebp - 0x28]
call fcn.10014418
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x228]
xor ecx, ebp
pop ebx
call fcn.1003a5a7
add ebp, 0x22c
leave
ret