joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ac70
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
mov eax, ebx
push esi
shr eax, 8
push edi
mov esi, ebp
test al, 1
je 0x45ac8e
mov byte [ebp], 0x2b
lea esi, [ebp + 1]
test al, 2
je 0x45ac96
mov byte [esi], 0x5e
inc esi
test al, 4
je 0x45ac9e
mov byte [esi], 0x21
inc esi
test al, 8
je 0x45acee
push ebx
xor bl, bl
call fcn.00411340
mov ecx, dword [esp + 0x18]
push ecx
mov bl, 1
movzx edi, ax
call fcn.00411340
movzx eax, ax
add esp, 8
mov ecx, eax
test eax, 0x100
jne 0x45acca
mov ecx, edi
test ecx, 0x100
je 0x45acea
cmp di, ax
je 0x45acea
mov eax, 0x64
mov edx, esi
call fcn.00410e30
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
mov ebx, dword [esp + 0x14]
xor eax, eax
cmp byte [eax*8 + 0x49e10c], bl
je 0x45ad4c
inc eax
cmp eax, 0x6d
jl 0x45acf0
push 0x64
push ebx
xor eax, eax
call fcn.00411260
add esp, 8
cmp byte [esi], 0
je 0x45ad74
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 0
xor edx, edx
mov eax, esi
call fcn.00410f30
add esp, 8
test al, al
jne 0x45ad74
movzx edi, bl
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov byte [esi], al
test al, al
je 0x45ad65
pop edi
mov byte [esi + 1], 0
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
mov edx, dword [eax*8 + 0x49e108]
push 0x63
push edx
push esi
call fcn.0047a8e0
add esp, 0xc
mov byte [esi + 0x63], 0
jmp 0x45ad0c
push edi
push str.vk_02X
push esi
call fcn.00477162
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x45b9d0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x10
movzx eax, byte [esi + 4]
push ebp
mov ebp, dword [esp + 0x18]
add eax, 0xfffffff7
push edi
mov dword [esp + 8], SysReAllocString
cmp eax, 8
ja case.0x45b9f1.12
jmp dword [eax*4 + 0x45baf0]
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x19f
push eax
call edi
cmp eax, 0xffffffff
je 0x45ba9e
mov edx, dword [esi]
lea ecx, [esp + 8]
push ecx
push eax
push 0x198
push edx
call edi
jmp 0x45ba9e
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push eax
call edi
cmp eax, 0xffffffff
je 0x45ba9e
mov edx, dword [esi]
lea ecx, [esp + 8]
push ecx
push eax
push 0x100e
push edx
mov dword [esp + 0x18], 2
call edi
jmp 0x45ba9e
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 9
push 0x110a
push eax
call edi
test eax, eax
je 0x45ba9e
mov edx, dword [esi]
lea ecx, [esp + 8]
push ecx
push 1
push 0x1104
push edx
mov dword [esp + 0x18], eax
call edi
jmp 0x45ba9e
mov ecx, dword [esi]
lea eax, [esp + 8]
push eax
push 0
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 8], 0x80000000
jne 0x45bab8
mov eax, dword [esi]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x45baca
mov edx, dword [esi]
push 2
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
lea ecx, [eax + ecx + 2]
pop edi
mov dword [ebp + 4], ecx
pop ebp
add esp, 0x10
ret 4

Function at 0x460b80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1010c
call fcn.00488480
push esi
mov esi, ecx
test esi, esi
je 0x460b9c
cmp byte [esi], 0
jne 0x460ba1
mov esi, str.ERROR
push 0xfffe
lea eax, [esp + 0x115]
push 0
push eax
mov byte [esp + 0x11c], 0
call fcn.004812e0
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp byte [edi], 0
je 0x460c19
lea ecx, [esp + 8]
push ecx
push 0xffff
lea edx, [esp + 0x118]
push edx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x11c]
push ecx
mov ecx, dword [0x4a09d8]
call fcn.004668b0
pop esi
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx], 0
je 0x460c39
lea eax, [esp + 8]
push eax
push 0xffff
lea ecx, [esp + 0x118]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
jmp 0x460c51
lea edx, [esp + 8]
push edx
push 0xffff
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
test eax, eax
je 0x460bf9
lea eax, [esp + 0x110]
lea esp, [esp]
cmp byte [eax], 0
jne 0x460c6e
cmp byte [eax + 1], 0
je 0x460bf9
mov byte [eax], 0xa
inc eax
jmp 0x460c60
Function at 0x4613f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push esi
mov dword [esp + 0x30], 0xff
call edi
cmp eax, 0x103
je 0x4614a2
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x2c]
push ecx
push esi
call ebp
test eax, eax
jne 0x4614af
mov edx, dword [esp + 0x14]
push edx
call fcn.004613f0
mov bl, al
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4614af
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4614af
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push esi
mov dword [esp + 0x30], 0xff
call edi
cmp eax, 0x103
jne 0x461436
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret

Function at 0x4614c0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push esi
mov esi, eax
test edi, edi
je 0x4614d6
cmp byte [edi], 0
jne 0x4614df
test esi, esi
je 0x461536
cmp byte [esi], 0
je 0x461536
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x461536
test esi, esi
je 0x461543
cmp byte [esi], al
je 0x461543
push str.ahk_default
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
jne 0x461519
mov esi, 0x49588a
mov edx, dword [esp + 0xc]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x461570
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004613f0
mov edx, dword [esp + 0x10]
add esp, 4
push edx
mov bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x461536
mov eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x461536
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x461e40
Capabilities:
Clear file content

Disassembly:
mov eax, dword [esi + 0x20]
push ebx
push ebp
xor ebp, ebp
push edi
cmp eax, ebp
je 0x461e6f
sub eax, dword [esi + 0x24]
mov edi, dword [esi]
sub eax, dword [esi + 8]
push 1
cdq
xor ecx, ecx
push edx
mov edx, dword [edi + 0x14]
mov word [esi + 0x1a], cx
push eax
mov ecx, esi
mov dword [esi + 0x1c], ebp
call edx
mov dword [esi + 0x20], ebp
mov dword [esi + 8], ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esi]
push ebp
mov ebx, edx
mov edx, dword [eax + 0x14]
push ecx
mov ecx, esi
call edx
test al, al
je 0x461ed6
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x461ed6
cmp ebp, ebx
jg 0x461eb6
jl 0x461eae
cmp dword [esp + 0x10], edi
jae 0x461eb6
mov eax, dword [esp + 0x10]
mov ecx, ebp
jmp 0x461eba
mov eax, edi
mov ecx, ebx
mov edx, dword [esi]
push 0
push ecx
push eax
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
pop edi
pop ebp
pop ebx
ret 8
pop edi
or eax, 0xffffffff
pop ebp
or edx, eax
pop ebx
ret 8

Function at 0x464ce0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x148
push edi
test esi, esi
je 0x464d60
cmp byte [esi], 0
je 0x464d60
push 4
push 0x49665c
push esi
call fcn.00478e34
add esp, 0xc
test eax, eax
mov eax, esi
jne 0x464d09
lea eax, [esi + 4]
mov edi, 0x495114
call fcn.00408bf0
test eax, eax
je 0x464d43
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x464d60
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x464d39
mov ecx, dword [esp + 8]
mov dword [ebx], ecx
mov al, 1
pop edi
add esp, 0x148
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test ebx, ebx
je 0x464d50
mov dword [ebx], eax
xor edx, edx
cmp eax, 0xffffffff
setne al
pop edi
add esp, 0x148
ret
xor al, al
pop edi
add esp, 0x148
ret

Function at 0x464f70
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp], eax
cmp eax, 0xffffffff
jne 0x464fa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x464fa4
or eax, 0xffffffff
or edx, 0xffffffff
add esp, 0xc
ret
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
ret

Function at 0x465330
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x8000
call fcn.00488480
push esi
push 0x7fff
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x46536e
lea edx, [esi + 1]
push edx
lea eax, [esp + 8]
push eax
push edi
call fcn.0047b470
add esp, 0xc
mov eax, esi
pop esi
add esp, 0x8000
ret
mov byte [edi], 0
pop esi
add esp, 0x8000
ret
Function at 0x465b80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebp
push esi
push 2
push 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebp, dword [esp + 0x20]
mov esi, eax
test esi, esi
je 0x465c99
mov eax, ebp
test ebp, ebp
jns 0x465bb4
neg eax
jmp 0x465be6
jne 0x465bbb
mov eax, 1
lea ecx, [esp + 0xc]
push ecx
push 0x465b50
push 0xe
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov eax, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
movzx edx, ax
push 0xe
push edx
push esi
call edi
test eax, eax
je 0x465c89
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push esi
call ebx
test eax, eax
je 0x465c88
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call ebp
test eax, eax
je 0x465c84
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp edx, 0xffffffff
jne 0x465c29
mov edx, ecx
cmp ecx, 0xffffffff
jne 0x465c32
mov ecx, dword [esp + 0x30]
push 0
push edx
push ecx
push 1
push eax
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
test eax, eax
je 0x465c84
movzx eax, ax
push 3
push eax
push esi
call edi
mov edi, eax
test edi, edi
je 0x465c84
push edi
push esi
call ebx
test eax, eax
je 0x465c84
push eax
call ebp
mov ebx, eax
test ebx, ebx
je 0x465c84
push 0
push 0
push 0
push 0x30000
push 1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x28]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0xc]
pop edi
test eax, eax
jne 0x465ccd
test ebp, ebp
jle 0x465cb4
mov ecx, dword [esp + 0x1c]
lea eax, [ebp - 1]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconA]
pop esi
pop ebp
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ebp, 0xffffffff
setge al
dec eax
and eax, ebp
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconA]
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x466190
Capabilities:
Write clipboard data

Disassembly:
sub esp, 0xc
push esi
mov esi, eax
cmp byte [esi + 0x17], 0
push edi
mov edi, ecx
jne 0x4661a2
mov esi, dword [esi + 0xc]
cmp byte [edi + 0x17], 0
jne 0x4661ab
mov edi, dword [edi + 0xc]
mov al, byte [esi + 0x15]
test al, 0x10
je 0x46622d
test al, 8
jne 0x466212
mov ecx, dword [esi + 8]
movsx edx, byte [ecx]
mov eax, dword [esi + 0xc]
movsx ecx, byte [eax + ecx - 1]
cmp edx, 0x20
je 0x4661e2
cmp edx, 9
je 0x4661e2
cmp ecx, 0x20
je 0x4661e2
cmp ecx, 9
je 0x4661e2
cmp edx, 0x30
je 0x4661e2
cmp edx, 0x2b
jne 0x466212
mov ecx, dword [esi + 8]
push edi
call fcn.004011f0
test eax, eax
jne 0x4661f7
xor eax, eax
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0x10
push eax
push ecx
mov eax, edi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
add esp, 0xc
ret
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 0x18
push edx
push eax
mov eax, edi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
add esp, 0xc
ret
test al, 0x20
je 0x46628d
test al, 8
jne 0x466269
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edi
call fcn.004011f0
test eax, eax
je 0x4661ef
fld qword [esi]
push 0x20
fstp qword [esp + 0xc]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.004010d0
mov eax, 1
pop edi
pop esi
add esp, 0xc
ret
fld qword [esi]
push 0x28
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov eax, edi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
add esp, 0xc
ret
test al, 1
je 0x46629f
mov ecx, esi
mov edx, edi
pop edi
pop esi
add esp, 0xc
jmp fcn.00466670
test al, 2
je 0x4662bb
mov esi, dword [esi]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
push esi
mov eax, edi
call fcn.0044a870
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edi
call fcn.004011f0
pop edi
pop esi
add esp, 0xc
ret

Function at 0x4662d0
Capabilities:
Write clipboard data

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
dec eax
cmp eax, 4
ja case.default.0x4662e0
jmp dword [eax*4 + 0x466378]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push edi
call fcn.00411d40
pop esi
ret
mov eax, dword [esi + 4]
test eax, eax
je case.default.0x4662e0
mov ecx, dword [esi]
cmp byte [ecx], 0x30
je 0x466313
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push edi
call fcn.00411d40
pop esi
ret
push edi
or eax, 0xffffffff
call fcn.004011f0
test eax, eax
jne 0x466322
pop esi
ret
mov esi, dword [esi + 4]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push 0x10
push ecx
push edx
mov eax, edi
call fcn.004010d0
mov eax, 1
pop esi
ret
mov eax, dword [esi]
mov ecx, edi
pop esi
jmp fcn.00466190
fld qword [esi]
sub esp, 8
fstp qword [esp]
push edi
call fcn.00411d70
pop esi
ret
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
push esi
mov eax, edi
call fcn.0044a870
pop esi
ret
mov ecx, dword [esi]
push edi
or eax, 0xffffffff
call fcn.004011f0
pop esi
ret
Function at 0x466670
Capabilities:
Write clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, edx
cmp byte [esi + 0x17], 0
push edi
mov ebx, ecx
jne 0x46668a
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 0
je 0x466681
cmp byte [ebx + 0x17], 0
jne 0x466693
mov ebx, dword [ebx + 0xc]
mov eax, ebx
call fcn.00401150
cmp byte [esi + 0x17], 1
jne 0x4666f5
push 1
mov ecx, esi
call fcn.00401230
cmp dword [ebx + 8], eax
je 0x46676e
mov eax, dword [ebx + 0xc]
push 0
push 1
push eax
push 0
mov ecx, esi
call fcn.004668b0
test eax, eax
jne 0x4666cf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov edx, dword [esi + 8]
inc eax
push eax
push ecx
push edx
call fcn.0047b470
add esp, 0xc
or byte [esi + 0x15], 1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, 0x4a2bfc
call fcn.00403f70
test eax, eax
jne 0x46671f
push 0x49588a
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4a2c18
call fcn.00429900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, edi
lea esi, [edi + 4]
mov dword [esp + 0x14], eax
cmp esi, eax
jbe 0x466784
xor esi, esi
cmp dword [0x4a2c14], esi
je 0x46676e
cmp dword [0x4a2c04], esi
je 0x46675c
mov eax, dword [0x4a2bfc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4a2c04], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4a2c14], esi
mov dword [0x4a2bfc], esi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x14]
mov edi, dword [edi]
mov dword [esp + 0x18], edi
test edi, edi
je 0x466738
mov ecx, esi
add esi, 4
cmp esi, eax
ja 0x466738
mov ebx, dword [ecx]
mov edi, esi
add esi, ebx
cmp esi, eax
ja 0x466738
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4667f1
test ebx, ebx
je 0x4667d7
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x466848
push ebx
push edi
push eax
call fcn.0047b470
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, esi
mov eax, dword [esp + 0x18]
push ebp
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
lea esi, [edi + 4]
cmp esi, dword [esp + 0x14]
jbe 0x466780
jmp 0x466738
cmp dword [0x4a2c14], 0
je 0x46682c
cmp dword [0x4a2c04], 0
je 0x46681a
mov ecx, dword [0x4a2bfc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4a2c04], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x4a2c14], eax
mov dword [0x4a2bfc], eax
push 0x49588a
push str.Out_of_memory.
mov ecx, 0x4a2c18
call fcn.00429900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
cmp dword [0x4a2c14], esi
je 0x466886
cmp dword [0x4a2c04], esi
je 0x466874
mov edx, dword [0x4a2bfc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4a2c04], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4a2c14], esi
mov dword [0x4a2bfc], esi
push 0x49588a
push 0x4901f4
mov ecx, 0x4a2c18
call fcn.00429900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x466bf0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
mov ebx, ecx
movzx eax, byte [ebx + 0x17]
push esi
push edi
cmp eax, 3
ja case.default.0x466c03
jmp dword [eax*4 + 0x466d58]
mov eax, ebx
call fcn.00401150
cmp dword [0x4a0b8c], 0
jne 0x466c93
cmp dword [ebx + 0xc], 0
jne 0x466c93
mov edi, dword [esp + 0x14]
cmp dword [0x4a3b6c], ebx
jne 0x466c30
test edi, edi
jne 0x466c6e
mov ecx, dword [ebx + 0x18]
push 0
lea eax, [esp + 0x13]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x466c6a
mov dword [0x4a3b6c], 0
test edi, edi
je 0x466c62
mov ecx, dword [ebx + 0x18]
call fcn.00465330
pop edi
pop esi
pop ebx
pop ecx
ret 4
dec eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
test edi, edi
je 0x466c84
mov byte [edi], 0
mov dword [0x4a3b6c], 0
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov dword [0x4a3b6c], ebx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
mov edi, dword [ebx + 0xc]
test esi, esi
je 0x466ce8
test edi, edi
jne 0x466cae
mov byte [esi], 0
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [ebx + 8]
cmp esi, ecx
je 0x466ce8
cmp edi, 0x186a0
jae 0x466cd9
mov al, byte [ecx]
test al, al
je 0x466ccd
inc ecx
mov byte [esi], al
mov al, byte [ecx]
inc esi
test al, al
jne 0x466cc3
mov byte [esi], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 4
push edi
push ecx
push esi
call fcn.0047b470
add esp, 0xc
mov byte [edi + esi], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
push edx
call fcn.00466bf0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
push esi
mov ecx, 0x4a2bfc
call fcn.004039a0
cmp eax, 0xffffffff
jne 0x466d1b
xor eax, eax
test esi, esi
je 0x466d4f
mov byte [eax + esi], 0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x466d35
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x10]
push eax
push ecx
call edx
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x467640
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0x10
push edi
mov edi, eax
test edi, edi
jne 0x46764f
pop edi
add esp, 0x10
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebp
push esi
push 0
push edi
call ebx
mov ebp, eax
mov dword [esp + 0x1c], ebp
cmp ebp, dword [0x4a2bbc]
je 0x46767a
mov esi, edi
call fcn.00468640
test al, al
jne 0x467812
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x467694
push eax
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp edi, esi
jne 0x4676a2
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
add esp, 0x10
ret
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4676b6
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4a0b5a], 0
jne 0x4676d0
push esi
call fcn.004675e0
add esp, 4
test eax, eax
jne 0x467814
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test esi, esi
je 0x46772d
push 0
push esi
call ebx
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x46772d
cmp dword [0x4a2bbc], ebx
je 0x467714
call fcn.00468640
test al, al
jne 0x467714
mov eax, dword [0x4a2bbc]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x12]
test ebp, ebp
je 0x46772d
cmp ebx, ebp
je 0x46772d
push 1
push ebp
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esp + 0x14], 0
jmp 0x467740
push edi
call ebx
push 1
push 0xa
mov dword [0x49d328], 0
call fcn.00401340
add esp, 8
mov dword [0x49d328], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
cmp ebp, edi
jne 0x467773
mov ebp, edi
jmp 0x467784
cmp ebp, esi
je 0x467788
push 4
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
cmp edi, eax
jne 0x467788
test ebp, ebp
jne 0x4677c9
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 5
jl 0x467740
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040e2a0
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040e2a0
push esi
call fcn.004675e0
add esp, 0x34
mov ebp, eax
cmp byte [esp + 0x12], 0
je 0x4677e4
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4a2bbc]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [esp + 0x13], 0
je 0x4677fd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test ebp, ebp
je 0x467812
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop esi
mov eax, ebp
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
xor eax, eax
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
Function at 0x467900
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x467910
mov eax, esi
call fcn.0044a470
jmp 0x46791d
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 4]
test eax, eax
js 0x467978
je 0x467978
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
push 1
push 0x8000012f
mov edi, eax
call fcn.00401340
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x467975
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x467975
push 1
push 0x8000012f
call fcn.00401340
add esp, 8
push esi
call ebx
test eax, eax
jne 0x467954
pop edi
pop ebp
pop ebx
mov eax, esi
ret