joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7502
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52be80
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x585698]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x585698]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
and dword [esp + 0x10], 0
mov edi, ecx
and dword [esp + 0x88], 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x18], vtable.Json::StyledWriter.0
call fcn.0046b0ed
lea esi, [esp + 0x30]
call fcn.00404eb3
lea esi, [esp + 0x4c]
call fcn.00404eb3
mov dword [esp + 0x68], 0x4a
mov dword [esp + 0x6c], 3
mov byte [esp + 0x70], 0
push edi
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x90], 1
call fcn.004b969d
lea edi, [esp + 0x14]
call fcn.004b50d7
mov eax, ebx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004f189b
mov esp, ebp
pop ebp
ret 4

Function at 0x4ba045
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x4ba055
xor al, al
jmp 0x4ba095
push esi
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
push 0x4ba033
push edi
push edi
call fcn.004f5629
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x4ba07b
cmp esi, edi
jne 0x4ba07f
xor al, al
jmp 0x4ba094
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop edi
leave
ret

Function at 0x4ba098
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4ba0a8
xor al, al
jmp 0x4ba10c
push edi
push 0x590f51
push dword [ebp + 8]
call fcn.004f192a
pop ecx
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f5946
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x4ba0fe
push dword [ebp + 8]
push edi
call fcn.004f5ddc
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x4ba012
push esi
push esi
mov dword [ebp - 4], esi
call fcn.004f5629
add esp, 0x20
cmp eax, 0xffffffff
je 0x4ba0fe
cmp eax, esi
jne 0x4ba102
xor al, al
jmp 0x4ba10b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
leave
ret
Function at 0x4ba393
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push 0x5948ec
call fcn.00404b74
lea eax, [ebp - 4]
push eax
push ebx
mov edi, 0x5948a0
push edi
push 0x4ba503
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.004f5629
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x4ba3d1
cmp esi, ebx
jne 0x4ba3ee
push 1
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp esi, 0xffffffff
je 0x4ba3ea
cmp esi, ebx
je 0x4ba3ea
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4ba41e
mov eax, dword [0x5948a8]
mov edi, dword [ebp - 4]
mov dword [0x5948a8], esi
cmp eax, 0xffffffff
je 0x4ba40c
cmp eax, ebx
je 0x4ba40c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5948ac], edi
mov dword [0x5948b0], 0x5948a4
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4ba7ae
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push str.UserExperience
push str.SOFTWARE360TotalSecurityExperience
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 1
jne 0x4ba7f8
cmp dword [ebp - 8], 4
jne 0x4ba7f8
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x4ba945
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x526dd2
call fcn.004fc6ce
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [ebp + 0xc], esi
je 0x4baa80
cmp dword [ebp + 0x10], esi
je 0x4baa80
push 0x53a3d8
lea eax, [ebp - 0x14]
push eax
call fcn.004056ee
push 0x590f51
xor ecx, ecx
push 2
pop edx
mov eax, 0x105
mul edx
seto cl
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 1
neg ecx
or ecx, eax
push ecx
call fcn.004f5946
mov ebx, eax
pop ecx
pop ecx
cmp ebx, esi
je 0x4baa5e
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax + 2]
push eax
push esi
push ebx
call fcn.004f18b0
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push dword [ebp + 0xc]
push edi
call esi
cmp eax, 0xea
jne 0x4baa49
push ebx
call fcn.004f2b13
mov eax, dword [ebp - 0x10]
mov dword [esp], 0x590f51
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f5946
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4baa5e
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax + 2]
push eax
push 0
push ebx
call fcn.004f18b0
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call esi
test eax, eax
jne 0x4baa57
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.004056c8
push ebx
call fcn.004f2b13
pop ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00404942
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405521
mov eax, esi
jmp 0x4baa90
push 0x53a3d8
push dword [ebp + 8]
call fcn.004056ee
mov eax, dword [ebp + 8]
call fcn.004fc7a6
ret
Function at 0x4baa96
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x51fff6
call fcn.004fc737
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
xor esi, esi
push 0x40
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x90]
push esi
push eax
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
call fcn.004f18b0
xor eax, eax
mov dword [ebp - 0x40], esi
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor edi, edi
xor eax, eax
inc edi
mov dword [ebp - 0x68], edi
mov word [ebp - 0x64], ax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], esi
cmp eax, esi
jne 0x4bab1b
mov eax, 0x53a3d8
push eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x30]
push str.__s___s
call fcn.004bbd36
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 8
jae 0x4bab3b
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebx], eax
cmp eax, esi
je 0x4baba1
cmp dword [ebp + 0x14], edi
jne 0x4bab6d
push dword [ebp + 0x18]
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x4bab8f
cmp dword [ebp + 0x14], 2
jne 0x4bab8f
push dword [ebp + 0x18]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebx + 8], eax
lea eax, [ebx + 4]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push edi
lea esi, [ebp - 0x30]
call fcn.00404e29
mov eax, ebx
call fcn.004fc7ba
ret
Function at 0x4baced
Capabilities:
Check if file exists

Disassembly:
push 0x398
mov eax, 0x52bcf5
call fcn.004fc737
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, ebx
jne 0x4bad19
xor al, al
call fcn.004fc7ba
ret
cmp ecx, ebx
je 0x4bad11
lea eax, [ebp - 0x2fc]
push eax
call fcn.004ba81d
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2f0]
mov dword [esp], str.PDown.dll
push ecx
mov edi, eax
call fcn.00405a46
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2fc]
add eax, 0xfffffff0
call fcn.00405521
push dword [ebp - 0x2f0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bad75
mov eax, dword [ebp - 0x2f0]
add eax, 0xfffffff0
call fcn.00405521
jmp 0x4bad11
push dword [ebp - 0x2f0]
call fcn.0040595b
pop ecx
test eax, eax
je 0x4bad65
push dword [ebp - 0x2f0]
lea esi, [ebp - 0x3a4]
call fcn.0048ccfc
xor eax, eax
mov byte [ebp - 4], 3
push 0xc6
mov word [ebp - 0xdc], ax
lea eax, [ebp - 0xda]
push ebx
push eax
call fcn.004f18b0
add esp, 0xc
call fcn.004babb3
push dword [eax]
lea eax, [ebp - 0xdc]
push str.fromDrvmgr_s
push 0xc8
push eax
call fcn.0042a55b
add esp, 0x10
cmp dword [ebp - 0x3a0], ebx
je 0x4badf2
lea eax, [ebp - 0xdc]
push eax
call dword [ebp - 0x3a0]
pop ecx
cmp al, bl
jne 0x4bae0f
cmp dword [ebp - 0x3a4], ebx
je 0x4bad65
push dword [ebp - 0x3a4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4bad65
mov dword [ebp - 0x310], 0x14
mov dword [ebp - 0x30c], ebx
mov dword [ebp - 0x308], 5
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x304], 0x1b7740
cmp dword [ebp - 0x394], ebx
je 0x4badf2
lea eax, [ebp - 0x310]
push eax
push ebx
call dword [ebp - 0x394]
pop ecx
pop ecx
cmp al, bl
je 0x4badf2
xor eax, eax
push 0x208
mov word [ebp - 0x2ec], ax
lea eax, [ebp - 0x2ea]
push ebx
push eax
call fcn.004f18b0
add esp, 0xc
push dword [ebp - 0x2f4]
lea eax, [ebp - 0x2ec]
push str.filename_s
push 0x20a
push eax
call fcn.0042a55b
add esp, 0x10
cmp dword [ebp - 0x38c], ebx
je 0x4baebc
lea eax, [ebp - 0x2ec]
push eax
push ebx
push ebx
push dword [ebp - 0x2f4]
push dword [ebp - 0x2f8]
call dword [ebp - 0x38c]
add esp, 0x14
cmp al, bl
jne 0x4baee5
cmp dword [ebp - 0x3a4], ebx
je 0x4baed0
push dword [ebp - 0x3a4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x2f0]
add eax, 0xfffffff0
call fcn.00405521
mov al, bl
jmp 0x4bad13
cmp dword [ebp - 0x3a4], ebx
je 0x4baef9
push dword [ebp - 0x3a4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov bl, 1
jmp 0x4baed0
Function at 0x4baefd
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push 0x218
mov eax, 0x52620a
call fcn.004fc737
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x224], esi
mov edi, edx
mov dword [ebp - 0x220], ebx
call fcn.004048e0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], 1
call fcn.00475c98
test al, al
je 0x4baf9c
push str.shell32.dll
call fcn.004289ae
cmp eax, ebx
je 0x4baf9c
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], ebx
cmp eax, ebx
je 0x4baf9c
lea ecx, [ebp - 0x21c]
push ecx
push ebx
push ebx
push 0x535fac
call eax
test eax, eax
jl 0x4baf9c
push dword [ebp - 0x21c]
push esi
call fcn.004056c8
push dword [ebp - 0x21c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x5481d0
push esi
call fcn.00404758
push esi
mov eax, edi
call fcn.004044b8
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x4baff6
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x8005
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4baff6
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004056c8
mov edi, dword [esi]
mov eax, dword [edi - 0xc]
cmp eax, ebx
je 0x4bb017
cmp edi, ebx
je 0x4bb017
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4bb017
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, esi
call fcn.004fc7ba
ret
Function at 0x4bb01f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push 0x10c
mov dword [ebp - 4], ebx
call fcn.004f1aab
mov esi, eax
pop ecx
cmp esi, ebx
je 0x4bb068
lea edi, [esi + 8]
push edi
mov edx, str.Global_
mov ecx, 0x104
mov byte [edi], bl
call fcn.0043fd87
add edi, 7
push edi
mov edx, str.Global360TSUpdateMutex
mov ecx, 0xfd
call fcn.0043fd87
mov dword [esi], ebx
jmp 0x4bb06a
xor esi, esi
lea eax, [esi + 8]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call edi
mov ebx, 0xb7
mov dword [esi + 4], eax
cmp eax, ebx
je 0x4bb091
cmp eax, 5
jne 0x4bb0fb
mov eax, dword [esi]
test eax, eax
je 0x4bb0a1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
call edi
cmp eax, ebx
je 0x4bb0ac
cmp eax, 5
jne 0x4bb0fb
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
and dword [ebp - 4], 0
push 0
mov ebx, str.360TotalSecurityUpdMsgWnd
push ebx
call edi
test eax, eax
jne 0x4bb0e3
mov ecx, dword [ebp - 4]
inc dword [ebp - 4]
cmp ecx, 5
jge 0x4bb0df
push 0x64
call sub.KERNEL32.dll_Sleep
push 0
push ebx
call edi
test eax, eax
je 0x4bb0c4
test eax, eax
je 0x4bb0ee
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x4bb0f4
mov eax, dword [ebp + 8]
and dword [eax], 0
mov dword [ebp - 4], 1
cmp dword [esi + 4], 0
jne 0x4bb116
mov eax, dword [esi]
test eax, eax
je 0x4bb116
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004f1890
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4bdba7
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x5289cb
call fcn.004fc6ce
lea ecx, [ebp - 0x14]
call fcn.004270bb
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push str.UtilsSysCleanerUI.exe
push ecx
mov edi, eax
call fcn.00405a46
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405521
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x10]
setne bl
add eax, 0xfffffff0
call fcn.00405521
mov al, bl
call fcn.004fc7a6
ret

Function at 0x4bf2fe
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
call fcn.004bf93f
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bf31e
push 0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x4bfc75
Capabilities:
Find taskbar

Disassembly:
push ebx
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
cmp ebx, edi
je 0x4bfcc0
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
push str.TrayNotifyWnd
push edi
push ebx
call esi
mov ebx, eax
cmp ebx, edi
je 0x4bfcbf
push edi
push str.SysPager
push edi
push ebx
call esi
push edi
push 0x557a58
push edi
cmp eax, edi
jne 0x4bfcba
push ebx
jmp 0x4bfcbb
push eax
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
ret
Function at 0x4c0bb6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 0x30]
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4c0c09
lea esi, [ebx + 0x2c]
cmp dword [0x58ef28], eax
jne 0x4c0be2
and dword [0x58ef28], eax
lea eax, [esi + 0x20]
push eax
push 0x58eef8
call fcn.0042f932
movzx eax, ax
push eax
xor eax, eax
push eax
push 0x88
push 0x86000200
push eax
push eax
push esi
call fcn.004a66c8
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4c0c1c
xor al, al
jmp 0x4c0cb8
push ebx
call fcn.004c0cbf
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov ebx, dword [eax + 4]
lea eax, [ebp - 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004756ca
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
sub eax, ecx
lea edx, [eax + esi]
cmp edx, dword [ebp - 0x18]
jle 0x4c0c60
sub ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
mov esi, ecx
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
lea edx, [ecx + ebx]
cmp edx, dword [ebp - 0x14]
jle 0x4c0c77
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ebp - 4]
add ebx, dword [ebp - 0x14]
add eax, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
add ecx, ebx
push 0
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ebx
call fcn.00475704
pop ecx
pop ecx
push 0x201
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x10]
call fcn.0044d155
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4c2489
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
push edi
mov esi, eax
lea edi, [esi + 0x30]
push dword [edi]
call ebx
test eax, eax
jne 0x4c24b9
push ecx
mov eax, esp
and dword [eax], 0
push ecx
mov eax, esp
and dword [eax], 0
add esi, 0x2c
call fcn.004a3d0e
push dword [edi]
call ebx
test eax, eax
jne 0x4c24c8
xor al, al
jmp 0x4c255e
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov ebx, dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004756ca
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
sub eax, ecx
lea edx, [eax + esi]
cmp edx, dword [ebp - 0x1c]
jle 0x4c2506
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x1c]
mov esi, ecx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
lea edx, [ecx + ebx]
cmp edx, dword [ebp - 0x18]
jle 0x4c251d
mov ebx, dword [ebp - 0x10]
sub ebx, dword [ebp - 8]
add ebx, dword [ebp - 0x18]
add eax, esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
add ecx, ebx
push 0
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
call fcn.00475704
pop ecx
pop ecx
push 0x201
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x14]
call fcn.0044d155
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4c3210
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x74
mov eax, dword [0x585698]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor edx, edx
push esi
cmp eax, edx
jne 0x4c323b
xor eax, eax
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004f189b
add esp, 0x74
ret
push ecx
lea esi, [esp + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004c39f0
add esp, 4
mov eax, esi
call fcn.004c3b00
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, 1
call fcn.004f189b
add esp, 0x74
ret
Function at 0x4c4120
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
call esi
test eax, eax
jne 0x4c4163
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
je 0x4c4150
xor al, al
pop esi
pop ecx
ret
push 8
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
call esi
test eax, eax
je 0x4c414b
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push ebx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov edx, dword [esp + 8]
push 0
test eax, eax
push edx
setne bl
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
pop ebx
pop esi
pop ecx
ret

Function at 0x4c4550
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test ecx, ecx
je 0x4c457c
push esi
jmp 0x4c4560
movsx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5877c8]
dec ecx
inc edx
test ecx, ecx
jne 0x4c4560
pop esi
not eax
ret

Function at 0x4c4580
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
mov eax, dword [0x585698]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push esi
push edi
mov edi, edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], edx
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x1c]
call fcn.004c6d50
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x1c]
mov edx, eax
add esp, 4
xor ecx, ecx
sub esi, eax
sub edi, edx
mov edi, edi
lea eax, [esp + ecx + 0x18]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, 0x30
mov byte [edi + eax], dl
jl 0x4c45d0
mov ecx, dword [esp + 0x58]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004f189b
add esp, 0x54
ret

Function at 0x4c46c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
push ebx
mov ebx, dword [esp + 0x88]
push ebp
push esi
push edi
push 0x53f5c0
push ebx
mov ecx, 0x20
mov esi, ebx
lea edi, [esp + 0x18]
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.004c4600
mov ecx, dword [ebx + 0x7c]
shr ecx, 7
and ecx, 1
lea edi, [esp + 0x1c]
lea ebp, [esp + 0x20]
add esp, 0xc
neg ecx
xor edx, edx
sub edi, ebx
lea eax, [ebx + 8]
sub ebp, ebx
lea esp, [esp]
mov esi, dword [eax - 8]
mov ebx, dword [esp + edx*4 + 0x10]
xor ebx, esi
and ebx, ecx
xor ebx, esi
mov esi, dword [eax - 4]
mov dword [eax - 8], ebx
mov ebx, dword [esp + edx*4 + 0x14]
xor ebx, esi
and ebx, ecx
xor ebx, esi
mov esi, dword [eax]
mov dword [eax - 4], ebx
mov ebx, dword [edi + eax]
xor ebx, esi
and ebx, ecx
xor ebx, esi
mov esi, dword [eax + 4]
mov dword [eax], ebx
mov ebx, dword [eax + ebp]
xor ebx, esi
and ebx, ecx
xor ebx, esi
mov dword [eax + 4], ebx
add edx, 4
add eax, 0x10
cmp edx, 0x20
jb 0x4c4710
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret