joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413610
Capabilities:
Check mutex on windows
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
cmp dword [0x41f06c], 0
je 0x413628
xor eax, eax
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x114]
push str.National_Instruments_LabWindows_CVI_Startup_library__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
jne 0x413664
lea eax, [edi - 3]
pop edi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x41f06c], 0
je 0x41368b
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.winmm.dll
call esi
mov dword [ebp - 8], eax
test eax, eax
jne 0x4136b7
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push str.advapi32.dll
call esi
mov ebx, eax
test ebx, ebx
je 0x4136e1
push str.kernel32.dll
call esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4136e1
push str.user32.dll
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x4136f9
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.timeGetTime
push dword [ebp - 8]
call esi
mov dword [0x41f070], eax
test eax, eax
je 0x41378e
push str.RegOpenKeyExA
push ebx
call esi
mov dword [0x41f074], eax
test eax, eax
je 0x41378e
push str.RegQueryValueExA
push ebx
call esi
mov dword [0x41f078], eax
test eax, eax
je 0x41378e
push str.GetFileTime
push dword [ebp - 0xc]
call esi
mov dword [0x41f07c], eax
test eax, eax
je 0x41378e
push str.KillTimer
push dword [ebp - 4]
call esi
mov dword [0x41f080], eax
test eax, eax
je 0x41378e
push str.SetTimer
push dword [ebp - 4]
call esi
mov dword [0x41f084], eax
test eax, eax
je 0x41378e
push edi
mov dword [0x41f06c], 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
push ebx
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 4]
call esi
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
mov eax, 0xfffffffe
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4139b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x417a95]
xorps xmm0, xmm0
push ebx
push esi
cdq
push edi
mov edi, eax
mov byte [ebp - 1], 0
mov ebx, edx
movlpd qword [ebp - 0xc], xmm0
add edi, 0x83aa6260
push 0
adc ebx, 0
call sub.cvirte.dll_time
add esp, 4
test ebx, ebx
jl 0x413a2c
jg 0x4139ef
cmp edi, eax
jbe 0x413a2c
mov esi, dword [ebp - 0xc]
sub edi, eax
mov eax, dword [ebp - 8]
mov ecx, 0x3e8
sbb ebx, 0
nop
add esi, edi
adc eax, ebx
sub ecx, 1
jne 0x413a00
test eax, eax
jg 0x413a25
jl 0x413a2c
cmp esi, 0x927c0
jb 0x413a2c
test eax, eax
jl 0x413a38
jg 0x413a25
cmp esi, 0xfc5d36bf
jb 0x413a38
mov esi, 0xfc5d36bf
jmp 0x413a38
mov dword [ebp - 8], 0
mov esi, 0x927c0
call fcn.00413610
test eax, eax
je 0x413a4b
push 0
call fcn.00414430
add esp, 4
push 0x4137e0
push esi
push 0
push 0
call dword [0x41f084]
mov dword [0x41f060], eax
test eax, eax
jne 0x413a70
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
je 0x413aab
call edi
push eax
lea eax, [ebp - 0x10c]
push str.CVI_Demo_Exe__x
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x413a64
push 0x104
push 0x41f088
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x413ae3
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ecx + str.Unknown_DLL_EXE]
lea ecx, [ecx + 1]
mov byte [ecx + 0x41f087], al
test al, al
jne 0x413ad0
call edi
push eax
lea eax, [ebp - 0x10c]
push str.CVI_Demo_Last_Time_Timer_Called___d
push eax
call esi
lea eax, [ebp - 0x10c]
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call fcn.004143e0
add esp, 0x24
mov dword [0x41f064], eax
test eax, eax
je 0x413a64
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, byte [ebp - 1]
cmp eax, 0xb7
push 0
push 0
push 0
push 2
push dword [0x41f064]
mov esi, 1
cmovne ebx, esi
call fcn.00414510
add esp, 0x14
mov dword [0x41f068], eax
test eax, eax
jne 0x413b59
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x413b7e
call fcn.00413610
test eax, eax
je 0x413b70
push 0
call fcn.00414430
add esp, 4
call dword [0x41f070]
mov ecx, dword [0x41f068]
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4145a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [0x41f448], 0
je 0x4145bb
mov eax, 1
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x108]
push str.National_Instruments_LabWindows_CVI_Startup_SDK_stubs__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x4145f4
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x41f448], 0
jne 0x41462a
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x41f448], eax
test eax, eax
jne 0x41462a
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x41f448], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [0x41f448], eax
pop esi
setne al
mov esp, ebp
pop ebp
ret
Function at 0x402abe
Capabilities:
Connect pipe

Disassembly:
push ebx
push edi
push 0x14
xor ebx, ebx
lea edi, [esi + 0xc]
push ebx
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0x20]
push edi
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
sub eax, 0x217
je 0x402b48
dec eax
je 0x402b1d
sub eax, 0x1cd
je 0x402b1d
cmp byte [esi], bl
je 0x402b12
push str.Connect:_Unexpected_error_n
call dword [sym.imp.GrooveUtil.DLL_void___stdcall_GOutputDebugString_wchar_t_const__]
push 0x6c
mov eax, edi
call fcn.0040698f
jmp 0x402b60
cmp edi, 0x3e5
jne 0x402b30
cmp byte [esi], bl
je 0x402b3f
push str.Connect:_ERROR_IO_PENDING_n
jmp 0x402b39
cmp byte [esi], bl
je 0x402b3f
push str.Connect:_ERROR_PIPE_LISTENING_n
call dword [sym.imp.GrooveUtil.DLL_void___stdcall_GOutputDebugString_wchar_t_const__]
mov dword [esi + 8], 2
jmp 0x402b5e
cmp byte [esi], bl
je 0x402b57
push str.Connect:_PIPE_CONNECTED_n
call dword [sym.imp.GrooveUtil.DLL_void___stdcall_GOutputDebugString_wchar_t_const__]
mov dword [esi + 8], 3
xor edi, edi
mov eax, edi
pop edi
pop ebx
ret
Function at 0x402d9d
Capabilities:
Read file on windows

Disassembly:
push 0xc
mov eax, 0x407f74
call fcn.004077f4
mov esi, ecx
mov eax, dword [esi + 0x28]
mov dword [esi + 0x2c], eax
add eax, eax
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.GrooveNew.DLL_void____cdecl_GrooveNew_unsigned_int_]
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x402dce
push 0xe
pop eax
jmp 0x402ed4
mov eax, dword [esi + 0x28]
add eax, eax
push eax
push ebx
push edi
call sub.MSVCR80.dll_memset
push dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push dword [esi + 0x24]
add eax, eax
push eax
push edi
call dword [sym.imp.MSVCR80.dll_memcpy_s]
push dword [esi + 0x24]
call dword [sym.imp.GrooveNew.DLL_void___cdecl_GrooveDelete_void__]
shl dword [esi + 0x28], 1
push 0x14
mov dword [esi + 0x24], edi
lea edi, [esi + 0xc]
push ebx
push edi
call sub.MSVCR80.dll_memset
add esp, 0x2c
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
push edi
lea edx, [ebp - 0x18]
push edx
mov edx, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x2c]
sub edx, eax
push edx
mov edx, dword [esi + 0x24]
add edx, eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x402e89
mov eax, dword [ebp - 0x18]
add dword [esi + 0x2c], eax
cmp byte [esi], bl
mov dword [esi + 8], 5
je 0x402eb9
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push dword [esi + 0x2c]
push str.ExtendedRead:_ReadFile_got_last_part_of_message__Total_Size___d__Last_Part___d_n
push eax
call dword [sym.imp.GrooveUtil.DLL_public:_long_int___cdecl_GCStr::Format_wchar_t_const__]
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.GrooveUtil.DLL_void___stdcall_GOutputDebugString_wchar_t_const__]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x402eb9
lea ecx, [ebp - 0x10]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
jmp 0x402eb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
mov dword [ebp - 0x14], eax
je 0x402ebe
cmp byte [esi], bl
je 0x402ea8
push str.ExtendedRead:_ReadFile_hit_unexpected_error_n
call dword [sym.imp.GrooveUtil.DLL_void___stdcall_GOutputDebugString_wchar_t_const__]
mov eax, dword [ebp - 0x14]
push 0x6d
call fcn.0040698f
mov dword [esi + 8], 1
mov eax, dword [ebp - 0x14]
jmp 0x402ed4
cmp byte [esi], bl
je 0x402ecd
push str.ExtendedRead:_ReadFiles_buffer_is_still_too_small_n
call dword [sym.imp.GrooveUtil.DLL_void___stdcall_GOutputDebugString_wchar_t_const__]
mov ecx, esi
call fcn.00402d9d
call fcn.004078cc
ret
Function at 0x406506
Capabilities:
Accept command line arguments

Disassembly:
push 0x34
mov eax, 0x40912f
call fcn.00407827
push str.F275ED8E_232B_4810_BB6F_7E8D75505DBC
call dword [sym.imp.KERNEL32.dll_AddAtomW]
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCMso::InitThread_void_]
xor esi, esi
mov dword [ebp - 4], esi
xor ebx, ebx
inc ebx
push ebx
push ebx
lea ecx, [ebp - 0x30]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCSmartExceptionTranslator::constructor_bool__bool_]
mov byte [ebp - 4], bl
push ebx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCSmartTerminateHandler::constructor_bool_]
mov byte [ebp - 4], 2
push esi
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::StartErrorBlock_bool_]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push ebx
lea ecx, [ebp - 0x18]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCSmartExceptionFilter::constructor_bool_]
mov byte [ebp - 4], 5
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCSmartInvalidParameterHandler::constructor_bool_]
mov byte [ebp - 4], 6
push esi
call fcn.00406b06
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00406a3a
test al, al
je 0x4065bc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCSmartInvalidParameterHandler::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCSmartExceptionFilter::destructor_void_]
jmp 0x40661d
mov dword [ebp - 0x40], 0x40a504
mov dword [ebp - 0x3c], 0x406655
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x4065eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
call fcn.0040698f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCSmartInvalidParameterHandler::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCSmartExceptionFilter::destructor_void_]
mov dword [ebp - 4], 3
jmp 0x40661d
mov byte [ebp - 4], 2
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCCriticalErrorInfo::EndErrorBlock_void_]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCSmartTerminateHandler::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.GrooveUtil.DLL_public_virtual:_void___thiscall_GCSmartExceptionTranslator::destructor_void_]
or dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.GrooveUtil.DLL_public:_static_void___stdcall_GCMso::Uninit_bool_]
xor eax, eax
call fcn.004078cc
ret 0x10
Function at 0x40698f
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 2
mov edi, eax
call fcn.00406b06
xor esi, esi
cmp edi, esi
mov dword [ebp - 8], esi
je 0x406a04
push ebx
lea eax, [edi - 0x834]
xor ebx, ebx
cmp eax, 0x383
mov dword [ebp - 4], 0x1300
ja 0x4069db
push 2
push esi
push str.netmsg.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
je 0x4069db
mov dword [ebp - 4], 0x1b00
push esi
push esi
push esi
push esi
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x4069f8
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 1
cmp ebx, esi
je 0x406a03
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
push 0x40a504
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
cmp edi, esi
je 0x406a34
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 8]
push esi
push dword [ebp + 8]
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
leave
ret 4
Function at 0x401f87
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x433]
push ebx
push eax
mov esi, 0x80004005
mov byte [ebp - 0x434], bl
call fcn.0041b010
push 7
xor eax, eax
mov byte [ebp - 0x34], bl
pop ecx
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call fcn.00423970
add esp, 0x10
test eax, eax
je 0x40205b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00423970
mov eax, dword [ebp - 4]
imul eax, eax, 0xa
add esp, 0x14
mov dword [ebp - 4], eax
lea eax, [ebp - 0x434]
push eax
push 0x400
push ebx
push dword [ebp + 0xc]
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40205b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x434a24
lea eax, [ebp - 0x434]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40205b
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0xa]
cmp ecx, dword [ebp - 8]
jg 0x402059
jne 0x40205b
movzx ecx, word [eax + 8]
cmp ecx, dword [ebp - 0xc]
jg 0x402059
jne 0x40205b
movzx eax, word [eax + 0xe]
cmp eax, dword [ebp - 4]
jl 0x40205b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x40367c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x604
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x603]
push ebx
push eax
mov byte [ebp - 0x604], bl
call fcn.0041b010
push 0xff
lea eax, [ebp - 0x203]
push ebx
push eax
mov byte [ebp - 0x204], bl
call fcn.0041b010
mov esi, dword [ebp + 8]
add esp, 0x18
cmp dword [esi + 0x184c], ebx
jne 0x4036d1
cmp dword [esi + 0x58], ebx
je 0x4036d1
xor ecx, ecx
jmp 0x4036d4
xor ecx, ecx
inc ecx
cmp dword [ebp + 0xc], ebx
jne 0x403715
mov eax, dword [esi + 0x1848]
cmp eax, ebx
je 0x4036e7
cmp ecx, ebx
je 0x403715
mov edx, dword [esi]
push eax
push ecx
push esi
call dword [edx + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x40370b
push 1
call fcn.00423970
pop ecx
test eax, eax
je 0x403715
mov eax, 0x80070204
jmp 0x40380a
call fcn.00423970
jmp 0x403808
cmp dword [esi + 0x184c], ebx
je 0x40372b
push 0x80
lea eax, [esi + 8]
push eax
call fcn.00423970
push 0x104
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.004031f7
mov edi, eax
cmp edi, ebx
jl 0x4037f4
push str.Download_Status:_Download_Complete
call fcn.00423970
mov eax, dword [esi]
pop ecx
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [eax + 0x28]
mov edi, eax
cmp edi, ebx
jl 0x403789
push dword [ebp + 0xc]
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [eax + 0x24]
mov edi, eax
cmp edi, ebx
jge 0x403808
push str.Download_Status:_Verification_of_Downloaded_File_Signature_Failed
jmp 0x403802
mov esi, dword [sym.imp.user32.dll_LoadStringA]
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x72
push dword [0x4470b0]
call esi
push 0x400
lea eax, [ebp - 0x604]
push eax
push 0x74
push dword [0x4470b0]
call esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 0x10
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x604]
push eax
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
push 0xfffffffffffffffb
call fcn.00423970
call fcn.0041974f
mov dword [esp], str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
jmp 0x403802
push 0xffffffffffffffc3
call fcn.00423970
mov dword [esp], str.Download_Status:_Download_Failed
call fcn.00423970
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4091f7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
push esi
push 0x400
lea eax, [ebp - 0x454]
push eax
xor esi, esi
push esi
call fcn.00418804
add esp, 0xc
test eax, eax
jne 0x40921f
inc eax
jmp 0x409288
push edi
push str._binjavacpl.exe
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.kernel32.dll_lstrcatA]
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0041b010
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push str.__tab_update
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.kernel32.dll_CreateProcessA]
pop edi
test eax, eax
je 0x409286
push dword [ebp - 0x10]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
pop esi
leave
ret 4

Function at 0x409939
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
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 [0x4470ac]
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.00423970
mov dword [esi + 0x3c], eax
call fcn.00423970
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 + 8]
push eax
push ebx
push esi
push 0x409860
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateThread]
cmp eax, ebx
je 0x4099c0
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 + 0x58]
push eax
push 0x7b
push dword [esi + 0x18]
call edi
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x7c
push dword [esi + 0x18]
call edi
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.00423970
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x40ad3e
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push 0x814
push 0x43fdb0
call fcn.0041b9f0
push 0x4358f2
call fcn.004012da
pop ecx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 8]
push 0x446e04
mov ecx, 0x446e34
call fcn.00423970
mov dword [ebp + 8], 1
mov dword [ebp - 0x1c], ebx
mov esi, 0x4359c8
lea edi, [ebp - 0x24]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.00423970
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x40ae8a
mov edi, dword [sym.imp.kernel32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40af73
push str.RegServer
push esi
call edi
test eax, eax
je 0x40ae87
push 4
push str.auto
push esi
call fcn.00423970
add esp, 0xc
test eax, eax
jne 0x40adf1
mov dword [0x444b50], ebx
mov dword [str.jau_m], 0x4359ec
jmp 0x40ae6f
push 9
push str.scheduled
push esi
call fcn.00423970
add esp, 0xc
test eax, eax
jne 0x40ae11
mov dword [0x446e28], 1
jmp 0x40ae6f
push 7
push str.pending
push esi
call fcn.00423970
add esp, 0xc
test eax, eax
jne 0x40ae31
mov dword [0x446e2c], 1
jmp 0x40ae6f
push 8
push 0x435a04
push esi
call fcn.00423970
add esp, 0xc
test eax, eax
jne 0x40ae51
mov dword [0x446e30], 1
jmp 0x40ae6f
push 4
push str.test
push esi
call fcn.00423970
add esp, 0xc
test eax, eax
jne 0x40ae6f
lea eax, [esi + 5]
push eax
call fcn.00423970
pop ecx
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00423970
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x40adab
jmp 0x40ae8a
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x40af73
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
push str.SunJavaUpdateCheckerMutex
push 1
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x40af35
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x40af35
call fcn.00423970
test eax, eax
jne 0x40af17
mov edi, 0x400
push edi
lea eax, [ebp - 0x424]
push eax
push 0x72
push dword [0x4470b0]
mov esi, dword [sym.imp.user32.dll_LoadStringA]
call esi
push edi
lea eax, [ebp - 0x824]
push eax
push 0x75
push dword [0x4470b0]
call esi
push 0x10
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x824]
push eax
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
mov dword [ebp - 0x1c], 0x80004005
jmp 0x40af6a
push dword [0x444b54]
push 0x435a34
push ebx
call fcn.00423970
add esp, 0xc
call fcn.00423970
mov dword [ebp - 0x1c], eax
jmp 0x40af6a
mov dword [ebp - 0x1c], 0x64
cmp dword [ebp - 0x20], ebx
je 0x40af6a
cmp dword [0x444b50], ebx
jne 0x40af51
cmp dword [0x446e28], ebx
je 0x40af6a
push dword [0x444b54]
push 0x435a3c
push ebx
call fcn.00423970
add esp, 0xc
call fcn.0040d2d8
or dword [ebp - 4], 0xffffffff
call fcn.0040af90
mov ecx, 0x446e34
call fcn.00409daa
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
call fcn.0041ba2b
ret 0x10