joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4631b9
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4aa7e2
call fcn.004a7794
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.00477840
mov esi, dword [ebp + 8]
mov edi, 0x4da2a0
add esp, 0xc
mov ecx, edi
call fcn.00405e98
mov dword [ebp - 4], ebx
mov eax, dword [0x4da2a0]
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.00405e55
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x46323b
lea edi, [ebp - 0x10]
call fcn.00406231
lea eax, [ebp - 0x1c]
push 0x4be53c
push eax
lea ecx, [ebp - 0x10]
call fcn.004098e2
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00405da7
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd1
mov esi, dword [ebp - 0x14]
push esi
push 0x208
lea eax, [ebp - 0x224]
push eax
push 0x4bea5c
push str.TryNo
push 0x4be47c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4632a1
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
call fcn.00406070
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd1
lea eax, [esi - 0x10]
call fcn.00405cd1
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 0x46340d
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 0x463432
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x46345b
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 0x46345e
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 0x463496
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 0x463459
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 0x4634d4
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4634cc
cmp dword [ebp - 0x1c], 1
je 0x4634d4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0x64
jmp 0x4634a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x46344e
Function at 0x463891
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x544], 0
jne 0x4638cd
push esi
lea esi, [ebp - 4]
call fcn.004638d5
push dword [eax]
push 2
push 0x4b9c98
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.00405cd1
pop esi
mov eax, dword [edi + 0x544]
leave
ret

Function at 0x463da2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4a9111
call fcn.004a7794
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.00473c77
lea esi, [ebp - 0x14]
call fcn.00473cc2
mov eax, dword [eax]
push 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x10]
call fcn.004060b4
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405cd1
test bl, bl
je 0x463df8
cmp dword [ebp - 0x10], edi
jmp 0x463f02
mov eax, dword [0x4da2a0]
mov ecx, 0x4da2a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x4b94a4
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040619c
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x463ef6
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463ef6
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x53c]
lea eax, [ebp - 0x14]
call fcn.00405da7
xor edi, edi
inc edi
mov eax, ebx
mov dword [ebx + 0x950], edi
call fcn.004665ed
test eax, eax
je 0x463e7d
lea eax, [esi - 0x10]
call fcn.00405cd1
cmp dword [ebp - 0x10], 0
je 0x463e76
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x463f10
push 0
push 2
call fcn.0045a657
push eax
call fcn.0045a0d9
push 3
mov ecx, ebx
call fcn.00466d51
cmp eax, edi
jne 0x463ea9
push edi
push 2
call fcn.0045a657
push eax
call fcn.0045a0d9
jmp 0x463e5f
push 2
pop ecx
cmp eax, ecx
jne 0x463eb3
push ecx
jmp 0x463eb9
test eax, eax
jne 0x463ec5
push 3
push ecx
call fcn.0045a657
push eax
call fcn.0045a0d9
call fcn.0045a657
xor edi, edi
push edi
push edi
push dword [ebx + 0x950]
push 3
push eax
call fcn.00459c9d
lea eax, [esi - 0x10]
call fcn.00405cd1
cmp dword [ebp - 0x10], edi
je 0x463ef2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x463f10
lea eax, [esi - 0x10]
call fcn.00405cd1
cmp dword [ebp - 0x10], 0
je 0x463f0d
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 0x464539
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ac5cd
call fcn.004a7794
sub esp, 0x1c
mov eax, dword [0x4da2a0]
push ebx
push esi
push edi
mov ecx, 0x4da2a0
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.00407054
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00464310
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040671b
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.00405da7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd1
add esi, 0x550
call fcn.00472c57
test eax, eax
je 0x4646c8
cmp dword [esi + 8], 0x100000
jb 0x4646c8
call fcn.00472d06
test eax, eax
jne 0x4645fb
mov ebx, esi
call fcn.00472d5e
test eax, eax
je 0x4646c8
push dword [edi]
mov ecx, esi
push 0
call fcn.00472ab9
lea eax, [ebp - 0x18]
push 0x4b95b8
push eax
mov ecx, edi
call fcn.004098e2
lea ecx, [ebp - 0x1c]
push 0x4db368
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040671b
add esp, 0x10
push eax
push ecx
mov byte [ebp - 4], 4
call fcn.00473c77
pop ecx
mov ecx, eax
call fcn.00473cf4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd1
push dword [edi]
lea eax, [ebp - 0x28]
push eax
call fcn.004631b9
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov esi, dword [eax]
call fcn.00473c77
mov ebx, dword [eax + 0x14]
call fcn.00473c77
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
call fcn.00473c77
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
call fcn.00473c77
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.00473c77
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.0045a657
mov ecx, dword [ebp - 0x24]
call fcn.0045a182
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00405cd1
call fcn.004707d9
mov ecx, edi
mov edx, eax
call fcn.0047081b
mov ebx, dword [ebp + 8]
call fcn.004664db
mov edi, ebx
push edi
call fcn.00466609
call fcn.00463c7a
push edi
call fcn.004643d6
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push str._res
push eax
call fcn.004098e2
pop ecx
pop ecx
mov byte [ebp - 4], 6
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46472f
push dword [ebp + 8]
call fcn.0040ec01
push eax
call fcn.00406070
call fcn.0040f15f
mov ebx, eax
call fcn.0040f18a
call fcn.00461b79
call fcn.00461ebd
call fcn.00462047
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405cd1
push edi
call fcn.0046609b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4653e9
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.004674d6
test eax, eax
je 0x46540f
mov eax, ebp
call fcn.0046745f
mov dword [0x4d690c], eax
xor ebx, ebx
cmp dword [0x4d690c], ebx
jne 0x465424
push esi
call fcn.00466443
mov dword [0x4d690c], eax
push ebx
push 0xc
mov eax, ebp
call fcn.0042fd88
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.0042fd88
push 1
push 0xc8
mov eax, ebp
call fcn.0042fd88
push ebx
call fcn.00465e3e
push ebx
push ebx
push esi
push 0x4653cf
push ebx
push ebx
call fcn.0047e81f
add esp, 0x18
push 1
push 1
mov dword [esi + 0x944], eax
call fcn.0045a657
push eax
call fcn.0045a0d9
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x465ac5
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.00458441
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x465b86
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465b08
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x465b86
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040709f
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.00405cd1
test bl, bl
je 0x465b35
push 2
pop eax
jmp 0x465b89
push edi
call fcn.00465a39
test eax, eax
pop ecx
je 0x465b44
mov eax, esi
jmp 0x465b89
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040709f
push dword [eax]
call fcn.004625fc
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405cd1
test bl, bl
je 0x465b73
push 4
jmp 0x465b32
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x465b82
push 5
jmp 0x465b32
xor eax, eax
jmp 0x465b89
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x465b8d
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4aa740
call fcn.004a7794
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.00477840
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 [0x4da2a0]
mov edi, 0x4da2a0
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.00405bfc
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x465c1a
push 0x80070057
call fcn.00405bc3
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x4bfc50
lea eax, [ebp - 0x18]
push eax
call fcn.00406070
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.0040d8df
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4bfc5c
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 0x465d27
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.00477840
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x4da2a0]
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.00458441
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406cc3
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [ebx + 0x954]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406cc3
mov esi, dword [ebp - 0x14]
push esi
push dword [ebx + 0x514]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.00465ac5
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405cd1
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x46609b
Capabilities:
Get common file path
Get disk information
Get program files directory

Disassembly:
mov eax, 0x4aa6fc
call fcn.004a7794
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.00405bfc
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x4660da
push eax
call fcn.0047a9ca
pop ecx
mov edx, edi
call fcn.00405bdb
test esi, esi
jne 0x4660f0
push 0x4bfcd4
push edi
call fcn.00406070
push 0x4b95b8
push edi
call fcn.00406d14
mov eax, dword [ebx + 0x954]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00406cc3
call fcn.004707d9
push eax
call fcn.00471aa2
test al, al
je 0x466146
lea eax, [ebp - 0x10]
push eax
push ecx
call fcn.004707d9
pop ecx
push eax
mov ecx, edi
call fcn.00471e5a
and dword [ebp - 4], 0
call fcn.00405da7
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd1
call fcn.00465ac5
neg eax
sbb eax, eax
inc eax
jne 0x4661e7
xor ebx, ebx
lea eax, [ebx + 0x41]
movzx esi, ax
mov eax, dword [0x4da2a0]
mov ecx, 0x4da2a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
movzx eax, si
push eax
push str._c:_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.004069cf
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4661c7
lea eax, [ebp - 0x10]
call fcn.00405257
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.00407054
add esp, 0xc
call fcn.00465ac5
test eax, eax
je 0x4661df
or dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
call fcn.00405cd1
inc ebx
cmp ebx, 0x1a
jne 0x466158
jmp 0x4661e7
lea eax, [esi - 0x10]
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x4661f8
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
and dword [esi + 0x54c], 0
cmp dword [esp + 8], 0x61
je 0x466210
cmp dword [esp + 8], 0x41
jne 0x466244
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x466244
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 0x466248
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4a94f0
call fcn.004a7794
push ecx
mov eax, dword [0x4da2a0]
push esi
push edi
mov ecx, 0x4da2a0
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.00405bfc
push 0x104
push eax
push dword [ebx + 0x514]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x466296
xor eax, eax
jmp 0x46629d
push esi
call fcn.0047a9ca
pop ecx
lea edx, [ebp - 0x10]
call fcn.00405bdb
lea edi, [ebp - 0x10]
call fcn.00465ac5
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x466f78
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a94f0
call fcn.004a7794
push ecx
push 0
push str.wmtray_9C20A70B_E65D_4ef5_9744_A0D0B52A1BEE
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x466fde
lea eax, [ebp - 0x10]
push eax
call fcn.00406588
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004064f4
pop ecx
pop ecx
push str.wmtray.exe
lea eax, [ebp - 0x10]
push eax
call fcn.00406d14
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.00405cd1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x4678cc
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4db440]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x4678e9
mov ebp, dword [eax + 4]
jmp 0x4678eb
xor ebp, ebp
cmp ebp, esi
jne 0x4678fb
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x467920
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x467920
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x467920
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.004683fb
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x46794b
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x467a3a
mov eax, dword [0x4db440]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x467962
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, ebp
call fcn.004685dd
cmp dword [ebx + 0x4d0], esi
je 0x4679d9
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 0x4679bd
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 0x4679d9
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.004686f5
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 0x467a1e
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x467a1e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x467a1e
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4db440]
cmp eax, esi
je 0x467a2e
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 0x469977
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 0x4699a2
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov eax, dword [esi + 0x3b4]
cmp eax, ebx
je 0x469a81
push eax
call fcn.00411885
mov edi, eax
cmp edi, ebx
pop ecx
je 0x469a36
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 0x4699db
push 1
push edi
push esi
call fcn.00468f26
mov eax, dword [esi + 0x3b4]
cmp eax, dword [esi + 0x3b0]
jne 0x469a36
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.00411d71
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x469a25
cmp word [eax], bx
je 0x469a25
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x469a36
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x469a36
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [esi + 0x3b4], ebx
je 0x469a81
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 0x46a096
Capabilities:
Log keystrokes via polling

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