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

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44ac2e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov eax, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.BlockTimes
push ecx
call esi
mov edi, dword [esp + 0x20]
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
mov dword [edi], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x5c5c94
push edx
call esi
test eax, eax
jne 0x44ac17
mov eax, dword [esp + 8]
sub eax, dword [edi]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
push eax
mov dword [edx], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x44e270
Capabilities:
Modify service

Disassembly:
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x44e2c8
push ebx
push esi
push 2
push str.scan
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x44e2c3
push str.360_
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
ret

Function at 0x44e390
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
sub esp, 0x20c
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push edi
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
xor eax, eax
test edi, edi
je 0x44e471
push ebp
push esi
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.004e5fc0
push 0xc
lea edx, [esp + 0x20]
push 0x5c62b8
push edx
call fcn.004e6b69
add esp, 0x18
push ebx
push ebx
push 0x5c62a8
push ebx
push 0x5c6274
push 0x5c6238
push ebx
push 3
push 2
push 0xf01ff
lea eax, [esp + 0x38]
push eax
mov ecx, eax
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
jne 0x44e462
push 0xf01ff
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x44e46a
push str.BdFsFltr_File_System_Minifilter_Driver
push ebx
push ebx
push 0x5c62a8
push ebx
push 0x5c6274
push 0x5c6238
push 1
push 3
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov ebx, eax
jmp 0x44e467
mov ebx, 1
push esi
call ebp
push edi
call ebp
pop esi
mov eax, ebx
pop ebp
mov ecx, dword [esp + 0x210]
pop edi
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x20c
ret
Function at 0x44fa00
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.004e5fc0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x222]
push eax
mov word [esp + 0x224], dx
call fcn.004e5fc0
add esp, 0x18
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.drivers360AvFlt.sys
push 0x208
lea edx, [esp + 0xc]
push edx
call fcn.0041c780
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 4]
push eax
call esi
test eax, eax
je 0x44fa8b
lea ecx, [esp + 4]
push ecx
call fcn.0044ee80
lea edx, [esp + 4]
push edx
call esi
test eax, eax
je 0x44fb05
lea eax, [esp + 0x20c]
lea esi, [esp + 4]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ebx, [ebx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x44fad0
movzx ecx, word [esi + eax]
test cx, cx
je 0x44fad0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x44fab0
jmp 0x44fad4
test edx, edx
jne 0x44fad7
sub eax, 2
xor edx, edx
push 0x5bfef8
mov word [eax], dx
push 0x104
lea eax, [esp + 0x214]
push eax
call fcn.0044ea30
lea ecx, [esp + 0x20c]
push ecx
lea edx, [esp + 8]
push edx
call fcn.0044eed0
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
call fcn.004e5fb0
add esp, 0x414
ret
Function at 0x44fc00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a624b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x61ac94]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
call fcn.00472f30
test eax, eax
je 0x44fd18
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44fc5b
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x248], eax
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], 0
push esi
je 0x44fc89
push str._s___s_
lea ecx, [ebp - 0x248]
push ecx
jmp 0x44fc95
push str._s__u___s_
lea edx, [ebp - 0x248]
push edx
call fcn.0040cbe0
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x242]
push ecx
mov word [ebp - 0x244], ax
call fcn.004e5fc0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x244]
push edx
push str._windir__system32_regsvr32.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [ebp - 0x248]
push 0
push 0
lea eax, [ebp - 0x244]
push esi
push eax
call fcn.00476eb0
mov edi, eax
lea eax, [esi - 0x10]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44fd11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x44fdd5
mov ecx, dword [str.DllRegisterServer]
mov edx, dword [0x5c65bc]
mov eax, dword [0x5c65c0]
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x5c65c4]
mov dword [ebp - 0x24], edx
mov dx, word [0x5c65c8]
mov dword [ebp - 0x20], eax
mov eax, dword [str.DllUnregisterServer]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x5c65a8]
xor ebx, ebx
mov word [ebp - 0x18], dx
mov edx, dword [0x5c65ac]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x5c65b0]
mov dword [ebp - 0x38], ecx
mov ecx, dword [0x5c65b4]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
lea edi, [ebp - 0x28]
cmp dword [ebp + 0xc], ebx
jne 0x44fd7e
lea edi, [ebp - 0x3c]
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jge 0x44fd95
xor eax, eax
jmp 0x44fdd5
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, 0x20
jbe 0x44fdcd
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44fdc6
call eax
test eax, eax
jl 0x44fdc6
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e5fb0
mov esp, ebp
pop ebp
ret
Function at 0x44fe00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x644
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
push esi
push edi
push 0x206
mov dword [esp + 0x20], ecx
xor esi, esi
lea ecx, [esp + 0x3e]
xor eax, eax
push esi
push ecx
mov dword [esp + 0x24], 1
mov word [esp + 0x44], ax
call fcn.004e5fc0
add esp, 0xc
push 0x104
lea edx, [esp + 0x44c]
push edx
push esi
mov dword [esp + 0x1c], 0x208
mov dword [esp + 0x38], str.CLSID0128F9B2_8DAB_4E2D_A999_66DD9C4C83B2InProcServer32
mov dword [esp + 0x3c], str.CLSID65416821_217D_44BD_9C61_F53398FB1B46InProcServer32
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], str.bdfltlib.dll
mov dword [esp + 0x30], str.scan.dll
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x448]
push 0x5c
push eax
call fcn.004e5d7c
add esp, 8
cmp eax, esi
je 0x44fe9f
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [esp + 0x658]
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esp + 0x14], esi
mov eax, dword [esp + esi + 0x2c]
test eax, eax
je 0x44ff73
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push eax
push SysReAllocString
mov dword [esp + 0x28], 0x208
call ebp
mov edi, eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x24a]
push ecx
mov word [esp + 0x24c], ax
call fcn.004e5fc0
mov edx, dword [esp + esi + 0x2c]
push edx
lea eax, [esp + 0x458]
push eax
push 0x5c6690
lea ecx, [esp + 0x258]
push 0x104
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x20
test ebx, ebx
je 0x44ff2e
test edi, edi
jne 0x44ff47
jmp 0x44ff58
lea edx, [esp + 0x240]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.004e8728
add esp, 8
test eax, eax
jne 0x44ff58
lea ecx, [esp + 0x240]
push ebx
push ecx
call fcn.0044fc00
add esp, 8
mov eax, dword [esp + 0x14]
inc eax
lea esi, [eax*4]
cmp dword [esp + esi + 0x20], 0
mov dword [esp + 0x14], eax
jne 0x44feb0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x5be9f8
push str.SYSTEMCurrentControlSetServices_scan
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0x208
call ebp
pop edi
pop esi
pop ebp
test ebx, ebx
pop ebx
je 0x44ffc8
test eax, eax
jne 0x44ffc8
push 3
lea edx, [esp + 0x2c]
push 0x5c6634
push edx
call fcn.004e9ea4
add esp, 0xc
test eax, eax
je 0x44ffc8
mov ecx, dword [esp + 0xc]
call fcn.0044e270
mov ecx, dword [esp + 0x640]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x644
ret 4
Function at 0x4519b0
Capabilities:
Access peb ldr_data
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x5a63c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
lea eax, [esp + 0x10]
push eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.00451920
mov eax, dword [eax]
push eax
mov dword [esp + 0x28], edi
call fcn.004887d0
mov ebx, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451a49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, edi
je 0x451b4d
lea ecx, [esp + 0x14]
push ecx
call fcn.00451920
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451a89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
cmp eax, edi
je 0x451b4d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MC_GetMainFilename
push eax
call edi
mov ecx, dword [esi]
push str.MC_GetViceFilename
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi]
push str.MC_SetMainFilename
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push str.MC_SetViceFilename
push eax
call edi
mov ecx, dword [esi]
push str.MC_Load
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi]
push str.MC_Save
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi]
push str.MC_Add
push eax
call edi
mov ecx, dword [esi]
push str.MC_AddAtom
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi]
push str.MC_DelById
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi]
push str.MC_Clear
push eax
call edi
mov ecx, dword [esi]
push str.MC_Size
push ecx
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi]
push str.MC_GetByIndex
push edx
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi]
push str.MC_Combine
push eax
call edi
mov ecx, dword [esi]
push str.MC_DelViceFile
push ecx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x451e70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
mov edi, dword [esp + 0x214]
test edi, edi
je 0x451f62
mov eax, 0x5c
cmp ax, word [edi + 2]
je 0x451f45
mov ecx, eax
cmp cx, word [edi + 4]
je 0x451f45
push ebx
push esi
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x16]
push eax
mov word [esp + 0x18], dx
call fcn.004e5fc0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.system32
lea edx, [esp + 0x10]
push edx
call esi
push edi
lea eax, [esp + 0x10]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x451f2d
push 0x5bf338
lea edx, [esp + 0x10]
push edx
call esi
push 0x5bf338
lea eax, [esp + 0x10]
push eax
call esi
push edi
lea ecx, [esp + 0x10]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x20c
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004e5fb0
add esp, 0x20c
ret
Function at 0x452350
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x5a64c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [0x61e968], 0
jne 0x4524bc
lea eax, [esp + 8]
push eax
mov dword [0x61e974], 0
call fcn.00452320
add esp, 4
mov dword [esp + 0x14], 0
call fcn.004781a0
test eax, eax
je 0x452494
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452494
mov edx, dword [esp + 8]
push edx
call fcn.004887d0
add esp, 4
test eax, eax
je 0x452494
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x61e964], eax
test eax, eax
je 0x452494
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PayGuardIsSupport
push eax
call esi
mov ecx, dword [0x61e964]
push str.PayGuardIsEnable
push ecx
mov dword [0x61e978], eax
call esi
mov edx, dword [0x61e964]
push str.PayGuardEnable
push edx
mov dword [0x61e97c], eax
call esi
mov dword [0x61e980], eax
mov eax, dword [0x61e964]
push str.PayGuardDisable
push eax
call esi
mov ecx, dword [0x61e964]
push str.GetWDScanFileNum
push ecx
mov dword [0x61e984], eax
call esi
mov dword [0x61e98c], eax
mov eax, dword [0x61e978]
test eax, eax
je 0x452494
cmp dword [0x61e97c], 0
je 0x452494
cmp dword [0x61e980], 0
je 0x452494
cmp dword [0x61e984], 0
je 0x452494
call eax
mov dword [0x61e96c], eax
test eax, eax
je 0x45248a
call dword [0x61e97c]
neg eax
sbb eax, eax
add eax, 2
mov dword [0x61e974], eax
mov dword [0x61e968], 1
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4524bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4529a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a6548
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [0x61e968], ebx
jne 0x4529d9
call fcn.00452350
call fcn.004781a0
test eax, eax
je 0x452a0b
cmp dword [0x61e974], ebx
je 0x452a0b
mov edi, dword [esp + 0x30]
test edi, edi
je 0x452a20
call fcn.004752d0
test eax, eax
jne 0x452a20
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [eax], 0x3e8
mov dword [ecx], ebx
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
lea edx, [esp + 0x18]
push edx
push 0x2001f
push 0
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x452b04
push 0x5e8ee8
lea ecx, [esp + 0x14]
xor esi, esi
lea ebx, [eax + 1]
call fcn.0040e080
mov eax, dword [esp + 0x2c]
add eax, 0xfffff82f
mov dword [esp + 0x24], esi
cmp eax, 4
ja case.default.0x452a6d
jmp dword [eax*4 + 0x452b7c]
push str.IERpcProtect
lea ecx, [esp + 0x14]
call fcn.0040d680
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push ecx
mov dword [esp + 0x28], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edx
call edi
test eax, eax
je 0x452aa9
xor ebx, ebx
cmp dword [esp + 0x30], 0
je 0x452ad1
test esi, esi
je 0x452ad1
mov ecx, dword [esp + 0x18]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.NetPayProtect
push ecx
call edi
test eax, eax
je 0x452ad1
xor ebx, ebx
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452b04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x64
call fcn.004522c0
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push str.MonitoringSpoofing
jmp 0x452a79
push str.NetPayDownload
lea ecx, [esp + 0x14]
call fcn.0040d680
mov esi, 1
jmp 0x452a82
push str.NetPayHIPS
lea ecx, [esp + 0x14]
call fcn.0040d680
mov esi, 1
jmp 0x452a82
push str.NetPayScan
lea ecx, [esp + 0x14]
call fcn.0040d680
mov esi, 1
jmp 0x452a82
xor ebx, ebx
jmp 0x452adc
Function at 0x452c90
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x5a6578
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x50]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
cmp edi, ebp
jne 0x452cd5
lea eax, [ebp + 0x57]
jmp 0x452def
mov ebx, dword [esp + 0x54]
lea eax, [esp + 0x1c]
push eax
push ebp
lea ecx, [esp + 0x20]
push ecx
push ebp
push ebp
push 4
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
mov esi, eax
cmp esi, ebp
je 0x452d06
push str.GetSecurityInfo_Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x452dd1
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
mov edx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
push ecx
lea edx, [esp + 0x28]
push edx
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov esi, eax
cmp esi, ebp
je 0x452d90
push str.SetEntriesInAcl_Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x452dd1
mov eax, dword [esp + 0x14]
push ebp
push eax
push ebp
push ebp
push 4
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
cmp esi, ebp
je 0x452dd1
lea ecx, [esp + 0x50]
call fcn.0040c120
push esi
lea ecx, [esp + 0x54]
push 0x5c6b38
push ecx
mov dword [esp + 0x54], ebp
call fcn.0040cbe0
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.0040c150
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, ebp
je 0x452de2
push eax
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x452ded
push eax
call edi
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x18
Function at 0x453060
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x24
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x3c]
push 0
push 0x2000000
push 3
push 0
push 3
push 0x60000
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4530c2
push str.CreateFile_fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x24
ret 0x10
push str.full
push esi
mov dword [esp + 0x18], 0
mov byte [esp + 0x30], 0
mov byte [esp + 0x31], 0
mov byte [esp + 0x32], 0
mov byte [esp + 0x33], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 1
call fcn.004e8728
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfff2feaa
add esi, 0x1f01ff
cmp dword [esp + 0x44], 0
je 0x453126
push 3
push 1
push esi
push edi
push 1
push ebp
mov ecx, ebx
call fcn.00452e10
mov edi, eax
jmp 0x4531cd
xor eax, eax
push str.Everyone
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.004e8728
add esp, 8
test eax, eax
jne 0x453197
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov edi, eax
test edi, edi
jne 0x45317d
push str.AllocateAndInitializeSid_fail
jmp 0x4531c7
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 5
mov dword [esp + 0x24], edx
jmp 0x4531a8
mov eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
push 3
push 1
push esi
lea eax, [esp + 0x20]
push eax
push 1
push ebp
mov ecx, ebx
call fcn.00452c90
mov edi, eax
test edi, edi
je 0x4531cd
push str.Failed_to_add_ACE_to_object
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4531e3
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [esp + 0x30]
xor eax, eax
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x24
ret 0x10