joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cb51
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._netmon360QandAExpert.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41cbc0
push 1
push ebx
push esi
lea eax, [ebp - 0x20c]
push eax
push str.open
push ebx
call fcn.0041bccc
add esp, 0x18
cmp eax, 0x20
setg bl
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret

Function at 0x41d7e8
Capabilities:
Check if file exists
Delete file
Get file size
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], ecx
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 0xc]
xor esi, esi
push esi
push 0x80
neg ecx
mov dword [ebp + 8], eax
push 4
sbb ecx, ecx
push esi
and ecx, 0x40000000
push 5
add ecx, 0x80000000
push ecx
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41d83a
mov eax, 0x802
jmp 0x41d901
push esi
cmp dword [ebp + 8], esi
jne 0x41d889
lea eax, [ebp + 8]
mov dword [ebp + 0xc], 0xfeff
push eax
push 2
lea eax, [ebp + 0xc]
mov dword [ebp + 8], esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d873
cmp dword [ebp + 8], 2
jne 0x41d873
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41d901
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 0x805
jmp 0x41d901
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 2
jbe 0x41d8f4
push esi
push ebx
push esi
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x41d8b2
mov esi, 0x806
jmp 0x41d8f4
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp + 8], eax
test eax, eax
jne 0x41d8d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x807
jmp 0x41d8eb
mov ecx, dword [ebp - 4]
add eax, 2
shr ebx, 1
dec ebx
push ebx
push eax
call fcn.0041d908
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x41d8ff
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41dc0a
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call fcn.00403a64
push eax
lea ecx, [ebp - 4]
call fcn.00402a6b
mov ebx, dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
mov dword [ebp - 8], eax
inc edi
test eax, eax
je 0x41dc7e
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41dc7e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebx
lea eax, [ebp - 4]
push str._s__d.bak
push eax
call fcn.00415254
mov esi, dword [ebp - 4]
add esp, 0x10
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x41dc81
xor edi, edi
jmp 0x41dcf9
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], edi
movzx eax, word [eax]
push eax
call sub.msvcrt.dll_towlower
movzx ecx, word [ebx]
mov di, ax
push ecx
call sub.msvcrt.dll_towlower
pop ecx
pop ecx
cmp di, ax
je 0x41dca8
push 3
pop eax
jmp 0x41dcab
mov eax, dword [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
test edi, edi
je 0x41dcc7
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41dcd8
xor edi, edi
cmp dword [ebp - 8], edi
je 0x41dcd8
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dcf9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41dcf9
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esi - 0x10]
call fcn.004042e9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41e7fd
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_EnableWindow]
pop esi
ret

Function at 0x41ea4b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x20c]
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._netmon360NetRepair.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41eab0
push 1
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
push str.open
push esi
call fcn.0041bccc
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret

Function at 0x41ef89
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0x434
push dword [edi + 4]
mov dword [edi + 0x88], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x614
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call ebx
push 0
push dword [edi + 0x80]
call ebx
sub esi, 1
je 0x41eff0
sub esi, 1
je 0x41efe6
sub esi, 1
jne 0x41f003
push 0x614
jmp 0x41eff5
push 5
push dword [edi + 0x80]
jmp 0x41f001
push 0x434
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4211bf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x576d60], 0
jne 0x4212a8
push ebx
push esi
push edi
mov esi, 0x400
lea eax, [ebp - 0x404]
push esi
xor edi, edi
push edi
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 1
push edi
push eax
mov dword [ebp - 0x808], esi
call sub.msvcrt.dll_memset
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x808]
add esp, 0x18
mov ebx, str.Install_Dir
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x80c]
push eax
push ebx
push str.SOFTWAREAutoTool
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x42126f
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x80c]
push eax
push ebx
push str.SOFTWAREAutoTool_ND
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4212a5
push str.._bbttool.exe
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 5
push edi
push str._DiagFb
lea eax, [ebp - 0x804]
push eax
push str.open
push edi
call fcn.0041bccc
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00522d04
leave
ret

Function at 0x421318
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call fcn.00403a64
push eax
lea ecx, [ebp - 4]
call fcn.00402a6b
push 0x5c
push dword [ebp + 8]
call sub.msvcrt.dll_wcsrchr
pop ecx
pop ecx
test eax, eax
je 0x421382
sub eax, dword [ebp + 8]
sar eax, 1
cmp eax, 1
jle 0x421382
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 8]
call fcn.00403edc
push eax
lea ecx, [ebp - 4]
call fcn.00402bd6
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004042e9
mov eax, dword [ebp - 4]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00402f5d
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.00421318
pop ecx
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004042e9
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x422b70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea edi, [ebx + 0x78]
test edi, edi
je 0x422b96
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, str.true
cmp dword [ebp + 8], 0
jne 0x422bb6
mov eax, str.false
push esi
push eax
push 0x52bb10
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.00523653
lea eax, [ebp - 0x44]
push eax
call sub.msvcrt.dll_wcslen
add esp, 0x18
lea ecx, [ebx + 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00410dd4
lea eax, [ebp - 0x48]
push str._appdata_360DiagnoseScanLastScan.log
push eax
call fcn.004213e2
mov esi, dword [ebp - 0x48]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, ebx
call fcn.00422670
mov ecx, ebx
call fcn.00422608
lea ecx, [esi - 0x10]
call fcn.004042e9
test edi, edi
je 0x422c1c
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 8

Function at 0x423059
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x84]
mov ebx, 0x80
mov esi, ecx
push ebx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x88], ebx
cmp dword [esi + 0x40], 0
mov eax, str.NewTitle_PlanTask
jne 0x4230a1
mov eax, str.NewTitle
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push 0
push eax
push str.Software360Safe360DiagnoseScan
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.00403a64
push eax
mov ecx, edi
call fcn.00402a6b
lea eax, [ebp - 0x84]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
test eax, eax
je 0x4230f5
lea eax, [ebp - 0x84]
push eax
push str._._fsize12_boldtrue_colorrgb_115_115_115____._
push edi
call fcn.00415254
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 4
Function at 0x42465a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x4247bb
push edi
xor edi, edi
cmp dword [ebp - 4], 2
jle 0x4247b1
push str._bbt_netdiag
push dword [esi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x4246d8
inc edi
call fcn.004a4f79
lea eax, [ebp - 0xc]
push eax
call fcn.0042166a
pop ecx
push 0
push 0
mov ecx, dword [eax]
push 0
push str.bbt_netdiag
call fcn.0042528b
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4246ca
call fcn.00420b3e
push esi
push dword [ebp - 4]
call fcn.00424a99
jmp 0x424797
push str._bbt_adware
push dword [esi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x424701
xor edi, edi
inc edi
call fcn.004a4f79
push esi
push dword [ebp - 4]
call fcn.00424454
jmp 0x424797
push str._bbt_ssr
push dword [esi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x424727
xor edi, edi
inc edi
call fcn.004a4f79
push esi
push dword [ebp - 4]
call fcn.00424f23
jmp 0x424797
push str._bbt_script
push dword [esi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x42474d
xor edi, edi
inc edi
call fcn.004a4f79
push esi
push dword [ebp - 4]
call fcn.00424d84
jmp 0x424797
push str._bbt_main
push dword [esi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x424773
xor edi, edi
inc edi
call fcn.004a4f79
push esi
push dword [ebp - 4]
call fcn.004247be
jmp 0x424797
push str._bbt_check
push dword [esi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x42479b
xor edi, edi
inc edi
call fcn.004a4f79
push esi
push dword [ebp - 4]
call fcn.004244ff
pop ecx
pop ecx
jmp 0x4247b1
push str._ext_get_category
push dword [esi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x4247b1
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x425021
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x4250e0
push esi
xor esi, esi
cmp dword [ebp - 4], 2
jle 0x4250d6
push str._bbt_netdiag
push dword [edi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x4250d3
push str._bbt_adware
push dword [edi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x4250d3
push str._bbt_ssr
push dword [edi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x4250d3
push str._bbt_script
push dword [edi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x4250d3
push str._bbt_main
push dword [edi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x4250d3
push str._bbt_check
push dword [edi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x4250d3
push str._ext_get_category
push dword [edi + 4]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x4250d6
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop esi
pop edi
leave
ret

Function at 0x425d11
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
xor ebx, ebx
xor esi, esi
push 0x20a
push ebx
push eax
mov dword [ebp - 0x424], ebx
inc esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push str.SYSTEMCurrentControlSetControlCrashControl
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x425d6c
xor eax, eax
jmp 0x425e38
push 0x20a
lea eax, [ebp - 0x41c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x420], 1
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0x208
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
push str.MinidumpDir
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425e1a
cmp dword [ebp - 0x420], 2
jne 0x425de4
push 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x425e05
cmp dword [ebp - 0x420], 1
jne 0x425e1c
lea eax, [ebp - 0x41c]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00418e21
push 0x52d594
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x425e1c
mov esi, ebx
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x425e36
xor esi, esi
inc esi
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x426638
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x104
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.Utils360FeedBack.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426714
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00425e47
pop ecx
pop ecx
test eax, eax
je 0x426714
push 0x3c
lea eax, [ebp - 0x248]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x248], 0x3c
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x23c], str.open
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x22c], 1
push eax
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x234], str.__catlogOther__desc
mov dword [ebp - 0x244], 0x1040
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00522d04
leave
ret

Function at 0x42949f
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x42955c
push 0xf01ff
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x4294df
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x42955c
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x429550
mov eax, dword [ebp - 8]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x429550
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
mov eax, dword [ebp - 4]
je 0x429549
cmp dword [eax + 4], 4
je 0x429546
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
mov eax, dword [ebp - 4]
je 0x429549
xor edi, edi
inc edi
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004042e9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x429cd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x429d1f
push 0x52ecd8
push 0x4ed
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push edi
push edi
lea eax, [esi - 0x20]
push eax
push 0x42a002
push edi
push edi
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [esi + 0x24], eax
push edi
push 0x64
push 1
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
pop edi
inc eax
pop esi
pop ebp
ret 8

Function at 0x42a0b7
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x527fb4
lea ecx, [ebp + 8]
call fcn.00419990
test al, al
je 0x42a0e0
xor esi, esi
jmp 0x42a1ce
push ebx
push edi
push 8
pop ebx
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jb 0x42a0f0
mov eax, dword [ebp + 8]
xor esi, esi
push esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0045997a
xor eax, eax
mov dword [ebp - 0xc], esi
push 0x10000
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
add esp, 0x10
mov edi, eax
xor eax, eax
push 0x8000
push edi
push str._AppData_360DiagnoseScan_
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x42a1bc
cmp eax, 0x8000
jae 0x42a1bc
xor ecx, ecx
push edi
mov word [edi + eax*2], cx
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00410dd4
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
lea eax, [ebp - 0x1c]
pop ecx
cmp dword [ebp - 8], ebx
jb 0x42a16a
mov eax, dword [ebp - 0x1c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004292b1
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x42a18d
mov eax, dword [eax]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], ebx
jb 0x42a198
mov ecx, dword [ebp + 0x20]
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], ebx
jb 0x42a1a3
mov edx, dword [ebp - 0x34]
push eax
push ecx
push 0x52ec70
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x4c]
call fcn.00410d88
xor esi, esi
inc esi
lea ecx, [ebp - 0x1c]
call fcn.00410d88
lea ecx, [ebp - 0x34]
call fcn.00410d88
pop edi
pop ebx
lea ecx, [ebp + 8]
call fcn.00410d88
lea ecx, [ebp + 0x20]
call fcn.00410d88
lea ecx, [ebp + 0x38]
call fcn.00410d88
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret
Function at 0x42ceb7
Capabilities:
Create thread
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x3ea
mov esi, ecx
cmp dword [ebp + 8], edi
jne 0x42cffb
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
mov ebx, dword [sym.imp.USER32.dll_GetParent]
add esp, 0xc
push dword [esi - 0x1c]
call ebx
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push edi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x20c]
push 0x52f374
push eax
call edi
test eax, eax
jne 0x42cfb0
push 0x52b458
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x42cf73
push 5
lea ecx, [esi - 0x20]
mov dword [esi + 0x30], 1
call fcn.0042e9ff
push dword [esi - 0x1c]
call ebx
push 0
push 0x3ea
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x42cffa
push 0x52f384
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x42cf9e
mov ecx, dword [esi + 8]
push 0
mov dword [esi + 0x30], 1
push 0
mov eax, dword [ecx]
push 0x1dd6
call dword [eax]
jmp 0x42cff3
push 0x52d758
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x42cfdc
xor ebx, ebx
mov dword [esi + 0x30], ebx
add esi, 0xffffffe0
push 2
mov ecx, esi
call fcn.0042e9ff
push ebx
push ebx
push esi
push 0x42efc9
push ebx
push ebx
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42cffa
mov ecx, dword [esi + 8]
push 0
mov dword [esi + 0x30], 1
push 0
mov edx, dword [ecx]
push 0x1dd6
call dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.00522d04
leave
ret 4

Function at 0x42df51
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call sub.msvcrt.dll_memset
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0x554
push dword [esi + 4]
call edi
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x20c], 0
push dword [esi + 4]
je 0x42dfb8
call dword [sym.imp.USER32.dll_GetParent]
push 1
jmp 0x42dfc0
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0x3ea
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret 0x10