joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447849
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 7
pop ecx
lea eax, [edi - 1]
cmp ecx, eax
sbb al, al
inc al
push str.bad_pack_level
push eax
push esi
call fcn.004450ac
xor ebx, ebx
add esp, 0xc
mov dword [esi + 0x6af78], ebx
cmp dword [esi + 0x6af70], ebx
jne 0x447894
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push ebx
push eax
mov dword [esi + 0x6af6c], ebx
call fcn.0044d1b0
mov eax, edi
movzx ecx, word [eax*8 + 0x4da10a]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x4da108]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x4da10c]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x4da10e]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp edi, 2
jg 0x4478f7
mov eax, dword [ebp + 0x10]
or word [eax], 4
jmp 0x447903
cmp edi, 8
jl 0x447903
mov eax, dword [ebp + 0x10]
or word [eax], 2
push 0x10000
lea edi, [esi + 0x1af70]
push edi
push esi
mov dword [esi + 0x6af84], ebx
mov dword [esi + 0x6af74], ebx
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, ebx
je 0x44796a
cmp eax, 0xffffffff
je 0x44796a
mov dword [esi + 0x6af8c], ebx
cmp eax, 0x106
jae 0x447945
push esi
call fcn.00445b47
pop ecx
mov dword [esi + 0x6af7c], ebx
xor eax, eax
movzx ecx, byte [edi + eax]
shl ebx, 5
xor ebx, ecx
and ebx, 0x7fff
inc eax
mov dword [esi + 0x6af7c], ebx
cmp eax, 2
jb 0x44794d
jmp 0x44797a
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x447fc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x4481e0
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x448042
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x448085
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x448085
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x44806c
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
push esi
call fcn.00445980
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
pop ecx
cmp ebx, eax
jbe 0x448085
mov ebx, eax
cmp ebx, 3
jb 0x44815a
lea eax, [ebx - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.0044548f
sub dword [esi + 0x6af90], ebx
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x448117
cmp eax, 3
jb 0x448117
dec ebx
inc dword [esi + 0x6af84]
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [esi + ecx + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
dec ebx
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x4480c5
jmp 0x44817d
add dword [esi + 0x6af84], ebx
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af70]
mov dword [esi + 0x6af7c], eax
movzx ecx, byte [ecx + esi + 0x1af71]
shl eax, 5
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
xor ecx, eax
and ecx, edi
push 1
push esi
xor ebx, ebx
mov dword [esi + 0x6af7c], ecx
call fcn.004450ac
add esp, 0xc
jmp 0x448183
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.0044548f
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [ebp + 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp + 8], 0
je 0x4481bf
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x44819c
lea ecx, [eax + esi + 0x1af70]
jmp 0x44819e
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00447e1c
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x4481d2
push esi
call fcn.00445b47
pop ecx
cmp dword [esi + 0x6af90], 0
jne 0x447ff2
pop edi
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x4481f3
lea ecx, [eax + esi + 0x1af70]
jmp 0x4481f5
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.00447e1c
add esp, 0x10
pop esi
pop ebx
leave
ret
Function at 0x44d74d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x502ae0]
jne 0x44d757
repz ret
jmp fcn.0045c3dc

Function at 0x474a32
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00458ab5
and dword [ebp - 0x14], 0
cmp dword [0x505f38], 0
mov dword [ebp - 0x18], eax
jne 0x474ae5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x474b8d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4e0a5c
push ebx
call edi
test eax, eax
je 0x474b8d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x505f38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x505f3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x505f40], eax
call edi
push eax
call esi
mov dword [0x505f48], eax
test eax, eax
je 0x474ae5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x505f44], eax
mov eax, dword [0x505f44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x474b3e
cmp dword [0x505f48], ecx
je 0x474b3e
push eax
call esi
push dword [0x505f48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x474b3e
test ebx, ebx
je 0x474b3e
call edi
test eax, eax
je 0x474b35
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x474b35
test byte [ebp - 8], 1
jne 0x474b3e
or dword [ebp + 0x10], 0x200000
jmp 0x474b71
mov eax, dword [0x505f3c]
cmp eax, dword [ebp - 0x18]
je 0x474b71
push eax
call esi
test eax, eax
je 0x474b71
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x474b71
mov eax, dword [0x505f40]
cmp eax, dword [ebp - 0x18]
je 0x474b71
push eax
call esi
test eax, eax
je 0x474b71
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x505f38]
call esi
test eax, eax
je 0x474b8d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x474b8f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d74d
leave
ret

Function at 0x47b3c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 8
call fcn.0044d250
pop ecx
test eax, eax
jne 0x47b3d6
leave
ret
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0x10]
push eax
push 0x47b3a4
push 0
push 0
call fcn.004538c8
add esp, 0x18
leave
ret
Function at 0x47b42c
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x28], edi
jne 0x47b4ad
push ebx
lea eax, [esi + 8]
push eax
mov dword [esi + 0x28], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp dword [esi + 0x30], edi
jle 0x47b462
mov eax, dword [esi + 0x2c]
push dword [eax + ebx*4]
call fcn.0044b7d8
inc ebx
pop ecx
cmp ebx, dword [esi + 0x30]
jl 0x47b450
lea ecx, [esi + 0x2c]
call fcn.0047aff5
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
cmp dword [esi + 0x24], edi
je 0x47b49c
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x24], edi
cmp edi, edi
jne 0x47b47a
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x47b4ad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], edi
pop edi
pop esi
ret

Function at 0x47bbf1
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jns 0x47bc07
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x47bc13
or edi, 1
push 1
call esi
test ax, ax
jns 0x47bc1f
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x47bc2b
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x47bc37
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x47bc3c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20319
xor esi, esi
push esi
push str.SoftwareMicrosoftWindowsDWM
push SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x47bc76
xor eax, eax
jmp 0x47bca4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.ColorizationColor
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x47bc98
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
leave
ret

Function at 0x47bd6d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.0044d1b0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47bdc8
cmp dword [ebp - 0x114], 6
jne 0x47bdc8
cmp dword [ebp - 0x110], 2
jb 0x47bdc8
xor eax, eax
inc eax
jmp 0x47bdca
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d74d
leave
ret
Function at 0x47f22e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x47f253
cmp ebx, dword [esi + 0x74]
je 0x47f253
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x74]
cmp ebx, eax
je 0x47f31d
push edi
test eax, eax
je 0x47f2aa
push 8
pop ecx
xor eax, eax
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x1a
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x74]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x74]
mov ecx, esi
call fcn.0047ed0a
mov dword [esi + 0x74], edi
test ebx, ebx
je 0x47f31c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
cmp eax, esi
jne 0x47f31c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x17c]
test al, al
je 0x47f31c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
test al, al
je 0x47f31c
push 8
pop ecx
xor eax, eax
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov dword [esi + 0x74], ebx
mov dword [ebp - 0x20], 0x1b
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x74]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x74]
mov ecx, esi
call fcn.0047ed0a
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x47f579
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x148]
call fcn.0047b038
mov edi, dword [ebp + 8]
test eax, eax
jle 0x47f5ca
push dword [ebp - 4]
lea ecx, [esi + 0x148]
call fcn.0047b05b
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
test al, al
jne 0x47f65c
inc dword [ebp - 4]
lea ecx, [esi + 0x148]
call fcn.0047b038
cmp dword [ebp - 4], eax
jl 0x47f59a
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push 0xfffffffffffffff0
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi]
cmp dword [edi], ecx
je 0x47f5f7
cmp ebx, ecx
jne 0x47f6b2
test eax, 0x40000000
je 0x47f6b2
mov edx, dword [edi + 8]
mov edi, dword [edi + 4]
sub edi, 0x100
je 0x47f6bb
sub edi, 4
je 0x47f660
dec edi
dec edi
jne 0x47f6b2
xor eax, eax
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
push edx
stosw word es:[edi], ax
call fcn.004c52ab
pop ecx
mov ecx, dword [esi + 0x70]
push 0x80000014
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x47d5f0
call dword [eax + 0x1cc]
mov esi, eax
test esi, esi
je 0x47f6b2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1a4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov al, 1
jmp 0x47f6b4
cmp dword [esi + 0x74], 0
je 0x47f6b2
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x28], 0
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x24], 7
mov word [ebp - 0x10], dx
mov dword [ebp - 0x14], eax
call fcn.0047bbf1
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x74]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
cmp edx, 9
jne 0x47f6b2
cmp dword [esi + 0x74], 0
je 0x47f714
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x47f714
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x47f714
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
push str.UIRichEdit
call dword [eax + 8]
push eax
call fcn.0044bf92
pop ecx
pop ecx
test eax, eax
je 0x47f714
mov eax, dword [esi + 0x74]
test eax, eax
je 0x47f709
lea ecx, [eax - 8]
jmp 0x47f70b
xor ecx, ecx
call fcn.004abed0
test al, al
jne 0x47f6b2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.0047f3d2
jmp 0x47f65c
Function at 0x482d8a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push ebx
push esi
push edi
push 4
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
mov dword [ebp - 0xc], eax
call esi
push 5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
jmp 0x482e7f
xor eax, eax
cmp dword [ebp - 4], eax
je 0x482e08
jmp 0x482dda
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x482e06
push dword [ebp - 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x482e00
and dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x482dd8
xor eax, eax
push eax
push eax
push eax
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x482e7f
test eax, eax
je 0x482e8c
cmp dword [edi + 0x28], 0x10
jne 0x482e3c
mov eax, dword [ebp + 8]
cmp dword [edi + 0x24], eax
jne 0x482e3c
push 1
push dword [ebp - 0xc]
call esi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [edi]
lea eax, [edi + 0x24]
push eax
mov ecx, edi
call dword [edx]
test eax, eax
jne 0x482e64
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [edi + 0x28], 0x12
je 0x482e8c
lea eax, [edi + 0x24]
push eax
call fcn.00482332
add esp, 4
test eax, eax
je 0x482e7f
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x482dcf
push 1
push dword [ebp - 0xc]
call esi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0x28], 0x12
jne 0x482eab
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [edi + 0x2c]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x49ece2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5042ec], 0xffffffff
jne 0x49ed4b
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.0044d1b0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49ed44
cmp dword [ebp - 0x114], 6
jb 0x49ed44
mov dword [0x5042ec], 1
jmp 0x49ed4b
and dword [0x5042ec], 0
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x5042ec], 1
sete al
xor ecx, ebp
call fcn.0044d74d
leave
ret

Function at 0x49fe50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, esi
mov edx, eax
call fcn.0049edb5
test al, al
je 0x49fea2
cmp byte [ebp + 8], 0
je 0x49fea2
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x11], 1
je 0x49fe84
push edx
call fcn.0049fb83
jmp 0x49fe88
mov byte [esi + 0x10], 1
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x49febe
push 4
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x49febe
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49feba
push 0
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x11], 0
pop esi
pop ebp
ret 8
Function at 0x4ac910
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x298], ebx
je 0x4ac97b
cmp dword [ebp + 8], 0x100
jne 0x4ac96a
cmp word [ebp + 0xc], 0xd
jne 0x4ac96a
cmp byte [esi + 0x29e], bl
je 0x4ac94e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4ac96a
cmp byte [esi + 0x29f], bl
jne 0x4ac96a
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
je 0x4ac966
push ebx
push ebx
push ebx
lea eax, [esi + 8]
push 0x4e57f4
push eax
call fcn.0047ed0a
xor eax, eax
jmp 0x4ac97e
mov eax, dword [esi + 0x298]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4b2a07
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x2d8], 0
push edi
je 0x4b2a94
cmp dword [esi + 0x2d0], 0
je 0x4b2a94
mov eax, dword [esi]
call dword [eax + 0x44]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b2a94
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0044eb10
mov ebx, esp
test ebx, ebx
je 0x4b2a94
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x2d0]
push ebx
add ecx, 0xd8
call fcn.004116d4
mov ecx, dword [esi + 0x2d0]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x18]
mov ecx, eax
call fcn.0047ed0a
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d74d
leave
ret 0x10
Function at 0x4b736e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
push edi
je 0x4b739a
mov ecx, dword [esi + 0x10]
add ecx, 8
mov eax, dword [ecx]
push 0
call dword [eax + 0x18]
mov ecx, eax
call fcn.0047cdfa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b73ec
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea eax, [esi + esi]
call fcn.0044eb10
mov eax, esp
test eax, eax
je 0x4b73ec
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d74d
leave
ret 0x10
Function at 0x4bcf84
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
push edi
je 0x4bd02e
cmp dword [esi + 0x10], 0
je 0x4bd02e
mov eax, dword [esi]
call dword [eax + 0x1c]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bd02e
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0044eb10
mov ebx, esp
test ebx, ebx
je 0x4bd02e
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
mov edi, 0xe0
push ebx
add ecx, edi
call fcn.0040fd18
test eax, eax
je 0x4bd02e
mov ecx, dword [esi + 0x10]
push ebx
add ecx, edi
call fcn.004116d4
mov eax, dword [esi + 0x10]
xor edx, edx
cmp eax, edx
je 0x4bd011
add eax, 8
jmp 0x4bd013
xor eax, eax
mov ecx, dword [esi + 0x10]
push edx
push edx
push edx
push str.textchanged
add ecx, 8
push eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, eax
call fcn.0047ed0a
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d74d
leave
ret 0x10

Function at 0x4bef29
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0xc]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4befa5
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0044eb10
mov dword [ebp - 8], esp
test esp, esp
je 0x4befcd
push edi
push dword [ebp - 8]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 8]
test eax, eax
je 0x4bef88
push dword [ebp - 8]
lea ecx, [eax + 0xd8]
call fcn.004116d4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
push 0
push 0x10
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esi + 8], 0
je 0x4befcd
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 0xffffffffffffffff
call dword [eax + 0x148]
mov ecx, dword [esi + 8]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.killfocus
call fcn.0048568f
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d74d
leave
ret 0x10