joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ace9
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.1000acab
mov edi, eax
cmp edi, esi
je 0x1000ad29
cmp dword [ebp - 4], esi
je 0x1000ad22
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1000adc6
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 8], 0x100
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1000ad9a
lea eax, [ebp - 0x114]
lea ecx, [ebp - 4]
push eax
call fcn.1000ace9
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x1000ad87
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x100
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
jmp 0x1000ad4c
cmp dword [ebp - 4], esi
je 0x1000ad95
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x1000adc6
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1000adad
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x1000adc4
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1000adcd
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp + 8]
xor esi, esi
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000ae38
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push esi
lea eax, [ebp + 0xc]
push esi
push eax
push esi
push esi
push esi
mov dword [ebp + 0xc], esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x1000ae21
mov dword [ebp + 0xc], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], esi
jne 0x1000ae34
cmp dword [ebp - 4], esi
je 0x1000ae38
xor eax, eax
jmp 0x1000ae3b
push 1
pop eax
pop esi
leave
ret
Function at 0x1000af66
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, reloc.OLEAUT32.dll_SysReAllocString
push esi
cmp dword [ebp + 8], eax
push edi
jne 0x1000afc1
lea ecx, [ebp - 0x130]
push 0x12c
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.10020037
add esp, 0x14
test eax, eax
je 0x1000b07d
cmp byte [ebp - 0x130], 0
je 0x1000b07d
push dword [ebp + 0x14]
lea eax, [ebp - 0x130]
push eax
call fcn.1000af0c
pop ecx
pop ecx
jmp 0x1000b07d
cmp dword [ebp + 8], 0x80000001
jne 0x1000b07d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp + 8], 0x1ea
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
sub dword [ebp + 8], eax
lea eax, [ebp - 0x324]
push dword [ebp + 8]
mov esi, VariantInit
mov dword [ebp - 4], 1
push eax
push 0
push esi
call edi
test eax, eax
jne 0x1000b07d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x324]
push 0x10041064
push eax
call ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x324]
push eax
call ebx
lea eax, [ebp - 0x130]
push 0x12c
push eax
lea eax, [ebp - 0x324]
push dword [ebp + 0x10]
push eax
push esi
call fcn.10020037
add esp, 0x14
test eax, eax
je 0x1000b064
cmp byte [ebp - 0x130], 0
je 0x1000b064
push dword [ebp + 0x14]
lea eax, [ebp - 0x130]
push eax
call fcn.1000af0c
pop ecx
pop ecx
push dword [ebp + 8]
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
lea ecx, [ebp - 0x324]
push ecx
push eax
push esi
call edi
test eax, eax
je 0x1000b00d
pop ebx
pop edi
pop esi
leave
ret
Function at 0x1000bdda
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x1000bdf4
xor esi, esi
jmp 0x1000be22
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.100392b0
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x1000be5d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x1000be56
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1000bef2
xor esi, esi
jmp 0x1000bef2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x1000be80
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x1000be93
xor esi, esi
jmp 0x1000bee9
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x1000bea5
jmp 0x1000be70
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1000bee9
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x1000bedb
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.100392b0
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.10013c5e
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.1000bf59
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1000c8d1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.100392b0
push ebx
push esi
lea eax, [ebp - 0x2014]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
call fcn.1000c0b2
xor edi, edi
cmp eax, edi
jl 0x1000ca8b
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.1000ca98
pop ecx
test eax, eax
pop ecx
jne 0x1000c91c
mov eax, 0x80020009
jmp 0x1000ca8b
mov ecx, esi
call fcn.1000c08a
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.1000c0b2
cmp eax, edi
jl 0x1000ca8b
movzx eax, word [ebp - 0xa]
sub eax, 8
je 0x1000ca53
sub eax, 9
je 0x1000c9b8
dec eax
dec eax
jne 0x1000ca7a
lea eax, [ebp - 0x1014]
test eax, eax
jne 0x1000c961
xor ebx, ebx
jmp 0x1000c996
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.100392b0
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x1014]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push ebx
call fcn.1001ab37
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
push 4
jmp 0x1000ca6b
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 8], eax
jne 0x1000c9f4
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.100392b0
mov dword [ebp - 4], esp
push ebx
push edi
push dword [ebp - 4]
call fcn.10013fcd
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x1000c9fe
mov eax, 0x80004005
jmp 0x1000ca8b
cmp dword [ebp - 8], 0
jle 0x1000ca38
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi - 0x1014]
push eax
call fcn.1000cb1f
pop ecx
mov ecx, edi
push 4
and ecx, 1
shl ecx, 2
mov edx, ecx
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x1000ca04
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 4]
mov eax, dword [eax]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
jmp 0x1000ca7a
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.1000c0b2
cmp eax, edi
jl 0x1000ca8b
xor eax, eax
lea esp, [ebp - 0x2020]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1000ee3a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
add ecx, 0xffffff94
neg esi
sbb esi, esi
and esi, ecx
mov ecx, dword [esi + 0x78]
lea eax, [esi + 0x78]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x4c]
test esi, esi
je 0x1000ee60
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x1001247d
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
lea eax, [ebp - 0x12c]
push str.rundll32
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x10043d8c]
lea ecx, [ebp - 0x123]
push 0x123
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jle 0x1001251d
add eax, 0x14
cmp eax, 0x12c
jae 0x1001251d
push esi
mov esi, 0x118
lea eax, [ebp - 0x123]
push esi
push eax
lea eax, [ebp - 0x123]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
cmp eax, esi
pop esi
jae 0x1001251d
test eax, eax
jbe 0x1001251d
lea eax, [ebp - 0x12c]
push 0x10041c30
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x12c]
neg eax
sbb eax, eax
push 0
and eax, ecx
push eax
push 0x10041374
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10020145
add esp, 0x14
leave
ret

Function at 0x1001423e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1001456a
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x18]
xor edi, edi
cmp eax, edi
lea ecx, [eax + 1]
mov dword [esi + 0x18], ecx
jne 0x100145ee
push str.oleacc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x100145e0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ObjectFromLresult
push eax
call edi
push str.AccessibleObjectFromWindow
mov dword [esi], eax
push dword [esi + 0x14]
call edi
push str.AccessibleChildren
mov dword [esi + 4], eax
push dword [esi + 0x14]
call edi
push str.AccessibleObjectFromEvent
mov dword [esi + 8], eax
push dword [esi + 0x14]
call edi
push str.GetRoleTextA
mov dword [esi + 0xc], eax
push dword [esi + 0x14]
call edi
mov dword [esi + 0x10], eax
jmp 0x100145ee
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 1
pop eax
pop edi
pop esi
pop ebx
ret
Function at 0x10015ad7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push ebx
push esi
push edi
mov esi, ecx
push 0x10043f70
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp word [ebp + 0xc], bx
jne 0x10015bbc
cmp dword [ebp + 0x10], ebx
je 0x10015ba3
test byte [esi + 0xc], 2
jne 0x10015b19
mov ecx, 0x10043eb8
call fcn.1001456a
or dword [esi + 0xc], 2
push dword [esi + 0x14]
call fcn.10016391
pop ecx
mov dword [ebp + 0xc], eax
mov edi, 0xc7
lea eax, [ebp - 0x190]
push edi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
jle 0x10015ba3
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x190]
push str.32770
push eax
call ebx
test eax, eax
jne 0x10015ba1
lea eax, [ebp - 0x190]
push edi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x10015ba1
mov eax, dword [ebp + 0xc]
mov edi, eax
lea eax, [ebp - 0x190]
shl edi, 2
push dword [edi + 0x10041f34]
push eax
call ebx
test eax, eax
je 0x10015b9a
push dword [edi + 0x10041f54]
lea eax, [ebp - 0x190]
push eax
call ebx
test eax, eax
jne 0x10015ba1
mov dword [esi + 0x10], 1
xor ebx, ebx
mov eax, dword [ebp + 0x14]
push 0x10043f70
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
cmp word [ebp + 0xc], 1
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
jne 0x10015bdf
cmp dword [esi + 0x10], ebx
je 0x10015bdf
push ebx
push 2
mov dword [esi + 0x10], ebx
push dword [0x10043f68]
push dword [esi + 0x14]
call edi
test byte [esi + 0xc], 1
je 0x10015ba3
push ebx
push 3
push dword [0x10043f68]
push dword [esi + 0x14]
call edi
jmp 0x10015ba3

Function at 0x10015ce1
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push str.MyWebSearchBar__Shared0H
push edi
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
cmp esi, edi
je 0x10015d55
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x10015d17
cmp eax, edi
jne 0x10015d4e
cmp dword [section.MyWebSea], edi
jne 0x10015d27
mov eax, dword [ebp + 8]
mov dword [section.MyWebSea], eax
cmp dword [0x10045004], edi
jne 0x10015d37
mov eax, dword [ebp + 0xc]
mov dword [0x10045004], eax
cmp dword [0x10045008], edi
jne 0x10015d47
mov eax, dword [ebp + 0x14]
mov dword [0x10045008], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
cmp eax, edi
jne 0x10015d70
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push fcn.10015c9b
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x10015d87
push eax
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, edi
jne 0x10015d70
lea eax, [ebp - 4]
push eax
push esi
call fcn.10015c9b
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x10017723
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
push esi
push edi
and dword [ebp - 8], 0
mov edi, 0x104
lea eax, [ebp - 0x210]
push edi
push eax
push 0x10043974
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10020037
add esp, 0x14
test eax, eax
je 0x10017952
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.1001401f
pop ecx
mov dword [ebp - 4], eax
test eax, eax
pop ecx
jne 0x10017791
lea eax, [ebp - 0x210]
push 0x2f
push eax
call fcn.1001401f
pop ecx
mov dword [ebp - 4], eax
test eax, eax
pop ecx
je 0x10017952
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
push 0xc
pop ebx
sub ebx, eax
lea eax, [ebp - 0x210]
push eax
call esi
add ebx, eax
cmp ebx, edi
jae 0x10017952
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x210]
inc ebx
push eax
and byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
cmp al, 0x10
jne 0x10017952
push str.msimg32.dll
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x10043d8c]
lea ecx, [ebp - 0x10c]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x10017952
add eax, 0x14
cmp eax, edi
jae 0x10017952
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call fcn.1001401f
pop ecx
mov dword [ebp - 4], eax
test eax, eax
pop ecx
jne 0x10017836
lea eax, [ebp - 0x10c]
push 0x2f
push eax
call fcn.1001401f
pop ecx
mov dword [ebp - 4], eax
test eax, eax
pop ecx
je 0x10017952
push eax
call esi
push 1
pop ebx
push str.f3imstub.dll
sub ebx, eax
call esi
add ebx, eax
lea eax, [ebp - 0x10c]
push eax
call esi
add ebx, eax
cmp ebx, edi
jae 0x10017952
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
inc eax
push str.f3imstub.dll
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x10c]
push 0x20
push eax
call esi
lea eax, [ebp - 0x210]
push 0x20
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x210]
push 0
push eax
lea eax, [ebp - 0x10c]
push eax
call ebx
test eax, eax
mov dword [ebp - 8], eax
jne 0x10017952
cmp dword [ebp + 8], eax
je 0x10017952
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10017952
push str.MoveFileExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp + 8], eax
je 0x10017952
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x314]
push eax
call edi
lea eax, [ebp - 0x314]
push 0x5c
push eax
call fcn.1001401f
pop ecx
test eax, eax
pop ecx
jne 0x10017912
lea eax, [ebp - 0x314]
push 0x2f
push eax
call fcn.1001401f
pop ecx
test eax, eax
pop ecx
je 0x10017952
inc eax
push 0x10042320
push eax
call edi
lea eax, [ebp - 0x314]
push 0
push eax
lea eax, [ebp - 0x10c]
push eax
call ebx
test eax, eax
je 0x10017952
lea eax, [ebp - 0x314]
push 0x20
push eax
call esi
lea eax, [ebp - 0x210]
push 5
push eax
lea eax, [ebp - 0x314]
push eax
call dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001795a
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x10017975
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], ebx
je 0x1001797c
mov dword [ebp - 4], 1
mov eax, dword [0x10043d8c]
lea ecx, [ebp - 0x187]
push 0x12b
push ecx
push eax
mov byte [ebp - 0x188], 0x22
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebx
jle 0x10017b2c
add eax, 0x14
cmp eax, 0x12c
jae 0x10017b2c
mov esi, 0x118
lea eax, [ebp - 0x187]
push esi
push eax
lea eax, [ebp - 0x187]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
cmp eax, esi
jae 0x10017b2c
cmp eax, ebx
jbe 0x10017b2c
lea eax, [ebp - 0x188]
push 0x5c
push eax
call fcn.1001401f
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
jne 0x10017a0d
lea eax, [ebp - 0x188]
push 0x2f
push eax
call fcn.1001401f
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x10017b2c
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
push 0xa
pop edi
push str.m3SrchMn
sub edi, eax
call esi
add edi, eax
lea eax, [ebp - 0x188]
push eax
call esi
add edi, eax
cmp edi, 0x12c
jae 0x10017b2c
mov eax, dword [ebp - 8]
push str.m3SrchMn.exe___m
lea esi, [eax + 1]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp + 8], ebx
je 0x10017a65
cmp dword [ebp + 0xc], ebx
je 0x10017a5e
mov eax, str.2__w
jmp 0x10017a6a
mov eax, str.1__w
jmp 0x10017a6a
mov eax, 0x100423f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x188]
neg eax
sbb eax, eax
push ebx
and eax, ecx
push eax
push str.My_Web_Search_Bar_Search_Scope_Monitor
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10020145
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.MyWebSearchBar__Shared0I
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, ebx
je 0x10017b2c
cmp eax, ebx
jne 0x10017b19
cmp dword [ebp - 4], ebx
je 0x10017b1e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x58], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
lea eax, [ebp - 0x188]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10017b2c
cmp dword [ebp - 0x14], ebx
je 0x10017b0d
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x18], ebx
je 0x10017b2c
push dword [ebp - 0x18]
call esi
jmp 0x10017b2c
cmp dword [ebp - 4], ebx
jne 0x10017b25
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10018998
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push esi
push edi
jbe 0x10018a7e
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
add eax, 0xa
cmp eax, 0x1f4
jae 0x10018a0b
push dword [ebp + 8]
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x200]
push str..bak
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x200]
push eax
call esi
lea eax, [ebp - 0x200]
push eax
push dword [ebp + 8]
call edi
mov dword [ebp - 4], eax
push ebx
push 0x8000080
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x10018a64
lea ecx, [ebp - 8]
push ebx
push ecx
mov dword [ebp - 8], ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10018a53
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], 1
cmp dword [ebp - 8], eax
je 0x10018a56
mov dword [ebp + 0x10], ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x10], ebx
jne 0x10018a87
cmp dword [ebp - 4], ebx
je 0x10018a7a
push dword [ebp + 8]
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x200]
push eax
call edi
xor eax, eax
jmp 0x10018a8a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc