joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020c5e
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
movsx eax, byte [esi]
push eax
call fcn.10014090
test eax, eax
pop ecx
je 0x10020cba
cmp byte [esi + 1], 0x3a
jne 0x10020cba
cmp byte [esi + 2], 0x5c
jne 0x10020cba
push 4
lea eax, [ebp - 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x10020ca2
cmp eax, 4
jne 0x10020cba
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10020cba
and eax, 0x10
cmp al, 0x10
je 0x10020cba
push 1
pop eax
jmp 0x10020cbc
xor eax, eax
pop esi
leave
ret

Function at 0x10020cbf
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x10020cd2
or dword [eax], 0xffffffff
push edi
push 0x8000080
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10020d64
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
jbe 0x10020d5d
cmp dword [ebp + 8], edi
jne 0x10020d5d
mov eax, dword [ebp + 0x10]
add eax, esi
push eax
call fcn.1001ad44
cmp eax, edi
pop ecx
mov dword [ebp - 4], eax
je 0x10020d5d
lea ecx, [ebp + 0x10]
push edi
push ecx
push esi
push eax
push ebx
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10020d54
cmp dword [ebp + 0x10], esi
jne 0x10020d54
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x10020d48
mov dword [eax], ebx
jmp 0x10020d4f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x10020d6b
push dword [ebp - 4]
call fcn.1001ad4f
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10021af9
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x25c
push ebp
mov ebp, ecx
push 0x1003c710
mov dword [esp + 8], ebp
call fcn.10031dfa
test eax, eax
je 0x10021ccd
push ebx
push esi
push edi
push 0xffffffffffffffff
mov ecx, ebp
call fcn.10031fbd
cmp dword [0x10044248], 0
mov esi, str.General
jne 0x10021c05
lea eax, [esp + 0x78]
push 0x1f4
push eax
push 0
push str.Cache
push 0x1003c758
push 0x1003c754
call fcn.10020a39
mov edi, eax
add esp, 0x18
test edi, edi
je 0x10021c9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, str.files.ini
push ebp
call ebx
mov edi, eax
lea eax, [esp + 0x78]
push eax
call ebx
lea eax, [edi + eax + 0xa]
push eax
call fcn.1001ad44
pop ecx
mov dword [0x10044248], eax
xor ecx, ecx
test eax, eax
setne cl
mov edi, ecx
test edi, edi
je 0x10021c99
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [0x10044248]
call ebx
push ebp
mov dword [0x1004424c], eax
push dword [0x10044248]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [0x10044248]
mov ebx, str.access
movzx edi, ax
push edi
push ebx
push esi
call fcn.1001fe90
add esp, 0x10
push dword [0x10044248]
push 0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor ecx, ecx
mov ebp, dword [esp + 0x10]
cmp edi, eax
sete cl
mov edi, ecx
test edi, edi
je 0x10021c9d
lea eax, [esp + 0x14]
push 0x64
push eax
push str.MyWebSearchBar__Shared01
call fcn.100205a5
mov edi, eax
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
je 0x10021c9d
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x14]
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [ebp + 0x18], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
cmp edi, ebx
mov dword [esp + 0x10], ecx
je 0x10021c9d
push dword [0x10044248]
push ebx
mov ebx, str.refCount
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [esp + 0x10], 0
je 0x10021c7f
mov ecx, ebp
call fcn.100221a8
xor eax, eax
inc dword [0x10044250]
push dword [0x10044248]
inc eax
push eax
push ebx
push esi
call fcn.1001fe90
add esp, 0x10
jmp 0x10021c9d
mov ebp, dword [esp + 0x10]
mov ecx, ebp
call fcn.10031ffe
test edi, edi
pop edi
pop esi
pop ebx
jne 0x10021cb4
mov ecx, ebp
call fcn.10031fb4
jmp 0x10021ccd
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, 0x100441c8
call fcn.100321a2
test eax, eax
jne 0x10021cd1
mov ecx, ebp
call fcn.10021cfb
xor eax, eax
jmp 0x10021cd4
push 1
pop eax
pop ebp
add esp, 0x25c
ret
Function at 0x10021cfb
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0xffffffffffffffff
call fcn.10031fbd
push dword [0x10044248]
mov ebp, str.refCount
mov ebx, str.General
push 0xffffffffffffffff
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
dec esi
test eax, eax
jle 0x10021d45
push dword [0x10044248]
push esi
push ebp
push ebx
call fcn.1001fe90
add esp, 0x10
test esi, esi
jne 0x10021d45
mov ecx, edi
call fcn.100221a8
dec dword [0x10044250]
jne 0x10021d67
push dword [0x10044248]
call fcn.1001ad4f
and dword [0x10044248], 0
and dword [0x1004424c], 0
pop ecx
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x18], 0
mov ecx, edi
call fcn.10031ffe
mov ecx, edi
call fcn.10031fb4
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10021d8a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
push ebx
mov ebx, ecx
mov ecx, dword [0x10044248]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x10021eb9
mov eax, dword [0x1004424c]
lea edx, [eax + 0x14]
cmp edx, 0x12b
jge 0x10021eb9
cmp dword [ebx + 0x18], 0
je 0x10021eb9
and byte [ebp - 0x168], 0
push esi
inc eax
push edi
push eax
lea eax, [ebp - 0x168]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [0x1004424c]
mov esi, 0x12a
push 0xffffffffffffffff
mov ecx, ebx
lea edi, [ebp + eax - 0x168]
sub esi, eax
call fcn.10031fbd
push dword [0x10044248]
push esi
push edi
push 0x10043974
push dword [ebp + 8]
push str.Index
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [edi], 0
je 0x10021e94
lea eax, [ebp - 0x168]
push eax
call fcn.10020c5e
test eax, eax
pop ecx
je 0x10021e82
push dword [0x10044248]
mov ebx, str.count
mov esi, 0x1003c79c
push 0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 0x3c]
push 0x10042df4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x3c]
push dword [0x10044248]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 8]
push dword [0x10044248]
inc eax
push eax
push ebx
push esi
call fcn.1001fe90
add esp, 0x10
push dword [0x10044248]
push 0
push dword [ebp + 8]
push str.Index
jmp 0x10021ea4
push dword [0x10044248]
push 0
push dword [ebp + 8]
push str.Session
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
call fcn.10031ffe
push 1
pop eax
pop edi
pop esi
jmp 0x10021ebb
xor eax, eax
pop ebx
leave
ret 4
Function at 0x100221a8
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov edi, str.count
push dword [0x10044248]
mov ebx, 0x1003c79c
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
mov dword [ebp - 0x14], eax
jle 0x10022300
mov eax, dword [0x1004424c]
add eax, 0x14
push eax
call fcn.1001ad44
mov esi, eax
pop ecx
test esi, esi
mov dword [ebp - 8], esi
je 0x10022205
push dword [0x10044248]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x1004424c]
add eax, esi
mov dword [ebp - 0xc], eax
and dword [ebp - 4], 0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp - 4]
lea eax, [ebp - 0x3c]
push 0x10042df4
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x28]
push dword [0x10044248]
push 0x13
push eax
lea eax, [ebp - 0x3c]
push 0x10043974
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x28]
push eax
call fcn.1002232c
pop ecx
push eax
lea eax, [ebp - 0x50]
push str.Reuse____s
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x50]
push dword [0x10044248]
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp byte [ebp - 0x28], 0
mov dword [ebp - 0x10], eax
je 0x100222d3
cmp eax, 5
jl 0x10022294
cmp dword [ebp - 8], 0
je 0x10022294
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x100222d3
push eax
lea eax, [ebp - 0x3c]
push 0x10042df4
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x28]
push dword [0x10044248]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x10]
push dword [0x10044248]
inc eax
push eax
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.1001fe90
add esp, 0x10
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jl 0x1002220f
push dword [ebp - 8]
call fcn.1001ad4f
pop ecx
mov esi, 0x10044258
push dword [0x10044248]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
jmp 0x10022305
mov esi, 0x10044258
push dword [0x10044248]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
push esi
push str.Session
call edi
push dword [0x10044248]
push esi
push str.Requested
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100231a5
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x588
push ebx
push esi
push edi
mov edi, 0x10044ab0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x10044ac8]
push edi
not esi
shr esi, 0xb
and esi, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x10023212
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0x3ff
cmp ax, 9
je 0x1002320f
cmp ax, 0x13
je 0x1002320f
cmp ax, 0xc
je 0x1002320f
cmp ax, 7
je 0x1002320f
cmp ax, 0x10
je 0x1002320f
cmp ax, 0xa
je 0x1002320f
cmp ax, 0x1d
je 0x1002320f
xor esi, esi
jmp 0x10023212
push 1
pop esi
push esi
call fcn.1002332c
test eax, eax
pop ecx
je 0x10023320
lea eax, [ebp - 0x588]
push 0x3e8
push eax
push 0x1003ca10
push 0x1003c868
call fcn.1001ffa4
add esp, 0x10
test eax, eax
je 0x10023324
mov al, byte [ebp - 0x588]
test al, al
je 0x10023324
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [ebp - 1], al
lea eax, [ebp - 0x588]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + eax - 0x588]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x74]
push 0x1003cad8
push eax
lea esi, [ebp - 0x587]
call edi
lea eax, [ebp - 0x587]
test eax, eax
je 0x10023324
cmp esi, dword [ebp - 0x10]
jae 0x10023324
movsx eax, byte [ebp - 1]
push eax
push esi
call fcn.10013bf5
pop ecx
mov dword [ebp - 8], eax
test eax, eax
pop ecx
je 0x100232b6
and byte [eax], 0
push esi
call ebx
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x10023315
add eax, 0x17
cmp eax, 0x64
jae 0x10023315
lea eax, [ebp - 0x6d]
push esi
push eax
call edi
mov eax, dword [ebp - 0xc]
push 0x1003cae0
lea eax, [ebp + eax - 0x6d]
push eax
call edi
lea eax, [ebp - 0x1a0]
push 0x12c
push eax
lea eax, [ebp - 0x74]
push 0x10043974
push eax
push SysReAllocString
call fcn.10020037
add esp, 0x14
test eax, eax
je 0x10023315
lea eax, [ebp - 0x1a0]
push eax
call fcn.10020c5e
test eax, eax
pop ecx
jne 0x10023320
mov eax, dword [ebp - 8]
lea esi, [eax + 1]
jmp 0x1002328e
xor eax, eax
jmp 0x10023327
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10023b41
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
push edi
push 0x19
mov esi, 0x10044ad0
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0xd0]
push 0x10042ecc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareMyWebSearch_bar
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10023bc0
push dword [ebp + 0x10]
lea eax, [ebp - 0xd0]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x10023bc6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push esi
push edi
push 0x19
mov esi, 0x10044ad0
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0xcc]
push 0x10042ecc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMyWebSearch_bar
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10023c3d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x10023c43
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
xor edi, edi
cmp ebx, edi
je 0x10023c60
cmp byte [ebx], 0
je 0x10023c60
push 1
pop eax
mov dword [esp + 0x18], eax
jmp 0x10023c67
push 1
mov dword [esp + 0x1c], edi
pop eax
mov ebp, dword [esp + 0x1c]
cmp ebp, edi
je 0x10023c79
cmp byte [ebp], 0
mov dword [esp + 0x10], eax
jne 0x10023c7d
mov dword [esp + 0x10], edi
cmp dword [esp + 0x18], edi
jne 0x10023c8d
cmp dword [esp + 0x10], edi
je 0x10023d51
push eax
push edi
push str.search2
call fcn.100327e5
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x10023d51
cmp dword [esp + 0x18], edi
je 0x10023cb4
push ebx
mov ecx, esi
call fcn.10032a03
cmp dword [esp + 0x10], edi
je 0x10023cc2
push ebp
mov ecx, esi
call fcn.100327fc
mov eax, dword [esi]
push esi
call dword [eax + 8]
push str.MyWebSearchBar__Shared0E
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
cmp esi, edi
je 0x10023d4c
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp ebx, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ebp, 0x12c
je 0x10023cfe
push ebp
push ebx
push section.MyWebSea_1
call edi
jmp 0x10023d05
and byte [section.MyWebSea_1], 0
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
je 0x10023d1b
push ebp
push dword [esp + 0x20]
push 0x1004612c
call edi
jmp 0x10023d22
and byte [0x1004612c], 0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x18], ebx
je 0x10023d4c
cmp dword [esp + 0x10], ebx
je 0x10023d4c
push 0xb
push 1
push 1
push 1
call fcn.1001fa18
add esp, 0x10
push 1
pop eax
jmp 0x10023d53
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10024106
Capabilities:
Check mutex on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
push esi
push edi
push 0x10044a50
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
mov esi, 0x10044a70
cmp dword [0x10044aa4], edi
jne 0x1002423c
and byte [0x10044a70], 0
push str.MyWebSearchBar__Shared0C
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x1002423c
push ebx
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x32
mov ebx, 0x1003c8ac
push esi
mov edi, 0x1003c868
push ebx
push edi
call fcn.1001ffa4
add esp, 0x10
test eax, eax
je 0x1002418b
cmp byte [0x10044a70], 0
je 0x1002418b
mov dword [0x10044aa4], 1
jmp 0x10024227
and dword [0x10044aa4], 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x7c]
push 0x31
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
mov dword [ebp - 8], eax
jle 0x10024227
xor ecx, ecx
add eax, 0xfffffffe
push ecx
push ecx
push 0x32
push esi
push eax
lea eax, [ebp - 0x7a]
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 8]
push 1
push esi
push ebx
and byte [eax + 0x10044a6e], 0
push edi
call fcn.100200bc
add esp, 0x10
test eax, eax
je 0x10024227
lea eax, [ebp - 0x1a8]
push 0x12c
push eax
push ebx
push edi
call fcn.1001ffa4
add esp, 0x10
test eax, eax
je 0x10024220
lea eax, [ebp - 0x1a8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002417c
and dword [0x10044aa4], 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
pop ebx
call fcn.100242bd
cmp dword [0x10044aa4], edi
je 0x100242ae
cmp dword [0x10044a68], edi
jne 0x100242ae
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
cmp eax, esi
jbe 0x10024277
movzx ecx, byte [esi]
xor edi, ecx
mov ecx, edi
mov edx, edi
shr ecx, 0x1e
shl edx, 2
or ecx, edx
inc esi
inc esi
mov edi, ecx
cmp esi, eax
jb 0x1002425e
mov ecx, 0x10044a71
cmp eax, ecx
jbe 0x10024297
movzx edx, byte [ecx]
xor edi, edx
mov edx, edi
shr edx, 0x1f
lea esi, [edi + edi]
or edx, esi
inc ecx
inc ecx
mov edi, edx
cmp ecx, eax
jb 0x10024280
mov eax, edi
mov dword [0x10044a68], 1
shr eax, 0x10
xor eax, edi
mov word [0x10044a6c], ax
push 0x10044a50
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
leave
ret
Function at 0x100273e1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
je 0x100274b6
xor ecx, ecx
cmp byte [eax], 0x22
mov byte [ebp - 0x180], 0x22
sete cl
mov edi, ecx
cmp edi, ebx
je 0x10027410
inc eax
lea ecx, [ebp - 0x17f]
push 0x122
push ecx
push eax
call fcn.10020306
add esp, 0xc
test eax, eax
je 0x100274b6
cmp dword [ebp + 0xc], ebx
jne 0x100274b1
cmp byte [ebp - 0x17f], 0x22
je 0x100274b1
xor esi, esi
cmp edi, ebx
jne 0x10027453
lea eax, [ebp - 0x180]
push 0x10043280
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], ebx
rep stosd dword es:[edi], eax
cmp esi, ebx
lea eax, [ebp - 0x17f]
jne 0x10027477
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100274b6
cmp dword [ebp - 0xc], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x100274a2
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x10], ebx
je 0x100274ac
push dword [ebp - 0x10]
call esi
push 1
pop eax
jmp 0x100274b8
push 1
pop esi
jmp 0x10027453
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100287ff
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push ebx
push esi
push edi
lea eax, [ebp - 0x2c8]
push str.HKUR__
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, 0x1c4
lea eax, [ebp - 0x2c2]
push ebx
push eax
mov edi, VariantInit
push 0
mov dword [ebp - 4], 1
push edi
call esi
test eax, eax
jne 0x10028911
lea eax, [ebp - 0x2c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xc], eax
push str.MenuExtLabel
lea eax, [ebp + eax - 0x2c8]
push 0x1003c958
push str._s___s
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xd4]
push 0xc8
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.10020306
add esp, 0x1c
test eax, eax
je 0x100288fc
cmp byte [ebp - 0xd4], 0
je 0x100288fc
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0xc]
lea eax, [eax + ecx + 0x33]
cmp eax, 0x1f4
jae 0x100288fc
push 1
lea eax, [ebp - 0x2c8]
push 0
push eax
call fcn.100204a6
add esp, 0xc
lea eax, [ebp - 0xd4]
push eax
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_
push str._s_s_
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_wsprintfA]
push 1
lea eax, [ebp - 0x2c8]
push 0
push eax
call fcn.100204a6
add esp, 0x1c
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
lea ecx, [ebp - 0x2c2]
push ebx
push ecx
push eax
push edi
jmp 0x1002883f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10029463
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor ebx, ebx
push str.MyWebSearchBar__Shared0D
push ebx
mov esi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100295f2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x100295e9
cmp eax, 0xffffffff
je 0x100295e9
lea eax, [ebp - 0x24]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edi, dword [esi + 0x15c]
mov esi, 0x1003c868
cmp edi, ebx
jle 0x100295c1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x100295c1
lea eax, [ebp - 0x14]
push 8
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10013c5e
add esp, 0xc
cmp edi, 0x153d8
jle 0x100294f6
mov edi, 0x15180
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.100295f6
push ebx
lea eax, [ebp - 0x38]
push 0x14
push eax
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.1002ec9f
add esp, 0x1c
test eax, eax
je 0x100295c1
lea eax, [ebp - 0x38]
push ebx
mov edi, str.NextConfigRequest
push eax
push edi
push esi
mov byte [ebp - 0x2c], bl
call fcn.100200bc
add esp, 0x10
test eax, eax
je 0x100295c6
lea eax, [ebp - 0x4c]
push 0x14
push eax
push edi
push esi
call fcn.1001ffa4
add esp, 0x10
test eax, eax
je 0x100295c6
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x100295c6
push ebx
lea eax, [ebp - 0x38]
push 0x14
push eax
lea eax, [ebp - 0x14]
push 8
push eax
call fcn.1002ec9f
add esp, 0x14
test eax, eax
je 0x100295c6
lea eax, [ebp - 0x38]
push ebx
push eax
push str.LastConfigRequest
push esi
mov byte [ebp - 0x2c], bl
call fcn.100200bc
add esp, 0x10
test eax, eax
je 0x100295c6
lea eax, [ebp - 0x4c]
push 0x14
push eax
push str.LastConfigRequest
push esi
call fcn.1001ffa4
add esp, 0x10
test eax, eax
je 0x100295c6
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x100295df
jmp 0x100295c6
mov edi, str.NextConfigRequest
push ebx
push ebx
push edi
push esi
call fcn.100200bc
push ebx
push ebx
push str.LastConfigRequest
push esi
call fcn.100200bc
add esp, 0x20
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
leave
ret

Function at 0x1002a289
Capabilities:
Hide graphical window

Disassembly:
cmp dword [ecx + 0x214], 0
push esi
lea esi, [ecx + 0x214]
je 0x1002a2b5
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi]
jne 0x1002a2ab
push 0
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret