joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a245
Capabilities:
Get common file path
Get program files directory

Disassembly:
push esi
push edi
push 0
mov esi, eax
push 0x26
add esi, 0x3fc
push 0x104
call fcn.00407f07
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x46a275
push eax
call fcn.0048c8bf
pop ecx
mov edx, esi
call fcn.00406080
test edi, edi
jne 0x46a28b
push str.c:program_files
push esi
call fcn.00408167
push str.kingsoftkingsoft_antivirus_
push esi
call fcn.00407d54
pop edi
pop esi
ret

Function at 0x46a299
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4ae423
call fcn.004acfc0
push ecx
mov eax, dword [0x4df350]
push esi
push edi
mov ecx, 0x4df350
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x105
lea esi, [ebp - 0x10]
call fcn.00407f07
push 0x104
push eax
push dword [ebx + 0x3d4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x46a2e7
xor eax, eax
jmp 0x46a2ee
push esi
call fcn.0048c8bf
pop ecx
lea edx, [ebp - 0x10]
call fcn.00406080
lea edi, [ebp - 0x10]
call fcn.00469e21
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405148
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x4ae423
call fcn.004acfc0
push ecx
push ecx
mov ecx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x10]
push str.installconfig.ini
add ecx, 0xc18
push eax
xor esi, esi
call fcn.00426238
pop ecx
pop ecx
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46a60f
mov eax, dword [ebp - 0x10]
push ebx
push edi
add eax, 0xfffffff0
call fcn.00408006
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
add ebx, 0x10
push ebx
push 1
push str.imagecounts
mov edi, 0x4bb184
push edi
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebx - 0x10]
call fcn.00405148
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc20], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00408006
mov ebx, eax
add ebx, 0x10
push ebx
push 0
push str.autoclose
push edi
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebx - 0x10]
call fcn.00405148
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc24], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00408006
mov ebx, eax
add ebx, 0x10
push ebx
push 2
push str.delaytime
push edi
call esi
mov esi, eax
lea eax, [ebx - 0x10]
call fcn.00405148
mov eax, dword [ebp + 8]
mov dword [eax + 0xc28], esi
xor esi, esi
pop edi
inc esi
pop ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405148
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x46a62b
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4afcb3
call fcn.004acfc0
push ecx
push ebx
push esi
push edi
push 1
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, str.open
push edi
push ebx
call esi
cmp eax, 0x20
jle 0x46a65e
xor esi, esi
inc esi
jmp 0x46a69a
push 1
push ebx
push dword [ebp + 8]
push str.IEXPLORE.EXE
push edi
push ebx
call esi
cmp eax, 0x20
jg 0x46a659
lea eax, [ebp - 0x10]
push eax
call fcn.0045f2a2
pop ecx
mov byte [ebp - 4], 1
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.0045e9a3
mov esi, eax
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405148
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405148
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x46ae19
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46ae4a
push dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x46ae3d
push 0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x10], 0
xor eax, eax
inc eax
ret 4
Function at 0x46aed1
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
cmp ebp, esi
push edi
mov edi, eax
mov dword [esp + 0x18], esi
jne 0x46af08
mov eax, dword [0x4e0044]
cmp eax, esi
je 0x46aef6
mov ebp, dword [eax + 4]
jmp 0x46aef8
xor ebp, ebp
cmp ebp, esi
jne 0x46af08
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x46af2d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x46af2d
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46af2d
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push ecx
mov eax, esp
mov dword [edi + 0x3ac], esi
push ebp
mov ebx, edi
mov dword [eax], esi
call fcn.0046bb51
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x14], ecx
jne 0x46af5a
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x46b04b
mov eax, dword [0x4e0044]
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x46af71
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [eax + 4], ecx
lea eax, [edi + 4]
push eax
mov eax, ebp
call fcn.00407377
cmp dword [edi + 0x3a0], esi
je 0x46afec
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebx, dword [esp + 0x24]
je 0x46afd0
push 1
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebx, dword [esp + 0x24]
je 0x46afec
push esi
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.0046bd0d
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [edi + 4]
mov dword [edi + 0x3ac], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x18], esi
je 0x46b02f
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x46b02f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 4]
jne 0x46b02f
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4e0044]
cmp eax, esi
je 0x46b03f
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x46ca8a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x46cad6
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x10c]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x46cad6
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1f0]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2f0], 0
je 0x46cb4e
lea ebx, [esi + 0x300]
cmp dword [ebx], 0
je 0x46caf3
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2f0], edi
jne 0x46cb47
push edi
call fcn.00407abb
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00407b4c
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2f0], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x46ce14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x300]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x46ce45
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x46ce89
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x46ce89
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f0]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2ec]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x46cfdd
push eax
call fcn.00407abb
mov edi, eax
test edi, edi
pop ecx
je 0x46cf5c
mov eax, dword [edi + 0x10]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x46ced0
push 1
push edi
push esi
call fcn.0046b105
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00407b4c
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2ec], eax
jne 0x46cf26
mov ecx, dword [edi + 0x40]
xor eax, eax
cmp ecx, eax
je 0x46cf18
cmp word [ecx], ax
je 0x46cf18
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x46cf5c
cmp dword [edi + 0x10], eax
je 0x46cf5c
mov dword [ebp - 0xc], 1
jmp 0x46cf5c
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x46cf45
push 1
push edi
push esi
call fcn.0046b105
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.00407b4c
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2ec], eax
je 0x46cf9e
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46cfdd
cmp dword [ebp - 0x10], eax
je 0x46cfdd
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x46cfdd
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2e8
cmp eax, dword [esi]
jne 0x46cfdd
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x47383c
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4738ae
push edi
xor eax, eax
mov dword [ebp - 8], esi
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
pop edi
je 0x4738ae
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], esi
fild qword [ebp - 0x10]
fild qword [ebp - 8]
fchs
faddp st(1)
fcomp qword [0x4c57b0]
fnstsw ax
test ah, 1
jne 0x4738ae
inc esi
mov eax, esi
pop esi
leave
ret
Function at 0x4738e7
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
xor edx, edx
cmp dword [ebp + 0x18], edx
push edi
mov edi, eax
je 0x47394c
cmp dword [ebp + 0x18], 0x12d
jne 0x473ad6
cmp dword [ebp + 0xc], 0x100
jne 0x473ad6
movzx esi, word [ebp + 0x10]
push 0x11
mov dword [edi + 0x3cc], edx
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, 0x61
movzx eax, ax
je 0x47392e
cmp esi, 0x41
jne 0x47393d
test al, al
jns 0x47393d
lea esi, [edi + 0x3d4]
call fcn.0046a6b8
and dword [ebx], 0
cmp dword [edi + 0x3cc], 0
jmp 0x473ad0
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x4e
jne 0x47399f
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x473ab8
xor esi, esi
inc esi
mov dword [edi + 0x3cc], esi
cmp dword [eax + 8], esi
jne 0x473981
cmp dword [eax + 0xc], 0x12e
jne 0x473981
call fcn.00473bee
mov eax, esi
jmp 0x473989
mov dword [edi + 0x3cc], edx
xor eax, eax
mov dword [ebx], eax
cmp dword [edi + 0x3cc], 0
je 0x473ab8
mov eax, esi
jmp 0x473ad8
cmp ecx, 0x110
jne 0x4739d8
lea esi, [edi + 0x3cc]
push edi
mov dword [esi], 1
call fcn.00473d79
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
cmp dword [esi], 0
je 0x473ab8
xor eax, eax
inc eax
jmp 0x473ad8
cmp ecx, 0x465
jne 0x4739ff
mov eax, dword [ebp + 0x10]
mov esi, edi
mov dword [edi + 0x3cc], 1
call fcn.00473b4a
mov dword [ebx], eax
cmp dword [edi + 0x3cc], 0
jmp 0x4739ca
cmp ecx, 0x466
jne 0x473a1a
mov esi, edi
mov dword [edi + 0x3cc], 1
call fcn.00473b95
jmp 0x4739f4
mov eax, 0x46c
cmp ecx, eax
jne 0x473a36
mov esi, edi
mov dword [edi + 0x3cc], 1
call fcn.0047402a
jmp 0x4739f4
cmp ecx, 0x46f
jne 0x473a61
push dword [edi + 0x3fc]
lea esi, [edi + 0x3cc]
push dword [edi + 0x3d4]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4739c4
cmp ecx, 0x10
jne 0x473a89
push 0
push 2
push 0x111
push dword [edi + 4]
lea esi, [edi + 0x3cc]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4739c4
cmp ecx, 0x111
jne 0x473ab8
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
cmp cx, 0x300
mov dword [edi + 0x3cc], edx
jne 0x473ab0
push edx
push edx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
and dword [ebx], 0
jmp 0x4739f6
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046aad2
test eax, eax
jne 0x4739d0
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x473bee
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4b01a5
call fcn.004acfc0
sub esp, 0x43c
mov eax, dword [0x4df350]
push ebx
xor ebx, ebx
push esi
mov ecx, 0x4df350
mov dword [ebp - 0x18], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, 0x206
push esi
lea eax, [ebp - 0x23e]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x240], bx
call fcn.0048c840
push esi
lea eax, [ebp - 0x446]
push ebx
push eax
mov word [ebp - 0x448], bx
call fcn.0048c840
add esp, 0x18
lea eax, [ebp - 0x448]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x18]
push eax
push 0x11
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x4c45c8
lea eax, [ebp - 0x10]
push eax
call fcn.00408167
mov eax, dword [edi + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
push 0x105
lea esi, [ebp - 0x10]
mov dword [ebp - 0x34], eax
call fcn.00407f07
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], 0x4c45d4
mov dword [ebp - 0x28], 0x8041
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp dword [ebp - 0x10], ebx
mov esi, eax
jne 0x473cc4
xor eax, eax
jmp 0x473ccd
push dword [ebp - 0x10]
call fcn.0048c8bf
pop ecx
lea edx, [ebp - 0x10]
call fcn.00406080
cmp esi, ebx
je 0x473d53
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x240]
push eax
call fcn.0048c8bf
lea eax, [ebp - 0x240]
push eax
lea esi, [ebp - 0x14]
call fcn.0045eeb5
pop ecx
pop ecx
push str.kingsoft_antivirus_
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.00407d54
push dword [ebp - 0x14]
push dword [edi + 0x3d4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push edi
mov eax, esi
call fcn.00473f37
push eax
push 0x46c
push dword [edi + 0x3d0]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405148
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405148
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x473d79
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4ae423
call fcn.004acfc0
sub esp, 0x20c
push ebx
push esi
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], 0x12d
push ecx
mov eax, esp
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], esp
push dword [eax + 4]
lea ebx, [eax + 0x3d4]
call fcn.0046ad24
push 0x4c50a4
push 0x20
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x64
push esi
push esi
push esi
push 0x12
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx]
call edi
push esi
push 0x96
push 0xc5
push dword [ebx]
call edi
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4df350]
mov ecx, 0x4df350
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x206
lea eax, [ebp - 0x216]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x218], si
call fcn.0048c840
add esp, 0xc
push esi
push 0x26
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x473e56
push str.c:program_files
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0048fac0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str._skingsoftkingsoft_antivirus_
lea eax, [ebp - 0x10]
call fcn.0040818d
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp + 8]
add edi, 0x3fc
lea eax, [ebp - 0x10]
call fcn.0040805e
lea eax, [esi - 0x10]
call fcn.00405148
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x473f37
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, eax
push dword [edi]
lea esi, [ebp - 8]
call fcn.0045eeb5
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.00405148
mov eax, dword [edi]
xor ebx, ebx
push 3
pop esi
inc ebx
cmp dword [eax - 0xc], esi
jl 0x47400e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x473f87
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x47400e
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.00407de6
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 8]
setne bl
add eax, 0xfffffff0
call fcn.00405148
test bl, bl
je 0x473fb8
mov dword [ebp - 4], 2
jmp 0x474011
call fcn.00473ea2
test eax, eax
je 0x473fc6
mov dword [ebp - 4], esi
jmp 0x474011
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.00407de6
push dword [eax]
call fcn.0047383c
mov ebx, eax
mov eax, dword [ebp - 8]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405148
test bl, bl
je 0x473ffa
mov dword [ebp - 4], 4
jmp 0x474011
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x474011
mov dword [ebp - 4], 5
jmp 0x474011
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x3d0]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4743ed
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x474434
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x47442d
cmp dword [esp + 4], 0x1b
jne 0x474414
push 0
push 2
jmp 0x47441f
cmp dword [esp + 4], 0xd
jne 0x47442d
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x3b0], 0
ret 4
Function at 0x476f8b
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.0048c840
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x476fd2
xor eax, eax
inc eax
leave
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4c5158
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00408124
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47701b
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405148
jmp 0x476fcd
push esi
push dword [ebp - 4]
xor esi, esi
inc esi
push esi
push 0x4ba9e0
push str.updatecheck
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x477047
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405148
mov eax, esi
pop esi
leave
ret
xor esi, esi
jmp 0x477037

Function at 0x47719a
Capabilities:
Delete file

Disassembly:
mov eax, 0x4b1513
call fcn.004acfc0
sub esp, 0xc
push ebx
push edi
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
mov eax, dword [0x4df350]
mov ecx, 0x4df350
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
lea edi, [esi + 0x30]
push edi
mov byte [ebp - 4], 1
call fcn.0045ef42
pop ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x12c
push 0
push dword [ebp + 0xc]
lea eax, [esi + 0x28]
push eax
call fcn.00460baa
mov ecx, dword [ebp + 8]
add esp, 0x10
xor edi, edi
test eax, eax
mov dword [ecx], eax
je 0x477226
lea eax, [ebx - 0x10]
call fcn.00405148
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
inc edi
jmp 0x477205

Function at 0x47726a
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4b1513
call fcn.004acfc0
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
lea esi, [edi + 0x30]
push esi
call fcn.0045ef42
pop ecx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4772ba
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov eax, dword [0x4df350]
mov ecx, 0x4df350
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s__update:0
mov byte [ebp - 4], 1
call fcn.0040818d
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
push 0xffffffffffffffff
push ebx
push esi
xor ecx, ecx
call fcn.0045e08c
add esp, 0x14
xor esi, esi
test eax, eax
jne 0x47730d
lea eax, [ebx - 0x10]
call fcn.00405148
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x4772aa
inc esi
jmp 0x4772fa