joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a2a2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x430
mov eax, 0x516660
call fcn.004f21c7
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x434], edi
call fcn.00404939
xor eax, eax
mov dword [ebp - 4], edi
push 0x208
mov word [ebp - 0x424], ax
xor ebx, ebx
lea eax, [ebp - 0x422]
push edi
inc ebx
push eax
mov dword [ebp - 0x434], ebx
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x438]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x430], 0x209
mov dword [ebp - 0x438], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x46a3bc
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.004e7380
add esp, 0xc
push str.QHVer.dll
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x42c], edi
push eax
lea edi, [ebp - 0x218]
call fcn.004413a9
pop ecx
pop ecx
cmp al, bl
jne 0x46a3bc
mov eax, dword [ebp - 0x42c]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
mov eax, dword [ebp - 0x428]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._d._d._d._d
push esi
call fcn.00404568
add esp, 0x18
mov eax, esi
call fcn.004f224a
ret

Function at 0x46e164
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x51b997
call fcn.004f21c7
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x220], edi
mov eax, dword [0x582d44]
mov esi, 0x582d44
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [ebp - 4], edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x46e22d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00405721
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5427fc
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x46e22d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00405721
lea eax, [ebp - 0x21c]
jmp 0x46e254
mov eax, dword [0x582d44]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x220], 1
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040499b
or dword [ebp - 0x220], 2
add eax, 0x10
test byte [ebp - 0x220], 1
mov dword [ebx], eax
je 0x46e281
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.0040557a
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.0040557a
mov eax, ebx
call fcn.004f224a
ret
Function at 0x46e960
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x46e96d
xor al, al
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46e98e
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
neg eax
sbb al, al
inc al
pop ebp
ret
shr al, 4
and al, 1
pop ebp
ret

Function at 0x46eb5d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004e736b
leave
ret

Function at 0x46ee30
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46ee4f
test esi, esi
jne 0x46ee77
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x46ee6e
cmp esi, 0xffffffff
je 0x46ee6a
test esi, esi
je 0x46ee6a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x46ee80
cmp esi, 0xffffffff
je 0x46ee7e
test esi, esi
je 0x46ee7e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret
Function at 0x487711
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x218
mov eax, 0x51b8a0
call fcn.004f21c7
mov esi, 0x5873e8
mov dword [ebp - 0x224], esi
call fcn.00404939
and dword [ebp - 4], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004e7380
and dword [ebp - 0x21c], 0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4877b6
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00405721
push str._softmgrdata_softpackgelist.dat
push esi
call fcn.004047b1
mov eax, esi
call fcn.004f224a
ret

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

Disassembly:
push 0xc
mov eax, 0x522245
call fcn.004f215e
mov eax, dword [ebp + 0xc]
call fcn.00417722
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x487b3e
cmp ebx, 0xffffffff
je 0x487b33
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
je 0x487b33
cmp edi, 0x6400000
jae 0x487b33
lea eax, [edi + 2]
push 0x582e91
push eax
call fcn.004eb416
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x487b33
lea eax, [edi + 2]
push eax
push 0
push esi
call fcn.004e7380
and dword [ebp - 0x10], 0
add esp, 0xc
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x487b2c
cmp edi, dword [ebp - 0x10]
jne 0x487b2c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x582d44]
mov ecx, 0x582d44
xor ebx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], ebx
cmp byte [esi], 0xff
jne 0x487aee
cmp byte [esi + 1], 0xfe
jne 0x487aee
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405721
push 0x53e940
lea eax, [ebp - 0x14]
push eax
call fcn.00405747
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0048795d
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040557a
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x14], 1
call fcn.0040557a
push esi
call fcn.004e85e3
pop ecx
test ebx, ebx
je 0x487b3e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
call fcn.004f2236
ret 8
Function at 0x48fbf8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
mov edi, ecx
call fcn.004e7380
add esp, 0xc
push str.safemon360safemonpro.tpi
push 0x585d80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48fcc8
lea eax, [ebp - 0x210]
push eax
call fcn.004426d5
pop ecx
test eax, eax
je 0x48fcc8
push str.CreateTrayClient
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48fcc8
and dword [ebp - 0x218], 0
lea ecx, [ebp - 0x218]
push ecx
push 1
call eax
mov dword [edi + 0x434], eax
test eax, eax
je 0x48fcc8
and dword [ebp - 0x214], 0
mov edx, dword [eax]
lea esi, [ebp - 0x214]
lea ecx, [edi + 0x24]
push esi
push ecx
mov ecx, eax
call dword [edx + 8]
test eax, eax
je 0x48fcc8
mov ecx, dword [edi + 0x434]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x48fcc8
mov dword [edi + 0x118], 1
push 0x582e91
push 0xc
call fcn.004eb6e3
pop ecx
pop ecx
test eax, eax
je 0x48fce3
mov esi, eax
call fcn.00486cb3
jmp 0x48fce5
xor eax, eax
push eax
add edi, 0x97c
call fcn.0049b694
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e736b
leave
ret
Function at 0x491e30
Capabilities:
Create thread

Disassembly:
push ebx
xor ebx, ebx
push esi
mov esi, eax
mov dword [esi + 0x528], ebx
push edi
mov dword [esi + 0x444], ebx
mov dword [esi + 0x44c], ebx
mov dword [esi + 0x450], ebx
mov dword [esi + 0x448], ebx
lea edi, [esi + 0x470]
call fcn.0049b57c
push ebx
push 0x2710
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push ebx
push ebx
xor edi, edi
inc edi
push edi
mov dword [esi + 0x444], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x491ece
push ebx
push ebx
mov dword [esi + 0x450], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x44c], eax
mov eax, dword [esi + 0x444]
test eax, eax
je 0x491ebd
cmp dword [esi + 0x450], ebx
je 0x491ebd
cmp dword [esi + 0x44c], ebx
je 0x491ebd
mov dword [esi + 0x528], edi
cmp dword [esi + 0x528], ebx
jne 0x491eca
call fcn.004921e1
pop edi
pop esi
pop ebx
ret

Function at 0x49250d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
je 0x492527
push 0x1388
call sub.KERNEL32.dll_Sleep
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 4
pop edi
push 2
pop ebx
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp - 4]
test eax, edi
je 0x492555
mov al, byte [ebp + 0xc]
add al, 0x41
movzx eax, al
push eax
call fcn.0043aafa
pop ecx
cmp eax, ebx
jne 0x492555
or esi, edi
add edi, edi
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0x1a
jl 0x492539
test esi, esi
jbe 0x49259d
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push 0x8000
mov dword [ebp - 0x18], 0x14
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], esi
call fcn.0049ac7c
mov eax, dword [ebp + 8]
push 0
push esi
push 0x472
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4925d1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0x582e91
push 8
call fcn.004eb6e3
pop ecx
pop ecx
test eax, eax
je 0x492612
mov ecx, dword [ebp + 8]
push 0
push 0
push eax
push 0x4924e2
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
push 0
push 0
mov dword [eax + 4], ecx
call fcn.004eb0fa
add esp, 0x18
test eax, eax
je 0x492612
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 8
Function at 0x493000
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, eax
push edi
lea edi, [esi + 0x504]
mov eax, dword [edi]
test eax, eax
jne 0x493082
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.00492e18
cmp eax, 4
jne 0x493082
mov eax, dword [esi + 0x114]
test eax, eax
jne 0x493082
push eax
push 4
push esi
push 0x493d24
push eax
push eax
call fcn.004eb0fa
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
je 0x493082
push 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call edi
push 0
lea eax, [esi + 0x50c]
push eax
call edi
mov esi, dword [esi + 0x518]
test esi, esi
je 0x493070
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret

Function at 0x493a0a
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
push edi
lea edi, [esi + 0x508]
mov eax, dword [edi]
test eax, eax
jne 0x493a9a
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov eax, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00493824
cmp eax, 8
je 0x493a3e
cmp eax, 9
jne 0x493a9a
mov eax, dword [esi + 0x114]
test eax, eax
jne 0x493a9a
push ebx
push 4
push esi
push 0x493d4b
push ebx
push ebx
call fcn.004eb0fa
add esp, 0x18
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x493a9a
push 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call edi
push ebx
lea eax, [esi + 0x50c]
push eax
call edi
mov esi, dword [esi + 0x518]
cmp esi, ebx
je 0x493a88
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x495d83
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, eax
push 0x457
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor edi, edi
push edi
call fcn.0049a736
test al, al
je 0x495dbf
push edi
push edi
push esi
push 0x49637b
push edi
push edi
call fcn.004eb0fa
add esp, 0x18
cmp eax, edi
je 0x495dbf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ecx
ret
Function at 0x499613
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x5236e4
call fcn.004f215e
mov eax, dword [ebp + 8]
push 0x70d
push dword [eax + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
mov esi, str.software360TotalSecurity
mov dword [ebp - 0x18], 1
cmp eax, esi
je 0x4996ba
mov ebx, str.promo
cmp eax, ebx
je 0x4996ba
mov edi, str.DuplicateCleanerNotify
cmp eax, edi
je 0x4996ba
mov eax, dword [0x582d44]
mov ecx, 0x582d44
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push ebx
push esi
push str._s_s
lea eax, [ebp - 0x10]
call fcn.00429c50
and dword [ebp - 0x14], 0
add esp, 0xc
push 4
pop esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
mov edi, dword [ebp - 0x10]
push edi
push SysReAllocString
mov bl, 1
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4996ae
cmp dword [ebp - 0x14], esi
je 0x4996b0
xor bl, bl
lea eax, [edi - 0x10]
call fcn.0040557a
jmp 0x4996bc
xor bl, bl
xor esi, esi
test bl, bl
je 0x4996c7
cmp dword [ebp - 0x18], esi
je 0x4996e6
push esi
push esi
push dword [ebp + 8]
push 0x499c5e
push esi
push esi
call fcn.004eb0fa
add esp, 0x18
cmp eax, esi
je 0x4996e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004f2236
ret 4

Function at 0x49ab9d
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push str..
push eax
call fcn.004eb87e
pop ecx
pop ecx
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x49abf7
xor eax, eax
jmp 0x49ac6d
xor ebx, ebx
inc ebx
cmp word [ebp - 0x43c], 0x2e
jne 0x49ac20
cmp word [ebp - 0x43a], si
je 0x49ac4e
cmp word [ebp - 0x43a], 0x2e
jne 0x49ac20
cmp word [ebp - 0x438], si
je 0x49ac4e
lea eax, [ebp - 0x43c]
push str.desktop.ini
push eax
call fcn.004eb1aa
pop ecx
pop ecx
test eax, eax
jne 0x49ac4e
lea eax, [ebp - 0x43c]
push str..lnk
push eax
call fcn.004eb1aa
pop ecx
pop ecx
test eax, eax
je 0x49ac62
lea eax, [ebp - 0x468]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49abfa
jmp 0x49ac64
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e736b
leave
ret
Function at 0x4a3197
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov eax, dword [edi + 0x60]
xor ebx, ebx
mov dword [ebp - 0x21c], ecx
cmp eax, ebx
je 0x4a31c6
push ecx
call eax
jmp 0x4a32a8
cmp dword [edi + 0x5c], ebx
jne 0x4a3210
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.004e7380
add esp, 0xc
push str.safemon360hipsPopWnd.dll
push 0x585d80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x210]
push eax
call fcn.004426d5
pop ecx
mov dword [edi + 0x5c], eax
mov eax, dword [edi + 0x5c]
cmp eax, ebx
je 0x4a32a6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateTrayClient
push eax
call esi
push str.SetStatSender
push dword [edi + 0x5c]
mov dword [ebp - 0x214], eax
call esi
cmp eax, ebx
je 0x4a3244
push 0x4a3b80
call eax
push str.SetSpecialLogSender2
push dword [edi + 0x5c]
call esi
cmp eax, ebx
je 0x4a3259
push 0x4a2f7a
call eax
cmp dword [ebp - 0x214], ebx
je 0x4a32be
cmp dword [edi + 0x70], ebx
jne 0x4a32be
lea eax, [ebp - 0x218]
push eax
push 1
mov dword [ebp - 0x218], ebx
call dword [ebp - 0x214]
cmp eax, ebx
je 0x4a32be
mov edx, dword [eax]
lea ecx, [ebp - 0x214]
push ecx
push dword [edi + 0x6c]
mov ecx, eax
mov dword [ebp - 0x214], ebx
call dword [edx + 8]
test eax, eax
jne 0x4a32b7
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 0x5c], ebx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e736b
leave
ret
mov dword [edi + 0x70], 1
push str.Hips_SetProperty
push dword [edi + 0x5c]
call esi
mov dword [edi + 0x68], eax
cmp eax, ebx
je 0x4a3304
push ebx
push ecx
call int.00408c5f
add esp, 4
call fcn.004707db
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 0x218], al
mov eax, 0x585d80
call fcn.00443792
movzx eax, al
push eax
push dword [ebp - 0x218]
call fcn.004a35e4
push str.Hips_CreateNotifyWnd
push dword [edi + 0x5c]
call esi
mov dword [edi + 0x60], eax
cmp eax, ebx
je 0x4a32a6
push dword [ebp - 0x21c]
jmp 0x4a31bf
Function at 0x4a6079
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1214
call fcn.00504570
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4a60c7
xor esi, esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040557a
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004e736b
leave
ret 8
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x1000
lea eax, [ebp - 0x1214]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4a6166
xor esi, esi
test dword [ebp - 0x214], 0xfffffffc
jbe 0x4a6166
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004e7380
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp + esi*4 - 0x1214]
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4a6158
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
call fcn.004ead89
pop ecx
pop ecx
test eax, eax
je 0x4a6172
mov eax, dword [ebp - 0x214]
inc esi
shr eax, 2
cmp esi, eax
jb 0x4a6110
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a60a8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
jmp 0x4a60aa

Function at 0x4a6206
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
xor edi, edi
cmp dword [esi + 4], edi
jne 0x4a6225
push str.GlobalSystem_ShutDown_Continue
push edi
push edi
push edi
call ebx
mov dword [esi + 4], eax
cmp dword [esi + 8], edi
jne 0x4a6237
push str.GlobalSystem_ShutDown_Cancel
push edi
push edi
push edi
call ebx
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x406
cmp dword [esi + 0xc], edi
jne 0x4a6264
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x4a61f3
push edi
push edi
mov dword [ebp + 8], edi
call fcn.004eb0fa
add esp, 0x18
mov dword [esi + 0xc], eax
xor eax, eax
pop edi
inc eax
pop ebx
pop ebp
ret 4

Function at 0x4a664e
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4a666f
xor eax, eax
leave
ret
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4a666b
mov eax, dword [ebp - 0xc]
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
neg eax
sbb eax, eax
neg eax
leave
ret
Function at 0x4bcf50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x518260
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x577698]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
xor ebx, ebx
push str.TimedOutException
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.004e74f0
add esp, 4
push eax
push str.TimedOutException
lea ecx, [esp + 0x14]
call fcn.004052e4
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.004e75e0
mov byte [esp + 0x30], 1
push 0xffffffffffffffff
lea ecx, [esi + 0xc]
mov dword [esi], vtable.apache::thrift::TException.0
push ebx
lea eax, [esp + 0x14]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00404fe6
xor ecx, ecx
mov dword [esi + 0x40], 7
mov dword [esi + 0x3c], ebx
mov word [esi + 0x2c], cx
cmp dword [esp + 0x24], 0x10
jb 0x4bcffe
mov edx, dword [esp + 0x10]
push edx
call fcn.004e7360
add esp, 4
mov eax, esi
mov dword [esi], vtable.apache::thrift::concurrency::TimedOutException.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4