joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100320c6
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1024
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x1020], eax
push ebx
push edi
push 0x20019
xor ebx, ebx
lea ecx, [esp + 0x18]
push 0x1009c7dc
push SysReAllocString
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.1001b2cc
test eax, eax
je 0x10032123
cmp dword [esp + 0x14], ebx
je 0x100321ef
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100321ef
push ebp
push esi
mov esi, str.CAFEEFAC_DEC7_0000_0001_ABCDEFFEDCBA
lea ecx, [esp + 0x1c]
push esi
call fcn.1001b633
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push esi
mov esi, dword [esp + 0x3c]
push esi
call ebp
test eax, eax
jne 0x100321e2
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push ebx
push 0x100bc790
push edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1003225e
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], ebx
push eax
lea eax, [esp + 0x14]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.InprocServer32
push edi
call ebp
test eax, eax
jne 0x1003225e
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x30]
push 0x800
push eax
push dword [0x100c12a4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x10032212
test ebp, ebp
je 0x100321d7
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x100321e2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x100321ed
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
xor ecx, ecx
mov eax, 0x80040201
test ebx, ebx
pop edi
cmovne eax, ecx
mov ecx, dword [esp + 0x1024]
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x1024
ret
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
push 4
push ebx
lea eax, [esp + 0x40]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100321cc
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], str.ThreadingModel
push eax
push 4
push ebx
push str.Apartment
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100321cc
xor ebx, ebx
inc ebx
jmp 0x100321cc
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1003226b
push edi
call ebp
test esi, esi
je 0x100321ed
push esi
call ebp
jmp 0x100321ed

Function at 0x100335f4
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, 0x8c
test esi, esi
lea edx, [esi + 0x14]
cmove edx, eax
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 0x50
test esi, esi
lea eax, [esi - 0x28]
pop ecx
cmove eax, ecx
pop esi
cmp dword [eax], 0
je 0x10033625
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8
Function at 0x10035cea
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push edi
push 7
pop ecx
push eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
push 0x100738dc
xor esi, esi
lea ecx, [eax - 0x78]
push 4
test eax, eax
mov dword [ebp + 0xc], esi
pop ebx
cmove ecx, ebx
call fcn.10034ee8
mov ecx, eax
mov eax, dword [ebp + 0xc]
test ecx, ecx
js 0x10035d6e
test eax, eax
je 0x10035d6b
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
xor ecx, ecx
inc ecx
test ax, ax
push 0x11
cmovs esi, ecx
call edi
test ax, ax
jns 0x10035d4b
add esi, 2
push 0x12
call edi
test ax, ax
jns 0x10035d56
add esi, ebx
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, eax
mov eax, dword [ebp + 0xc]
jmp 0x10035d6e
xor ecx, ecx
inc ecx
xor ebx, ebx
test ecx, ecx
setne bl
test eax, eax
je 0x10035d7f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x100369a6
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x4018
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x4014], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4028]
lea eax, [esp + 0x20]
push edi
mov ebp, 0x1000
mov dword [esp + 0x1c], esi
xor ebx, ebx
push ebp
push ebx
push eax
mov edi, ebx
call fcn.1003d660
push ebp
lea eax, [esp + 0x1034]
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 0x1009e800
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10036b25
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 + 0x38]
push eax
push ebx
push dword [esp + 0x34]
call ebp
test eax, eax
jne 0x10036b25
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x24]
push eax
push 0x1009e858
push 0x1009e8b0
lea eax, [esp + 0x1030]
push 0x800
push eax
call fcn.10007104
add esp, 0x14
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea eax, [esp + 0x1030]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10036afd
push 0x1000
push eax
lea eax, [esp + 0x202c]
push eax
call fcn.1003d660
add esp, 0xc
mov dword [esp + 0x10], 0x800
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2028]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push str.RuntimeLib
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x10036afd
cmp dword [esp + 0x10], eax
jbe 0x10036afd
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x800
push eax
lea eax, [esp + 0x3028]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x1009e8d4
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 + 0x38]
push eax
push edi
push dword [esp + 0x34]
call ebp
test eax, eax
je 0x10036a48
lea eax, [esp + 0x3024]
mov ecx, esi
push eax
call fcn.1000154d
mov ecx, dword [esp + 0x4024]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x4018
ret
Function at 0x10036d68
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1044
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x1040], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1058]
lea eax, [esp + 0x84c]
push edi
mov edi, dword [esp + 0x1058]
mov ebp, 0x800
push ebp
xor ebx, ebx
push ebx
push eax
call fcn.1003d660
push esi
push ebx
push edi
push 0xffffffffffffffff
lea eax, [esp + 0x86c]
push 0x400
push eax
call fcn.10007080
add esp, 0x24
test eax, eax
jns 0x10036dd0
xor eax, eax
mov word [esp + 0x104e], ax
push 0x40
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.1003d660
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.10036ce8
push 0x100a0458
lea eax, [esp + 0x28]
push 0x20
push eax
call fcn.1004aa73
push ebp
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.1003d660
mov ecx, edi
add esp, 0x2c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10036e0e
sub ecx, edx
sar ecx, 1
cmp ecx, 6
jbe 0x10036e5e
lea eax, [edi - 0xc]
mov edx, 0x100a045c
lea eax, [eax + ecx*2]
mov si, word [eax]
xor ecx, ecx
inc ecx
cmp si, word [edx]
jne 0x10036e56
test si, si
je 0x10036e52
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x10036e56
add eax, 4
add edx, 4
test si, si
jne 0x10036e2d
mov eax, ebx
jmp 0x10036e5a
sbb eax, eax
or eax, ecx
test eax, eax
je 0x10036e60
mov ecx, ebx
lea esi, [esp + 0x10]
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x10036e67
sub esi, edx
lea eax, [esp + 0x850]
push eax
sar esi, 1
mov edx, 0x100a047c
test ecx, ecx
mov eax, str.Error:
cmove eax, edx
push eax
lea edi, [esi + esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x6c]
add eax, edi
push eax
call fcn.10007014
add esp, 0x20
test eax, eax
jns 0x10036ed7
mov dword [esp + 0x846], 0x2e002e
mov dword [esp + 0x84a], 0x2e
push edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1003d0e0
lea edi, [esp + 0x5c]
add esp, 0xc
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x10036ef1
mov eax, dword [0x100a04b0]
mov dword [edi], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x1044
ret
Function at 0x10036fc1
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0x88], eax
push esi
push edi
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x100
push eax
push 0x20019
xor esi, esi
xor edi, edi
push esi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003705b
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push str.identifier
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003705b
mov ecx, str.ia64
lea eax, [ebp - 0x78]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10037050
test dx, dx
je 0x10037054
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10037050
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003702c
jmp 0x10037054
sbb esi, esi
or esi, edi
xor eax, eax
test esi, esi
cmove edi, eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x88]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1003b105
add ebp, 0x8c
leave
ret

Function at 0x100370cb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
call fcn.1003713d
test eax, eax
jne 0x100370e0
leave
ret
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037138
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.EnableLUA
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 1
sete al
leave
ret
xor eax, eax
inc eax
leave
ret

Function at 0x1003713d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp dword [0x100c0d0c], 0
je 0x10037168
mov eax, dword [0x100c0d10]
jmp 0x100371ad
push esi
push pe_nt_image_headers32
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.1003d660
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 0x1003719f
cmp dword [ebp - 0x7c], 6
jb 0x1003719f
mov esi, eax
mov dword [0x100c0d0c], eax
mov eax, esi
mov dword [0x100c0d10], esi
pop esi
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.1003b105
add ebp, 0x98
leave
ret
Function at 0x100371c2
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x24
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
push str.advapi32.dll
call fcn.1002f5dd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [esp], 0x100a1dec
push edi
call esi
push 0x100a1e08
push edi
mov ebx, eax
call esi
push 0x100a1e1c
push edi
mov ebp, eax
call esi
push str.EqualSid
push edi
mov dword [esp + 0x24], eax
call esi
push 0x100a1e3c
push edi
mov dword [esp + 0x28], eax
call esi
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x18]
push ecx
xor eax, eax
mov word [esp + 0x30], 0x500
push eax
push eax
push eax
push eax
push eax
push eax
push 0x220
push 0x20
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4c]
push 2
push eax
call ebx
lea eax, [esp + 0x14]
xor esi, esi
push eax
push 8
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push esi
push 2
push dword [esp + 0x24]
mov dword [esp + 0x24], esi
call ebx
push dword [esp + 0x10]
call fcn.1004a45e
mov edi, eax
pop ecx
test edi, edi
je 0x100372ca
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push edi
push 2
push dword [esp + 0x24]
call ebx
cmp dword [edi], esi
jbe 0x100372ba
mov ebp, dword [esp + 0x20]
lea ebx, [edi + 4]
push dword [ebx]
push dword [esp + 0x1c]
call ebp
test eax, eax
jne 0x100372ba
inc esi
add ebx, 8
cmp esi, dword [edi]
jb 0x100372a6
xor eax, eax
cmp esi, dword [edi]
push edi
setne al
mov esi, eax
call fcn.100411f4
pop ecx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x18]
call dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x24
ret
Function at 0x10037b72
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x100c
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebp
push esi
mov esi, dword [esp + 0x1018]
xor eax, eax
xor ebp, ebp
mov dword [esp + 0xc], ebp
mov word [esi], ax
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebp
push 0x100a3750
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037c6e
push edi
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x1c]
mov edi, ebp
push eax
lea eax, [esp + 0x28]
push eax
push ebp
jmp 0x10037c53
mov eax, ebp
mov ecx, ebp
cmp dword [esp + 0xc], eax
jbe 0x10037c43
cmp word [esp + ecx*2 + 0x14], 0x2e
jne 0x10037bed
inc eax
cmp eax, 1
jg 0x10037bf9
inc ecx
cmp ecx, dword [esp + 0xc]
jb 0x10037bdf
cmp eax, 1
jle 0x10037c43
lea eax, [esp + 0x14]
push 0x100a3744
push eax
call fcn.1004d20a
pop ecx
pop ecx
test eax, eax
js 0x10037c43
lea eax, [esp + 0x14]
push eax
call fcn.100389a5
pop ecx
test al, al
je 0x10037c43
lea eax, [esp + 0x14]
push esi
push eax
call fcn.1004d20a
pop ecx
pop ecx
test eax, eax
jle 0x10037c43
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1024]
push esi
call fcn.1004a3c0
add esp, 0xc
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x1c]
inc edi
push eax
lea eax, [esp + 0x28]
push eax
push edi
push dword [esp + 0x2c]
mov dword [esp + 0x2c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10037bd5
pop edi
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1010]
pop esi
pop ebp
xor ecx, esp
call fcn.1003b105
add esp, 0x100c
ret
Function at 0x10038326
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf94]
mov eax, 0x1014
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0xf90], eax
push ebx
push esi
mov esi, dword [ebp + 0xf9c]
lea eax, [ebp - 0x74]
push eax
push 1
push 0
push str.SoftwareJavaSoftJava_Web_Start_
mov dword [ebp - 0x7c], esi
mov ebx, 0x1000
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100383d2
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push str.CurrentVersion
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100383c9
cmp dword [ebp - 0x7c], 1
jne 0x100383c9
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x78]
shr eax, 1
cmp eax, 0x800
jae 0x100383b7
add eax, eax
cmp eax, ebx
jae 0x100383f7
jmp 0x100383bc
mov eax, 0xffe
xor ecx, ecx
mov word [ebp + eax - 0x70], cx
lea eax, [ebp - 0x70]
push eax
jmp 0x100383d7
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100a3c9c
mov ecx, esi
call fcn.1000154d
mov ecx, dword [ebp + 0xf90]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b105
add ebp, 0xf94
leave
ret
call fcn.1003b8ee
int3
Function at 0x100389a5
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x3010
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x300c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3020]
lea eax, [esp + 0x2018]
mov ebp, 0x1000
xor ebx, ebx
push ebp
push ebx
push eax
call fcn.1003d660
push esi
push str.SOFTWAREJavaSoftJava_Runtime_Environment
push 0x100a3800
lea eax, [esp + 0x2030]
push ebp
push eax
call fcn.10006c5f
add esp, 0x20
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
lea eax, [esp + 0x2024]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10038b25
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
lea eax, [esp + 0x101c]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x100a380c
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10038b25
cmp dword [esp + 0x14], 1
jne 0x10038b25
mov eax, dword [esp + 0x10]
shr eax, 1
cmp eax, 0x800
jae 0x10038a7d
add eax, eax
cmp eax, ebp
jae 0x10038b3f
jmp 0x10038a82
mov eax, 0xffe
push edi
xor ecx, ecx
push ebp
mov word [esp + eax + 0x1020], cx
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.1003d660
push str.binjava.exe
lea eax, [esp + 0x102c]
push eax
push 0x100a383c
lea eax, [esp + 0x34]
push ebp
push eax
call fcn.10006c5f
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x3c]
add esp, 0x20
push eax
call edi
test eax, eax
je 0x10038b24
push str.binclientjvm.dll
lea eax, [esp + 0x1020]
push eax
push 0x100a3870
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.10006c5f
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
call edi
mov esi, eax
lea eax, [esp + 0x101c]
push str.bin_serverjvm.dll
push eax
push str._s_s
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.10006c5f
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
call edi
test esi, esi
jne 0x10038b22
test eax, eax
je 0x10038b24
mov bl, 1
pop edi
mov ecx, dword [esp + 0x3018]
mov al, bl
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x3010
ret
call fcn.1003b8ee
int3

Function at 0x10038b45
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x200
push eax
push 1
xor esi, esi
push esi
push 0x100a38b0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10038baf
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push 0x100a38fc
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x7c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
setne al
jmp 0x10038bb1
mov al, 1
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
pop esi
call fcn.1003b105
add ebp, 0x18c
leave
ret
Function at 0x10038bc7
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10038bfe
push str.EnableAutoUpdateCheck
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
leave
ret

Function at 0x10038c02
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 4
pop eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.10038326
pop ecx
lea ecx, [ebp - 4]
call fcn.1000172b
mov esi, dword [ebp - 4]
test eax, eax
je 0x10038c9e
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xc]
push eax
push 1
push ebx
push str.SOFTWAREJavaSoftJava_Plug_in_
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x10038c9d
test esi, esi
je 0x10038c54
mov eax, dword [esi]
jmp 0x10038c56
mov eax, ebx
lea ecx, [ebp - 8]
push ecx
push 1
push ebx
push eax
push dword [ebp - 0xc]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10038c98
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.UseNewJavaPlugin
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10038c93
cmp dword [ebp - 0x18], 1
sete bl
push dword [ebp - 8]
call edi
push dword [ebp - 0xc]
call edi
pop edi
test esi, esi
je 0x10038ca9
mov ecx, esi
call fcn.100016dc
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x10038caf
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4044
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x4040], eax
push ebx
push ebp
push esi
push edi
mov esi, 0x1000
lea eax, [esp + 0x50]
push esi
xor edi, edi
push edi
push eax
call fcn.1003d660
push edi
xor ebx, ebx
lea eax, [esp + 0x60]
inc ebx
mov ebp, 0x800
push ebx
push ebp
push eax
call fcn.1001e254
add esp, 0x1c
test eax, eax
je 0x10038e60
lea eax, [esp + 0x50]
push eax
push str.11.421.2
call fcn.1004d20a
pop ecx
pop ecx
test eax, eax
jg 0x10038e60
push esi
lea eax, [esp + 0x3054]
push edi
push eax
call fcn.1003d660
push edi
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x3064]
push ebp
push eax
call fcn.1001e48a
add esp, 0x1c
test eax, eax
je 0x10038e60
push esi
lea eax, [esp + 0x1054]
push edi
push eax
call fcn.1003d660
lea eax, [esp + 0x305c]
push eax
lea eax, [esp + 0x1060]
push ebp
push eax
call fcn.1004a3c0
push str._bin_ssvagent.exe
lea eax, [esp + 0x106c]
push ebp
push eax
call fcn.1004aa73
push 0x3c
pop esi
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.1003d660
push 0x1000
lea eax, [esp + 0x2084]
mov dword [esp + 0x48], esi
push edi
push eax
call fcn.1003d660
push str._high__jpisetup__register
lea eax, [esp + 0x2090]
push ebp
push eax
call fcn.1004aa73
add esp, 0x48
call fcn.1002e714
test eax, eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x1050]
mov dword [esp + 0x18], 0x40
mov edx, str.open
mov dword [esp + 0x24], eax
mov ecx, str.runas
lea eax, [esp + 0x50]
cmove ecx, edx
push eax
mov dword [esp + 0x24], ecx
call fcn.1002f4bd
test eax, eax
mov edx, str.__old
mov ecx, str.__new
lea eax, [esp + 0x2054]
cmove ecx, edx
push ecx
push ebp
push eax
call fcn.1004aa73
add esp, 0x10
lea eax, [esp + 0x2050]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10038e5c
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x4c], edi
je 0x10038e5c
push 0xffffffffffffffff
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10038e62
mov eax, ebx
mov ecx, dword [esp + 0x4050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x4044
ret