joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10024e7f
pop dword [ebp - 0x30]
mov eax, 0xde1c60e4
sub eax, 0xce1a1265
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x73a6fa63
add dword [ebp - 0x40], 0xdaab4ae8
mov dword [ebp - 0x3c], 0x5ceccbf6
add dword [ebp - 0x3c], 0xd546804f
mov dword [ebp - 0x38], 0xf84da73a
sub dword [ebp - 0x38], 0xac01630c
mov dword [ebp - 0x34], 0xbb45d49e
add dword [ebp - 0x34], 0x44ba2b62
lea eax, [ebp - 0x40]
push eax
mov eax, 0xf79480e9
add eax, 0x1871501f
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x73bd25be
add dword [ebp - 0x40], 0xb54398
mov dword [ebp - 0x3c], 0xb6b48c2c
sub dword [ebp - 0x3c], 0x75482ab7
mov dword [ebp - 0x38], 0x42944679
add dword [ebp - 0x38], 0x20db25f3
mov dword [ebp - 0x34], 0xa040000d
add dword [ebp - 0x34], 0x5fbffff3
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x61d2a2e8
add eax, 0xae332e18
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x500c9
push 0
call eax
mov ecx, 0x81e51e45
sub ecx, 0x81e4d572
mov edi, eax
mov esi, 0x10090e00
add esi, dword [ebp - 0x30]
mov ebx, 0xab630c89
xor dword [ebp - 0x2c], 0x4920bfa9
mov edx, dword [esi]
mov dword [ebp - 0xc], 0x338b2e0a
sub edx, ebx
add dword [ebp - 0x24], esi
mov dword [edi], edx
add edi, 4
add esi, 4
loop 0x10024f95
add eax, 0x1161f
xor ebx, ebx
add ebx, eax
add eax, 0x15449d4
sub eax, 0x15449cf
mov ecx, 0xaee74693
sub ecx, 0x9ee74693
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x100374d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x100374fb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov eax, esi
call fcn.10024e70
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x10037529
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x10037522
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x10037525
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003753b
lea ecx, [ebp - 8]
push ecx
push 0x100374a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41152b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
push ebx
push ebx
stosd dword es:[edi], eax
push 1
push ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x411592
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, ebx
jle 0x41156e
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x41157c
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x3b
push str.uithread.cpp
call fcn.0043294e
push str.Failed_to_create_initialization_event.
jmp 0x4115f1
mov esi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0x411377
push ebx
push ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x4115fd
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, ebx
jle 0x4115cf
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x4115dd
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x44
push str.uithread.cpp
call fcn.0043294e
push str.Failed_to_create_the_UI_thread.
push dword [ebp - 4]
call main
pop ecx
pop ecx
jmp 0x411618
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
mov eax, dword [ebp - 8]
mov dword [esi + 0x3d4], eax
mov dword [ebp - 8], ebx
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x41162b
push dword [ebp - 8]
call esi
mov dword [ebp - 8], ebx
cmp dword [ebp - 0xc], ebx
je 0x411635
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41638e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x4163f0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, edi
jle 0x4163d1
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x4163dc
mov esi, 0x80004005
push esi
push 0x41
push str.splashscreen.cpp
call fcn.0043294e
push str.Failed_to_create_modal_event.
jmp 0x416453
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push 0x4161cc
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x41645d
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, edi
jle 0x416436
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x416441
mov esi, 0x80004005
push esi
push 0x4a
push str.splashscreen.cpp
call fcn.0043294e
push str.Failed_to_create_UI_thread.
push esi
call main
pop ecx
pop ecx
jmp 0x41646c
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 8], edi
je 0x41647f
push dword [ebp - 8]
call esi
mov dword [ebp - 8], edi
cmp dword [ebp - 0xc], edi
je 0x416489
push dword [ebp - 0xc]
call esi
pop edi
pop esi
leave
ret 0xc

Function at 0x427eaa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4540d0]
jne 0x427eb4
repz ret
jmp fcn.00429e94
Function at 0x40c506
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a538]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408e31
mov dword [ebp - 0x14], eax
cmp dword [0x43cc9c], esi
jne 0x40c5f9
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c586
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c6d9
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c6d9
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c6d9
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43cc9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43cca0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43cca4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43ccac], eax
test eax, eax
je 0x40c5f6
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43cca8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c61e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c611
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c633
push 4
pop eax
jmp 0x40c6db
cmp dword [ebp - 0x14], esi
je 0x40c633
push dword [0x43cc9c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c618
mov eax, dword [0x43cca8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c691
cmp dword [0x43ccac], edi
je 0x40c691
push eax
call ebx
push dword [0x43ccac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c691
test eax, eax
je 0x40c691
call ecx
test eax, eax
je 0x40c686
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c686
test byte [ebp - 8], 1
jne 0x40c691
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c6c1
mov eax, dword [0x43cca0]
cmp eax, edi
je 0x40c6be
push eax
call ebx
test eax, eax
je 0x40c6be
call eax
mov esi, eax
test esi, esi
je 0x40c6be
mov eax, dword [0x43cca4]
cmp eax, edi
je 0x40c6be
push eax
call ebx
test eax, eax
je 0x40c6be
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43cc9c]
call ebx
test eax, eax
je 0x40c6d9
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c6db
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404268
mov esp, ebp
pop ebp
ret
Function at 0x10007c1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10007c2e
pop dword [ebp - 0x50]
mov eax, 0x55d9bea6
sub eax, 0x45d94278
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x3a8dd823
sub dword [ebp - 0x60], 0xec3b92d8
mov dword [ebp - 0x5c], 0x73af296c
add dword [ebp - 0x5c], 0xbe8422d9
mov dword [ebp - 0x58], 0xe021b256
sub dword [ebp - 0x58], 0x93d56e28
mov dword [ebp - 0x54], 0x57e63f88
sub dword [ebp - 0x54], 0x57e63f88
lea eax, [ebp - 0x60]
push eax
mov eax, 0x3dcc800e
add eax, 0xd2340046
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x476f39fd
add dword [ebp - 0x60], 0x2d032f59
mov dword [ebp - 0x5c], 0xf2c88b1e
add dword [ebp - 0x5c], 0x4ea3d657
mov dword [ebp - 0x58], 0x7a858d44
add dword [ebp - 0x58], 0xe8e9df28
mov dword [ebp - 0x54], 0xd0bae15c
sub dword [ebp - 0x54], 0xd0bae15c
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x984345a
add eax, 0x67c4bf6
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3c282
push 0
call eax
mov ecx, 0xacf619b7
sub ecx, 0xacf5bbc2
mov edx, eax
mov edi, 0xb84de97b
add edi, 0x57b31085
add edi, dword [ebp - 0x50]
mov esi, 0x4806623f
add esi, 0x7998a78
mov ebx, dword [edi]
xor dword [ebp - 0x1c], 0x211b1436
sub ebx, esi
sub dword [ebp - 0x18], 0x9e5b68d6
mov dword [edx], ebx
add dword [ebp - 8], 0xcd1a43c8
add edx, 4
add edi, 0x7b298922
sub edi, 0x7b29891e
loop 0x10007d50
add eax, 0x359baff9
sub eax, 0x359a4552
xor ebx, ebx
add ebx, eax
add eax, 0x8c778846
sub eax, 0x8c778841
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x405a12
pop dword [ebp - 0x20]
mov eax, 0x405a12
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x3ef02023
add dword [ebp - 0x30], 0xf622528
mov dword [ebp - 0x2c], 0x330f046e
sub dword [ebp - 0x2c], 0xdbb829
mov dword [ebp - 0x28], 0x48d96a7d
add dword [ebp - 0x28], 0x372d9b1
mov dword [ebp - 0x24], 0x3517daaa
add dword [ebp - 0x24], 0xcae82556
lea eax, [ebp - 0x30]
push eax
mov eax, 0xf7d41867
sub eax, 0xf7939763
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xce5b6b5f
sub dword [ebp - 0x30], 0x59e90209
mov dword [ebp - 0x2c], 0x1e0b1c38
sub dword [ebp - 0x2c], 0xdc9ebac3
mov dword [ebp - 0x28], 0x1bb95896
add dword [ebp - 0x28], 0x47b613d6
mov dword [ebp - 0x24], 0x503dea82
sub dword [ebp - 0x24], 0x503dea82
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x6573cce
add eax, 0xf9e94432
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x33ef0
push 0
call eax
mov ecx, 0x3bd0
mov ebx, eax
mov esi, 0x5ba6692e
sub esi, 0x5b5f852e
add esi, dword [ebp - 0x20]
mov edi, 0x1cb2e684
sub edi, 0x31543857
xor dword [ebp - 0x18], 0xc4959ccc
mov edx, dword [esi]
add dword [ebp - 0x1c], eax
xor edx, edi
add dword [ebp - 0x1c], 0x83e76bc0
mov dword [ebx], edx
sub dword [ebp - 0x14], 0x88d38a73
add ebx, 4
add esi, 0x52dbad1a
sub esi, 0x52dbad16
loop 0x405b29
add eax, 0xa1a6aed8
sub eax, 0xa1a5ccc5
mov ebx, eax
add eax, 0x2a6792db
sub eax, 0x2a6792d6
mov ecx, 0xbb8d9190
add ecx, 0x44b26e70
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
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.00446558
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.00446558
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.00446558
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.00446558
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.00446558
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.00446558
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.00446558
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