joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fd10
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x46fdd1
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
add eax, edi
cmp eax, ecx
jb 0x46fdaf
add ecx, ecx
mov ebp, ecx
cmp ecx, eax
ja 0x46fd3b
mov ebp, eax
push 0
push ebp
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x46fd70
push ebp
push 0
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x46fd7d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
mov eax, 0x300
pop esi
pop ecx
ret 8
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
push ecx
push edx
push edi
call fcn.004e7bd0
mov eax, dword [esi + 0x18]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], edi
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x20], ebp
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x18]
add eax, dword [esi + 0x18]
push edi
push edx
push eax
call fcn.004e7bd0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8
mov eax, dword [esi]
test eax, eax
je 0x46fe00
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop esi
pop ecx
ret 8

Function at 0x4700d0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x58]
push edi
test ecx, ecx
je 0x470123
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x5c]
cmp eax, edi
jae 0x47016d
mov edx, dword [esp + 0x14]
sub edi, eax
cmp edi, edx
jbe 0x4700f6
mov edi, edx
mov ebx, dword [esp + 0x10]
push edi
add eax, ecx
push eax
push ebx
call fcn.004e7bd0
mov eax, dword [esi + 0x4c]
add dword [esi + 0x60], edi
add dword [esi + 0x48], edi
push edi
push ebx
push eax
call fcn.0046f6a0
add esp, 0x18
mov dword [esi + 0x4c], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [esi + 0x50]
test eax, eax
je 0x470166
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47016d
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x4c]
add dword [esi + 0x48], edi
push edi
push ebx
push eax
call fcn.0046f6a0
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov dword [esi + 0xc], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x4713d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
push edi
xor edi, edi
mov dword [esi + 0x6af80], 2
lea ebp, [ebx + 1]
cmp dword [esi + 0x6af90], ebx
je 0x4715f2
cmp dword [esi + 0x6af90], 3
jb 0x471449
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x471489
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x471489
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x471471
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.0046ea40
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x471489
mov edi, eax
cmp edi, 3
jb 0x47156e
mov ecx, dword [esi + 0x6af84]
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.0046e3f0
sub dword [esi + 0x6af90], edi
add esp, 0xc
mov edx, eax
mov eax, dword [esi + 0x6af90]
cmp edi, dword [esi + 0x6af98]
ja 0x471527
cmp eax, 3
jb 0x471527
sub edi, ebp
lea esp, [esp]
add dword [esi + 0x6af84], ebp
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [esi + ecx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor eax, ebx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
sub edi, ebp
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x4714d0
jmp 0x471590
add dword [esi + 0x6af84], edi
mov eax, dword [esi + 0x6af84]
lea ecx, [eax + esi]
movzx eax, byte [ecx + 0x1af70]
mov dword [esi + 0x6af7c], eax
movzx ecx, byte [ecx + 0x1af71]
shl eax, 5
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
xor ecx, eax
and ecx, 0x7fff
push ebp
push esi
xor edi, edi
mov dword [esi + 0x6af7c], ecx
call fcn.0046df30
add esp, 0xc
jmp 0x471596
mov edx, dword [esi + 0x6af84]
movzx eax, byte [edx + esi + 0x1af70]
push eax
push 0
push esi
call fcn.0046e3f0
add esp, 0xc
dec dword [esi + 0x6af90]
mov edx, eax
add dword [esi + 0x6af84], ebp
test edx, edx
je 0x4715d0
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x4715ad
lea ecx, [eax + esi + 0x1af70]
jmp 0x4715af
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00471210
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x4715e5
push esi
call fcn.0046ec20
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x4713f5
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x471605
lea ecx, [eax + esi + 0x1af70]
jmp 0x471607
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push ebp
sub edx, eax
push edx
push ecx
push esi
call fcn.00471210
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4730d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
push 0
call fcn.004e5f5f
add esp, 4
mov esi, eax
mov dword [esp + 0xc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
push 4
sub esi, edx
lea edx, [esp + 8]
push edx
push 4
push str.StartTime
push str.SOFTWARE360sd
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop esi
add esp, 0xc
ret

Function at 0x473560
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 8]
shr eax, 0x14
add esp, 0x20
ret

Function at 0x4735a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x48
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
push esi
push edi
mov edi, dword [esp + 0x58]
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocString
push eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x473637
push 0x3e
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.004e5fc0
add esp, 0xc
push 0
lea edx, [esp + 0xc]
push edx
push 0x40
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 8], 0x40
jne 0x473632
mov ecx, 0x5a4d
cmp word [esp + 0xc], cx
jne 0x473632
mov dword [edi], 1
mov eax, 1
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.004e5fb0
add esp, 0x48
ret
Function at 0x4739a0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 0x82c
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x828], eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0x5c0c00
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun360Disabled
push SysReAllocString
call esi
push 0x5c0c00
push str.SOFTWARE360Safe_softmgr
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x410
lea eax, [esp + 0x420]
push 0
push eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0x410
call fcn.004e5fc0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x420]
push edx
lea eax, [esp + 0xc]
push eax
push 0x5c9898
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x41c], 0
je 0x473b60
push 0x19
lea ecx, [esp + 0x420]
push str.SoftMgr_somextrainfo.ini
push ecx
call fcn.004e6b29
xor edx, edx
push 0x40e
push edx
lea eax, [esp + 0x22]
push eax
mov word [esp + 0x24], dx
call fcn.004e5fc0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x18
lea ecx, [esp + 0x41c]
push ecx
push 0x208
lea edx, [esp + 0x14]
push edx
push 0
push 0x5c9858
push str.360sdHKCU3
call esi
cmp word [esp + 0xc], 0
je 0x473aae
lea eax, [esp + 0x41c]
push eax
push 0x5e8ee8
push str.360sdHKCU3
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
lea ecx, [esp + 0x41c]
push ecx
push 0x208
lea edx, [esp + 0x14]
push edx
push 0
push 0x5c9858
push str.AllRuns
call esi
lea eax, [esp + 0xc]
push 0x5c0c00
push eax
call fcn.004e6559
mov esi, eax
add esp, 8
test esi, esi
je 0x473b60
push 0x5c9824
push esi
call fcn.004e6559
add esp, 8
test eax, eax
je 0x473b2c
lea ecx, [esp + 0xc]
push edi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x473b00
sub ecx, edi
mov edx, eax
lea edi, [esp + 0x10]
sub edx, edi
sar ecx, 1
sar edx, 1
sub ecx, edx
push ecx
add eax, 6
push eax
push esi
call fcn.004e6b69
add esp, 0xc
pop edi
jmp 0x473b43
lea eax, [esp + 0xc]
cmp esi, eax
jne 0x473b3d
xor ecx, ecx
mov word [esp + 0xc], cx
jmp 0x473b43
xor edx, edx
mov word [esi - 6], dx
lea eax, [esp + 0x41c]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x5c9858
push str.AllRuns
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x82c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004e5fb0
add esp, 0x82c
ret

Function at 0x473c20
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push eax
push SysReAllocString
call esi
mov ecx, dword [esp + 0xc]
push ecx
push SysReAllocString
call esi
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop esi
ret
Function at 0x473ce0
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x1420
call fcn.004e6bc0
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x141c], eax
mov eax, dword [esp + 0x1424]
push ebx
push ebp
xor ebx, ebx
push esi
push eax
push ebx
push 0x400
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 5
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
mov dword [esp + 0x10], ebp
cmp ebp, ebx
je 0x473d59
lea ecx, [esp + 0xc]
push ecx
push 8
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x473da5
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x10]
push edx
push 3
push ebx
push str.SYSTEMCurrentControlSet_services
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x473d8b
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x141c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x1420
ret
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push 0x1400
lea edx, [esp + 0x30]
push edx
push 2
push eax
mov dword [esp + 0x2c], 0x1400
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x473dd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x473dfb
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x473e3c
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x473e0a
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x473e1f
push eax
call esi
mov dword [esp + 0xc], ebx
push ebp
call esi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x141c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x1420
ret
push edi
xor edi, edi
cmp dword [esp + 0x2c], ebx
jbe 0x473e8e
mov ebp, dword [sym.imp.ADVAPI32.dll_IsValidSid]
lea esi, [esp + 0x30]
nop
mov eax, dword [esp + 0x18]
push eax
call ebp
test eax, eax
je 0x473e76
mov ecx, dword [esi]
push ecx
call ebp
test eax, eax
je 0x473e76
mov edx, dword [esi]
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x473e82
inc edi
add esi, 8
cmp edi, dword [esp + 0x2c]
jb 0x473e50
jmp 0x473e8a
mov dword [esp + 0x20], 1
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
cmp eax, ebx
je 0x473ea4
push eax
call esi
mov dword [esp + 0xc], ebx
push ebp
call esi
mov ecx, dword [esp + 0x1428]
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x1420
ret
Function at 0x474270
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 8
push edi
mov edi, 1
call fcn.00472f30
test eax, eax
je 0x47428a
lea eax, [edi + 2]
pop edi
add esp, 8
ret
push ebx
push esi
call fcn.004872c0
push 0
push str.Q360SafeMonClass
mov ebx, eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, dword [esp + 0x18]
mov ecx, 0xe7
test esi, esi
jne 0x4742b2
mov ecx, 0xe6
test eax, eax
je 0x4742d0
push 0
push 0xbb8
push edi
push 0x168
push ecx
push 0x417
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [esp + 0xc]
push eax
push 2
push 0
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov eax, dword [esp + 0xc]
je 0x4742fd
test eax, eax
je 0x47435b
test esi, esi
je 0x47431e
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.SD_PROTECTION
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x47432a
push str.SD_PROTECTION
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x474344
mov edx, dword [esp + 0xc]
push edx
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, edi
pop edi
add esp, 8
ret
cmp eax, 5
jne 0x474350
test ebx, ebx
jne 0x474350
lea edi, [eax - 3]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, edi
pop edi
add esp, 8
ret
Function at 0x474ac0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x3a8
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x3a4], eax
mov eax, dword [esp + 0x3b0]
push ebx
mov ebx, dword [esp + 0x3b0]
xor ecx, ecx
push 0x18e
push ecx
lea edx, [esp + 0x222]
push edx
mov dword [esp + 0x10], eax
mov word [esp + 0x224], cx
call fcn.004e5fc0
add esp, 0xc
lea eax, [esp + 0x218]
push eax
push 0xc7
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x474b34
pop ebx
mov ecx, dword [esp + 0x3a4]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x3a8
ret
push ebp
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call fcn.004e5fc0
mov eax, dword [0x5c99cc]
mov cx, word [0x5c99d0]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
add esp, 0xc
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
lea edi, [esp + 0x220]
push esi
mov dx, word [edi]
push 0x104
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov word [esp + 0x20], dx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x474bd0
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
jmp 0x474ba0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474ba0
sub eax, edx
sar eax, 1
mov esi, eax
mov edx, 0x5c
mov word [esp + esi*2 + 0x1c], dx
inc esi
push esi
lea ecx, [esp + 0x20]
push ecx
xor eax, eax
push ebx
mov word [esp + esi*2 + 0x28], ax
call ebp
test eax, eax
je 0x474bfb
mov dx, word [edi]
add edi, 2
test dx, dx
jne 0x474bd0
cmp word [edi], dx
jne 0x474b73
xor eax, eax
mov ecx, dword [esp + 0x3b4]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x3a8
ret
mov edx, dword [esp + 0x3c4]
lea eax, [ebx + esi*2]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x5c6690
push edx
push eax
call fcn.0041c890
add esp, 0x14
mov eax, 1
jmp 0x474be2
Function at 0x474e70
Capabilities:
Create process on windows
Initialize iwebbrowser2

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xfffffffffffffffe
push 0x5fd558
push 0x4e93b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x61ac94]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x80c]
xor eax, eax
mov word [ebp], ax
push 0x7fe
xor ebx, ebx
push ebx
lea ecx, [ebp + 2]
push ecx
call fcn.004e5fc0
push edi
push 0x5c7588
push 0x800
lea edx, [ebp]
push edx
call fcn.0041c900
add esp, 0x1c
push 5
push ebx
lea eax, [ebp]
push eax
push str.Explorer
push 0x5e8ee8
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x474fd5
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x1c]
push ecx
push 0x5d744c
push 0x15
push ebx
push 0x5d748c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x474fe5
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x474fc8
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov edx, dword [edx + 0x94]
call edx
mov eax, dword [ebp - 0x20]
mov esi, eax
cmp eax, ebx
je 0x474f68
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x474f70
sub eax, edx
sar eax, 1
je 0x474fbd
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov word [ebp - 0x30], ax
mov ecx, 8
mov word [ebp - 0x44], cx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x44]
push ecx
push eax
mov edx, dword [edx + 0xd0]
call edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x474ff4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004e5fb0
add ebp, 0x804
mov esp, ebp
pop ebp
ret
Function at 0x4752d0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
push 0x10c
call fcn.004a3ce6
mov esi, eax
add esp, 4
test esi, esi
je 0x475304
push str.Q360MonMutex
lea eax, [esi + 8]
push 0x104
push eax
mov byte [eax], 0
call fcn.0041c630
mov dword [esi], 0
jmp 0x475306
xor esi, esi
lea eax, [esi + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], eax
cmp eax, 0xb7
je 0x475335
cmp eax, 5
je 0x475335
mov al, 1
jmp 0x475346
mov eax, dword [esi]
test eax, eax
je 0x475344
push eax
call ebx
mov dword [esi], 0
xor al, al
xor ecx, ecx
test al, al
sete cl
cmp dword [esi + 4], 0
mov edi, ecx
jne 0x475367
mov eax, dword [esi]
test eax, eax
je 0x475367
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi]
push edx
call ebx
push esi
call fcn.004a3d15
add esp, 4
test edi, edi
jne 0x47538a
push edi
push str.Q360SafeMonClass
call dword [sym.imp.USER32.dll_FindWindowW]
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x475460
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x42c
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x428], eax
mov eax, dword [esp + 0x430]
push ebx
mov ebx, dword [esp + 0x438]
push ebp
mov ebp, dword [esp + 0x440]
push esi
push edi
push eax
push 8
xor esi, esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4754bc
lea ecx, [esp + 0x10]
push ecx
push edi
mov dword [esp + 0x18], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x4754c0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x475521
lea edx, [esp + 0x30]
push ebx
push edx
call fcn.004e8728
add esp, 8
test eax, eax
je 0x4754e3
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4754c0
jmp 0x475518
lea eax, [esp + 0x230]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4754f0
sub eax, edx
mov edx, dword [esp + 0x44c]
lea ecx, [esp + 0x230]
push ecx
push edx
sar eax, 1
push ebp
lea esi, [eax + 1]
call fcn.0040be00
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x438]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x42c
ret
Function at 0x476520
Capabilities:
Create directory

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x47652f
xor eax, eax
pop edi
pop ecx
ret
push 0x5c
push edi
call fcn.004e603a
add esp, 8
test eax, eax
je 0x47652a
mov ecx, edi
push esi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x476544
push ebx
sub ecx, esi
push ebp
sar ecx, 1
add eax, 2
lea ecx, [edi + ecx*2]
push 0x5c
push eax
mov dword [esp + 0x20], ecx
call fcn.004e603a
mov esi, eax
add esp, 8
test esi, esi
je 0x4765d9
lea ebp, [esi + 2]
cmp ebp, dword [esp + 0x18]
jae 0x4765d9
call fcn.004a581f
push eax
sub esi, edi
sar esi, 1
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.0040bf10
mov ebx, dword [esp + 0x10]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4765ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4765fe
push 0x5c
push ebp
call fcn.004e603a
mov esi, eax
lea eax, [ebx - 0x10]
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4765d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x476570
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4765f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x47661a
pop ebp
pop ebx
pop esi
mov eax, 1
pop edi
pop ecx
ret
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47661a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
pop ecx
ret