joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x515813
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x577698]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor edi, edi
mov dword [esi], vtable.boost::detail::thread_data_base.0
mov dword [esi + 4], edi
mov dword [esi + 8], 0xffffffff
push edi
push edi
push 1
push edi
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
jne 0x4c2772
lea ecx, [esp + 0xc]
call fcn.004e75e0
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], vtable.boost::thread_resource_error.0
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x28], 1
call fcn.00429c18
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov byte [esi + 0x18], 1
mov dword [esi + 0x1c], edi
mov dword [esi], vtable.boost::detail::thread_data_class_boost::_bi::bind_t_void___void_____cdecl___void____class_boost::_bi::list1_class_boost::_bi::value_void_____.0
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x4c57e0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51c278
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x577698]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x577698]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov esi, ecx
push 1
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0xd4], bl
mov byte [esp + 0xd5], bl
mov byte [esp + 0xd6], bl
mov byte [esp + 0xd7], bl
mov byte [esp + 0xd8], bl
mov byte [esp + 0xd9], 1
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x20]
push ecx
push 1
mov dword [esp + 0x28], 0x1fffff
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov edx, dword [esp + 0x10]
push ebx
push edx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [esi + 0x1c], 8
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
jb 0x4c5910
mov ecx, dword [esi + 8]
jmp 0x4c5913
lea ecx, [esi + 8]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x38]
push edx
push ebx
push eax
push eax
mov eax, dword [esi + 0x28]
push eax
push 6
push 0x40000003
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
jne 0x4c5994
mov dword [esi + 0x24], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push str.TCreateNamedPipe___failed
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.004e74f0
add esp, 4
push eax
push str.TCreateNamedPipe___failed
lea ecx, [esp + 0x4c]
call fcn.004052e4
mov dword [esp + 0xc0], ebx
call esi
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.004c4fa0
push 0x55a278
lea eax, [esp + 0x64]
push eax
call fcn.004f1d2c
mov dword [esi + 0x24], eax
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004e736b
mov esp, ebp
pop ebp
ret
Function at 0x4c60b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5143a8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x577698]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [esp + 0xc]
call fcn.004c65a0
mov edi, eax
lea esi, [esp + 0x30]
mov dword [esp + 0x60], 0
call fcn.004c65f0
push 0x55a4bc
mov eax, esi
push eax
call fcn.004f1d2c
int3

Function at 0x4c70e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51b6d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x577698]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.004c6c50
push 0xc
mov dword [esp + 0x18], 0
call fcn.004e757b
add esp, 4
mov dword [esp + 8], eax
mov byte [esp + 0x14], 1
test eax, eax
je 0x4c7133
push eax
call fcn.004c5d30
jmp 0x4c7135
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x4c7490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51c21b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x577698]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x34
mov dword [edi], vtable.apache::thrift::concurrency::Monitor.0
call fcn.004e757b
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x4c7500
push esi
call fcn.004c6c50
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [edi + 4], esi
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
xor eax, eax
mov dword [edi + 4], eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x4c86d0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0xc
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 8], 0x400
cmp dword [esp + 0x1c], ebx
jne 0x4c86f1
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push ebx
push 0x410
call edi
mov esi, eax
cmp esi, ebx
jne 0x4c8721
push ebp
push ebx
push 0x1000
call edi
mov esi, eax
cmp esi, ebx
jne 0x4c8721
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
push 0x530930
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4c8752
push str.QueryFullProcessImageNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4c8752
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
push esi
call eax
test eax, eax
jne 0x4c8789
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4c878b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4c878b
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xc
ret

Function at 0x4c87a0
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push ebx
push ebp
xor eax, eax
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea ebp, [esi + 1]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x30]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push ecx
add ebx, 0x4e20
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4c889b
cmp dword [esp + 0x14], 4
je 0x4c8883
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp ebx, eax
jb 0x4c8890
test ebp, ebp
je 0x4c881b
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor ebp, ebp
jmp 0x4c8835
mov eax, dword [esp + 0x14]
cmp edi, eax
je 0x4c882b
mov esi, dword [esp + 0x24]
mov edi, eax
jmp 0x4c8835
mov eax, dword [esp + 0x24]
cmp eax, esi
jb 0x4c889b
mov esi, eax
mov eax, 0xcccccccd
mul dword [esp + 0x28]
shr edx, 3
cmp edx, 0x3e8
jae 0x4c8850
mov edx, 0x3e8
jmp 0x4c885d
cmp edx, 0x2710
jbe 0x4c885d
mov edx, 0x2710
push edx
call sub.KERNEL32.dll_Sleep
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4c87f2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret
push 0x5b4
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
Function at 0x4c88b0
Capabilities:
Start service

Disassembly:
push edi
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4c8916
push ebx
push ebp
push esi
push 0x14
push str.QHActiveDefense
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x4c890c
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
call fcn.004c87a0
add esp, 4
cmp eax, 1
jne 0x4c890c
xor ebp, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x4c8902
push esi
call ebx
push edi
call ebx
pop esi
mov eax, ebp
pop ebp
pop ebx
pop edi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x4c88f5
pop edi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x4c8c90
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x585650]
push esi
mov esi, dword [0x58564c]
push 0x104
push eax
lea ecx, [esi + 0x14]
push 0x105
push ecx
call fcn.004ecfab
add esp, 0x10
cmp dword [esi], 0xffffffff
mov dword [esi + 0x224], 0x481082
mov dword [esi + 0x220], 0x480c28
je 0x4c8cdc
mov dword [esi + 0x10], 0
mov eax, 1
pop esi
pop ecx
ret
lea edx, [esp + 4]
push edx
push 0
push esi
push 0x4c8d80
push 0
push 0
mov dword [esp + 0x1c], 0
call fcn.004eb0fa
add esp, 0x18
mov dword [esi], eax
mov eax, 1
pop esi
pop ecx
ret

Function at 0x4c8d10
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x224]
test eax, eax
je 0x4c8d27
mov ecx, dword [esi + 0x228]
push ecx
push esi
call eax
add esp, 8
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4c8d6a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4c8d61
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
mov eax, 1
ret
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
mov eax, 1
ret
Function at 0x4c8e30
Capabilities:
Get disk information

Disassembly:
sub esp, 0x634
mov eax, dword [0x577698]
xor eax, esp
mov dword [esp + 0x630], eax
push esi
push 0x104
lea eax, [esp + 0x14]
push eax
mov esi, 0x1234abcd
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor ecx, ecx
cmp eax, ecx
je 0x4c8eff
cmp eax, 0x104
ja 0x4c8eff
xor edx, edx
mov word [esp + eax*2 + 0x10], dx
mov ax, word [esp + 0x10]
cmp ax, 0x41
jb 0x4c8e87
cmp ax, 0x5a
jbe 0x4c8e94
mov eax, dword [esp + 0x10]
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x4c8e9b
xor edx, edx
mov word [esp + 0x16], dx
push 0x104
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0x104
lea ecx, [esp + 0x440]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4c8ef9
mov eax, dword [esp + 4]
pop esi
mov ecx, dword [esp + 0x630]
xor ecx, esp
call fcn.004e736b
add esp, 0x634
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x634]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004e736b
add esp, 0x634
ret
Function at 0x4cad20
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x513818
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x577698]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x577698]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x44], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4cae9f
mov bl, 1
movsx ecx, word [esp + 0x14]
dec ecx
cmp ecx, 5
ja case.default.0x4cadb5
jmp dword [ecx*4 + 0x4caee4]
cmp eax, 0xb
jne case.default.0x4cadb5
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
lea ecx, [ebp + 4]
push ecx
mov ecx, esi
call edx
mov byte [ebp + 0x4c], bl
jmp 0x4cae6c
mov edx, dword [esi]
mov ecx, esi
cmp eax, 0xb
jne 0x4cae63
mov edx, dword [edx + 0xa4]
lea eax, [ebp + 0x20]
push eax
call edx
mov byte [ebp + 0x4d], bl
jmp 0x4cae6c
mov edx, dword [esi]
mov ecx, esi
cmp eax, 8
jne 0x4cae63
mov edx, dword [edx + 0x98]
lea eax, [ebp + 0x3c]
push eax
call edx
mov byte [ebp + 0x4e], bl
jmp 0x4cae6c
mov edx, dword [esi]
mov ecx, esi
cmp eax, 8
jne 0x4cae63
mov edx, dword [edx + 0x98]
lea eax, [ebp + 0x40]
push eax
call edx
mov byte [ebp + 0x4f], bl
jmp 0x4cae6c
mov edx, dword [esi]
mov ecx, esi
cmp eax, 8
jne 0x4cae63
mov edx, dword [edx + 0x98]
lea eax, [ebp + 0x44]
push eax
call edx
mov byte [ebp + 0x50], bl
jmp 0x4cae6c
mov edx, dword [esi]
mov ecx, esi
cmp eax, 8
jne 0x4cae63
mov edx, dword [edx + 0x98]
lea eax, [ebp + 0x48]
push eax
call edx
mov byte [ebp + 0x51], bl
jmp 0x4cae6c
mov edx, dword [esi]
mov ecx, esi
push eax
mov eax, dword [edx + 0xac]
call eax
mov edx, dword [esi]
add edi, eax
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
add edi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4cada6
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
mov ecx, esi
call edx
mov esi, eax
add esi, edi
cmp dword [esp + 0x34], 0x10
jb 0x4caec0
mov eax, dword [esp + 0x20]
push eax
call fcn.004e7360
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004e736b
add esp, 0x34
ret 4
Function at 0x4dd760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x516ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x577698]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 4]
xor ebx, ebx
mov dword [esp + 0x88], ecx
cmp byte [eax + 0x3d], bl
jne 0x4dd7ca
mov edx, dword [esp + 0x8c]
mov edx, dword [edx]
jmp 0x4dd7b0
cmp dword [eax + 0xc], edx
jge 0x4dd7ba
mov eax, dword [eax + 8]
jmp 0x4dd7be
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x3d], bl
je 0x4dd7b0
mov dword [esp + 0x88], ecx
mov esi, dword [ebp]
mov eax, dword [ebp + 0x18]
mov edi, ecx
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x4dd7de
cmp esi, esi
je 0x4dd7ea
call fcn.004e8466
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x18]
je 0x4dd802
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
cmp eax, dword [ecx + 0xc]
jge 0x4dd8f3
mov ecx, vtable.qtray::TraySrvArg.0
mov eax, 0xf
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x80], ebx
mov edx, dword [edx]
push 0xffffffffffffffff
mov dword [esp + 0x74], eax
push ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x54], ecx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x54], edx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x60], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00404fe6
mov cx, word [esp + 0x44]
mov dl, byte [esp + 0x46]
mov word [esp + 0x74], cx
mov byte [esp + 0x76], dl
push edi
push esi
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
mov byte [esp + 0x94], 1
call fcn.004dd930
cmp dword [esp + 0x70], 0x10
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebp, vtable.qtray::TraySrvArg.0
mov dword [esp + 0x4c], ebp
jb 0x4dd8bb
mov edx, dword [esp + 0x5c]
push edx
call fcn.004e7360
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x1c], ebp
jb 0x4dd8e3
mov eax, dword [esp + 0x2c]
push eax
call fcn.004e7360
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp esi, ebx
jne 0x4dd921
call fcn.004e8466
xor esi, esi
cmp edi, dword [esi + 0x18]
jne 0x4dd908
call fcn.004e8466
lea eax, [edi + 0x10]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
mov esi, dword [esi]
jmp 0x4dd8fe
Function at 0x4df0e0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x577698]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.004e2cb0
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.004e2d50
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004e736b
add esp, 0x68
ret
Function at 0x4df250
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push 0x20119
xor edi, edi
push edi
push str.SOFTWARE360MachineSignature
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4df3e3
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x20]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x2c]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4df2e5
cmp dword [esp + 0x18], 1
jne 0x4df3ca
mov eax, dword [esp + 0x14]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x4df3ca
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x2c], edi
call ebp
test eax, eax
jne 0x4df32a
cmp dword [esp + 0x18], 1
jne 0x4df3ca
mov eax, dword [esp + 0x14]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4df3ca
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x2c], edi
call ebp
test eax, eax
jne 0x4df361
cmp dword [esp + 0x18], 1
jne 0x4df3ca
mov eax, dword [esp + 0x14]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4df3ca
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x2c], edi
call ebp
test eax, eax
jne 0x4df3ca
cmp dword [esp + 0x18], 3
jne 0x4df3ca
mov eax, dword [esp + 0x14]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x4df3ca
lea eax, [esi + 0xc]
call fcn.004df150
test eax, eax
je 0x4df3ca
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4df7c0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x577698]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, dword [esp + 0x78]
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.004e17e0
add esp, 8
test eax, eax
jne 0x4df831
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004e736b
add esp, 0x6c
ret
mov eax, dword [esp + 0x78]
test eax, eax
jbe 0x4df846
push esi
lea ecx, [esp + 0x14]
call fcn.004e2cb0
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.004e2d50
test edi, edi
je 0x4df864
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004e736b
add esp, 0x6c
ret

Function at 0x4df8c0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x577698]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [esp + 0x6c]
xor eax, eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
push edi
lea eax, [esp + 0x10]
mov edi, ecx
push eax
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004e19d0
add esp, 4
test eax, eax
jne 0x4df924
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004e736b
add esp, 0x64
ret
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.004e2d50
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004e736b
add esp, 0x64
ret

Function at 0x4df950
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x577698]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.004e1ab0
add esp, 8
test eax, eax
jne 0x4df9cf
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004e736b
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.004e28b0
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004e736b
add esp, 0x74
ret

Function at 0x4e0340
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4e036b
push 0x52f388
mov eax, 0x52f388
call fcn.004e37b0
add esp, 4
xor eax, eax
pop ecx
ret
mov eax, 1
cmp esi, dword [esp]
je 0x4e0384
push 0x52f388
call fcn.004e3820
add esp, 4
xor eax, eax
pop ecx
ret