joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cb0f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push esi
push eax
call fcn.004040f0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push str.__02d__02d__02d__03d__n
push eax
call fcn.0040da34
mov esi, dword [ebp - 0x18]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esi - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret 4

Function at 0x475f42
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xc
call fcn.004b2fb8
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x475f55
pop ebp
ret
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
xor eax, eax
push eax
push ecx
push 0x475f7f
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
pop ebp
ret
Function at 0x4763de
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], edi
call fcn.00404190
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x47640f
push 0x10
lea eax, [ebp + 8]
push eax
call fcn.004456f9
pop ecx
pop ecx
jmp 0x476428
cmp eax, 1
jne 0x476418
push 0x19
jmp 0x476402
cmp eax, 2
jne 0x47643c
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.004768e6
push eax
lea ecx, [ebp - 4]
call fcn.004048f0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
push dword [ebx]
lea eax, [ebp - 4]
push str._s.lnk
push eax
call fcn.0040da34
mov esi, dword [ebp - 4]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4764f1
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0044554b
lea eax, [ebp - 8]
push esi
push eax
call fcn.00445447
mov eax, dword [ebx + 8]
add esp, 0x10
cmp dword [eax - 0xc], edi
je 0x4764aa
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call fcn.00413ce3
pop ecx
pop ecx
cmp dword [eax], edi
je 0x476502
push dword [eax]
mov dword [ebp - 0xc], 1
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x4764ca
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x4764c7
cmp dword [ebp - 8], edi
je 0x476502
push dword [ebp - 8]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x4764ca
xor edi, edi
inc edi
test byte [ebp - 0xc], 1
je 0x4764db
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e0
lea ecx, [esi - 0x10]
call fcn.004023e0
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
push 0x80004005
call fcn.00401eb0
int3

Function at 0x47650d
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x28], 0
je 0x476563
push dword [esi + 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47655f
mov eax, dword [esi + 0x1c]
cmp dword [eax - 0xc], 0
je 0x47655f
push eax
lea eax, [ebp + 8]
push eax
call fcn.00413d5a
push dword [eax]
call fcn.00413808
mov ecx, dword [ebp + 8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004023e0
push 0
push dword [esi + 0x1c]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x47656c
xor eax, eax
jmp 0x47656c
push dword [esi + 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
pop ebp
ret 4
Function at 0x476709
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x24], 0
je 0x476795
push edi
mov edi, dword [esi + 0x2c]
test edi, edi
push 0x10
pop eax
push 0x19
pop ecx
cmovne eax, ecx
lea ecx, [ebp - 8]
push eax
lea eax, [ebp - 4]
cmove eax, ecx
push eax
call fcn.004456f9
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404b40
add eax, 0x10
add esp, 0xc
mov dword [ebp + 8], eax
test edi, edi
je 0x47675e
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004023e0
test edi, edi
jne 0x476769
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
push dword [esi]
lea eax, [ebp + 8]
push str._s.lnk
push eax
call fcn.0040da34
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.004023e0
mov eax, edi
pop edi
jmp 0x476798
xor eax, eax
inc eax
pop esi
leave
ret 4

Function at 0x47679d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x24], 0
je 0x476850
lea ecx, [ebp - 4]
call fcn.00404190
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.004768e6
push dword [esi]
push dword [eax]
lea eax, [ebp - 4]
push str._s_s.lnk
push eax
call fcn.0040c593
mov ecx, dword [ebp - 8]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.004023e0
push dword [esi]
lea eax, [ebp + 8]
push eax
call fcn.00413897
pop ecx
pop ecx
call fcn.004b2bc8
mov esi, dword [ebp - 4]
cmp eax, 3
jge 0x47680b
push dword [ebp + 8]
call fcn.00445980
pop ecx
jmp 0x476837
cmp eax, 0xd
jge 0x47681a
push dword [ebp + 8]
call fcn.004459cf
jmp 0x476808
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push esi
push 0x150b
call fcn.00445a91
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
mov edi, eax
add ecx, 0xfffffff0
call fcn.004023e0
lea ecx, [esi - 0x10]
call fcn.004023e0
mov eax, edi
jmp 0x476853
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 4

Function at 0x476859
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.00404190
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4768d4
push 0x61a960
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404cd0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret 4
Function at 0x47744e
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.00404190
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4774c9
push str.Internet_Explorer_
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404cd0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret 4

Function at 0x477f41
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x234]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edi, [ebp - 0x2c]
xor eax, eax
push 0xa
pop ecx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x238]
call fcn.00404190
lea eax, [ebp - 0x23c]
push ebx
push eax
call fcn.00479016
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.004048f0
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov esi, str.securitykxescanquarantine.ini
push esi
call edi
pop ecx
push eax
push esi
lea ecx, [ebp - 0x238]
call fcn.0040c36b
mov esi, dword [ebp - 0x238]
lea eax, [ebp - 0x234]
push esi
push 0x208
push eax
push ebx
push str.Path
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x47808d
push 0x14
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x47808d
push 0x5c
pop eax
mov word [ebp - 0x28], ax
xor eax, eax
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x234]
push eax
call edi
pop ecx
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x238]
call fcn.00404cd0
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.004039f0
add esp, 0xc
lea ecx, [ebp - 0x238]
push eax
call fcn.004048f0
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.004023e0
push dword [ebp - 0x238]
call fcn.00478176
lea eax, [ebp - 0x238]
push eax
call fcn.004796af
mov esi, dword [ebp - 0x238]
push esi
call fcn.00478176
add esp, 0xc
inc ebx
lea ecx, [esi - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret
Function at 0x478a82
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xd4
xor edi, edi
lea eax, [ebp - 0xd8]
push edi
push eax
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
push 0x69
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x478bb9
cdq
and edx, 3
add eax, edx
push ebx
sar eax, 2
push 0x208
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2e4]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ebx, [ebp - 0xd8]
xor eax, eax
add esi, 4
mov ecx, esi
mov word [ebp - 0xdc], ax
call fcn.00432f3b
cmp dword [ebp - 0x2e8], edi
jle 0x478b92
mov edi, dword [ebp - 0x2e8]
xor eax, eax
mov word [ebx + 4], ax
lea eax, [ebp - 0x2e4]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x478b8a
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.004040f0
lea eax, [ebp - 0x2e8]
mov ecx, esi
push eax
call fcn.0043275a
mov ecx, dword [ebp - 0x2e8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
push ebx
lea ecx, [ebp - 0x2ec]
call fcn.004040f0
lea eax, [ebp - 0x2ec]
mov ecx, esi
push eax
call fcn.0043275a
mov ecx, dword [ebp - 0x2ec]
lea ecx, [ecx - 0x10]
call fcn.004023e0
add ebx, 8
sub edi, 1
jne 0x478b17
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
pop ebx
test eax, eax
je 0x478bb6
mov eax, dword [esi]
lea ecx, [eax + edi*4]
call fcn.0040c9f9
mov eax, dword [esi + 4]
inc edi
sub eax, dword [esi]
sar eax, 2
cmp edi, eax
jb 0x478b9f
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret
Function at 0x478ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
lea ecx, [ebp - 8]
mov dword [ebp - 4], esi
call fcn.00404190
cmp dword [ebp - 4], esi
je 0x478cc2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push str.SOFTWAREKingsoftKISCommon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x478d76
push ebx
mov ebx, esi
mov dword [ebp - 0xc], esi
cmp dword [ebp - 4], ebx
je 0x478d75
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push str.InstallTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x10], 1
je 0x478d11
cmp dword [ebp - 0x10], 2
jne 0x478d75
lea ecx, [ebp - 8]
call fcn.004041c0
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
shr eax, 1
inc eax
push eax
call fcn.004047c0
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.InstallTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x478d58
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, dword [ebp - 0x14]
xor ebx, ebx
shr eax, 1
inc ebx
mov word [ecx + eax*2], dx
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.0040e311
test ebx, ebx
je 0x478d75
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.004048f0
xor esi, esi
inc esi
pop ebx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
cmp dword [ebp - 4], 0
je 0x478d90
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x47920e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
call fcn.0047939b
pop ecx
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47929e
push esi
push 0x5c
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_wcsrchr
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x479245
or esi, 0xffffffff
jmp 0x47924a
sub esi, dword [ebp - 4]
sar esi, 1
push 0x2e
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_wcsrchr
pop ecx
pop ecx
test eax, eax
jne 0x47925f
or eax, 0xffffffff
jmp 0x479264
sub eax, dword [ebp - 4]
sar eax, 1
cmp esi, 0xffffffff
je 0x47929d
cmp eax, 0xffffffff
je 0x47929d
cmp esi, eax
jge 0x47929d
sub eax, esi
lea ecx, [ebp - 4]
dec eax
push eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00403da0
mov ecx, dword [ebp + 8]
push eax
call fcn.004048f0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
xor edi, edi
inc edi
pop esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004023e0
mov eax, edi
pop edi
leave
ret
Function at 0x479a8d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.00404190
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x479b23
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00404cd0
mov ebx, str.kantivirusTemp_
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push ebx
mov ecx, edi
call fcn.0040c36b
push dword [edi]
call fcn.00413808
pop ecx
pop ebx
jmp 0x479b2a
mov ecx, edi
call fcn.004041c0
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.004b3004
leave
ret

Function at 0x479ba1
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push str.ressrcchsuplive.svr
push eax
call fcn.004793bb
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x479be0
mov ecx, dword [ebp + 0xc]
push 0x698774
call fcn.004040f0
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004023e0
mov eax, dword [ebp + 0xc]
jmp 0x479c3b
push esi
push edi
lea ecx, [ebp + 8]
call fcn.00404190
push dword [ebp - 4]
push 0
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea eax, [ebp + 8]
push 0x612dc4
push eax
call fcn.0040c593
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
push esi
call fcn.00404b40
mov edi, dword [ebp + 0xc]
add esp, 0x10
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.004023e0
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004023e0
mov eax, edi
pop edi
pop esi
leave
ret 8

Function at 0x479d9f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push str.SOFTWAREkingsoftAntivirus
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x479dfd
mov dword [ebp - 8], 4
cmp dword [ebp - 4], esi
je 0x479e0c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str.uninstall_count
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x479dfd
cmp dword [ebp - 0xc], 4
jne 0x479dfd
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
inc esi
cmp dword [ebp - 4], 0
je 0x479e0c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x479e11
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push str.CLSID9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0Implemented_CategoriesA5F7140E_4311_4ef9_AABC_F55941B5EBE5
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x479e6f
mov dword [ebp - 8], 4
cmp dword [ebp - 4], esi
je 0x479e7e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str.uninstall_count
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x479e6f
cmp dword [ebp - 0xc], 4
jne 0x479e6f
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
inc esi
cmp dword [ebp - 4], 0
je 0x479e7e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x47a19b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push str.softwarekhealtheye_setup
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x47a200
mov dword [ebp - 8], 4
test eax, eax
je 0x47a1f6
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push esi
push str.independent
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x47a1f6
cmp dword [ebp - 0xc], 4
cmove esi, dword [ebp - 0x10]
xor ebx, ebx
cmp esi, 1
sete bl
jmp 0x47a202
mov ebx, esi
test eax, eax
je 0x47a20d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x47a285
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 4]
xor edi, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.0043cc58
mov eax, dword [ebp + 0x14]
add esp, 0x10
mov ebx, edi
mov eax, dword [eax]
jmp 0x47a2de
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00413eaa
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 8]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004023e0
test esi, esi
je 0x47a2e5
mov eax, dword [ebp + 0x14]
inc ebx
mov eax, dword [eax + ebx*4]
test eax, eax
jne 0x47a2ad
xor edi, edi
inc edi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004023e0
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47a4ff
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push ebx
push esi
push eax
push 0x20219
push 0
push str.SOFTWAREKingsoft_antivirus
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47a5b3
mov eax, dword [ebp - 8]
push 4
pop esi
mov dword [ebp - 4], esi
test eax, eax
je 0x47a5b6
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.operation_pure_vip_switch
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47a5b3
cmp dword [ebp - 0xc], esi
jne 0x47a5b3
cmp dword [ebp - 0x10], eax
je 0x47a5b3
lea eax, [ebp - 4]
push eax
call fcn.00413914
lea eax, [ebp - 4]
push eax
call fcn.00413b37
mov esi, str.knewvip.exe
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 0xc
lea ecx, [ebp - 4]
push eax
push esi
call fcn.0040c36b
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
xor ebx, ebx
inc ebx
lea ecx, [ecx - 0x10]
cmp eax, ebx
jne 0x47a5ae
call fcn.004023e0
mov eax, dword [ebp - 8]
jmp 0x47a5b8
call fcn.004023e0
mov eax, dword [ebp - 8]
xor bl, bl
test eax, eax
je 0x47a5c3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x47a906
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push str.50522E42_E2FF_4af9_A1E0_A758791CF3BF
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
lea ecx, [ebp - 8]
mov edi, eax
call fcn.00404190
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00479016
mov esi, dword [ebp - 4]
pop ecx
pop ecx
cmp dword [esi - 0xc], ebx
je 0x47a993
mov esi, 0x613718
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 4]
call fcn.0040c36b
push dword [ebp + 8]
lea eax, [ebp - 8]
push str._tool:_s
push eax
call fcn.0040c593
add esp, 0xc
cmp dword [ebp + 0xc], ebx
je 0x47a977
push ebx
push ebx
push edi
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
push 5
push ebx
push edi
push esi
push 0x61594c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
inc ebx
jmp 0x47a996
mov edi, dword [ebp - 8]
lea ecx, [esi - 0x10]
call fcn.004023e0
lea ecx, [edi - 0x10]
call fcn.004023e0
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret