joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010ce59
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x1017a4ee
call fcn.1012b67a
call fcn.1000febb
cmp dword [eax + 0x150], 0
je 0x1010ce9d
call fcn.1000febb
cmp dword [eax + 0x14c], 0
je 0x1010ce9d
push 0x48
call fcn.10010082
pop ecx
test eax, eax
je 0x1010ceca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x1010cf53
call fcn.1000febb
cmp dword [eax + 0x150], 0
je 0x1010ceca
push 0x48
call fcn.10010082
pop ecx
test eax, eax
je 0x1010ceca
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x1010cf53
mov eax, dword [0x1024ac34]
xor esi, esi
inc esi
test al, 1
jne 0x1010cefa
or eax, esi
mov dword [0x1024ac34], eax
and dword [ebp - 4], 0
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1024ac30], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x1024ac34]
cmp dword [0x1024ac30], 0
je 0x1010cf47
test al, 2
jne 0x1010cf2c
or eax, 2
mov dword [0x1024ac34], eax
mov dword [ebp - 4], esi
push str.RegDeleteKeyExW
push dword [0x1024ac30]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1024ac38], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x1024ac38]
test eax, eax
je 0x1010cf47
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
cmp eax, esi
jne 0x1010cf53
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
call fcn.1012b643
ret 0x10
Function at 0x10110079
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x1011008a
xor eax, eax
inc eax
jmp 0x101100c1
push edi
push dword [ebp + 8]
call fcn.10114081
mov dword [esi + 4], eax
pop ecx
test eax, eax
jne 0x101100c6
mov edi, 0x3ee
mov dword [esi + 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 2
push 1
call fcn.100537ac
add esp, 0x10
mov ecx, esi
call fcn.10110044
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SoftCheckCreate
push eax
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x101100b7
push str.CheckSoftware
push dword [esi + 4]
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x101100b7
push str.CheckFreeMemory
push dword [esi + 4]
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x101100b7
push str.SoftCheckClose
push dword [esi + 4]
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x101100b7
push str.SoftReplaceOneFile
push dword [esi + 4]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x101100b7
push str.CheckSoftCancel
push dword [esi + 4]
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x101100b7
push str.CheckFiles
push dword [esi + 4]
call edi
push str.CheckFreeFileMemory
push dword [esi + 4]
mov dword [esi + 0x24], eax
call edi
push str.SoftReplaceOneFile2
push dword [esi + 4]
mov dword [esi + 0x28], eax
call edi
push str.SetHttpCallMode
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
push 0x101a4728
push dword [esi + 4]
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
xor eax, eax
inc eax
jmp 0x101100c0

Function at 0x101103b3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x101103c2
xor eax, eax
pop ebp
ret 4
push dword [ebp + 8]
call fcn.100414dc
test eax, eax
jne 0x101103be
pop ebp
jmp fcn.101102c8
Function at 0x101104cf
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call fcn.10114081
mov dword [esi + 0x58], eax
pop ecx
test eax, eax
je 0x101106b5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SmartCacheCreate
push eax
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x101106b5
push str.SmartCacheClose
push dword [esi + 0x58]
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x101106b5
push str.SmartCacheQuery
push dword [esi + 0x58]
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x101106b5
push str.SmartNetQuery
push dword [esi + 0x58]
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x101106b5
push str.SmartNetQueryCancel
push dword [esi + 0x58]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x101106b5
push str.SmartUploadCreate
push dword [esi + 0x58]
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x101106b5
push str.SmartUploadWithExtInfo
push dword [esi + 0x58]
call edi
mov dword [esi + 0x28], eax
test eax, eax
je 0x101106b5
push str.SmartUploadCancel
push dword [esi + 0x58]
call edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x101106b5
push str.SmartUploadClose
push dword [esi + 0x58]
call edi
mov dword [esi + 0x30], eax
test eax, eax
je 0x101106b5
push str.SmartUploadSetNetTimeout
push dword [esi + 0x58]
call edi
mov dword [esi + 0x34], eax
test eax, eax
je 0x101106b5
push str.SetVerifyFilePath
push dword [esi + 0x58]
call edi
mov dword [esi + 0x38], eax
test eax, eax
je 0x101106b5
push str.SmartCachePETime
push dword [esi + 0x58]
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x101106b5
push str.SetComOption
push dword [esi + 0x58]
call edi
mov dword [esi + 0x3c], eax
test eax, eax
je 0x101106b5
push str.SmartSetOption
push dword [esi + 0x58]
call edi
mov dword [esi + 0x40], eax
test eax, eax
je 0x101106b5
push str.SmartCacheClearFileCache
push dword [esi + 0x58]
call edi
push str.SmartCacheDelFiles
push dword [esi + 0x58]
mov dword [esi + 0x4c], eax
call edi
push str.SmartUploadSetOption
push dword [esi + 0x58]
mov dword [esi + 0x50], eax
call edi
push str.SmartUploadGetError
push dword [esi + 0x58]
mov dword [esi + 0x44], eax
call edi
push str.SmartIsFileInXD
push dword [esi + 0x58]
mov dword [esi + 0x48], eax
call edi
push str.CheckCloudServerState
push dword [esi + 0x58]
mov dword [esi + 0x54], eax
call edi
push str.SmartNetQueryEx
push dword [esi + 0x58]
mov dword [esi + 0x68], eax
call edi
push str.SmartNetQueryEx2
push dword [esi + 0x58]
mov dword [esi + 0x14], eax
call edi
push str.XDOpen
push dword [esi + 0x58]
mov dword [esi + 0x18], eax
call edi
push str.XDClose
push dword [esi + 0x58]
mov dword [esi + 0x5c], eax
call edi
push str.XDAddRecordsEx
push dword [esi + 0x58]
mov dword [esi + 0x60], eax
call edi
push str.SmartIsMD5InXD
push dword [esi + 0x58]
mov dword [esi + 0x64], eax
call edi
mov dword [esi + 0x6c], eax
xor eax, eax
inc eax
jmp 0x101106b7
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x10114893
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1017b235
call fcn.1012b71c
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 0x60
push ebx
push esi
call dword [0x10180ba0]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10114910
push 2
push ebx
push esi
call dword [0x10180ba0]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10114910
call fcn.1003129c
mov esi, eax
jmp 0x101149f1
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10114933
call fcn.1003129c
jmp 0x101149e4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10114929
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x10114966
mov esi, 0x8007000e
jmp 0x101149e6
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.101121b8
mov dword [ebp - 4], 1
jmp 0x1011499a
cmp dword [ebp - 0x418], 0
je 0x1011495c
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10114929
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.1011475a
mov esi, eax
test edi, edi
je 0x101149f1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10114a0d
lea ecx, [ebp - 0x418]
call fcn.10113072
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.1012b669
ret 0x10
Function at 0x101168ff
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x10], ebx
je 0x10116925
xor eax, eax
inc eax
jmp 0x10116ac0
call fcn.1011682d
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._sysfilereps.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10116ac0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10114081
mov dword [edi + 8], eax
pop ecx
test eax, eax
jne 0x101169aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0x3e9
push esi
push 2
push 1
call fcn.100537ac
add esp, 0x10
mov dword [edi + 0x140], esi
jmp 0x10116abd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.create_sysfilerep_object
push eax
call esi
push str.close_sysfilerep_object
push dword [edi + 8]
mov dword [edi + 0x18], eax
call esi
push str.cancel_sysfilerep_req
push dword [edi + 8]
mov dword [edi + 0x1c], eax
call esi
push str.set_sysfilerep_timeout
push dword [edi + 8]
mov dword [edi + 0x20], eax
call esi
push str.replace_sys_file_w
push dword [edi + 8]
mov dword [edi + 0x24], eax
call esi
push str.replace_set_product_w
push dword [edi + 8]
mov dword [edi + 0x28], eax
call esi
push str.replace_set_http_mode
push dword [edi + 8]
mov dword [edi + 0x2c], eax
call esi
push str.set_option
push dword [edi + 8]
mov dword [edi + 0x30], eax
call esi
push 0x101a4728
push dword [edi + 8]
mov dword [edi + 0x34], eax
call esi
push str.set_download_callback
push dword [edi + 8]
mov dword [edi + 0x38], eax
call esi
mov dword [edi + 0x3c], eax
cmp dword [edi + 0x18], ebx
je 0x10116a97
cmp dword [edi + 0x1c], ebx
je 0x10116a97
cmp dword [edi + 0x20], ebx
je 0x10116a97
cmp dword [edi + 0x24], ebx
je 0x10116a97
cmp dword [edi + 0x28], ebx
je 0x10116a97
push 0x7530
push ebx
mov ecx, edi
call fcn.10116874
test eax, eax
je 0x10116a90
cmp dword [edi + 0x14], ebx
je 0x10116a75
mov eax, dword [edi + 0x30]
test eax, eax
je 0x10116a75
cmp dword [edi + 0xc], ebx
je 0x10116a75
push dword [edi + 0x14]
push dword [edi + 0xc]
call eax
pop ecx
pop ecx
xor esi, esi
lea ecx, [edi + 0x150]
inc esi
mov dword [edi + 0x10], esi
call fcn.100434d8
mov dword [edi + 0x968], eax
mov eax, esi
jmp 0x10116abf
mov esi, 0x3eb
jmp 0x10116a9c
mov esi, 0x3e9
mov dword [edi + 0x140], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 2
push 1
call fcn.100537ac
add esp, 0x10
mov ecx, edi
call fcn.1011682d
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret
Function at 0x1011b1d4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.1012db70
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1011b26d
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1011b266
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
je 0x1011b27d
push 0x22c
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.1012db70
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1011b22d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1012b632
leave
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x1011b26f

Function at 0x1011b2bf
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101b04ec]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ax, word [0x101b04f0]
push edi
mov edi, dword [ebp + 0xc]
mov word [ebp - 8], ax
push 0x104
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1011b327
lea eax, [ebp - 0x214]
push eax
call fcn.10130fe5
push eax
lea eax, [ebp - 0x214]
push eax
push esi
call fcn.10131342
add esp, 0x10
test eax, eax
je 0x1011b339
mov ax, word [ebp - 0xc]
cmp ax, 0x5a
je 0x1011b362
inc ax
mov word [ebp - 0xc], ax
jmp 0x1011b2ec
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push edi
call fcn.100100b8
lea eax, [ebp - 0x214]
push eax
call fcn.10130fe5
pop ecx
lea eax, [esi + eax*2]
push eax
push dword [ebp + 0x10]
push edi
call fcn.10035b0a
jmp 0x1011b3ba
push 0x18
push str.DeviceLanmanRedirector
push esi
call fcn.10131342
add esp, 0xc
test eax, eax
jne 0x1011b389
push 0x101811bc
push dword [ebp + 0x10]
push edi
call fcn.100100b8
lea eax, [esi + 0x30]
jmp 0x1011b356
push 0xb
push str.DeviceMup
push esi
call fcn.10131342
add esp, 0xc
test eax, eax
jne 0x1011b3b0
push 0x101811bc
push dword [ebp + 0x10]
push edi
call fcn.100100b8
lea eax, [esi + 0x16]
jmp 0x1011b356
push esi
push dword [ebp + 0x10]
push edi
call fcn.100100b8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1012b632
leave
ret
Function at 0x1011b474
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x1011b485
push 0x30
pop edi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x1011b48d
inc ebx
mov esi, dword [0x1022b424]
push esi
call fcn.101345c6
pop ecx
xor edx, edx
mov dword [ebp + 0xc], eax
push edx
push edx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0x10]
push ecx
push esi
push eax
push ebx
push edi
push edx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x1011b509
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1011b4fc
push dword [ebp + 0xc]
call fcn.101345c1
add esi, dword [ebp + 0x10]
push esi
call fcn.101345c6
pop ecx
pop ecx
xor edx, edx
mov dword [ebp + 0xc], eax
push edx
push edx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0x10]
push ecx
push esi
push eax
push ebx
push edi
push edx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x1011b509
push dword [ebp + 0xc]
call fcn.101345c1
pop ecx
xor eax, eax
jmp 0x1011b526
cmp esi, 0x10000
ja 0x1011b517
mov dword [0x1022b424], esi
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1011b523
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1011d1ae
Capabilities:
Get common file path

Disassembly:
push 0x620
mov eax, 0x1017c82a
call fcn.1012b6ae
mov eax, dword [0x1024c3cc]
mov edi, 0x1024c3c8
mov esi, dword [ebp + 8]
test al, 1
jne 0x1011d1fa
or eax, 1
mov dword [0x1024c3cc], eax
and dword [ebp - 4], 0
call fcn.10007945
push eax
mov ecx, edi
call fcn.10008bfd
mov byte [ebp - 4], 0
push 0x1017f2f8
call fcn.1012b5d3
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [0x1024c3d0], 0
jne 0x1011d2db
push 0x1024c398
lea ecx, [ebp - 0x62c]
call fcn.10007b01
mov dword [ebp - 4], 2
cmp byte [0x1024c3d0], 0
jne 0x1011d2c2
xor eax, eax
mov byte [0x1024c3d0], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str...._regedit.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x628]
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1004a2e3
add esp, 0xc
test eax, eax
jne 0x1011d2a6
push SysReAllocString
lea eax, [ebp - 0x218]
push eax
push 0
push 0x208
lea eax, [ebp - 0x628]
push eax
call fcn.10015d3f
lea eax, [ebp - 0x628]
push eax
call fcn.10130fe5
pop ecx
push eax
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
call fcn.10008f20
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x62c], 0
je 0x1011d2db
push dword [ebp - 0x62c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1011d2f4
push dword [0x1024c3c8]
push esi
call fcn.101311cd
pop ecx
pop ecx
test eax, eax
jne 0x1011d2f4
inc eax
jmp 0x1011d2f6
xor eax, eax
call fcn.1012b658
ret

Function at 0x1011d2fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push edi
mov edi, 0x208
push edi
push 0
push eax
call fcn.1012db70
push edi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1012db70
add esp, 0x18
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push str.system32_svchost.exe
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call fcn.10130fe5
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10131342
add esp, 0x10
test eax, eax
je 0x1011d3c2
push str.syswow64_svchost.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call fcn.10130fe5
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10131342
add esp, 0x10
test eax, eax
je 0x1011d3c2
xor eax, eax
jmp 0x1011d3c5
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1012b632
leave
ret 4
Function at 0x1011d3d5
Capabilities:
Get process image filename
Terminate process

Disassembly:
push 0x220
push 0x101fd210
call fcn.1012baa0
mov dword [ebp - 0x230], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
xor esi, esi
inc esi
mov dword [ebp - 0x22c], esi
and dword [ebp - 4], 0
push esi
call fcn.1011ed95
pop ecx
mov dword [ebp - 4], 0xfffffffe
jmp 0x1011d424
push dword [ebp - 0x228]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1011d4b4
push dword [ebp - 0x228]
push edi
mov ecx, dword [ebp - 0x230]
call fcn.1011ec04
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.1012db70
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push str.windowsexplorer.exe
lea eax, [ebp - 0x224]
push eax
call fcn.101160fa
pop ecx
pop ecx
test eax, eax
je 0x1011d492
push 1
jmp 0x1011d494
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x1011d4ad
cmp eax, 5
jne 0x1011d4ad
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1011ecad
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
mov dword [ebp - 0x24], ecx
push esi
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x1011ecd7
xor eax, eax
jmp 0x1011ed42
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1011ed39
push ebx
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x14], eax
jne 0x1011ed27
push dword [ebp - 0x18]
push esi
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1011ed27
mov ecx, dword [ebp - 0x24]
push ebx
call fcn.1011d180
test eax, eax
je 0x1011ed20
mov ecx, dword [ebp - 0x24]
push ebx
call fcn.1011ed52
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1011eced
xor esi, esi
inc esi
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1012b632
leave
ret 4

Function at 0x1011ed95
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0xf01ff
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1011ee30
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1011ee1f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
neg eax
mov dword [ebp - 0x14], 1
push esi
sbb eax, eax
push esi
and eax, 2
push 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1011ee1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
je 0x1011ee1f
xor esi, esi
inc esi
cmp dword [ebp - 0x18], 0
je 0x1011ee2e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1012b632
leave
ret