joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46dbca
Capabilities:
Delete file

Disassembly:
push 0x10
mov eax, 0x4a4783
call fcn.0049cb58
mov eax, dword [0x4dff94]
mov ecx, 0x4dff94
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
xor edi, edi
push ebx
push dword [ebp + 0xc]
mov esi, 0x4e08f4
push dword [ebp + 8]
mov dword [ebp - 4], edi
push str.KDownloadHelper::DownloadFileAndDecompress_Begin__szUrl:_ws__szCompressedFile:_ws__szUncompressedFile:_ws__szMd5:_ws
call fcn.0047f2a9
add esp, 0x14
cmp dword [ebp + 0x10], edi
je 0x46dc52
push edi
push ebx
call dword [sym.imp.MSVCR80.dll__waccess]
test eax, eax
pop ecx
pop ecx
jne 0x46dc52
lea eax, [ebp - 0x10]
push eax
push 0x5c
push ebx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
pop ecx
pop ecx
mov ecx, eax
inc ecx
inc ecx
push ebx
call fcn.00482962
test eax, eax
pop ecx
pop ecx
je 0x46dc52
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x46dd26
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
jmp 0x46dc62
xor edi, edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046dd39
test eax, eax
pop ecx
pop ecx
je 0x46dc80
push 0xfffffffffffffffc
jmp 0x46dcfc
push dword [ebp + 0xc]
push ebx
call fcn.00482be0
cmp eax, edi
pop ecx
pop ecx
jne 0x46dca4
push 0xfffffffffffffffb
pop edi
push ebx
push 0
push str.Decompress_return:_d__path:_ws
call fcn.0047f2a9
add esp, 0xc
jmp 0x46dcfd
cmp dword [ebp + 0x10], edi
je 0x46dd0a
lea eax, [ebp - 0x10]
push eax
push 0x5c
push ebx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
pop ecx
pop ecx
mov ecx, eax
inc ecx
inc ecx
push ebx
call fcn.00482962
cmp eax, edi
pop ecx
pop ecx
jne 0x46dcd5
push 0xfffffffffffffff9
pop edi
push ebx
push 0
push str.GetFileMd5_return:_d__path:_ws
jmp 0x46dc9a
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x46dd0a
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.Compare_md5_not_matched__expected:_ws__actually:_ws
call fcn.0047f2a9
add esp, 0xc
push 0xfffffffffffffffa
pop edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x46dc60
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
push eax
push edi
push str.DownloadFileAndDecompress_return:_d__cost_time:_d__url:_ws__path:_ws
call fcn.0047f2a9
add esp, 0x14
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401291
mov eax, edi
call fcn.0049cc30
ret
Function at 0x46e68d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
push edi
xor edi, edi
cmp eax, edi
je 0x46e6b9
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x46e6ea
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
jne 0x46e6c9
xor eax, eax
jmp 0x46e6e8
push edi
push edi
push eax
push 0x46ebe0
push edi
push edi
mov dword [eax], esi
mov dword [eax + 8], edi
mov dword [eax + 4], 0x46e6ed
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
pop edi
leave
ret

Function at 0x46ecf5
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x4a66e0
call fcn.0049cb58
mov eax, dword [0x4dff94]
xor edi, edi
mov ecx, 0x4dff94
mov dword [ebp - 0x14], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0x14]
mov esi, 0x4e08f4
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], edi
push dword [ebp + 8]
push str.KDownloadHelper::DownloadFileAndDecompressCrc_Begin__szUrl:_ws__szCompressedFile:_ws__szUncompressedFile:_ws__szMd5:_ws
call fcn.0047f2a9
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x14
cmp dword [ebp + 0x14], edi
je 0x46ed92
push edi
push dword [ebp + 0x10]
call dword [sym.imp.MSVCR80.dll__waccess]
test eax, eax
pop ecx
pop ecx
jne 0x46ed92
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
call fcn.00482885
test eax, eax
pop ecx
pop ecx
je 0x46ed92
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x4bb380
push eax
call fcn.00408085
add esp, 0xc
push dword [ebp + 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.0040cc33
test eax, eax
je 0x46ee1c
call ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
jmp 0x46ed9e
xor edi, edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046dd39
test eax, eax
pop ecx
pop ecx
je 0x46edbc
push 0xfffffffffffffffc
jmp 0x46ee12
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00482be0
test eax, eax
pop ecx
pop ecx
jne 0x46edd1
push 0xfffffffffffffffb
jmp 0x46ee12
cmp dword [ebp + 0x14], edi
je 0x46ee1c
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
call fcn.00482885
test eax, eax
pop ecx
pop ecx
jne 0x46edec
push 0xfffffffffffffffd
jmp 0x46ee12
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x4bb380
push eax
call fcn.00408085
add esp, 0xc
push dword [ebp + 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.0040cc33
test eax, eax
je 0x46ee1c
push 0xfffffffffffffffe
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
pop edi
jl 0x46ed9c
push dword [ebp + 0x10]
push dword [ebp + 8]
call ebx
sub eax, dword [ebp - 0x1c]
push eax
push edi
push str.DownloadFileAndDecompressCrc_return:_d__cost_time:_d__url:_ws__path:_ws
call fcn.0047f2a9
mov eax, dword [ebp - 0x10]
add esp, 0x14
add eax, 0xfffffff0
call fcn.00401291
mov eax, edi
call fcn.0049cc30
ret
Function at 0x46f538
Capabilities:
Read .ini file

Disassembly:
push 0xc
mov eax, 0x4a2c38
call fcn.0049cb58
mov eax, dword [0x4dff94]
mov ecx, 0x4dff94
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0047adfa
mov edi, eax
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0047ac42
mov byte [ebp - 4], 2
push dword [edi]
push dword [eax]
lea eax, [ebp - 0x10]
push str._sressrc_suplive.svr
push eax
call fcn.00408085
mov eax, dword [ebp - 0x14]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00401291
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401291
mov esi, dword [ebp - 0x10]
push esi
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00401291
mov eax, edi
call fcn.0049cc30
ret

Function at 0x46fb72
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov dword [esi], eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x46fbfb
push ebx
call fcn.0049555c
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46fbec
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4ab2c0
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46fbec
cmp dword [ebp - 0xc], ebx
je 0x46fbec
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x46fbfb
push dword [ebp - 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret 4

Function at 0x46fc03
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46fc3e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x10]
push esi
mov dword [ecx], eax
inc edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x46fc45
Capabilities:
Copy file
Delete file
Move file
Set file attributes

Disassembly:
push 0xc
mov eax, 0x4a2b44
call fcn.0049cb58
mov eax, dword [0x4dff94]
mov ecx, 0x4dff94
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
xor esi, esi
push esi
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x46fc88
and dword [ebp - 0x10], 0
jmp 0x46fcfa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebx
lea eax, [ebp - 0x18]
push str._s_del__x
push eax
call fcn.00408085
mov edi, dword [ebp - 0x18]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push ebx
call dword [sym.imp.MSVCR80.dll__wrename]
test eax, eax
pop ecx
pop ecx
je 0x46fcc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
jmp 0x46fcf4
push 0
push ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x46fce5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCR80.dll__wrename]
pop ecx
pop ecx
jmp 0x46fcf4
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x46fd2e
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00401506
push 0x4b2bf0
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0040917f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401291
push ebx
push dword [ebp + 8]
mov esi, 0x4e08f4
push dword [ebp - 0x10]
push str.RenameUpdate_return:_d__src:_ws__dst:_ws
call fcn.0047f2a9
add esp, 0x10
lea eax, [edi - 0x10]
call fcn.00401291
mov eax, dword [ebp - 0x10]
call fcn.0049cc30
ret 4

Function at 0x47864a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp dword [0x4e09e0], 0
push edi
push 2
pop edi
jne 0x4786ba
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4786b4
cmp dword [ebp - 0x7c], 6
ja 0x4786a8
jne 0x4786b4
cmp dword [ebp - 0x78], 0
jbe 0x4786b4
mov dword [0x4e09e0], 1
jmp 0x4786c3
mov dword [0x4e09e0], edi
cmp dword [0x4e09e0], 1
jne 0x4786d6
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
cmp eax, 0x804
je 0x4786d6
mov dword [0x4e09e0], edi
mov ecx, dword [ebp + 0x94]
xor eax, eax
cmp dword [0x4e09e0], 1
pop edi
sete al
xor ecx, ebp
call fcn.00495616
add ebp, 0x98
leave
ret
Function at 0x478e7a
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4db020]
xor eax, esp
mov dword [esp], eax
push ebx
push esi
push edi
mov edi, 0x10c
push edi
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
je 0x478ea9
push edi
push ebx
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
jmp 0x478eab
xor esi, esi
mov eax, dword [esp + 0x14]
push 0x4bcde4
push 0x104
push esi
mov dword [esi + 0x108], 1
mov dword [esi + 0x104], eax
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push ebx
push ebx
push esi
push 0x478e02
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00495616
pop ecx
ret

Function at 0x4791e2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push ecx
mov eax, esp
lea esi, [ebx + 0x44]
push esi
mov dword [eax], 0xc8
call fcn.0044c80b
mov edi, dword [esi]
mov esi, dword [ebx + 4]
call fcn.0047affc
test eax, eax
jne 0x479211
mov dword [ebx + 0x4c], 1
push str.kxetrayDF737DA7_CDCC_4e53_BE4F_96706694ED9F
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [0x4e08d0]
call fcn.0047b2be
pop ecx
push dword [0x4e08d4]
call fcn.0047b2be
pop ecx
push 0x4a
call fcn.0047b2be
pop ecx
call fcn.004082b5
lea edi, [ebx + 0x5c]
call fcn.00427483
call fcn.004703af
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x18
mov dword [ebx + 0x54], eax
mov esi, 0x479745
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
jne 0x479275
xor eax, eax
jmp 0x479295
push edi
push edi
push eax
push 0x479c56
xor ecx, ecx
push edi
push edi
mov dword [eax], ebx
mov dword [eax + 0x10], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push edi
push 0x3e8
push 1
push dword [ebx + 4]
mov dword [ebx + 0x58], eax
call esi
push edi
push 0x493e0
push 3
push dword [ebx + 4]
call esi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x479804
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [edi + 0x58]
test eax, eax
je 0x479836
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x479829
push 0
push dword [edi + 0x58]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x58], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ebp
push esi
lea esi, [edi + 0x94]
push dword [esi]
call ebx
test eax, eax
mov ebp, dword [sym.imp.USER32.dll_DestroyWindow]
je 0x479857
push dword [esi]
call ebp
lea esi, [edi + 0xec]
call fcn.00492786
lea esi, [edi + 0xc8]
push dword [esi]
call ebx
test eax, eax
je 0x479874
push dword [esi]
call ebp
lea esi, [edi + 0xbc]
call fcn.00477c85
lea esi, [edi + 0xc0]
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x47989e
push eax
call dword [sym.imp.USER32.dll_UnregisterDeviceNotification]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
lea esi, [edi + 0x5c]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4798d5
push 0x1388
push eax
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4798c9
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov ecx, esi
call fcn.00427d3a
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x4798e2
Capabilities:
Check for time delay via gettickcount

Disassembly:
test byte [esi], 3
push edi
jne 0x4798f1
and dword [0x4e09e4], 0
pop edi
ret
cmp dword [0x4e07f0], 0
mov edi, 0xea60
je 0x47990e
call dword [sym.imp.MSVCR80.dll_clock]
cmp eax, edi
jge 0x47990e
and dword [esi], 0xfffffffc
pop edi
ret
push str.GlobalKUpdatingEvent020DAC2B_3EEE_40ea_A84A_D2A018A374A5
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x47992d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x479909
test byte [esi], 1
je 0x479987
cmp dword [0x4e09e4], 0
jne 0x479974
call fcn.0047b660
mov edi, eax
cmp edi, 0xd
jge 0x479987
push str._r_auto
push str.ksetupwiz.exe
call fcn.0047ae9a
test eax, eax
pop ecx
pop ecx
jne 0x47996a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [esi], 0xfffffffe
mov dword [0x4e09e4], eax
inc edi
push edi
call fcn.0047b6d4
pop ecx
pop edi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4e09e4]
cmp eax, edi
jge 0x479987
and dword [esi], 0xfffffffe
pop edi
ret

Function at 0x47a429
Capabilities:
Hide graphical window

Disassembly:
and dword [eax + 0x334], 0
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x47ac8d
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x4a10c5
call fcn.0049cb58
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
call fcn.00408131
push 0x206
lea eax, [ebp + 2]
mov dword [ebp - 4], ebx
push ebx
push eax
mov dword [ebp - 0x18], 1
mov word [ebp], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push 0x23
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp]
push eax
push esi
call fcn.004012a9
lea eax, [ebp - 0x14]
xor ecx, ecx
push eax
inc ecx
mov eax, esi
call fcn.0040912f
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x47ad2a
cmp ecx, ebx
jge 0x47ad1e
push 0x80070057
call fcn.004016fb
movzx eax, word [eax]
cmp ax, 0x5c
mov byte [ebp - 0xd], bl
je 0x47ad2e
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401291
cmp byte [ebp - 0xd], bl
je 0x47ad49
push 0x4ab2c0
push esi
call fcn.0040917f
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00495616
add ebp, 0x20c
leave
ret

Function at 0x47ae9a
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4a5d01
call fcn.0049cb58
lea esi, [ebp - 0x14]
or edi, 0xffffffff
call fcn.0047ac42
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
xor esi, esi
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00407fbe
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401291
push 5
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x47aeed
xor edi, edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401291
mov eax, edi
call fcn.0049cc30
ret

Function at 0x47af00
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [esp + 4]
push esi
or esi, 0xffffffff
call fcn.0047b95e
test eax, eax
jne 0x47af2e
push 5
push eax
push 0x4ab8a8
push dword [esp + 0x14]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x47af30
xor esi, esi
mov eax, esi
pop esi
ret
Function at 0x47b184
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x4a2973
call fcn.0049cb58
mov esi, ecx
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x64]
push ebx
push eax
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x4dff94]
add esp, 0xc
mov ecx, 0x4dff94
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push str.__s___s
push eax
call fcn.00408085
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
neg esi
push ebx
sbb esi, esi
and esi, 0xa
push ebx
mov word [ebp - 0x38], si
mov esi, dword [ebp - 0x10]
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x20], ebx
je 0x47b21e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp - 0x1c]
lea eax, [esi - 0x10]
call fcn.00401291
mov eax, edi
call fcn.0049cc30
ret

Function at 0x47b231
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
push esi
push 0x3c
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call sub.MSVCR80.dll_memset
push 0x206
lea eax, [ebp - 0x42]
push esi
push eax
mov word [ebp - 0x44], si
call sub.MSVCR80.dll_memset
add esp, 0x18
push 0x104
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], str.runas
mov dword [ebp - 0x6c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp + 0x1c4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00495616
add ebp, 0x1c8
leave
ret
Function at 0x47b301
Capabilities:
Check if file exists
Find taskbar

Disassembly:
push 0x18
mov eax, 0x4a44b1
call fcn.0049cb58
push 0x4ab8a8
xor esi, esi
push str.Shell_TrayWnd
push esi
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp eax, esi
jne 0x47b32f
xor eax, eax
jmp 0x47b43e
mov eax, dword [0x4dff94]
xor ebx, ebx
inc ebx
mov ecx, 0x4dff94
mov dword [ebp - 0x1c], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
lea esi, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0047ac42
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00408098
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401291
push str.ktaskbar.dll
mov eax, edi
push eax
call fcn.0040917f
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47b430
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x47b430
push str.ShowMenu
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
je 0x47b41c
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push 0
push str.SOFTWAREKingsoftAntivirus_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47b41c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push str.TaskbarRightKeyProcessMgrExMenu
lea eax, [ebp - 0x10]
push eax
call fcn.00401744
test eax, eax
je 0x47b3ff
mov dword [ebp - 0x1c], ebx
xor eax, eax
cmp dword [ebp - 0x1c], eax
setne al
push eax
call esi
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x20], ebx
je 0x47b41c
push dword [ebp - 0x18]
call edi
and dword [ebp - 0x10], 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], 0
je 0x47b430
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401291
mov eax, dword [ebp - 0x20]
call fcn.0049cc30
ret

Function at 0x47b444
Capabilities:
Persist via run registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x194], eax
push ebx
lea eax, [ebp - 0x7c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], 0x104
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47b493
mov ebx, dword [ebp - 0x7c]
mov dword [ebp - 0x78], ebx
push esi
push edi
push str.KAVINSTALLNEEDREBOOT
lea eax, [ebp - 0x78]
push eax
lea esi, [ebp - 0x80]
lea edi, [ebp - 0x74]
call fcn.00401789
test eax, eax
pop edi
pop esi
je 0x47b4be
test ebx, ebx
je 0x47b4ba
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x47b4cc
test ebx, ebx
je 0x47b4c9
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop ebx
call fcn.00495616
add ebp, 0x198
leave
ret