joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x3da61ea7
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x66e6793f
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401ac7
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x230
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
xor ebp, ebp
mov ebx, ecx
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov esi, eax
lea eax, [esp + 0x14]
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0x22c
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401b7d
jmp 0x401b50
lea edx, [esp + 0x30]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bp
jne 0x401b21
sub edx, ecx
mov ecx, ebx
sar edx, 1
cmp dword [ebx + 0x14], 7
jbe 0x401b3a
mov ecx, dword [ebx]
cmp dword [ebx + 0x10], edx
jne 0x401b50
push dword [ebx + 0x10]
lea edx, [esp + 0x34]
call fcn.00406d1e
pop ecx
test eax, eax
je 0x401b62
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401b1a
jmp 0x401b7d
push dword [esp + 0x14]
push 1
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00407949
add esp, 0x230
ret

Function at 0x401cf0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, 0x7ffffffe
push ebx
push esi
mov esi, dword [ecx + 0x10]
xor ebx, ebx
sub eax, esi
push edi
mov edi, edx
cmp eax, 0x17
jb 0x401d6a
lfence
cmp dword [ecx + 0x14], 7
jbe 0x401d17
mov ecx, dword [ecx]
push esi
push ecx
push 0x17
push ecx
push ecx
push dword [ebp - 4]
lea ecx, [ebp - 0x1c]
call fcn.00406c94
cmp dword [ebp - 8], 7
lea ecx, [ebp - 0x1c]
push ebx
cmova ecx, dword [ebp - 0x1c]
imul eax, edi, 0x20a
push ebx
lea esi, [eax + 0x40f6c8]
push esi
push ecx
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
lea ecx, [ebp - 0x1c]
call fcn.00406189
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0040606d
call fcn.00401cb4
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
call fcn.00406a5e
int3

Function at 0x401d70
Capabilities:
Download url
Receive data

Disassembly:
push ecx
cmp dword [ecx + 0x14], 7
push esi
jbe 0x401d7a
mov ecx, dword [ecx]
imul eax, edx, 0x20a
lea esi, [eax + 0x40f6c8]
xor eax, eax
push eax
push eax
push esi
push ecx
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0040606d
call fcn.00401cb4
add esp, 0x18
pop esi
pop ecx
ret
Function at 0x403c85
Capabilities:
Create process on windows

Disassembly:
push 0x8c
mov eax, 0x409449
call fcn.0040893e
xor eax, eax
lea ecx, [ebp - 0x5c]
xor esi, esi
mov word [0x419dfc], ax
call fcn.0040207d
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.004060aa
push 0x52
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
pop ecx
call fcn.0040159b
lea ecx, [ebp - 0x28]
call fcn.00406189
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00406189
call fcn.00401da9
test eax, eax
je 0x403d34
push str.jdk_22_windows_x64_bin.exe
lea ecx, [ebp - 0x28]
call fcn.0040606d
push 0x52
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 2
pop ecx
call fcn.0040159b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406189
push str.https:__download.oracle.com_java_22_latest_jdk_22_windows_x64_bin.exe
lea ecx, [ebp - 0x28]
call fcn.0040606d
push 0x52
pop edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.00401d70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406189
push 0x3c
lea eax, [ebp - 0x98]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x98]
mov eax, 0x41a0d8
mov edi, eax
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, 0x419dfc
mov dword [0x41a0d8], 0x3c
push eax
mov dword [0x41a0dc], 0x40
mov dword [0x41a0f4], 5
mov dword [0x41a0e8], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x41a110]
test eax, eax
je 0x403d9a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.0040620e
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 4
call fcn.00403dd5
lea ecx, [ebp - 0x44]
call fcn.00406189
push 0
push str.LoLSuite
push str.Minecraft_Launcher___Minecraft:_Java_Edition___Installations___Latest___Edit___More_Options___Java_Executable_Path____drive_:Program_FilesJavajdk_22_binjavaw.exe
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0040891b
ret
Function at 0x404392
Capabilities:
Create process on windows

Disassembly:
push 0x8c
mov eax, 0x409449
call fcn.0040893e
xor eax, eax
lea ecx, [ebp - 0x5c]
xor esi, esi
mov word [0x419dfc], ax
call fcn.0040207d
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.004060aa
push 0x52
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
pop ecx
call fcn.0040159b
lea ecx, [ebp - 0x28]
call fcn.00406189
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00406189
push str.dxwebsetup.exe
lea ecx, [ebp - 0x28]
call fcn.0040606d
push 0x52
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 2
pop ecx
call fcn.0040159b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406189
push str.https:__download.microsoft.com_download_1_7_1_1718CCC4_6315_4D8E_9543_8E28A4E18C4C_dxwebsetup.exe
lea ecx, [ebp - 0x28]
call fcn.0040606d
push 0x52
pop edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.00401d70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406189
push 0x3c
lea eax, [ebp - 0x98]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x98]
mov eax, 0x41a0d8
mov edi, eax
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, 0x419dfc
mov dword [0x41a0d8], 0x3c
push eax
mov dword [0x41a0dc], 0x40
mov dword [0x41a0f4], 5
mov dword [0x41a0ec], 0x40c0f4
mov dword [0x41a0e8], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x41a110]
test eax, eax
je 0x4044a8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.0040620e
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 4
call fcn.00403dd5
lea ecx, [ebp - 0x44]
call fcn.00406189
call fcn.0040891b
ret
Function at 0x405ae5
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push str.GlobalCSAPP
xor ebp, ebp
mov dword [esp + 0x10], edx
push ebp
push ebp
push ebp
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
jne 0x405bde
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
mov eax, 0x80000000
push ebx
push ebp
push ebp
push 0x82
push 0x186
push eax
push eax
push 0xcb0000
push 0x41a010
push 0x40f600
push ebp
call esi
push ebp
push ebx
push 1
mov edi, eax
mov ebp, str.BUTTON
push edi
push 0x4b
push 0x4b
push 0xa
push 0xa
push 0x50010001
push str.Patch
push ebp
push 0
call esi
push 0
push ebx
push 2
push edi
push 0x4b
push 0x4b
push 0xa
push 0x122
push 0x50010000
push str.Restore
push ebp
xor ebp, ebp
push ebp
call esi
push ebp
push ebx
push ebp
push edi
push 0x16d
push 0xbe
push 0xa
push 0x5a
push 0x50000202
push 0x40ba8c
push str.ComboBox
push ebp
call esi
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov esi, 0x40f078
push dword [esi]
push 0
push 0x143
push ebx
call ebp
add esi, 4
cmp esi, 0x40f0a4
jne 0x405bb3
xor esi, esi
push esi
push esi
push 0x14e
push ebx
call ebp
test edi, edi
jne 0x405c0f
xor eax, eax
jmp 0x405c43
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405b10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push str.LoLSuite
push str.One_instance_is_allowed
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebp
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push ecx
call fcn.00401000
pop ecx
test al, al
je 0x405c2e
push dword [esp + 0x10]
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x405c40
push esi
push str.LoLSuite
push str.This_app_only_runs_on_Windows_10_or_Higher
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4078f5
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x40791c
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x40791f
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004078d1
pop esi
leave
ret 8

Function at 0x4083a6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4083e5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4083e5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4083e5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4083e5
cmp dword [ecx + 0x74], 0xe
jbe 0x4083e5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x569b415d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3b012793
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x8a1afb
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x919630]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
xor esi, esi
or eax, 0x2001f
lea ebx, [ebp - 0x118]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
call fcn.008a1a77
mov ebx, eax
cmp ebx, esi
je 0x8a1b67
cmp dword [ebp - 0x118], esi
je 0x8a1b60
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x8a1bff
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x8a1b8f
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x118]
call fcn.008a1afb
mov dword [ebp - 0x124], eax
cmp eax, esi
jne 0x8a1c10
lea eax, [ebp - 0x12c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push dword [ebp - 0x118]
mov dword [ebp - 0x11c], 0x100
call ebx
test eax, eax
je 0x8a1b6f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x118], esi
je 0x8a1bda
push dword [ebp - 0x118]
call ebx
mov dword [ebp - 0x118], esi
push dword [ebp - 0x120]
mov dword [ebp - 0x114], esi
call fcn.008a199c
mov edi, eax
cmp dword [ebp - 0x118], esi
je 0x8a1bfd
push dword [ebp - 0x118]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.008da44f
leave
ret 4
cmp dword [ebp - 0x118], esi
je 0x8a1c24
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x124]
jmp 0x8a1bff
Function at 0x8a4b8f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x919630]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
mov eax, dword [ebp + 0x7b0]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x6c], bl
mov dword [esi], ebx
call fcn.008affba
mov dword [esi], eax
cmp eax, ebx
jne 0x8a4be4
push str.ERROR:_ShutdownEvent_handle_is_NULL
call fcn.008b6f65
pop ecx
mov dword [ebp - 0x60], 0xfffffffe
push dword [ebp - 0x64]
call fcn.008af78c
pop ecx
test eax, eax
jne 0x8a4c04
push str.jusched_ERROR:_Could_not_open_Policy_key_for_reading
call fcn.008b6f65
mov dword [ebp - 0x60], 0xfffffffd
jmp 0x8a4c27
mov eax, dword [ebp - 0x64]
push dword [eax]
call fcn.008a4b12
pop ecx
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x8a4c28
push str.jusched_main:_ERROR_creating_registry_watch_event_notifier
call fcn.008b6f65
mov dword [ebp - 0x60], 0xfffffffe
pop ecx
push str.SunJavaUpdateSchedulerMutex
push 1
push ebx
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi], eax
cmp eax, ebx
jne 0x8a4c98
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7ff
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5b]
push ebx
push eax
mov byte [ebp - 0x5c], bl
call fcn.008db8b0
add esp, 0xc
cmp dword [ebp - 0x60], 0xb7
lea eax, [ebp - 0x5c]
jne 0x8a4c78
push str.Error:_Scheduler_Mutex_already_exists_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
jmp 0x8a4c8a
push dword [ebp - 0x60]
push str.Error:_Error_creating_scheduler_mutex:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call fcn.008b6f65
or dword [ebp - 0x60], 0xffffffff
pop ecx
cmp dword [ebp - 0x60], ebx
je 0x8a4cb7
push dword [edi]
push esi
call fcn.008a4b61
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
pop ecx
pop ecx
lea esi, [ebp - 0x80]
mov dword [ebp - 0x7c], eax
call fcn.008b44e2
mov ecx, dword [ebp + 0x7a4]
mov eax, dword [ebp - 0x60]
pop esi
xor ecx, ebp
pop ebx
call fcn.008da44f
add ebp, 0x7a8
leave
ret
Function at 0x8a65e5
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x919630]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
mov esi, dword [ebp + 0xb4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, ebx
push ebx
push ebx
mov dword [esi + 0xc], 0xbc2
mov eax, dword [0x91c184]
push 1
push ebx
mov dword [esi + 0x18], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x38], eax
call fcn.008affba
mov dword [esi + 0x3c], eax
xor eax, eax
mov byte [ebp - 0x7c], bl
lea edi, [ebp - 0x7b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp - 0x68], ebx
lea edi, [ebp - 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.SunJavaUpdateRecheckUpdateEvent
lea eax, [ebp - 0x7c]
push ebx
mov dword [ebp - 0x64], eax
push ebx
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0xc
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x40], eax
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x38]
call edi
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0x8a6bc0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x8a66cd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x20]
call edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
mov ebx, 0x104
push ebx
lea eax, [esi + 0x54]
push eax
push 0x7b
push dword [esi + 0x18]
call edi
push ebx
lea eax, [ebp - 0x5c]
push eax
push 0x7c
push dword [esi + 0x18]
call edi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x8a671f
lea eax, [ebp - 0x5c]
push eax
add esi, 0x158
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.008da44f
add ebp, 0xac
leave
ret 4