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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bcb58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4ea688]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x4e4]
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x3c], 0
call fcn.00425750
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
add esi, 0x4fc
push edx
call fcn.00430570
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44df62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x18]
mov esi, dword [esi]
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x44df73
cmp ebx, esi
je 0x44df78
call fcn.00493a81
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x18]
je 0x44dfba
test ebx, ebx
jne 0x44dfb6
call fcn.00493a81
cmp esi, dword [ebx + 0x18]
jne 0x44df95
call fcn.00493a81
mov esi, dword [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebx]
jmp 0x44df8b
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x450030
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push eax
push 0x4c5a20
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x450054
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
call fcn.00492838
mov edi, eax
add esp, 4
test edi, edi
jne 0x45006b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
push 0
push 0x4c5a20
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4500a5
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0x4ce6b0
push edi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push edi
call fcn.004929f3
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4500c0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push str.GetNativeSystemInfo
push str.kernel32.dll
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x450131
lea ecx, [ebp - 0x14c]
push ecx
call eax
jmp 0x45013e
lea edx, [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x14c]
cmp ax, 9
je 0x4502be
cmp ax, 6
je 0x4502be
push esi
push edi
push 0x11c
xor edi, edi
lea eax, [ebp - 0x120]
push edi
push eax
call fcn.004982c0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x4501a5
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x4501c6
cmp dword [ebp - 0x110], 2
jne 0x45021c
mov eax, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
movzx edi, word [ebp - 0xc]
jmp 0x450207
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x124], edi
call fcn.00450030
add esp, 8
test eax, eax
je 0x4502a9
mov ecx, dword [ebp - 0x128]
mov eax, ecx
movzx edx, cx
mov ecx, dword [ebp - 0x124]
shr eax, 0x10
shr ecx, 0x10
cmp eax, 5
jb 0x45021c
jne 0x450245
test edx, edx
jne 0x45022e
cmp di, 4
jae 0x4502a9
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
cmp edx, 2
jne 0x4502a9
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x4502a9
test edx, edx
jne 0x450278
cmp ecx, 0x1770
je 0x4502a9
cmp ecx, 0x1771
je 0x4502a9
cmp ecx, 0x1772
je 0x4502a9
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
cmp edx, 1
jne 0x4502a9
cmp ecx, 0x1b58
je 0x4502a9
cmp ecx, 0x1bbc
je 0x4502a9
cmp ecx, 0x1db0
je 0x4502a9
cmp ecx, 0x1db1
je 0x4502a9
cmp ecx, 0x1db2
jb 0x45021c
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00491db1
mov esp, ebp
pop ebp
ret
Function at 0x453630
Capabilities:
Check for time delay via gettickcount
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bec68
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4ea688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 0x10], eax
mov edi, eax
call fcn.0042d0f0
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, 1
jne 0x4536fe
call fcn.00406f80
test eax, eax
je 0x4536fe
call fcn.00407620
test eax, eax
jne 0x4536fe
call ebx
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push str.logontickcount
push str.Software360TotalSecurity_bootspeed
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [ebp - 0x14]
push ecx
call fcn.00426f70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov edi, esp
call fcn.00425a60
add eax, 0x10
mov dword [edi], eax
call fcn.00406d50
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4536fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004535c0
mov dword [ebp - 0x38], eax
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push str.boottime
push str.Software360TotalSecurity_bootspeed
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], 8
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x453746
cmp dword [ebp - 0x18], 0xb
je 0x45375d
push str.boottime
push str.Software360TotalSecurity_bootspeed
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x45376d
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jl 0x453788
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0xb
push str.boottime
push str.Software360TotalSecurity_bootspeed
push reloc.OLEAUT32.dll_SysReAllocString
call esi
call ebx
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push str.boottick2
shr edx, 6
add edx, dword [ebp - 0x30]
push str.Software360TotalSecurity_bootspeed
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edi
call esi
push 4
lea ecx, [ebp - 0x24]
push ecx
push 4
push str.boottick2_ex
push str.Software360TotalSecurity_bootspeed
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 4
lea edx, [ebp - 0x28]
push edx
push 4
push str.boottick2delta
push str.Software360TotalSecurity_bootspeed
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453b30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x453b78
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x453b90
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20c]
push str.QHSafeTray.exe
push ecx
call fcn.00492756
add esp, 8
test eax, eax
jne 0x453ba9
inc edi
lea edx, [ebp - 0x230]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x453b90
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00491db1
mov esp, ebp
pop ebp
ret
Function at 0x4555d0
Capabilities:
Check os version

Disassembly:
push ebx
xor ebx, ebx
push edi
mov dword [esi], vtable.CServiceBase.0
mov dword [esi + 0x24], ebx
mov dword [esi + 4], str.QHActiveDefense
mov dword [esi + 0x28], ebx
mov dword [esi + 8], 0x10
mov dword [esi + 0xc], 2
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp ecx, 5
ja 0x455613
jne 0x455618
shr eax, 8
cmp al, 1
setae al
cmp al, 1
jne 0x455618
mov edi, 0x80
or edi, 4
mov dword [esi + 0x10], edi
pop edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov eax, esi
pop ebx
ret

Function at 0x455e20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6752
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4ea688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4f21cc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call esi
push ebx
push ebx
push ebx
push ebx
mov dword [0x4ec330], eax
call esi
push 0x4f045e
push 0x20
mov dword [0x4ec32c], eax
call fcn.00493709
mov esi, eax
add esp, 8
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x455ebc
lea ecx, [ebx + 1]
call fcn.0041d1a0
cmp eax, ebx
je 0x455eaa
mov dword [eax], esi
mov dword [esi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
jmp 0x455ebe
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
jmp 0x455ebe
xor esi, esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 4
push ecx
push 0x455ce0
push ebx
push ebx
mov dword [0x4f26d8], esi
mov dword [ebp - 0x10], ebx
call fcn.00492b82
or ecx, 0xffffffff
add esp, 0x18
mov dword [0x4ec334], eax
cmp eax, ecx
je 0x455f25
cmp dword [0x4ec330], ecx
je 0x455f25
cmp dword [0x4ec32c], ecx
je 0x455f25
cmp dword [0x4f26d8], ebx
je 0x455f25
mov byte [0x4f225f], 1
mov byte [0x4f225e], bl
lea eax, [ecx + 2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455f40
Capabilities:
Terminate thread

Disassembly:
cmp byte [0x4f225f], 0
mov byte [0x4f225e], 1
je 0x455fa1
mov eax, dword [0x4ec330]
push eax
mov byte [0x4f225f], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [0x4ec334]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x455f8b
mov edx, dword [0x4ec334]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x4ec334]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ec334], 0xffffffff
ret
Function at 0x4561f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
xor ebx, ebx
mov edi, eax
mov dword [esi + 4], ebx
call fcn.00424a20
test eax, eax
je 0x45629f
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x45629f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetupInstall
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
push str.CreateClientSession
push eax
call edi
mov ecx, dword [esi + 4]
push str.CloseClientSession
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 4]
push str.CleanupAllClientRules
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.AddClientRule
push eax
call edi
mov dword [esi + 0x18], eax
cmp dword [esi + 8], ebx
je 0x45627f
cmp dword [esi + 0xc], ebx
je 0x45627f
cmp dword [esi + 0x10], ebx
je 0x45627f
cmp dword [esi + 0x14], ebx
je 0x45627f
cmp eax, ebx
je 0x45627f
pop edi
lea eax, [ebx + 1]
pop ebx
ret
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x45629f
push eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], ebx
pop edi
xor eax, eax
pop ebx
ret
Function at 0x4563d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14f8
call fcn.004a87d0
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x10d0
xor ebx, ebx
lea eax, [ebp - 0x14ec]
push ebx
push eax
call fcn.004982c0
add esp, 0xc
push 0x206
lea edx, [ebp - 0x20e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x210], cx
call fcn.004982c0
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x416]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x418], ax
call fcn.004982c0
add esp, 0xc
push SysReAllocString
push str.360TS
lea ecx, [ebx + 0x1e]
lea edx, [ebp - 0x14ec]
mov dword [ebp - 0x14f0], 0x10d4
mov dword [ebp - 0x630], 2
call fcn.00425380
push SysReAllocString
push str.newspy_killer
lea ecx, [ebx + 0x1e]
lea edx, [ebp - 0x14b0]
call fcn.00425380
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.deepscan_speedmem2.hg
push 0x4f2fe0
lea edx, [ebp - 0x418]
push edx
call edi
push SysReAllocString
lea eax, [ebp - 0x418]
push eax
mov ecx, 0x104
lea edx, [ebp - 0x146c]
call fcn.00425380
push str.deepscancloudcom2.dll
push 0x4f2fe0
lea ecx, [ebp - 0x210]
push ecx
call edi
lea eax, [ebp - 0x210]
mov dword [esi + 0x20], ebx
call fcn.00424a20
test eax, eax
jne 0x4564ea
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x24], eax
cmp eax, ebx
je 0x45659e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SmartCacheCreate
push eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x24]
push str.SmartCacheClose
push eax
call edi
mov ecx, dword [esi + 0x24]
push str.SmartCacheFileMonCallBackEx
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi + 0x24]
push str.SmartCacheClearFileCache
push edx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x24]
push str.SmartForcePrintLog
push eax
call edi
mov ecx, dword [esi + 0x24]
push str.CheckCloudServerState
push ecx
mov dword [esi + 0x44], eax
call edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x456582
cmp dword [esi + 0x38], ebx
je 0x456582
cmp dword [esi + 0x3c], ebx
je 0x456582
lea edx, [ebp - 0x14f4]
push edx
lea ecx, [ebp - 0x14f0]
push ecx
call eax
add esp, 8
mov dword [esi + 0x20], eax
jmp 0x45659e
mov edx, dword [esi + 0x24]
push edx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x24], ebx
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 0x20], ebx
pop edi
setne al
xor ecx, ebp
pop ebx
call fcn.00491db1
mov esp, ebp
pop ebp
ret
Function at 0x456740
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
push str.CFlags
push str.SOFTWARE360Safe360krnlsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x456799
cmp dword [ebp - 4], eax
je 0x456799
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x456799
mov eax, dword [esi + 0x20]
test eax, eax
je 0x456799
push eax
call ecx
add esp, 4
push str.CFlags
push str.SOFTWARE360Safe360krnlsvc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4567c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4567de
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], 1
call eax
add esp, 4
push esi
call fcn.00455e20
add esp, 4
test eax, eax
jne 0x4567fa
call fcn.004565c0
mov eax, 3
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x4f225f], 0
je 0x45681b
mov eax, dword [0x4ec334]
mov byte [0x4f225e], 0
cmp eax, 0xffffffff
je 0x45681b
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.00456740
push esi
call fcn.00456620
test eax, eax
jne 0x456839
call fcn.004565c0
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x458120
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x458133
lea eax, [esi + 0xd]
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
xor edi, edi
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x458140
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x458690
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x21c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x214]
mov edi, eax
cmp edi, ebx
jne 0x45871c
xor eax, eax
cmp ecx, ebx
je 0x4586fe
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x21c]
and esi, 0x300
mov edi, eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], esi
cmp eax, ebx
je 0x45873c
cmp ecx, ebx
je 0x458727
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [ebp - 0x22c]
push edx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
lea edx, [ebp - 0x20c]
push edx
push ebx
push ecx
mov dword [ebp - 0x218], 0x100
call esi
test eax, eax
jne 0x4587bc
lea esp, [esp]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00458690
mov edi, eax
cmp edi, ebx
jne 0x458812
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x214]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x20c]
push eax
push ebx
push ecx
mov dword [ebp - 0x218], 0x100
call esi
test eax, eax
je 0x458770
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x4587d3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x214], ebx
mov edi, dword [ebp - 0x224]
mov esi, dword [ebp - 0x220]
mov dword [ebp - 0x210], ebx
call fcn.00458890
mov esi, eax
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x4587fd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x458823
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491db1
mov esp, ebp
pop ebp
ret 4
Function at 0x4593e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbac6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4ea688]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x420], edi
cmp edi, ebx
jne 0x459460
call fcn.00423a20
mov esi, eax
jmp 0x45956b
mov eax, dword [ebp - 0x41c]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x45947f
call fcn.00423a20
jmp 0x459562
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, ebx
jne 0x45949b
call fcn.00423a20
jmp 0x459562
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x41c], eax
cmp ecx, eax
jae 0x4594de
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x4594c9
lea eax, [ebp - 0x418]
call fcn.00458190
lea esi, [ebp - 0x424]
call fcn.00458170
mov eax, 0x8007000e
jmp 0x459586
mov eax, ecx
lea esi, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00457a80
mov dword [ebp - 4], 1
jmp 0x45950d
mov ecx, dword [ebp - 0x418]
cmp ecx, ebx
jne 0x45951e
mov esi, 0x8007000e
jmp 0x459564
mov eax, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x428]
push eax
push ecx
push eax
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x459541
call fcn.00423a20
jmp 0x459562
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x418]
push eax
lea edx, [ebp - 0x430]
call fcn.00459290
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x459584
lea eax, [ebp - 0x418]
call fcn.00458190
mov eax, esi
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.00491db1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x459a30
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x4f4830]
test eax, eax
jne 0x459a43
call fcn.00423c10
mov dword [0x4f4830], eax
mov eax, dword [eax + 0x140]
cmp eax, 2
jne 0x459a66
mov eax, dword [0x4f4830]
mov ecx, dword [eax + 0x140]
cmp ecx, 2
jne 0x459a66
mov eax, dword [eax + 0x88]
jmp 0x459a68
xor eax, eax
push esi
test eax, eax
je 0x459a70
call eax
ret
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
ret