joyce8/EMBER2024-capa huggingface dataset:
Function at 0x595840
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7bc120
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x2c]
call fcn.0040cd50
mov dword [ebp - 4], 0
push str.GAI.dll
lea ecx, [ebp - 0x48]
call fcn.00403bf0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00615fc0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00403c30
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403c80
push eax
call fcn.00612ad0
add esp, 8
test eax, eax
jne 0x5958c6
lea ecx, [ebp - 0x2c]
call fcn.004df130
lea ecx, [ebp - 0x2c]
call fcn.0041edf0
movzx edx, al
test edx, edx
jne 0x595932
lea ecx, [ebp - 0x2c]
call fcn.00403c80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x595932
lea ecx, [ebp - 0x2c]
call fcn.00403c80
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x4c]
cmp dword [edx], 0
je 0x595932
push str.CreateGetAccountInfo
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x4c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 4], 0
je 0x595932
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
call edx
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403c30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret

Function at 0x596340
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jge 0x596358
mov esi, 8
push 2
call edi
test ax, ax
jge 0x596364
or esi, 1
push 1
call edi
test ax, ax
jge 0x596370
or esi, 2
push 0x10
call edi
test ax, ax
jge 0x59637c
or esi, 4
push 0x12
call edi
test ax, ax
jge 0x596388
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x59a210
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xdc]
mov ecx, edi
xor ebp, ebp
call fcn.0059ca80
mov ebx, dword [esp + 0x38]
test eax, eax
jle 0x59a26c
push ebp
mov ecx, edi
mov byte [esp + 0x3c], 0
call fcn.0059cac0
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
mov ecx, eax
call edx
cmp byte [esp + 0x38], 0
jne 0x59a3cb
mov ecx, edi
inc ebp
call fcn.0059ca80
cmp ebp, eax
jl 0x59a230
mov eax, dword [esp + 0x34]
sub eax, 0x100
je 0x59a35d
sub eax, 4
je 0x59a2ea
sub eax, 2
jne 0x59a351
xor ecx, ecx
push ebx
mov word [esp + 0x38], ax
mov word [esp + 0x3a], cx
call fcn.00724116
mov ecx, dword [esi + 0x54]
add esp, 4
mov word [esp + 0x34], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
push reloc.OLEAUT32.dll_VariantCopyInd
lea eax, [esp + 0x38]
push eax
push 0x5985e0
call edx
mov esi, eax
test esi, esi
je 0x59a351
mov eax, dword [esi]
mov edx, dword [eax + 0x12c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0x10
cmp dword [esi + 0x58], 0
je 0x59a351
mov ecx, dword [esi + 0x70]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x10], 6
mov word [esp + 0x24], bx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00596340
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esi + 0x58]
mov dword [esp + 0x18], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 0x10
cmp ebx, 9
jne 0x59a351
cmp dword [esi + 0x58], 0
je 0x59a3b2
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x59a3b2
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10c]
call edx
test al, al
je 0x59a3b2
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.RichEditUI
call edx
push eax
call fcn.00723723
add esp, 8
test eax, eax
je 0x59a3b2
mov ecx, dword [esi + 0x58]
call fcn.005b9a90
test al, al
jne 0x59a351
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx ecx, al
push ecx
mov ecx, esi
call fcn.00599f30
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0x10
Function at 0x59efc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
xor esi, esi
test eax, eax
je 0x59f0a5
push 0x82907c
push eax
call fcn.004b72d0
add esp, 8
test eax, eax
je 0x59f0a5
mov eax, dword [esp + 0x10]
cmp eax, 6
je 0x59f086
cmp eax, 0x28
je 0x59f002
mov esi, 0x80040100
mov eax, esi
pop esi
ret 0x18
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SoftwareLDSGameCenterDebug
push reloc.gdiplus.dll_Ordinal_1
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x59f06d
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push str.ScriptError
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x59f05e
cmp dword [esp + 0x10], 1
jne 0x59f05e
mov esi, 0x80040100
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jl 0x59f0aa
mov eax, dword [esp + 0x1c]
mov edx, 0xb
or ecx, 0xffffffff
mov word [eax], dx
mov word [eax + 8], cx
mov eax, esi
pop esi
ret 0x18
mov eax, dword [esp + 8]
cmp dword [eax + 0xa8], esi
je 0x59f0aa
mov ecx, dword [eax + 0xa8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov eax, esi
pop esi
ret 0x18
mov esi, 0x80040104
mov eax, esi
pop esi
ret 0x18
Function at 0x5a20c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x7bce5b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, dword [esp + 0x248]
push 0x39
xor ebx, ebx
xor eax, eax
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
call fcn.00404850
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24c], ebx
call fcn.004053c0
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x5a2150
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x5a21ba
push 0x208
push eax
lea edx, [esp + 0x34]
push edx
call fcn.007202b0
add esp, 0xc
push 0x104
lea eax, [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x5a21ba
push 4
lea edx, [esp + 0x250]
push edx
push 4
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x5a21ba
lea ebx, [eax + 1]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5a21c9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x28], esi
jb 0x5a21dc
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00704960
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x238
ret 8
Function at 0x5a53e0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x7bd2bb
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0x40
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [esp + 0xc0]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
mov dword [esi + 0x14], eax
mov dword [eax + 0x580], ebx
cmp dword [esi + 4], ebx
jne 0x5a54c4
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
push eax
lea ecx, [esp + 0x20]
call fcn.0059c680
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x14]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
push ebx
mov dword [eax + 0xc], edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push 0x40000000
push ebx
call edx
mov ecx, eax
call fcn.005967d0
push eax
mov ecx, esi
call fcn.005a4a10
mov edi, dword [esi + 0x14]
mov ecx, edi
call fcn.005c2740
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
mov ecx, eax
call fcn.00597fd0
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push 1
push eax
push 0x30
push ecx
call ebp
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x2c]
push eax
call edx
mov ecx, eax
mov dword [esp + 0xb8], ebx
call fcn.0059cec0
lea ecx, [esp + 0x2c]
mov bl, al
mov dword [esp + 0xb8], 0xffffffff
call fcn.0059cc80
test bl, bl
je 0x5a550a
mov eax, dword [esi + 0x14]
add eax, 0x570
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 4]
add ecx, 0x570
push ecx
push 0
push 0x1002
push edx
call ebp
mov eax, dword [esi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x1c], 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 4
Function at 0x5babc0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x584], 0
je 0x5bac45
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
cmp edi, 0x100
jne 0x5bac23
cmp bx, 0xd
jne 0x5bac23
cmp byte [esi + 0x58a], 0
je 0x5bac03
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x5bac23
cmp byte [esi + 0x58b], 0
jne 0x5bac23
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x5bac1b
push 0
push 0
push 0
push str.return
push esi
call fcn.00599100
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esi + 0x584]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebx
push edi
call edx
pop edi
pop ebx
pop esi
ret 0x10
mov eax, 1
pop esi
ret 0x10
Function at 0x5e1270
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x5a8
jmp method.DuiLib::CAutoListUI.3.virtual_332
Function at 0x5e4cf0
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x580
jmp method.DuiLib::CAutoTableUI.3.virtual_332
Function at 0x5ea6f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7bff10
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x5ea880
cmp dword [esi + 0x14], 0
je 0x5ea880
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.00729720
mov ebx, esp
test ebx, ebx
je 0x5ea880
mov ecx, dword [esi + 4]
push edi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0x7a0]
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
call fcn.00403bf0
push 1
push 0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0xa
call fcn.0040d220
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5ea806
push ebx
push 0
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004b66d0
mov edi, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], edi
jb 0x5ea7b8
mov eax, dword [eax + 4]
jmp 0x5ea7bb
add eax, 4
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x178]
call eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00403c30
push ebx
push 0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004b66d0
cmp dword [eax + 0x18], edi
jb 0x5ea7ee
mov eax, dword [eax + 4]
jmp 0x5ea7f1
add eax, 4
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x50]
call fcn.00403c30
jmp 0x5ea856
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x5ea812
lea eax, [ebp - 0x28]
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x178]
call eax
mov ebx, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x5ea856
push 0
push 0
push 0xb0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
and eax, 0xf
lea ecx, [edi - 1]
cmp eax, ecx
je 0x5ea856
mov edx, dword [esi + 4]
push edi
push edi
push 0xb1
push edx
call ebx
mov esi, dword [esi + 0x14]
mov eax, dword [ebp - 0x30]
mov edx, dword [esi]
push 0
push 0
push 0
push str.textchanged
push eax
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
mov ecx, eax
call fcn.00599100
lea ecx, [ebp - 0x2c]
call fcn.00403c30
xor eax, eax
lea esp, [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5ec260
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x489c]
lea eax, [esi + 0x489c]
cmp ecx, 1
jne 0x5ec29e
lea edx, [esp + 4]
push edx
push 4
push esi
push 0x5ec0c0
push 0
push 0
call fcn.007263d8
add esp, 0x18
mov dword [esi], eax
test eax, eax
jbe 0x5ec2a9
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
pop esi
pop ecx
ret
Function at 0x5efeb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7c040b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
lea ecx, [esi + 4]
mov dword [esi], vtable.DuiLib::CBannerTransition.0
call fcn.0059c800
push ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], ebx
call fcn.0059c800
push ebx
push ebx
push 1
mov byte [esi + 0x20], bl
push ebx
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 0x19
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x5f4980
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
mov esi, ecx
cmp eax, 0xd
jne 0x5f49d0
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ebx
call edx
mov ecx, dword [edi + 0xc]
mov ebx, eax
mov eax, dword [edi + 0x10]
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5f49ca
mov edx, dword [edi + 0xc]
sub edx, dword [ebx]
mov dword [esi + 0x54c], edx
mov eax, dword [edi + 0x10]
sub eax, dword [ebx + 4]
mov byte [esi + 0x554], 1
mov dword [esi + 0x550], eax
pop ebx
pop edi
pop esi
ret 4
cmp eax, 0xe
jne 0x5f49f2
mov ecx, dword [esi + 0x548]
mov byte [esi + 0x554], 0
test ecx, ecx
je 0x5f49cb
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
ret 4
cmp eax, 9
jne 0x5f4a26
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x5f4a26
mov ecx, dword [esi + 0x548]
test ecx, ecx
je 0x5f49cb
cmp byte [esi + 0x554], 0
je 0x5f49cb
mov edx, dword [ecx]
mov eax, dword [edx]
add edi, 0xc
push edi
call eax
pop edi
pop esi
ret 4
push edi
mov ecx, esi
call fcn.005bfbb0
pop edi
pop esi
ret 4

Function at 0x5f4a70
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
mov esi, ecx
cmp eax, 0x17
jne 0x5f4a9b
movzx eax, word [esi + 0x54c]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
pop edi
pop esi
mov dword [esp + 4], eax
jmp dword [sym.imp.USER32.dll_SetCursor]
cmp eax, 0xd
jne 0x5f4b08
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5f4b6b
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
mov ecx, dword [eax]
mov dword [esi + 0x558], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x55c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x560], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x564], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0x550], eax
mov ecx, dword [edi + 0x10]
pop edi
mov dword [esi + 0x554], ecx
mov byte [esi + 0x568], 1
pop esi
ret 4
cmp eax, 0xe
jne 0x5f4b2a
mov ecx, dword [esi + 0x548]
mov byte [esi + 0x568], 0
test ecx, ecx
je 0x5f4b6b
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
ret 4
cmp eax, 9
jne 0x5f4b65
cmp dword [esi + 0x548], 0
je 0x5f4b6b
cmp byte [esi + 0x568], 0
je 0x5f4b6b
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x5f4b6b
mov ecx, dword [esi + 0x548]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add edi, 0xc
push edi
push esi
call eax
pop edi
pop esi
ret 4
push edi
call fcn.005bfbb0
pop edi
pop esi
ret 4
Function at 0x5f6960
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
push edi
je 0x5f69d2
cmp dword [esi + 0x14], 0
je 0x5f69d2
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.00729720
mov ebx, esp
test ebx, ebx
je 0x5f69d2
mov ecx, dword [esi + 4]
push edi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x1d4
call fcn.0059cf40
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
push 0
push 0
push 0
push str.textchanged
push ecx
call eax
mov ecx, eax
call fcn.00599100
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5f7710
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x7c099b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0xb4]
lea eax, [esp + 0x10]
push eax
mov dword [esi + 0x14], ebp
call fcn.005f6840
mov ecx, dword [esi + 0x14]
mov al, byte [ecx + 0x579]
mov edx, 0x40000080
test al, al
je 0x5f7769
mov edx, 0x400000a0
mov edi, dword [esp + 0x10]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x30]
push 0
push edx
mov edx, dword [ecx]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x20]
push 0
call eax
mov ecx, eax
call fcn.005967d0
push eax
mov ecx, esi
call fcn.005a4a10
mov edi, dword [esi + 0x14]
mov ecx, edi
call fcn.005c2740
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
mov ecx, eax
call fcn.00597fd0
mov ecx, dword [eax]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ecx
push 0x30
push edx
call edi
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x574]
mov ecx, dword [esi + 4]
push 0
push eax
push 0xc5
push ecx
call edi
mov eax, dword [esi + 0x14]
cmp byte [eax + 0x579], 0
je 0x5f780f
movzx eax, word [eax + 0x57a]
movzx edx, ax
mov eax, dword [esi + 4]
push 0
push edx
push 0xcc
push eax
call edi
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x20]
push eax
call edx
mov ecx, eax
mov dword [esp + 0xac], 0
call fcn.0059ccc0
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esp + 0x20]
mov dword [esp + 0xac], 0xffffffff
call fcn.0059cc80
mov ecx, dword [esi + 4]
push 0
push 0
push 0xb9
push ecx
call edi
push 0
push 3
push 0xd3
mov ecx, esi
call fcn.005a45d0
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10c]
call eax
mov edx, dword [esi + 4]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 4]
xor ecx, ecx
cmp byte [eax + 0x578], 1
push 0
sete cl
push ecx
push 0xcf
push edx
call edi
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp + 0x794]
or ecx, eax
push ecx
push 0xfffffffffffffff0
mov ecx, esi
call fcn.005a3f60
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x1c], 1
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xa0
ret 4