joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100819c9
Capabilities:
Query environment variable

Disassembly:
push 0x41c
mov eax, 0x1014e6a3
call fcn.1012b6ae
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x420]
xor edi, edi
mov dword [ebp - 0x428], esi
push 0x410
push edi
push eax
mov dword [ebp - 0x424], edi
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push str._AppData_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x10081a27
push 0x101bd7f8
mov ecx, esi
call fcn.100088c7
jmp 0x10081a47
push str.360Safe360mbr.bin
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.100088c7
mov dword [ebp - 4], edi
mov dword [ebp - 0x424], 1
mov eax, esi
call fcn.1012b658
ret 4

Function at 0x10084942
Capabilities:
Create thread
Resume thread

Disassembly:
push 0x24
push 0x101e0678
call fcn.1012b9c0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], edi
push edi
call fcn.10130fe5
lea esi, [eax*2 + 2]
lea eax, [esi + edi]
mov dword [ebp - 0x30], eax
push eax
call fcn.10130fe5
lea esi, [esi + eax*2]
lea esi, [esi + 2]
lea eax, [esi + edi]
mov dword [ebp - 0x2c], eax
push eax
call fcn.10130fe5
lea esi, [esi + eax*2]
lea esi, [esi + 2]
lea eax, [esi + edi]
mov dword [ebp - 0x28], eax
push eax
call fcn.10130fe5
lea esi, [esi + eax*2]
lea esi, [esi + 2]
lea eax, [esi + edi]
mov dword [ebp - 0x24], eax
push eax
call fcn.10130fe5
lea eax, [esi + eax*2]
add edi, 2
add eax, edi
mov dword [ebp - 0x20], eax
push eax
call fcn.10130fe5
add esp, 0x18
mov dword [ebp + 8], 1
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x34]
push eax
push 0x1008544e
xor edi, edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10084a24
mov dword [ebp - 4], edi
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10084a15
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
cmp dword [ebp + 8], eax
sete al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10084ed9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0x50]
test edx, edx
je 0x10084f09
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
or eax, 0xf003f
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
call fcn.10088bff
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
jmp 0x10084f3a
push esi
push dword [ebp + 0x18]
add ecx, 4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ab298
mov esi, eax
test esi, esi
jne 0x10084f37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10084f37
xor eax, eax
inc eax
jmp 0x10084f39
mov eax, esi
pop esi
pop ebp
ret 0x14
Function at 0x100a6ca8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xa
mov esi, ecx
lea edi, [ebp - 0x2c]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 0x28
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
jne 0x100a6ce3
mov eax, 0x80004005
jmp 0x100a6d24
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi + 0x1c]
add ecx, dword [ebp + 8]
shl eax, 0x14
cmp ecx, eax
ja 0x100a6d22
push 0x40
pop edi
push edi
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.1012db70
add esp, 0xc
mov dword [ebp - 0x6c], edi
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0x64
pop eax
sub eax, dword [ebp - 0x68]
cmp eax, dword [esi + 0x20]
jb 0x100a6d22
xor eax, eax
inc eax
jmp 0x100a6d24
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1012b632
leave
ret 4

Function at 0x100b59a9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push edi
mov esi, dword [ebx + 0xa9c]
call fcn.1006c183
pop ecx
push edi
test esi, esi
je 0x100b59e5
test eax, eax
je 0x100b59d2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x100b59d7
call fcn.10010313
test eax, eax
je 0x100b59fa
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x18]
jmp 0x100b59fa
test eax, eax
je 0x100b59f1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x100b59f6
call fcn.10010313
test eax, eax
jne 0x100b5a01
xor eax, eax
jmp 0x100b5a82
xor esi, esi
mov ecx, ebx
inc esi
push esi
push edi
call fcn.100b5a89
push 2
push edi
mov ecx, ebx
call fcn.100b5a89
cmp dword [ebx + 0x28], 0
je 0x100b5a31
push edi
call fcn.10073b06
mov ecx, eax
call fcn.10073a45
test eax, eax
je 0x100b5a31
mov dword [ebx + 0x24], esi
push esi
add ebx, 0x1c
push ebx
push edi
call fcn.1006c202
add esp, 0xc
test eax, eax
je 0x100b5a50
push edi
call fcn.101103e8
mov ecx, eax
call fcn.101103b3
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x100b5a64
push 2
pop eax
jmp 0x100b5a82
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov dword [ebx], eax
mov dword [0x1024c32c], 0x58
call esi
mov dword [0x1024c330], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x100be55a
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 7
pop ecx
push 2
xor eax, eax
lea edi, [ebp - 0x20]
push ebx
rep stosd dword es:[edi], eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100be5d8
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x100be5d3
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100be5d0
cmp dword [ebp - 0x20], 0x10
je 0x100be5c1
cmp dword [ebp - 0x20], 0x20
jne 0x100be5d0
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ebx, eax
push esi
call edi
push dword [ebp - 0x24]
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret 4

Function at 0x100ce6c7
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e676
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push esi
mov eax, dword [0x102406a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x28]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 3
call fcn.10022147
mov byte [ebp - 4], 2
lea ecx, [esi + 0x20]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 2
call fcn.10022147
mov byte [ebp - 4], 1
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
call fcn.1006cf70
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.10008abd
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.10008abd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x100e2f5b
Capabilities:
Get common file path

Disassembly:
push 0x420
mov eax, 0x10172faa
call fcn.1012b6ae
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x420]
xor ebx, ebx
mov dword [ebp - 0x42c], esi
push 0x410
push ebx
push eax
mov dword [ebp - 0x424], ebx
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x420]
push ebx
push 5
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100e2ff9
lea eax, [ebp - 0x420]
push 0x5c
push eax
call fcn.1012e65c
pop ecx
pop ecx
test eax, eax
je 0x100e2ff9
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.100e3050
xor edi, edi
inc edi
mov dword [ebp - 4], edi
push dword [eax]
push esi
call fcn.100e554e
add esp, 0x10
mov dword [ebp - 0x424], edi
mov byte [ebp - 4], bl
push dword [ebp - 0x428]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x100e3012
push 0x101bd7f8
mov ecx, esi
call fcn.1001de59
mov dword [ebp - 4], ebx
mov dword [ebp - 0x424], 1
mov eax, esi
call fcn.1012b658
ret

Function at 0x100e36d7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100e37e9
xor ebx, ebx
cmp word [edi], bx
je 0x100e37e9
push 0x410
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.1012db70
mov esi, ebx
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push dword [esi + 0x10227440]
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100e37dd
push 0x410
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.1012db70
push 0x208
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.1004a2e3
add esp, 0x18
test eax, eax
je 0x100e3790
push SysReAllocString
lea eax, [ebp - 0x824]
push eax
push 0
push 0x208
lea eax, [ebp - 0x414]
push eax
call fcn.10015d3f
push 0x101811bc
lea eax, [ebp - 0x414]
push eax
call ebx
mov eax, dword [esi + 0x10227440]
cmp eax, 0x1a
je 0x100e37ae
cmp eax, 0x23
jne 0x100e37bc
push str.MicrosoftInternet_ExplorerQuick_Launch_
lea eax, [ebp - 0x414]
push eax
call ebx
lea eax, [ebp - 0x414]
push eax
call fcn.10130fe5
push eax
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.10131342
add esp, 0x10
test eax, eax
je 0x100e37fa
add esi, 4
cmp esi, 0x20
jb 0x100e3720
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret
xor eax, eax
inc eax
jmp 0x100e37eb
Function at 0x100e3a6d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x100e3ad9
push esi
call fcn.10130fe5
pop ecx
push 0x3a
pop ebx
push 0x5c
pop edi
cmp eax, 3
jne 0x100e3a98
cmp word [esi + 2], bx
jne 0x100e3a98
cmp word [esi + 4], di
je 0x100e3ac8
push esi
call fcn.10130fe5
pop ecx
cmp eax, 7
jne 0x100e3ad9
cmp word [esi], di
jne 0x100e3ad9
cmp word [esi + 2], di
jne 0x100e3ad9
cmp word [esi + 4], 0x3f
jne 0x100e3ad9
cmp word [esi + 6], di
jne 0x100e3ad9
cmp word [esi + 0xa], bx
jne 0x100e3ad9
cmp word [esi + 0xc], di
jne 0x100e3ad9
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x100e3ad9
xor eax, eax
inc eax
jmp 0x100e3adb
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100e5909
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
mov eax, dword [ebp + 8]
or eax, 0xf003f
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x100e595f
cmp dword [ebp + 0x20], eax
je 0x100e595f
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call fcn.1010e24e
mov ecx, eax
call fcn.1010cf74
mov eax, esi
pop esi
leave
ret 0x1c

Function at 0x100e8032
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101740d3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x102406a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CScanOperate.0
mov dword [ebp - 4], 7
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100e807b
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 4], 0
lea edi, [esi + 0xf8]
xor ebx, ebx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x100e80b8
push dword [ecx + ebx*4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100e80a9
mov eax, dword [edi]
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 4]
inc ebx
mov ecx, dword [edi]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x100e8091
mov ecx, edi
call fcn.10015f3e
mov byte [ebp - 4], 6
lea ecx, [esi + 0x104]
call fcn.10069394
mov byte [ebp - 4], 5
mov ecx, edi
call fcn.10008abd
mov byte [ebp - 4], 4
lea ecx, [esi + 0xec]
call fcn.10105950
mov byte [ebp - 4], 3
lea ecx, [esi + 0xe0]
call fcn.100bfd67
mov byte [ebp - 4], 2
lea ecx, [esi + 0xd4]
call fcn.100bfd13
mov byte [ebp - 4], 1
lea eax, [esi + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 4], 0
lea ecx, [esi + 0x3c]
call fcn.1008fc68
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x2c]
call fcn.10073def
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10104e17
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push dword [0x1024b9f8]
mov esi, ecx
mov dword [ebp - 4], edi
push 4
call fcn.1010128b
add esp, 0xc
test eax, eax
je 0x10104e4e
push edi
push edi
push esi
push 0x10104932
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop edi
pop esi
leave
ret

Function at 0x10104e52
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1015efdd
call fcn.1012b67a
mov ebx, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
cmp dword [ebx + ecx*4 + 0xac], esi
jne 0x10104ef5
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push dword [0x1024b9f8]
push 4
call fcn.1010128b
add esp, 0xc
test eax, eax
je 0x10104ee9
push 0x1024c714
push 0xc
call fcn.1012ba4d
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], esi
test edi, edi
je 0x10104eb1
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
jmp 0x10104eb3
mov edi, esi
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10104ee9
mov eax, dword [ebp + 8]
push esi
push esi
push edi
push 0x10104f48
push esi
mov dword [edi + 8], eax
push esi
mov dword [edi], esi
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 8]
mov dword [ebx + ecx*4 + 0xac], eax
mov dword [ebx + ecx*4 + 0xb4], edi
jmp 0x10104eec
mov ecx, dword [ebp + 8]
cmp dword [ebx + ecx*4 + 0xac], esi
je 0x10104ef8
xor esi, esi
inc esi
mov eax, esi
call fcn.1012b643
ret 4

Function at 0x10108e57
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.AVEI.dll
mov edi, ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x208
mov ebx, eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
test ebx, ebx
je 0x10108ee0
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10108f12
lea eax, [ebp - 0x20c]
lea esi, [edi + 0x20]
push eax
mov ecx, esi
call fcn.1004134e
push str..._shft.def
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x10108f01
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._ave_shft.def
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea esi, [edi + 0x20]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.100412fd
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret
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 0x1011a7e0
Capabilities:
Link many functions at runtime

Disassembly:
push 8
mov eax, 0x1017c0ea
call fcn.1012b67a
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x5c]
mov dword [esi], vtable.CTaskMgr.0
call fcn.100735c5
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
lea ecx, [esi + 0x78]
call fcn.10016225
mov byte [ebp - 4], 2
lea ecx, [esi + 0x80]
call fcn.10016225
mov byte [ebp - 4], 3
lea ecx, [esi + 0x88]
call fcn.10016225
mov byte [ebp - 4], 4
lea ecx, [esi + 0x90]
call fcn.1009d984
mov byte [ebp - 4], 5
lea ecx, [esi + 0x98]
call fcn.10016225
mov byte [ebp - 4], 6
lea eax, [esi + 0xa0]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.1006e0f8
mov byte [ebp - 4], 8
lea ecx, [esi + 0xa8]
call fcn.10129cbf
mov byte [ebp - 4], 9
lea ecx, [esi + 0xd8]
call fcn.100416fa
mov byte [ebp - 4], 0xa
push str.psapi.dll
mov dword [esi + 0x58], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x14], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
test eax, eax
je 0x1011a8ea
push 0x101b041c
push eax
call edi
push str.EnumProcessModulesEx
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
mov dword [esi + 0x14], eax
and dword [esi + 0x10], 0
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x1011a94c
push str.NtQueryInformationProcess
push eax
call edi
push str.ZwQueryInformationProcess
push dword [esi + 0xc]
mov dword [esi + 0x10], eax
call edi
push str.ZwQueryVirtualMemory
push dword [esi + 0xc]
mov dword [esi + 0x20], eax
call edi
push str.ZwSetInformationProcess
push dword [esi + 0xc]
mov dword [esi + 0x24], eax
call edi
push str.ZwQueryInformationThread
push dword [esi + 0xc]
mov dword [esi + 0x28], eax
call edi
push str.ZwSetInformationThread
push dword [esi + 0xc]
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
xor edi, edi
mov ecx, esi
push edi
mov dword [esi + 0x1c], edi
call fcn.1011c78b
lea ecx, [esi + 0xa0]
call fcn.1011c588
lea ecx, [esi + 0xd8]
call fcn.100417f3
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
call fcn.1012998f
cmp dword [eax + 8], edi
je 0x1011a99f
call fcn.1012998f
cmp dword [eax + 4], edi
je 0x1011a998
lea ecx, [esi + 0xa8]
call fcn.10129e0f
test eax, eax
jne 0x1011a99a
mov ebx, edi
mov dword [esi + 0x54], ebx
jmp 0x1011a9a2
mov dword [esi + 0x54], edi
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.1012b643
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