joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496c30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x5438cc
call fcn.0040121e
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push 0x19
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x206
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x496cba
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call fcn.0040127c
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x496cd7
mov eax, dword [ebp - 4]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
cmp eax, esi
pop esi
je 0x496ceb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
leave
ret

Function at 0x497125
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5438cc]
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, 0x5438cc
push edi
mov ecx, esi
call dword [eax + 0xc]
mov edi, eax
mov eax, dword [0x5438cc]
add edi, 0x10
mov ecx, esi
mov dword [ebp - 4], edi
call dword [eax + 0xc]
and dword [ebp - 0x14], 0
and dword [ebp - 0xc], 0
push 1
mov ebx, eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
add ebx, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0xc]
mov dword [ebp - 8], ebx
call fcn.00403a08
test eax, eax
jne 0x497184
mov dword [ebp - 0x14], 1
jmp 0x497198
lea eax, [ebp - 8]
push eax
push 0x51b8b0
lea ebx, [ebp - 0xc]
call fcn.00403a8b
mov ebx, dword [ebp - 8]
xor esi, esi
cmp dword [ebp - 0xc], esi
je 0x4971a8
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], esi
jne 0x497237
cmp dword [ebx - 0xc], esi
je 0x49723e
mov esi, 0x510ad8
push esi
lea eax, [ebp - 4]
push eax
call fcn.0040127c
push 0
lea eax, [ebp - 0x14]
call fcn.00496e16
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.004246f5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401239
push 0x50d548
lea eax, [ebp - 4]
push eax
call fcn.00407371
push esi
lea eax, [ebp - 4]
push eax
call fcn.00407371
push str.__autorun
lea eax, [ebp - 4]
push eax
call fcn.00407371
lea eax, [ebp - 4]
call fcn.00407211
lea eax, [ebp - 8]
call fcn.00407211
mov edi, dword [ebp - 4]
push edi
lea eax, [ebp - 8]
push eax
call fcn.004249a1
test eax, eax
mov ebx, dword [ebp - 8]
jne 0x49723e
mov dword [ebp - 0x10], 1
lea eax, [ebx - 0x10]
call fcn.00401239
lea eax, [edi - 0x10]
call fcn.00401239
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x497327
Capabilities:
Read file on windows

Disassembly:
push 0x18
push 0x531e50
call fcn.004d5f64
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x497373
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MSVCR80.dll__local_unwind2
pop ecx
pop ecx
jmp 0x4973c6
mov edi, 0x25800
push edi
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
mov dword [ebp - 0x20], ebx
pop ecx
cmp ebx, esi
je 0x4973b2
push esi
lea eax, [ebp - 0x24]
push eax
push edi
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
je 0x4973b2
cmp dword [ebp - 0x24], esi
je 0x4973b2
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
call fcn.004977b4
mov dword [ebp - 0x28], eax
jmp 0x497384
or dword [ebp - 4], 0xffffffff
call fcn.004973d0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
xor esi, esi
inc esi
mov eax, esi
call fcn.004d5f9f
ret
Function at 0x497606
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x4d6cd8
call fcn.004d605c
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0x4977a3
cmp dword [ebp + 0xc], esi
je 0x4977a3
push esi
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR80.dll__waccess]
pop ecx
pop ecx
test eax, eax
jne 0x49779e
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
call ebx
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x497776
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x497776
push edi
call dword [sym.imp.MSVCR80.dll_malloc]
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x497776
mov dword [ebp - 0x28], esi
push esi
lea ecx, [ebp - 0x28]
push ecx
push edi
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x20], 0x100000
mov dword [ebp - 4], esi
cmp dword [ebp - 0x14], esi
je 0x4976c3
push dword [ebp - 0x14]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
pop ecx
mov edx, eax
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
lea edi, [ebp - 0x2c]
call fcn.004cbb80
cmp eax, esi
jne 0x49772b
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], esi
push esi
push 0x80
push 2
push esi
xor edi, edi
inc edi
push edi
push 0x40000000
push dword [ebp + 8]
call ebx
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x497758
push esi
lea ecx, [ebp - 0x30]
push ecx
mov ebx, dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x30], ebx
jne 0x497758
mov dword [ebp - 0x34], edi
jmp 0x497758
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x3200000
jbe 0x49773c
or dword [ebp - 4], 0xffffffff
jmp 0x497758
cmp eax, 0xfffffffb
jne 0x497736
lea eax, [ecx + ecx]
mov dword [ebp - 0x20], eax
jmp 0x4976b4
cmp dword [ebp - 0x24], esi
je 0x497767
push dword [ebp - 0x24]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
cmp dword [ebp - 0x14], esi
je 0x497776
push dword [ebp - 0x14]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
cmp dword [ebp - 0x18], esi
je 0x49778a
cmp dword [ebp - 0x18], 0xffffffff
je 0x49778a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], esi
je 0x49779e
cmp dword [ebp - 0x1c], 0xffffffff
je 0x49779e
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
jmp 0x4977a5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4977f9
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x497819
xor eax, eax
jmp 0x497873
push edi
call fcn.004ce6ea
push edi
push 0
push eax
mov dword [esi], eax
call sub.MSVCR80.dll_memset
add esp, 0x10
push dword [esi]
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x497846
call fcn.004977e9
jmp 0x497815
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x51c010
push dword [esi]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49783f
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
xor eax, eax
mov dword [esi + 4], ecx
inc eax
pop edi
pop esi
leave
ret 4

Function at 0x498310
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5438cc]
and dword [ebp - 8], 0
push ebx
push esi
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [edi + 0x24]
push eax
push edi
call fcn.00498456
lea eax, [ebp - 0xc]
call fcn.00496f4f
push str.ressrcchsuplive.svr
lea eax, [ebp - 0xc]
push eax
call fcn.00407371
mov esi, dword [ebp - 0xc]
push esi
push 0
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.00401239
mov dword [edi + 4], ebx
call fcn.00498562
mov dword [edi + 8], eax
call fcn.0049872e
push 1
push str.SOFTWAREkingsoftAntivirusSetup
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 8]
mov dword [edi + 0xc], eax
call fcn.00403a08
lea esi, [ebp - 4]
call fcn.00401314
mov eax, esi
push eax
push 0x5217c4
lea ebx, [ebp - 8]
call fcn.00403a8b
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll__wtoi]
pop ecx
mov dword [edi + 0x10], eax
call fcn.00401314
mov eax, esi
push eax
push str.tid1
call fcn.00403a8b
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll__wtoi]
pop ecx
mov dword [edi + 0x14], eax
call fcn.00401314
mov eax, esi
push eax
push str.tid2
call fcn.00403a8b
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll__wtoi]
pop ecx
mov dword [edi + 0x18], eax
call fcn.00401314
mov eax, esi
push eax
push str.tod1
call fcn.00403a8b
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll__wtoi]
pop ecx
mov dword [edi + 0x1c], eax
call fcn.00401314
mov eax, esi
push eax
push str.tod2
call fcn.00403a8b
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.MSVCR80.dll__wtoi]
mov dword [edi + 0x20], eax
pop ecx
lea eax, [esi - 0x10]
call fcn.00401239
cmp dword [ebp - 8], 0
pop esi
pop ebx
je 0x498451
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
leave
ret
Function at 0x498562
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xe0
mov eax, dword [0x5438cc]
push ebx
push esi
mov esi, 0x5438cc
xor ebx, ebx
push edi
mov ecx, esi
mov dword [ebp + 0x60], ebx
call dword [eax + 0xc]
push 0x10
pop edi
add eax, edi
mov dword [ebp + 0x64], eax
mov eax, dword [0x5438cc]
mov ecx, esi
call dword [eax + 0xc]
add eax, edi
push 0xc6
mov dword [ebp + 0x6c], eax
lea eax, [ebp - 0x66]
push ebx
push eax
mov word [ebp - 0x68], bx
call sub.MSVCR80.dll_memset
mov eax, dword [0x5438cc]
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
add eax, edi
mov dword [ebp + 0x70], eax
mov eax, dword [0x5438cc]
mov ecx, esi
call dword [eax + 0xc]
mov ebx, eax
add ebx, edi
lea eax, [ebp + 0x68]
mov dword [ebp + 0x74], ebx
call fcn.00496f4f
lea edi, [ebp + 0x6c]
call fcn.0042a0a0
mov eax, dword [ebp + 0x68]
add eax, 0xfffffff0
call fcn.00401239
mov eax, edi
call fcn.00407211
mov eax, edi
lea edi, [ebp + 0x64]
call fcn.0042a0a0
push str.ressrcchsuplive.svr
lea eax, [ebp + 0x6c]
push eax
call fcn.00407371
push str.ressrcchskismain.ini
mov eax, edi
push eax
call fcn.00407371
push dword [ebp + 0x6c]
lea eax, [ebp - 0x68]
push 0x64
push eax
mov esi, 0x50edd8
push esi
push 0x50c724
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4986fa
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.0040127c
lea eax, [ebp + 0x74]
call fcn.00407211
mov ebx, dword [ebp + 0x74]
mov ecx, dword [ebx - 0xc]
lea eax, [ebp + 0x68]
push eax
push 2
pop edx
lea eax, [ebp + 0x74]
call fcn.004297d2
lea edi, [ebp + 0x70]
call fcn.0042a0a0
mov eax, dword [ebp + 0x68]
add eax, 0xfffffff0
call fcn.00401239
push esi
push 0x4da9e8
mov eax, edi
push eax
call fcn.00407090
push esi
push 0x50c734
mov eax, edi
push eax
call fcn.00407090
push dword [ebp + 0x64]
lea eax, [ebp - 0x68]
push 0x64
push eax
push esi
push 0x50d398
push str.infos
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4986fa
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x74]
push eax
call fcn.0040127c
lea eax, [ebp + 0x68]
push eax
push 6
pop ecx
lea eax, [ebp + 0x74]
call fcn.00407292
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.004246f5
mov eax, dword [ebp + 0x68]
add eax, 0xfffffff0
call fcn.00401239
push dword [ebp + 0x70]
call dword [sym.imp.MSVCR80.dll__wtoi]
mov ebx, dword [ebp + 0x74]
pop ecx
mov dword [ebp + 0x60], eax
lea eax, [ebx - 0x10]
call fcn.00401239
mov eax, dword [ebp + 0x70]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp + 0x6c]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp + 0x64]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp + 0x60]
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
Function at 0x498988
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call sub.MSVCR80.dll_memset
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x4996cf
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0x11c]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x499722
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x114
call esi
cmp eax, edi
je 0x49973d
cmp dword [ebp - 0x10c], 2
jne 0x49973d
cmp dword [ebp - 0x118], 6
jne 0x49973d
cmp byte [ebp - 2], 1
jne 0x49973d
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4998ac
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
and dword [ebp - 0x114], 0
push 0x110
lea eax, [ebp - 0x110]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [0x54582c], 0
jne 0x499911
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
inc eax
cmp dword [ebp - 0x110], 5
jne 0x49990c
cmp dword [ebp - 0x10c], 0
jne 0x49990c
mov dword [0x545828], eax
mov dword [0x54582c], eax
mov eax, dword [0x545828]
leave
ret

Function at 0x4999d2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5438cc]
push ebx
push esi
push edi
xor edi, edi
mov ecx, 0x5438cc
mov dword [ebp - 0xc], edi
call dword [eax + 0xc]
push edi
push edi
mov esi, eax
push str.InstallDir
lea eax, [ebp - 4]
push str.SOFTWARETencentQQPCMgr
add esi, 0x10
push eax
mov dword [ebp - 8], esi
call fcn.0044dbbe
mov ebx, dword [ebp - 4]
add esp, 0x14
cmp dword [ebx - 0xc], edi
je 0x499a4e
push str.QQPCRealTimeSpeedup.exe
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
call fcn.0042a029
pop ecx
lea edi, [ebp - 8]
call fcn.0042a0a0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401239
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x499a4e
mov dword [ebp - 0xc], 1
lea eax, [ebx - 0x10]
call fcn.00401239
lea eax, [esi - 0x10]
call fcn.00401239
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x499a9f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov edi, str.QQPCRealTimeSpeedup.exe
cmp eax, edi
mov dword [ebp - 0xc], ebx
jne 0x499ac2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x499abb
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 8]
mov esi, 0x22c
mov dword [ebp - 0x23c], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x499b14
xor esi, esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x499abd
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push edi
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x499b61
push esi
lea eax, [ebp - 0x23c]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x23c], esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x499b14
jmp 0x499bbe
push dword [ebp - 0x234]
mov dword [ebp - 0xc], 1
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x499bbe
push 0x424
lea eax, [ebp - 0x660]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x664]
push eax
push esi
mov dword [ebp - 0x664], 0x428
call sub.KERNEL32.dll_Module32FirstW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x444]
push eax
push dword [ebp + 8]
call fcn.0040127c
mov esi, dword [ebp - 0xc]
jmp 0x499b07

Function at 0x499bec
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov ecx, 0x5438cc
mov esi, 0x545a5c
call fcn.0040121e
push 0x400000
lea eax, [ebp - 4]
call fcn.00496e16
pop ecx
mov edi, esi
call fcn.0042a0a0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
push str.data
push esi
call fcn.00407371
push dword [0x545a5c]
call fcn.00478fb8
mov dword [esp], str._rcmdlocal.dat
push esi
call fcn.00407371
push dword [0x545a5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x499c78
push eax
push eax
push 1
push eax
push 1
push SysReAllocStringLen
push dword [0x545a5c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x499c78
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x49a7fe
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2f4
push ebx
push esi
push edi
xor ebx, ebx
push 0xd2
lea eax, [esp + 0x1e]
push ebx
push eax
mov word [esp + 0x24], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x69
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, ebx
jne 0x49a83f
xor eax, eax
jmp 0x49a8f9
cdq
and edx, 3
add eax, edx
mov edi, eax
push 0x208
lea eax, [esp + 0xf6]
push ebx
push eax
sar edi, 2
mov word [esp + 0xfc], bx
call sub.MSVCR80.dll_memset
mov word [esp + 0x304], bx
mov ebx, dword [ebp + 8]
add esp, 0xc
add ebx, 4
lea esi, [esp + 0x18]
call fcn.00435596
test edi, edi
jle 0x49a8f6
mov dword [esp + 0xc], edi
and word [esi + 4], 0
push 0x104
lea eax, [esp + 0xf4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x49a8ed
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x14]
call fcn.004014ce
lea eax, [esp + 0x10]
push eax
mov edi, ebx
call fcn.0043553a
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401239
push esi
lea eax, [esp + 0x18]
call fcn.004014ce
lea eax, [esp + 0x14]
push eax
call fcn.0043553a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00401239
add esi, 8
dec dword [esp + 0xc]
jne 0x49a887
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x49a928
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x49a9a9
push 0x521c10
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x49a9a9
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcessModules
push eax
call edi
push 0x521c38
push dword [esi + 0x18]
mov dword [esi + 8], eax
call edi
push str.GetModuleBaseNameW
push dword [esi + 0x18]
mov dword [esi], eax
call edi
push 0x520b2c
push dword [esi + 0x18]
mov dword [esi + 4], eax
call edi
push 0x520b44
push dword [esi + 0x18]
mov dword [esi + 0xc], eax
call edi
cmp dword [esi], ebx
mov dword [esi + 0x10], eax
pop edi
je 0x49a9a4
cmp dword [esi + 4], ebx
je 0x49a9a4
cmp dword [esi + 8], ebx
je 0x49a9a4
cmp dword [esi + 0xc], ebx
je 0x49a9a4
cmp eax, ebx
je 0x49a9a4
xor eax, eax
inc eax
jmp 0x49a9a6
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
pop ebx
ret
Function at 0x49ab76
Capabilities:
Acquire debug privileges

Disassembly:
push 0x28
push 0x531930
call fcn.004d5f64
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x49abfb
lea eax, [ebp - 0x28]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x49abfb
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x49abfb
mov dword [ebp - 0x20], edi
or dword [ebp - 4], 0xffffffff
call fcn.0049ac0f
mov eax, dword [ebp - 0x20]
call fcn.004d5f9f
ret

Function at 0x49ad3c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov edi, str.360homenetmgr.exe
cmp eax, edi
mov dword [ebp - 0xc], ebx
jne 0x49ad5f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x49ad58
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 8]
mov esi, 0x22c
mov dword [ebp - 0x23c], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x49adb1
xor esi, esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x49ad5a
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push edi
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x49adfe
push esi
lea eax, [ebp - 0x23c]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x23c], esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49adb1
jmp 0x49ae5b
push dword [ebp - 0x234]
mov dword [ebp - 0xc], 1
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x49ae5b
push 0x424
lea eax, [ebp - 0x660]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x664]
push eax
push esi
mov dword [ebp - 0x664], 0x428
call sub.KERNEL32.dll_Module32FirstW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x444]
push eax
push dword [ebp + 8]
call fcn.0040127c
mov esi, dword [ebp - 0xc]
jmp 0x49ada4