joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414a68
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], 1
call fcn.00404707
xor ebx, ebx
lea ecx, [ebp - 4]
push ebx
push 0x43ed34
call fcn.00404a42
cmp eax, ebx
jle 0x414bf1
add eax, 2
push edi
push eax
lea eax, [ebp - 8]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.004182b1
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x414be8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x14
pop ecx
call fcn.00431f60
mov edx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x232]
mov word [ebp - 0x234], bx
cmp edx, 0x400
rep stosd dword es:[edi], eax
mov dword [ebp + 8], edx
stosw word es:[edi], ax
jb 0x414b48
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
fild qword [ebp - 0x24]
push ecx
push ecx
lea eax, [ebp - 0x234]
fmul dword [0x435108]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x414b63
push edx
push str._d_MB
lea eax, [ebp - 0x234]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0x43ed10
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, dword [ebp + 8]
pop ecx
jbe 0x414be8
mov dword [esi + 0xa40], 0x4545c8
mov eax, dword [0x43b4ec]
mov dword [ebp + 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0xc], ebx
call fcn.00404768
mov edi, str.iRYOzz
mov eax, edi
test eax, eax
je 0x414ba7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
push dword [ebp + 8]
mov edi, 0x407
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp + 8]
mov dword [esi + 0xf54], 1
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
pop edi
lea ecx, [ebp - 4]
call fcn.00404beb
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 4
Function at 0x415409
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa20
push ebx
push esi
push edi
call fcn.0041cb69
add eax, 0x4c
lea ecx, [ebp - 8]
push eax
call fcn.004046c1
lea eax, [ebp - 8]
push str.pluginbar.dll
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x4154ac
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4154ac
push str.InitPluginbar
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4690a4], eax
je 0x4154ac
and word [ebp - 0x220], 0
push dword [ebp - 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
push 0x43baa0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
push 0x103
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [0x4690a4]
and word [ebp - 0xa20], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa1e]
rep stosd dword es:[edi], eax
and dword [ebp - 0x10], 0
push 4
pop ebx
mov dword [ebp - 0xc], 1
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultFAV
lea eax, [ebp - 0xa20]
push 0x3ff
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call esi
add esp, 0x10
lea eax, [ebp - 0x18]
mov edi, str.isinit
mov esi, SysReAllocString
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x415523
cmp dword [ebp - 0x10], 1
je 0x415538
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, 0x468804
pop edi
mov ecx, eax
pop esi
test ecx, ecx
pop ebx
je 0x41555d
cmp word [0x468804], 0
je 0x41555d
push 0xbb8
push eax
call fcn.0042746c
pop ecx
pop ecx
call fcn.0041cb69
mov ecx, eax
call fcn.004226d0
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
leave
ret

Function at 0x41557b
Capabilities:
Hide graphical window

Disassembly:
add ecx, 0xbfc
jmp 0x418a01
mov eax, dword [ecx + 4]
test eax, eax
je 0x418a11
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x415586
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, 0xbb8
cmp dword [esi + 0x6c8], edi
je 0x4155b0
push ebx
push str.360sess.exe
call fcn.004272df
pop ecx
pop ecx
cmp dword [esi + 0x6c4], edi
je 0x415625
mov word [ebp - 0x218], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x43ecdc
push edi
call fcn.0041cb69
push dword [eax + 0x4c]
lea eax, [ebp - 0x218]
push 0x43c530
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
push edi
call fcn.004272df
add esp, 0x1c
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push 4
push eax
push 4
push str.InstallKillProcess
push str.Software360360se5
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor edi, edi
cmp dword [esi + 0x38], edi
je 0x41573b
cmp word [esi + 0x3c], di
lea ebx, [esi + 0x3c]
je 0x41573b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41573b
mov eax, dword [esi + 0x38]
cmp eax, 1
jne 0x41565e
push ebx
call fcn.00423f26
pop ecx
jmp 0x41573b
cmp eax, 2
jne 0x41573b
call fcn.0041cb69
add eax, 0x4c
lea ecx, [ebp - 4]
push eax
call fcn.004046c1
push ebx
lea ecx, [ebp - 8]
call fcn.00404707
mov eax, dword [0x43b4ec]
push edi
push dword [ebp - 8]
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
call fcn.00404a42
cmp eax, 0xffffffff
je 0x415723
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax - 8]
sub eax, dword [ecx - 8]
lea ecx, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404803
push eax
lea ecx, [ebp - 0xc]
call fcn.00404768
lea ecx, [ebp - 0x10]
call fcn.00404beb
push 1
push 0x43e5ac
lea ecx, [ebp - 0xc]
call fcn.00404a42
cmp eax, 0xffffffff
je 0x415701
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.004047b8
mov eax, dword [eax]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d06
lea ecx, [ebp - 0x10]
call fcn.00404beb
jmp 0x415710
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d06
push dword [ebp - 8]
mov eax, 0x465a24
push eax
push eax
push ebx
call fcn.0042427c
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
call fcn.0041cb69
mov ecx, eax
call fcn.00423379
mov ecx, esi
call fcn.00416700
push 0xc8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push dword [esi + 0x628]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x624]
call fcn.0041c336
push 3
pop eax
push eax
mov dword [esi + 0x460], eax
call fcn.0040755c
pop ecx
push eax
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415c7d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0xf6c], eax
je 0x415d3b
cmp dword [esi + 0x460], 3
jg 0x415d3b
cmp dword [esi + 0x34], eax
jne 0x415d3b
cmp dword [esi + 0x38], eax
jne 0x415d3b
push edi
mov ecx, 0x81
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0041cb69
push dword [eax + 0x4c]
lea eax, [ebp - 0x20c]
push 0x43baa0
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
call fcn.0041cb69
add eax, 0x44
lea ecx, [ebp - 4]
push eax
call fcn.004046c1
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x415d20
lea eax, [ebp - 0x20c]
push eax
call fcn.00423f26
pop ecx
push dword [ebp - 4]
call edi
test eax, eax
pop edi
je 0x415d33
push dword [ebp - 4]
call fcn.00423f26
pop ecx
lea ecx, [ebp - 4]
call fcn.00404beb
mov ecx, esi
call fcn.00415d93
call fcn.0040749a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
leave
ret

Function at 0x415d93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.00431de0
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push str.SoftwareIEStub
push SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415eae
push edi
mov ecx, 0x411
lea edi, [ebp - 0x1056]
mov word [ebp - 0x1058], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov edi, 0x823
push eax
lea eax, [ebp - 0x1058]
push eax
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], 1
call esi
test eax, eax
jne 0x415e8e
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 6
lea eax, [ebp - 0x1058]
push str.8CLSID
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x415e56
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Explorer
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x415e56
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Settings
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x415e59
inc dword [ebp - 0xc]
push 0
lea eax, [ebp - 0x1058]
push 0x1048
push eax
mov dword [ebp - 8], edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push eax
push dword [ebp - 4]
call esi
test eax, eax
je 0x415e11
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 3
pop edi
jne 0x415eae
push str.SoftwareIEStub
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop esi
leave
ret
Function at 0x4162c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov esi, ecx
push edi
push 0x43eeac
lea ecx, [ebp - 4]
call fcn.00404707
and word [ebp - 0x230], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22e]
rep stosd dword es:[edi], eax
and word [ebp - 0x43c], 0
mov ebx, 0x3f7
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x43a]
push ebx
push dword [esi + 4]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
lea ecx, [ebp - 0x43c]
push 0x104
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x20
lea eax, [ebp - 0x28]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0x1041
mov dword [ebp - 0x14], 0x416243
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
mov dword [ebp - 8], eax
je 0x4163a6
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push ebx
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x419305
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 0x60]
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x814]
push 0x400
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4193f0
push 1
pop edi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push ebx
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
call ebx
push 0xfffffffffffffff0
mov dword [ebp - 4], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test ah, 3
je 0x41939f
push edi
jmp 0x4193af
test ah, 1
je 0x4193a8
xor edi, edi
jmp 0x4193b0
test ah, 2
je 0x4193b0
push 2
pop edi
mov eax, dword [esi + 0x40]
and eax, 4
cmp al, 4
jne 0x4193c8
push 1
lea eax, [ebp - 0x14]
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x64]
or edi, 0x24
sub dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x814]
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41a696
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x80]
cmp eax, 0xffffffff
jne 0x41a6cc
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x20]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call ebx
push dword [esi + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41a753
lea edi, [eax + 1]
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.00431de0
mov dword [ebp - 4], esp
push edi
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x41a753
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor ecx, ecx
test al, 1
je 0x41a72d
push 1
jmp 0x41a733
test al, 2
je 0x41a734
push 2
pop ecx
test al, 0xb
je 0x41a73b
push 0x24
pop ecx
or cx, 0x210
lea eax, [ebp - 0x18]
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 8]
push dword [ebp + 8]
call ebx
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41bb3e
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x58], edi
je 0x41bb7c
call fcn.0041c54b
test eax, eax
je 0x41bb82
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x41bfe8
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x74], eax
je 0x41bb7c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
pop esi
leave
ret
mov eax, dword [esi + 0x7c]
cmp eax, edi
je 0x41bb7c
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x7c]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
push edi
neg edx
push edx
mov eax, dword [esi + 0x7c]
push dword [ebp - 8]
mov ecx, dword [eax]
push dword [ebp - 4]
push edi
push dword [esi + 0x34]
push dword [esi + 0x30]
push edi
push edi
push dword [esi + 0x5c]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x41bb7c
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x41bb7e

Function at 0x41bc94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x467f40]
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41bd46
mov eax, dword [0x467f40]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41bd46
mov eax, dword [0x467f40]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41bd3f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41bd38
cmp dword [ebp + 0xc], 0
je 0x41bd38
push edi
push eax
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.0041b6fe
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x41bd48
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41ce7b
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall23F3F476_BE34_4f48_9C77_2806A8393EC4
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov ebp, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [0x43b4ec]
push 0x43ca4c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x43baa0
push eax
call fcn.00409be5
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.DisplayName
push edi
push esi
call ebx
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.DisplayIcon
push edi
push esi
call ebx
push 0x462c3c
add ebp, 0x4c
push 0x43e5ac
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00418311
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00418311
lea ecx, [esp + 0x18]
call fcn.00404beb
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.UninstallString
push edi
push esi
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push str.5.0.7.1
call ebp
pop ecx
shl eax, 1
push eax
push str.5.0.7.1
push 1
push str.DisplayVersion
push edi
push esi
call ebx
push 0x462bec
call ebp
pop ecx
shl eax, 1
push eax
push 0x462bec
push 1
push str.Publisher
push edi
push esi
call ebx
push str.www.360.cn
call ebp
pop ecx
shl eax, 1
push eax
push str.www.360.cn
push 1
push str.Publisher
push edi
push esi
call ebx
lea ecx, [esp + 0x14]
call fcn.00404beb
lea ecx, [esp + 0x10]
call fcn.00404beb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x41d24d
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
and word [ebp - 0x214], 0
push ebx
push esi
mov ebx, ecx
mov edx, 0x81
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x212]
and word [ebp - 0x41c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x41a]
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x208
lea eax, [ebp - 0x214]
push edi
push eax
push dword [ebx + 0x4c]
call esi
lea eax, [ebp - 0x41c]
push edi
push eax
push dword [ebx + 0x48]
call esi
lea eax, [ebp - 0x214]
lea ecx, [ebp - 4]
push eax
call fcn.00404707
lea eax, [ebp - 0x41c]
lea ecx, [ebp - 8]
push eax
call fcn.00404707
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se.exe
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x465a24
push ebx
push edi
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.Path
push ebx
push edi
call esi
mov eax, dword [ebp - 8]
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x465a24
push ebx
push edi
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.Path
push ebx
push edi
call esi
push 0x5c
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcsrchr]
pop ecx
test eax, eax
pop ecx
je 0x41d398
sub eax, dword [ebp - 4]
sar eax, 1
cmp eax, 0xffffffff
je 0x41d398
push eax
lea eax, [ebp - 0xc]
push 0
push eax
lea ecx, [ebp - 4]
call fcn.004182b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.PathSub
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se.exe
push edi
call esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.PathSub
push ebx
push edi
call esi
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d432
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push esi
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], dx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [ebp - 0x218]
push 0x17
push eax
push edx
call esi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x41e]
mov word [ebp - 0x420], dx
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x420]
push 2
push eax
push edx
call esi
mov eax, dword [0x43b4ec]
mov edi, str._s360
mov dword [ebp - 8], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 8]
push edi
push eax
call fcn.00409be5
mov eax, dword [0x43b4ec]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov esi, 0x4631b0
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409be5
mov eax, dword [0x43b4ec]
add esp, 0xc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00409be5
mov eax, dword [0x43b4ec]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00409be5
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 8]
call esi
test eax, eax
je 0x41d523
push dword [ebp - 8]
call fcn.00423f26
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x41d535
push dword [ebp - 4]
call fcn.00423f26
pop ecx
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x41d547
push dword [ebp - 0xc]
call fcn.00423f26
pop ecx
push dword [ebp - 0x10]
call esi
pop edi
pop esi
test eax, eax
je 0x41d55b
push dword [ebp - 0x10]
call fcn.00423f26
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00404beb
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
leave
ret 4