joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4644c9
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x20c], di
call fcn.00480cb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x464571
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
je 0x46456a
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
je 0x46456a
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret

Function at 0x4646a7
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4c7ad8
call fcn.004c4460
push ecx
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.004660f7
and dword [ebp - 4], 0
push str._ressrcchsuplive.svr
lea eax, [ebp - 0x10]
push eax
call fcn.004084d6
push dword [ebp - 0x10]
push 1
push str.tryno
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407bab
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x466791
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
and dword [esp], 0
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x2c]
push eax
mov dword [esp + 0x14], eax
call edi
mov ecx, esi
call sym.kcommoninstaller.exe_public:_bool___thiscall_kbase::kxThreadBase_class_kbase::Locker_::IsRunning_void_
test al, al
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x4667c4
or dword [esp + 0xc], 0xffffffff
jmp 0x466832
push ebp
push 8
call fcn.00417421
mov ebp, eax
xor eax, eax
cmp ebp, eax
pop ecx
jne 0x4667df
mov dword [esp + 0x10], 0xfffffffa
jmp 0x466831
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 4], ecx
lea ecx, [esi + 0xc]
push ecx
push eax
push ebp
push sym.kcommoninstaller.exe_private:_static_unsigned_int___stdcall_kbase::kxThreadBase_class_kbase::Locker_::threadFun_void__
push eax
push eax
mov dword [ebp], esi
call fcn.00483dc5
add esp, 0x18
test eax, eax
mov dword [esi + 8], eax
je 0x466822
lea ebp, [esi + 0x14]
jmp 0x466814
call ebx
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call edi
cmp byte [esi + 4], 0
push ebp
je 0x46680a
call ebx
jmp 0x466831
push ebp
call fcn.00480959
pop ecx
mov dword [esp + 0x10], 0xfffffffe
pop ebp
push dword [esp + 0x10]
call ebx
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x4668a4
Capabilities:
Terminate thread

Disassembly:
push ecx
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebp, [esi + 0x2c]
push ebp
call edi
lea ebx, [esi + 0x14]
push ebx
call edi
cmp byte [esi + 4], 0
jne 0x4668d1
mov dword [esp + 0x10], 0xfffffffd
jmp 0x4668e9
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call esi
push ebp
call esi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x466950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x14]
push dword [ebp + 0x20]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
je 0x466975
call fcn.00483dc5
add esp, 0x18
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 2
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x467216
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
leave
ret
push edi
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 8]
push 1
push 2
push 0x10
push 0x32
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
cmp edi, esi
jne 0x467297
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x431
je 0x46725d
call edi
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
jmp 0x467213
push 2
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
jne 0x467279
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x46724d
push dword [ebp + 0x14]
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 8]
push 1
push 2
push 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x467271
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x46724f
Function at 0x4672b3
Capabilities:
Delete service

Disassembly:
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4672cd
pop edi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push esi
push 0x10000
push dword [esp + 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
jne 0x4672fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call ebx
mov eax, esi
pop esi
pop ebx
pop edi
ret
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x46731f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call edi
push esi
call edi
mov eax, ebx
jmp 0x4672f8
push esi
call ebx
xor esi, esi
jmp 0x4672f3

Function at 0x467326
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push 0x40000000
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x46734b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x467398
push ebx
push esi
push 0x14
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
cmp ebx, edi
jne 0x467372
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push dword [ebp - 4]
jmp 0x4673be
push 6
mov dword [ebp - 0x20], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x46739b
cmp dword [ebp - 0x1c], 4
jne 0x46739b
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
xor edi, edi
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4673c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x467396
push ebx
call esi
jmp 0x46736d
Function at 0x4673c9
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push 0x40000000
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x4673ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x467417
push ebx
push edi
push 0x24
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x46741a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x40], esi
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x467452
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x467415
push 6
mov dword [ebp - 0x24], esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
mov dword [ebp - 8], esi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
rep stosd dword es:[edi], eax
jmp 0x467478
cmp dword [ebp - 0x20], 1
je 0x46748c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x24]
push eax
push ebx
call esi
test eax, eax
jne 0x46746a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 8]
jmp 0x46740a

Function at 0x467d91
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c79f1
call fcn.004c4460
sub esp, 0x214
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
push esi
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
mov ecx, 0x50038c
call fcn.0040959a
xor esi, esi
mov dword [ebp - 4], ebx
inc esi
push ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
push eax
push 0x1a
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x206
lea eax, [ebp - 0x21e]
push ebx
push eax
mov word [ebp - 0x220], bx
call fcn.00480cb0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x220]
push eax
call fcn.004816be
test eax, eax
pop ecx
je 0x467e31
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 8]
call fcn.00408051
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x467e51
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
pop esi
cmp eax, ebx
pop ebx
je 0x467e69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret
Function at 0x467e78
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c7349
call fcn.004c4460
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x50038c
mov dword [ebp - 0x10], edi
call fcn.0040959a
push 0x208
lea eax, [ebp - 0x21a]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x21c], di
call fcn.00480cb0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x467f06
lea eax, [ebp - 0x21c]
push eax
call fcn.004816be
test eax, eax
pop ecx
je 0x467f06
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00408051
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x467f16
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x4c6930
call fcn.004c4460
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
push ebx
xor edi, edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x10]
push eax
push 0x4cda3c
push 1
push ebx
push 0x4cda5c
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x467fc6
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
push dword [esi + 0x18]
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4cda9c
push eax
call dword [ecx]
cmp eax, ebx
jl 0x467fc6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push 1
push eax
push ecx
call dword [edx + 0x18]
cmp eax, ebx
jl 0x467fc6
inc edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x467fdc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x467fed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4688f3
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, 0x4ca848
call fcn.004c4460
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
call fcn.00408a2c
cmp eax, 0xc
jne 0x4689d8
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00467d91
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
mov dword [esp], str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push eax
call fcn.004084d6
mov eax, dword [0x50038c]
mov ecx, 0x50038c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
push dword [esi]
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push str._s_s.lnk
call fcn.0040881a
add esp, 0xc
lea edi, [esi + 0x1c]
lea eax, [ebp - 0x18]
call fcn.00406fd9
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x10]
push eax
call fcn.00467e78
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.00467f16
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x4689b9
push dword [esi]
lea ecx, [ebp - 0x10]
push str._s.lnk
call fcn.0042bde8
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.004688b9
add esp, 0x10
push dword [ebp - 0x10]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407bab
lea eax, [edi - 0x10]
call fcn.00407bab
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407bab
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4696f6
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
je 0x469794
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x469794
cmp ebx, esi
je 0x469794
push edi
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebx], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, esi
je 0x469793
push edi
call fcn.0047da0e
cmp eax, esi
pop ecx
mov dword [ebp - 0x10], eax
je 0x469793
push eax
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46978a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4dcc14
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46978a
cmp dword [ebp - 8], esi
jbe 0x469783
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov dword [ebx], eax
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
call fcn.00480c9e
pop ecx
pop edi
mov eax, dword [ebp - 0x14]
pop esi
leave
ret
Function at 0x46e060
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4fb304]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
je 0x46e0a9
mov eax, dword [ebp - 0x414]
jmp 0x46e15c
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0xc], 0x200
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
jne 0x46e135
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x418]
push eax
call fcn.0046e060
add esp, 8
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
je 0x46e12c
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x414]
jmp 0x46e15c
mov dword [ebp - 0xc], 0x200
jmp 0x46e0ba
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485d3d
mov esp, ebp
pop ebp
ret

Function at 0x46f590
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fb304]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0x80004005
mov word [ebp - 0x210], 0
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00480cb0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
push 0xffffffffffffffff
mov edx, dword [0x4d66ec]
push edx
push 0x100
lea eax, [ebp - 0x210]
push eax
call fcn.0048471f
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push 0xa
lea edx, [ebp - 0x210]
push edx
call fcn.004b5090
push eax
call fcn.004b50a0
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x46f61c
jmp 0x46f6c4
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x218]
call fcn.004742d0
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
push edx
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x1ac
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x190
push ecx
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x33c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
add eax, 0x320
push eax
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x4cc
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x4b0
push edx
call fcn.0048471f
add esp, 0x10
lea ecx, [ebp - 0x218]
call fcn.00474300
mov dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485d3d
mov esp, ebp
pop ebp
ret 8
Function at 0x46fa90
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fb304]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0x80004005
mov word [ebp - 0x210], 0
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00480cb0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
push 0xffffffffffffffff
mov edx, dword [0x4d66ac]
push edx
push 0x100
lea eax, [ebp - 0x210]
push eax
call fcn.0048471f
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push 0xa
lea edx, [ebp - 0x210]
push edx
call fcn.004b5090
push eax
call fcn.004b50a0
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x46fb1c
jmp 0x46fba1
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x218]
call fcn.004742d0
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
push edx
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x1ac
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x190
push ecx
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x33c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
add eax, 0x320
push eax
call fcn.0048471f
add esp, 0x10
lea ecx, [ebp - 0x218]
call fcn.00474300
mov dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485d3d
mov esp, ebp
pop ebp
ret 8
Function at 0x470ef0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fb304]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0x80004005
mov word [ebp - 0x210], 0
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00480cb0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
push 0xffffffffffffffff
mov edx, dword [0x4d6918]
push edx
push 0x100
lea eax, [ebp - 0x210]
push eax
call fcn.0048471f
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push 0xa
lea edx, [ebp - 0x210]
push edx
call fcn.004b5090
push eax
call fcn.004b50a0
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x470f7c
jmp 0x471048
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x218]
call fcn.004742d0
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
push edx
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x1ac
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x190
push ecx
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x33c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
add eax, 0x320
push eax
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x4cc
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x4b0
push edx
call fcn.0048471f
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x65c]
mov dword [eax + 0x640], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x660]
mov dword [eax + 0x644], edx
lea ecx, [ebp - 0x218]
call fcn.00474300
mov dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485d3d
mov esp, ebp
pop ebp
ret 8