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

Disassembly:
mov eax, 0x4a9fcd
call fcn.004a7044
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.00477100
mov esi, dword [ebp + 8]
mov edi, 0x4d92a0
add esp, 0xc
mov ecx, edi
call fcn.00405ea0
mov dword [ebp - 4], ebx
mov eax, dword [0x4d92a0]
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.00405e5d
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x462fd3
lea edi, [ebp - 0x10]
call fcn.00406228
lea eax, [ebp - 0x1c]
push 0x4bd53c
push eax
lea ecx, [ebp - 0x10]
call fcn.0040995d
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00405daf
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd9
mov esi, dword [ebp - 0x14]
push esi
push 0x208
lea eax, [ebp - 0x224]
push eax
push 0x4b84e0
push str.TryNo
push 0x4bd47c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x463039
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
call fcn.00406078
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd9
lea eax, [esi - 0x10]
call fcn.00405cd9
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 0x4631a5
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 0x4631ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4631f3
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 0x4631f6
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 0x46322e
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 0x4631f1
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 0x46326c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x463264
cmp dword [ebp - 0x1c], 1
je 0x46326c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0x64
jmp 0x46323d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4631e6
Function at 0x463882
Capabilities:
Read .ini file

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

Function at 0x463cd3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ac0c7
call fcn.004a7044
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.004732b8
lea esi, [ebp - 0x14]
call fcn.00473303
mov eax, dword [eax]
push 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x10]
call fcn.004060ab
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405cd9
test bl, bl
je 0x463d29
cmp dword [ebp - 0x10], edi
jmp 0x463e33
mov eax, dword [0x4d92a0]
mov ecx, 0x4d92a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x4b84a4
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00406193
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x463e27
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463e27
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x53c]
lea eax, [ebp - 0x14]
call fcn.00405daf
xor edi, edi
inc edi
mov eax, ebx
mov dword [ebx + 0x950], edi
call fcn.0046648e
test eax, eax
je 0x463dae
lea eax, [esi - 0x10]
call fcn.00405cd9
cmp dword [ebp - 0x10], 0
je 0x463da7
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x463e41
push 0
push 2
call fcn.0045a3d4
push eax
call fcn.00459e56
push 3
mov ecx, ebx
call fcn.00466bf2
cmp eax, edi
jne 0x463dda
push edi
push 2
call fcn.0045a3d4
push eax
call fcn.00459e56
jmp 0x463d90
push 2
pop ecx
cmp eax, ecx
jne 0x463de4
push ecx
jmp 0x463dea
test eax, eax
jne 0x463df6
push 3
push ecx
call fcn.0045a3d4
push eax
call fcn.00459e56
call fcn.0045a3d4
xor edi, edi
push edi
push edi
push dword [ebx + 0x950]
push 3
push eax
call fcn.00459a1a
lea eax, [esi - 0x10]
call fcn.00405cd9
cmp dword [ebp - 0x10], edi
je 0x463e23
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x463e41
lea eax, [esi - 0x10]
call fcn.00405cd9
cmp dword [ebp - 0x10], 0
je 0x463e3e
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 0x46446a
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4abd89
call fcn.004a7044
sub esp, 0x1c
mov eax, dword [0x4d92a0]
push ebx
push esi
push edi
mov ecx, 0x4d92a0
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.004070b5
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00464241
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004067a0
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.00405daf
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd9
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd9
add esi, 0x550
call fcn.00472298
test eax, eax
je 0x4645f9
cmp dword [esi + 8], 0x100000
jb 0x4645f9
call fcn.00472347
test eax, eax
jne 0x46452c
mov ebx, esi
call fcn.0047239f
test eax, eax
je 0x4645f9
push dword [edi]
mov ecx, esi
push 0
call fcn.004720fa
lea eax, [ebp - 0x18]
push 0x4b85bc
push eax
mov ecx, edi
call fcn.0040995d
lea ecx, [ebp - 0x1c]
push 0x4da368
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004067a0
add esp, 0x10
push eax
push ecx
mov byte [ebp - 4], 4
call fcn.004732b8
pop ecx
mov ecx, eax
call fcn.00473335
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd9
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd9
push dword [edi]
lea eax, [ebp - 0x28]
push eax
call fcn.00462f51
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov esi, dword [eax]
call fcn.004732b8
mov ebx, dword [eax + 0x14]
call fcn.004732b8
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
call fcn.004732b8
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
call fcn.004732b8
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.004732b8
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.0045a3d4
mov ecx, dword [ebp - 0x24]
call fcn.00459eff
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00405cd9
call fcn.00470322
mov ecx, edi
mov edx, eax
call fcn.00470364
mov ebx, dword [ebp + 8]
call fcn.0046637c
mov edi, ebx
push edi
call fcn.004664aa
call fcn.00463bab
push edi
call fcn.00464307
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push str._res
push eax
call fcn.0040995d
pop ecx
pop ecx
mov byte [ebp - 4], 6
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464660
push dword [ebp + 8]
call fcn.0040eac6
push eax
call fcn.00406078
call fcn.0040f024
mov ebx, eax
call fcn.0040f04f
call fcn.00461911
call fcn.00461c55
call fcn.00461ddf
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405cd9
push edi
call fcn.00465f7d
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405cd9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4652cb
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.0046735c
test eax, eax
je 0x4652f1
mov eax, ebp
call fcn.004672e5
mov dword [0x4d590c], eax
xor ebx, ebx
cmp dword [0x4d590c], ebx
jne 0x465306
push esi
call fcn.004662e4
mov dword [0x4d590c], eax
push ebx
push 0xc
mov eax, ebp
call fcn.0042fa24
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.0042fa24
push 1
push 0xc8
mov eax, ebp
call fcn.0042fa24
push ebx
call fcn.00465d20
push ebx
push ebx
push esi
push 0x4652b1
push ebx
push ebx
call fcn.0047e0df
add esp, 0x18
push 1
push 1
mov dword [esi + 0x944], eax
call fcn.0045a3d4
push eax
call fcn.00459e56
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4659a7
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.004581d3
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00405cd9
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x465a68
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4659ea
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x465a68
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.00407100
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.00405cd9
test bl, bl
je 0x465a17
push 2
pop eax
jmp 0x465a6b
push edi
call fcn.0046591b
test eax, eax
pop ecx
je 0x465a26
mov eax, esi
jmp 0x465a6b
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.00407100
push dword [eax]
call fcn.00462394
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405cd9
test bl, bl
je 0x465a55
push 4
jmp 0x465a14
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x465a64
push 5
jmp 0x465a14
xor eax, eax
jmp 0x465a6b
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x465a6f
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4a9f2b
call fcn.004a7044
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.00477100
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 [0x4d92a0]
mov edi, 0x4d92a0
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.00405c04
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x465afc
push 0x80070057
call fcn.00405bcb
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x4bec48
lea eax, [ebp - 0x18]
push eax
call fcn.00406078
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.0040d94f
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x4bec54
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 0x465c09
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.00477100
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x4d92a0]
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.004581d3
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406d24
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405cd9
mov eax, dword [ebx + 0x954]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406d24
mov esi, dword [ebp - 0x14]
push esi
push dword [ebx + 0x514]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.004659a7
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405cd9
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd9
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x465f7d
Capabilities:
Get common file path
Get disk information
Get program files directory

Disassembly:
mov eax, 0x4a8a07
call fcn.004a7044
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.00405c04
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x465fbc
push eax
call fcn.0047a28a
pop ecx
mov edx, edi
call fcn.00405be3
test esi, esi
jne 0x465fd2
push 0x4beccc
push edi
call fcn.00406078
push 0x4b85bc
push edi
call fcn.00406d75
mov eax, dword [ebx + 0x954]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00406d24
call fcn.004659a7
neg eax
sbb eax, eax
inc eax
jne 0x466088
xor ebx, ebx
lea eax, [ebx + 0x41]
movzx esi, ax
mov eax, dword [0x4d92a0]
mov ecx, 0x4d92a0
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.00406a54
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x46606c
lea eax, [ebp - 0x10]
call fcn.00405254
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.004070b5
add esp, 0xc
call fcn.004659a7
test eax, eax
je 0x466080
or dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
call fcn.00405cd9
inc ebx
cmp ebx, 0x1a
jne 0x466000
jmp 0x466088
lea eax, [esi - 0x10]
call fcn.00405cd9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x466099
Capabilities:
Log keystrokes via polling

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

Disassembly:
mov eax, 0x4a8a07
call fcn.004a7044
push ecx
mov eax, dword [0x4d92a0]
push esi
push edi
mov ecx, 0x4d92a0
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.00405c04
push 0x104
push eax
push dword [ebx + 0x514]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x466137
xor eax, eax
jmp 0x46613e
push esi
call fcn.0047a28a
pop ecx
lea edx, [ebp - 0x10]
call fcn.00405be3
lea edi, [ebp - 0x10]
call fcn.004659a7
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405cd9
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x466e19
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a8a07
call fcn.004a7044
push ecx
push 0
push str.wmtray_9C20A70B_E65D_4ef5_9744_A0D0B52A1BEE
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x466e7f
lea eax, [ebp - 0x10]
push eax
call fcn.0040660d
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0040a672
pop ecx
pop ecx
push str.wmtray.exe
lea eax, [ebp - 0x10]
push eax
call fcn.00406d75
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.00405cd9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x467739
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4da440]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x467756
mov ebp, dword [eax + 4]
jmp 0x467758
xor ebp, ebp
cmp ebp, esi
jne 0x467768
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x46778d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x46778d
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46778d
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.004682a1
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x4677b8
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4678a7
mov eax, dword [0x4da440]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x4677cf
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, ebp
call fcn.004302c0
cmp dword [ebx + 0x4d0], esi
je 0x467846
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 0x46782a
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 0x467846
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.00468483
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 0x46788b
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x46788b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x46788b
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4da440]
cmp eax, esi
je 0x46789b
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 0x469797
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 0x4697c2
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov eax, dword [esi + 0x3b4]
cmp eax, ebx
je 0x4698a1
push eax
call fcn.0041174a
mov edi, eax
cmp edi, ebx
pop ecx
je 0x469856
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 0x4697fb
push 1
push edi
push esi
call fcn.00468d46
mov eax, dword [esi + 0x3b4]
cmp eax, dword [esi + 0x3b0]
jne 0x469856
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.00411c36
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x469845
cmp word [eax], bx
je 0x469845
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x469856
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x469856
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [esi + 0x3b4], ebx
je 0x4698a1
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 0x469eb6
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x469efd
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x469ef6
cmp dword [esp + 4], 0x1b
jne 0x469edd
push 0
push 2
jmp 0x469ee8
cmp dword [esp + 4], 0xd
jne 0x469ef6
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x4e0], 0
ret 4
Function at 0x46c088
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4a850d
call fcn.004a7044
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x4d408c]
xor esi, esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x424], esi
push 2
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x46c0e0
call fcn.0046d76d
mov esi, eax
jmp 0x46c1e1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x46c0fd
call fcn.0046d76d
jmp 0x46c1d6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x46c0f3
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp + 8], edi
jae 0x46c143
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x46c139
lea eax, [ebp - 0x424]
call fcn.0046d0c5
mov eax, 0x8007000e
jmp 0x46c1fc
push 2
push eax
mov byte [ebp - 4], 2
call fcn.0046c23b
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x46c167
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0046c21a
jmp 0x46c173
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x46c18e
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x46c19f
mov esi, 0x8007000e
jmp 0x46c1d8
call dword [0x4d408c]
push edi
push ebx
push edi
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x46c0f3
mov ecx, dword [ebp - 0x424]
push dword [ebp + 0x18]
mov word [ecx + eax*2], si
mov ecx, dword [ebp - 0x424]
lea edx, [ebp - 0x1c]
call fcn.0046c260
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x46c1fa
lea eax, [ebp - 0x424]
call fcn.0046d0c5
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14