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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x461f03
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x461f03
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fmul qword [0x4bfca0]
fcomp qword [0x4bfc98]
fnstsw ax
test ah, 1
jne 0x461f03
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x46297d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a8f4a
call fcn.004a6844
sub esp, 0x5c
mov eax, dword [0x4d906c]
push esi
push edi
mov ecx, 0x4d906c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str._stop__uninstall
push dword [ebp + 8]
xor esi, esi
push 0x4bd858
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00406b30
push 0x40
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00476790
xor eax, eax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x68], 0x44
push esi
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], si
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x462a20
cmp dword [ebp - 0x14], esi
je 0x462a1a
cmp ebx, esi
je 0x462a1a
mov dword [ebx], eax
jmp 0x462a20
push eax
call edi
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], esi
je 0x462a2d
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401018
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x462a49
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4a88d2
call fcn.004a6844
sub esp, 0x218
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x222]
push ebx
mov dword [ebp - 0x18], ebx
push eax
mov word [ebp - 0x224], bx
call fcn.00476790
mov esi, dword [ebp + 8]
mov edi, 0x4d906c
add esp, 0xc
mov ecx, edi
call fcn.0040134f
mov dword [ebp - 4], ebx
mov eax, dword [0x4d906c]
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 0x18], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.00406140
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x462acb
lea ecx, [ebp - 0x10]
call fcn.0040641b
lea eax, [ebp - 0x1c]
push 0x4bd488
push eax
lea ecx, [ebp - 0x10]
call fcn.0040117f
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040103a
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401018
mov esi, dword [ebp - 0x14]
push esi
push 0x208
lea eax, [ebp - 0x224]
push eax
push 0x4b878c
push str.TryNo
push 0x4bd3cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x462b31
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
call fcn.0040107b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401018
lea eax, [esi - 0x10]
call fcn.00401018
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x462c9d
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x40000000
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x462cc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x462ceb
push ebx
push edi
push 0x24
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x462cee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x462d26
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x462ce9
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
rep stosd dword es:[edi], eax
xor edi, edi
cmp edi, dword [ebp + 0xc]
jge 0x462d64
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x462d5c
cmp dword [ebp - 0x1c], 1
je 0x462d64
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0x64
jmp 0x462d35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x462cde
Function at 0x463121
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x544], 0
jne 0x46315d
push esi
lea esi, [ebp - 4]
call fcn.00463165
push dword [eax]
push 2
push 0x4b8bf0
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x544], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401018
pop esi
mov eax, dword [edi + 0x544]
leave
ret

Function at 0x463632
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ab7c2
call fcn.004a6844
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.00472ab4
lea esi, [ebp - 0x14]
call fcn.00472aff
mov eax, dword [eax]
push 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00455e00
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00401018
test bl, bl
je 0x463688
cmp dword [ebp - 0x10], edi
jmp 0x46376e
mov eax, dword [0x4d906c]
mov ecx, 0x4d906c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x4b871c
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00406386
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x463762
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463762
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x53c]
lea eax, [ebp - 0x14]
call fcn.0040103a
xor edi, edi
inc edi
mov eax, ebx
mov dword [ebx + 0x950], edi
call fcn.00465d57
test eax, eax
je 0x46370a
lea eax, [esi - 0x10]
call fcn.00401018
cmp dword [ebp - 0x10], 0
je 0x463706
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x46377c
call fcn.0045a014
push 3
mov ecx, ebx
call fcn.004664bb
cmp eax, edi
jne 0x463723
call fcn.0045a014
jmp 0x4636ef
cmp eax, 2
je 0x46372c
test eax, eax
jne 0x463731
call fcn.0045a014
call fcn.0045a014
xor edi, edi
push edi
push edi
push dword [ebx + 0x950]
push 3
push eax
call fcn.004597d3
lea eax, [esi - 0x10]
call fcn.00401018
cmp dword [ebp - 0x10], edi
je 0x46375e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x46377c
lea eax, [esi - 0x10]
call fcn.00401018
cmp dword [ebp - 0x10], 0
je 0x463779
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x463da5
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ab2a7
call fcn.004a6844
sub esp, 0x1c
mov eax, dword [0x4d906c]
push ebx
push esi
push edi
mov ecx, 0x4d906c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._x_
lea eax, [ebp - 0x14]
call fcn.00406b30
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00463b7c
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00406880
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov esi, dword [ebp + 8]
lea edi, [esi + 0x570]
mov dword [ebp - 0x10], edi
call fcn.0040103a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401018
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401018
add esi, 0x550
call fcn.00471a7f
test eax, eax
je 0x463f34
cmp dword [esi + 8], 0x100000
jb 0x463f34
call fcn.00471b2e
test eax, eax
jne 0x463e67
mov ebx, esi
call fcn.00471b86
test eax, eax
je 0x463f34
push dword [edi]
mov ecx, esi
push 0
call fcn.004718e1
lea eax, [ebp - 0x18]
push 0x4b3724
push eax
mov ecx, edi
call fcn.0040117f
lea ecx, [ebp - 0x1c]
push 0x4da358
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00406880
add esp, 0x10
push eax
push ecx
mov byte [ebp - 4], 4
call fcn.00472ab4
pop ecx
mov ecx, eax
call fcn.00472b31
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401018
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401018
push dword [edi]
lea eax, [ebp - 0x28]
push eax
call fcn.00462a49
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov esi, dword [eax]
call fcn.00472ab4
mov ebx, dword [eax + 0x14]
call fcn.00472ab4
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
call fcn.00472ab4
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
call fcn.00472ab4
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.00472ab4
mov eax, dword [eax + 4]
push esi
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.0045a014
mov ecx, dword [ebp - 0x24]
call fcn.00459c0f
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00401018
call fcn.0046fb00
mov esi, edi
mov ecx, eax
call fcn.0046fb42
mov ebx, dword [ebp + 8]
call fcn.00465c45
mov edi, ebx
push edi
call fcn.00465d73
call fcn.0046350a
push edi
call fcn.00463c42
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push str._res
push eax
call fcn.0040117f
pop ecx
pop ecx
mov byte [ebp - 4], 6
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463f9b
push dword [ebp + 8]
call fcn.0040e4e7
push eax
call fcn.0040107b
call fcn.0040ea45
mov ebx, eax
call fcn.0040ea70
call fcn.00461409
call fcn.0046174d
call fcn.004618d7
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401018
push edi
call fcn.00465883
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401018
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x464b64
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
push edi
lea ebp, [esi + 0x24]
push 0xa1
mov eax, ebp
call fcn.00466c25
test eax, eax
je 0x464b8a
mov eax, ebp
call fcn.00466bae
mov dword [0x4d57ec], eax
xor ebx, ebx
cmp dword [0x4d57ec], ebx
jne 0x464b9f
push esi
call fcn.00465bbd
mov dword [0x4d57ec], eax
push ebx
push 0xc
mov eax, ebp
call fcn.0042f7f5
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0x32
push 0x3eb
push dword [esi + 4]
call edi
push ebx
push 0x50
push 0x3ed
push dword [esi + 4]
call edi
push ebx
push 0x1e
push 1
push dword [esi + 4]
call edi
push ebx
push 0x64
mov eax, ebp
call fcn.0042f7f5
push 1
push 0xc8
mov eax, ebp
call fcn.0042f7f5
push ebx
call fcn.00465626
push ebx
push ebx
push esi
push 0x464b4a
push ebx
push ebx
call fcn.0047d8ff
add esp, 0x18
mov dword [esi + 0x944], eax
call fcn.0045a014
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4652ad
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [edi]
lea esi, [ebp - 4]
call fcn.004580a5
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00401018
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x46536e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4652f0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x46536e
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.00401143
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 4]
setne bl
add eax, 0xfffffff0
call fcn.00401018
test bl, bl
je 0x46531d
push 2
pop eax
jmp 0x465371
push edi
call fcn.00465221
test eax, eax
pop ecx
je 0x46532c
mov eax, esi
jmp 0x465371
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.00401143
push dword [eax]
call fcn.00461e8c
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00401018
test bl, bl
je 0x46535b
push 4
jmp 0x46531a
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x46536a
push 5
jmp 0x46531a
xor eax, eax
jmp 0x465371
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x465375
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4a9d14
call fcn.004a6844
sub esp, 0x44c
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x452]
push esi
push eax
mov word [ebp - 0x454], si
call fcn.00476790
add esp, 0xc
lea eax, [ebp - 0x454]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x1c]
push eax
push 0x11
push dword [ebx + 4]
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [0x4d906c]
mov edi, 0x4d906c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
push 0x105
lea esi, [ebp - 0x18]
call fcn.00401248
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x465402
push 0x80070057
call fcn.00401000
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x4be8fc
lea eax, [ebp - 0x18]
push eax
call fcn.0040107b
mov eax, dword [ebx + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x3c], eax
call fcn.0040d196
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4be908
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x46550f
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.00476790
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x4d906c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24c]
push eax
lea esi, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004580a5
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.0040136a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00401018
mov eax, dword [ebx + 0x954]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.0040136a
mov esi, dword [ebp - 0x14]
push esi
push dword [ebx + 0x514]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.004652ad
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00401018
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401018
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x465883
Capabilities:
Get common file path
Get disk information
Get program files directory

Disassembly:
mov eax, 0x4a8f4a
call fcn.004a6844
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0x26
lea edi, [ebx + 0x53c]
push 0x104
mov esi, edi
call fcn.00401248
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x4658c2
push eax
call fcn.00476b5e
pop ecx
mov edx, edi
call fcn.004013fd
test esi, esi
jne 0x4658d8
push 0x4be980
push edi
call fcn.0040107b
push 0x4b3724
push edi
call fcn.004011e5
mov eax, dword [ebx + 0x954]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0040136a
call fcn.004652ad
neg eax
sbb eax, eax
inc eax
jne 0x46598e
xor ebx, ebx
lea eax, [ebx + 0x41]
movzx esi, ax
mov eax, dword [0x4d906c]
mov ecx, 0x4d906c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
movzx eax, si
push eax
push str._c:_
lea ecx, [ebp - 0x10]
call fcn.0040cb8e
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x465972
lea eax, [ebp - 0x10]
call fcn.0040581a
mov eax, dword [ebp + 8]
push dword [eax + 0x954]
mov esi, dword [ebp - 0x10]
push esi
push str._sprogram_files_s
mov eax, edi
call fcn.00406b30
add esp, 0xc
call fcn.004652ad
test eax, eax
je 0x465986
or dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
call fcn.00401018
inc ebx
cmp ebx, 0x1a
jne 0x465906
jmp 0x46598e
lea eax, [esi - 0x10]
call fcn.00401018
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x46599f
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
and dword [esi + 0x54c], 0
cmp dword [esp + 8], 0x61
je 0x4659b7
cmp dword [esp + 8], 0x41
jne 0x4659eb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x4659eb
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
add esi, 0x514
push dword [esi]
call edi
push 0
push 0
push 0xb7
push dword [esi]
call edi
pop edi
pop esi
ret 4

Function at 0x4659ef
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4a8f4a
call fcn.004a6844
push ecx
mov eax, dword [0x4d906c]
push esi
push edi
mov ecx, 0x4d906c
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.00401248
push 0x104
push eax
push dword [ebx + 0x514]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x465a3d
xor eax, eax
jmp 0x465a44
push esi
call fcn.00476b5e
pop ecx
lea edx, [ebp - 0x10]
call fcn.004013fd
lea edi, [ebp - 0x10]
call fcn.004652ad
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00401018
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4666e2
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a8f4a
call fcn.004a6844
push ecx
push 0
push str.wotray_wincleaner_8EE29684_C448_42f2_B3A6_C1F4C59C9511
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x466748
lea eax, [ebp - 0x10]
push eax
call fcn.004067a5
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00409fe9
pop ecx
pop ecx
push 0x4bd5b8
lea eax, [ebp - 0x10]
push eax
call fcn.004011e5
push 1
push 0
push str._from:autorun
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401018
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x467002
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4da3c8]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x46701f
mov ebp, dword [eax + 4]
jmp 0x467021
xor ebp, ebp
cmp ebp, esi
jne 0x467031
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x467056
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x467056
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x467056
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x4dc], esi
push ebp
mov dword [eax], esi
call fcn.00467b82
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x467081
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x467170
mov eax, dword [0x4da3c8]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x467098
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, ebp
call fcn.00430050
cmp dword [ebx + 0x4d0], esi
je 0x46710f
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x4670f3
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x46710f
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.00467d64
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x4dc], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x467154
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x467154
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x467154
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4da3c8]
cmp eax, esi
je 0x467164
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x469041
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x3c0]
cmp dword [edi], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x46906c
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov eax, dword [esi + 0x3b4]
cmp eax, ebx
je 0x46914b
push eax
call fcn.00411168
mov edi, eax
cmp edi, ebx
pop ecx
je 0x469100
mov eax, dword [edi]
push 2
push ebx
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x4690a5
push 1
push edi
push esi
call fcn.004685f0
mov eax, dword [esi + 0x3b4]
cmp eax, dword [esi + 0x3b0]
jne 0x469100
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00411654
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x4690ef
cmp word [eax], bx
je 0x4690ef
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x469100
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x469100
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [esi + 0x3b4], ebx
je 0x46914b
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
leave
ret 0xc

Function at 0x469760
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4697a7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4697a0
cmp dword [esp + 4], 0x1b
jne 0x469787
push 0
push 2
jmp 0x469792
cmp dword [esp + 4], 0xd
jne 0x4697a0
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x4e0], 0
ret 4