joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50324a
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
jg 0x503261
xor eax, eax
jmp 0x50332f
and dword [edi + 0x58], 0
lea eax, [edi + 0x18]
and dword [edi + 0x5c], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call esi
lea eax, [edi + 0x30]
push eax
call esi
xor esi, esi
push esi
push SysReAllocString
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push esi
push esi
push 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x48], eax
call esi
mov dword [edi + 0x4c], eax
xor eax, eax
push eax
push eax
push 1
push eax
call esi
mov dword [edi + 0x50], eax
xor eax, eax
push eax
push eax
push eax
push eax
call esi
mov dword [edi + 0x54], eax
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
jle 0x50331e
push 8
call fcn.00506ecd
mov esi, eax
mov dword [ebp + 8], esi
pop ecx
test esi, esi
je 0x503319
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x5034e9
push 0
push 0
call fcn.005a2a64
add esp, 0x18
mov dword [ebp - 4], eax
test eax, eax
je 0x50330f
mov dword [esi], eax
mov ecx, edi
lea eax, [ebp + 8]
mov dword [esi + 4], edi
push eax
call fcn.00503abe
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x503319
push 8
push esi
call fcn.005066f1
pop ecx
pop ecx
sub ebx, 1
jne 0x5032c4
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
inc eax
mov dword [edi + 0x60], eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x523919
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 8
call fcn.00506ecd
pop ecx
mov ecx, eax
test ecx, ecx
je 0x52394f
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push ecx
push 0x524c1f
push 0
push 0
call fcn.005a2a64
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x5239ae
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
jne 0x523a2d
push ebx
push edi
lea ebx, [esi + 8]
mov dword [esi + 0x28], 1
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x30], edi
jle 0x5239e6
mov eax, dword [esi + 0x2c]
push 0x1c
push dword [eax + edi*4]
call fcn.005066f1
inc edi
pop ecx
pop ecx
cmp edi, dword [esi + 0x30]
jl 0x5239d1
lea ecx, [esi + 0x2c]
call fcn.005246e3
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
cmp dword [esi + 0x24], ebx
je 0x523a1a
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x24], ebx
cmp dword [esi + 0x20], ebx
je 0x523a2b
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], ebx
pop edi
pop ebx
pop esi
ret

Function at 0x523bf5
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
xor esi, esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x20319
push esi
push str.SoftwareMicrosoftWindowsDWM
push SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x523c2f
xor eax, eax
jmp 0x523c63
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.ColorizationColor
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
xor edx, edx
push dword [ebp - 8]
test eax, eax
cmovne ecx, edx
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x523c79
Capabilities:
Check os version

Disassembly:
push pe_nt_image_headers32
mov eax, 0x5df493
call fcn.00506dfb
mov eax, dword [0x6867a8]
test eax, eax
jne 0x523ef1
push 0x118
xor edi, edi
lea eax, [ebp - 0x128]
push edi
push eax
call fcn.0056b050
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x12c]
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
push eax
call esi
test eax, eax
jne 0x523ceb
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call esi
test eax, eax
je 0x523ef1
xor esi, esi
inc esi
mov eax, esi
jmp 0x523cee
xor esi, esi
inc esi
mov ebx, edi
test eax, eax
je 0x523d0e
mov al, byte [ebp - 0x12]
cmp al, 1
je 0x523d96
cmp al, 3
jne 0x523d96
mov ebx, esi
jmp 0x523d96
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
push str.ProductType
call fcn.00413f09
push ecx
mov ecx, esp
mov dword [ebp - 4], edi
push 0x5f1b48
call fcn.00413f09
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x130]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.0052431e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
add esp, 0x10
push dword [ebp - 0x130]
push str.WINNT
call esi
push dword [ebp - 0x130]
mov ebx, edi
push str.LANMANNT
call esi
push 1
pop ecx
push dword [ebp - 0x130]
test eax, eax
push str.SERVERNT
cmove ebx, ecx
call esi
mov ecx, dword [ebp - 0x130]
test eax, eax
push 1
pop esi
cmove ebx, esi
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov eax, dword [ebp - 0x11c]
push 2
pop edx
sub eax, edx
jne 0x523ee9
mov ecx, dword [ebp - 0x128]
cmp ecx, 5
jb 0x523ee7
mov eax, dword [ebp - 0x124]
jne 0x523de0
test eax, eax
je 0x523ee7
cmp eax, esi
jne 0x523dd1
mov edi, edx
jmp 0x523ee9
cmp eax, edx
jne 0x523ee3
push 3
jmp 0x523ee0
cmp ecx, 6
jne 0x523ed5
test eax, eax
jne 0x523df5
lea edi, [ebx + 5]
jmp 0x523ee9
cmp eax, esi
jne 0x523e01
lea edi, [ebx + 7]
jmp 0x523ee9
cmp eax, edx
jne 0x523ec7
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push 0x5f1bf4
lea edi, [ebx + 9]
call fcn.00413f09
push ecx
mov ecx, esp
mov dword [ebp - 4], esi
push 0x5f1c18
call fcn.00413f09
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x134]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
push eax
call fcn.0052431e
add esp, 0x10
push 0x5f1c74
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 2
call fcn.0042e677
push 0xd
pop esi
test eax, eax
jne 0x523e6b
push 0xc
pop edi
jmp 0x523e80
push 0x5f1c7c
lea ecx, [ebp - 0x134]
call fcn.0042e677
test eax, eax
cmove edi, esi
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push 0x5f1c84
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push 0x5f1c18
call fcn.00413f09
push ebx
mov byte [ebp - 4], 2
call fcn.00524434
mov ecx, dword [ebp - 0x134]
add esp, 0xc
cmp eax, 0xa
cmove edi, esi
lea ecx, [ecx - 0x10]
call fcn.00412ac4
jmp 0x523ee9
cmp eax, 3
jne 0x523ed0
push 0xc
jmp 0x523ee0
cmp eax, 4
je 0x523ede
cmp ecx, 0xa
jne 0x523ee3
test eax, eax
jne 0x523ee3
push 0xd
pop edi
jmp 0x523ee9
push 0xe
jmp 0x523ee0
mov edi, esi
mov dword [0x6867a8], edi
mov eax, edi
call fcn.00506da5
ret
Function at 0x524231
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x524254
or esi, 1
push 1
call edi
test ax, ax
jns 0x524260
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x52426c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x524278
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x52431e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb4
mov eax, 0x5df4d6
call fcn.00506dfb
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc0], ebx
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0xb8]
push ecx
push 0x20019
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x52440a
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x208
push eax
lea eax, [ebp - 0xb0]
push eax
push ebx
push ebx
push esi
push dword [ebp - 0xb8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xb8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x52440a
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00413f09
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], ebx
jle 0x5243ee
add eax, 0xfffffff0
push eax
call fcn.00412393
pop ecx
mov ecx, dword [ebp - 0xb4]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00412ac4
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
jmp 0x524427
push 0x5f1b30
mov ecx, edi
call fcn.00413f09
mov ecx, dword [ebp - 0xb4]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
jmp 0x524416
push 0x5f1b30
mov ecx, edi
call fcn.00413f09
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov eax, edi
call fcn.00506da5
ret

Function at 0x524434
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x5df50e
call fcn.00506dc7
push 4
pop eax
xor esi, esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], esi
call fcn.0052406e
test al, al
mov edx, 0x100
mov ecx, esi
lea eax, [ebp - 0x10]
push eax
cmovne ecx, edx
or ecx, 0x20019
push ecx
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5244a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00412ac4
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, esi
call fcn.00506d90
ret
Function at 0x53328f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x14c]
call fcn.00523ef7
mov edi, dword [ebp + 8]
test eax, eax
jle 0x5332d9
push ebx
lea ecx, [esi + 0x14c]
call fcn.005234cc
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
test al, al
jne 0x533364
lea ecx, [esi + 0x14c]
inc ebx
call fcn.00523ef7
cmp ebx, eax
jl 0x5332ae
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 0x533306
cmp ebx, ecx
jne 0x5333ba
test eax, 0x40000000
je 0x5333ba
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
sub eax, 0x100
je 0x5333c5
sub eax, 4
je 0x533368
dec eax
sub eax, 1
jne 0x5333ba
push edx
mov dword [ebp + 8], eax
call fcn.0059aa60
pop ecx
mov ecx, dword [esi + 0x70]
lea edx, [ebp + 8]
push 0x80000014
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x534e22
call dword [eax + 0x1d0]
mov esi, eax
test esi, esi
je 0x5333ba
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1a8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov al, 1
jmp 0x5333bc
cmp dword [esi + 0x74], 0
je 0x5333ba
xor eax, eax
mov byte [ebp - 0x24], 0
push 8
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x20], 7
mov word [ebp - 0xc], dx
mov dword [ebp - 0x10], eax
call fcn.00524231
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x74]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1dc]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edx, 9
jne 0x5333ba
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x53341a
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x53341a
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x53341a
mov ecx, dword [esi + 0x74]
push str.UIRichEdit
mov eax, dword [ecx]
call dword [eax + 8]
push eax
call fcn.0056b942
pop ecx
pop ecx
test eax, eax
je 0x53341a
mov ecx, dword [esi + 0x74]
lea eax, [ecx - 8]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.0054e439
test al, al
jne 0x5333ba
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.005344f8
jmp 0x533364
Function at 0x5341e4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x534208
cmp esi, dword [ebx + 0x74]
je 0x534208
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x74]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x5342d4
mov dword [ebx + 0x74], esi
push edi
test eax, eax
je 0x534262
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], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x1dc]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.killfocus
push edi
call fcn.00533ccf
cmp dword [ebx + 0x74], 0
je 0x5342d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
cmp eax, ebx
jne 0x5342d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x5342d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x188]
test al, al
je 0x5342d3
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], 0x1b
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x74]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1dc]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x74]
call fcn.00533ccf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x536298
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 4
push ebx
mov esi, ecx
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
push 0
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x536394
lea ebx, [esi + 0x1c]
cmp dword [ebp - 4], 0
je 0x53631c
mov edi, dword [ebp - 4]
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x536316
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 8]
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x536312
xor edi, edi
test edi, edi
jne 0x5362ec
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x536383
test eax, eax
je 0x536394
cmp dword [esi + 0x20], 0x10
jne 0x53634e
mov eax, dword [ebp + 8]
cmp dword [ebx], eax
jne 0x53634e
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
test eax, eax
jne 0x53636d
push ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esi + 0x20], 0x12
je 0x536394
push ebx
call fcn.00535d45
pop ecx
test eax, eax
je 0x536383
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5362e3
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x20], 0x12
jne 0x5363b3
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esi + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x54b99e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x2c0], 0
je 0x54ba2b
cmp dword [esi + 0x2b8], 0
je 0x54ba2b
mov eax, dword [esi]
call dword [eax + 0x44]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x54ba2b
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00507810
mov eax, esp
mov dword [ebp - 8], eax
test eax, eax
je 0x54ba2b
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x2b8]
push dword [ebp - 8]
add ecx, 0xd8
call fcn.0041421f
mov ecx, dword [esi + 0x2b8]
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.00533ccf
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x550ba4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x290], edi
je 0x550c11
cmp dword [ebp + 8], 0x100
jne 0x550c00
cmp word [ebp + 0xc], 0xd
jne 0x550c00
cmp byte [esi + 0x29e], 0
je 0x550be4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x550c00
cmp byte [esi + 0x29f], 0
jne 0x550c00
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x550bfc
push edi
push edi
push edi
push str.return
lea eax, [esi + 8]
push eax
call fcn.00533ccf
xor eax, eax
jmp 0x550c14
mov eax, dword [esi + 0x290]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x55a156
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x67e3dc]
cmp esi, 0xffffffff
jne 0x55a1b7
push 0x110
xor esi, esi
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0056b050
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x55a1b1
cmp dword [ebp - 0x114], 6
jb 0x55a1b1
inc esi
mov dword [0x67e3dc], esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp esi, 1
pop esi
sete al
xor ecx, ebp
call fcn.00506d7f
mov esp, ebp
pop ebp
ret

Function at 0x55e535
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x55e559
cmp dword [esi + 8], edi
jge 0x55e551
push esi
call fcn.0055d805
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x55e582
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x55e565
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x55e59f
mov edx, dword [esi]
cmp edx, dword [esi + 4]
jb 0x55e58d
xor eax, eax
jmp 0x55e595
mov al, byte [edx]
inc edx
mov dword [esi], edx
movzx eax, al
mov byte [ebp + ecx + 8], al
inc ecx
cmp ecx, 4
jl 0x55e584
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x55e5d3
mov dword [0x686db8], str.zlib_corrupt
xor eax, eax
jmp 0x55e615
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x55e5e8
mov dword [0x686db8], str.read_past_buffer
jmp 0x55e5cf
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x55e5ff
push edi
push esi
call fcn.0055d6d6
pop ecx
pop ecx
test eax, eax
je 0x55e5cf
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0056a550
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x55f2e6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jg 0x55f2f5
xor eax, eax
jmp 0x55f327
push 4
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0056a550
xor ecx, ecx
add esp, 0xc
mov edx, ecx
test esi, esi
jle 0x55f324
push edi
mov edi, dword [ebp + 0xc]
mov al, byte [ebp + ecx + 0x10]
xor byte [edx + edi], al
inc ecx
and ecx, 3
inc edx
cmp edx, esi
jl 0x55f313
pop edi
xor eax, eax
inc eax
pop esi
pop ebp
ret

Function at 0x56046a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, esi
mov edi, eax
call fcn.0055ff33
test al, al
je 0x5604bf
cmp byte [ebp + 8], 0
je 0x5604bf
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x11], 1
je 0x5604a1
push edi
mov ecx, esi
call fcn.005604e1
jmp 0x5604a5
mov byte [esi + 0x10], 1
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x5604db
push 4
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5604db
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5604d7
push 0
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x11], 0
pop edi
pop esi
pop ebp
ret 8

Function at 0x561dbe
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 4], 0
je 0x561e38
mov eax, dword [esi]
call dword [eax + 0xc]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x561e38
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
call fcn.00507810
mov eax, esp
mov dword [ebp - 8], eax
test eax, eax
je 0x561e38
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x561e38
push dword [ebp - 8]
add ecx, 0xd8
call fcn.0041421f
mov ecx, dword [esi + 8]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.textchanged
call fcn.00539735
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x561ef7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0xc]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x561f73
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
call fcn.00507810
mov eax, esp
mov dword [ebp - 8], eax
test eax, eax
je 0x561f99
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x561f56
push dword [ebp - 8]
add ecx, 0xd8
call fcn.0041421f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x561f99
mov eax, dword [ecx]
push 0xffffffffffffffff
call dword [eax + 0x148]
mov ecx, dword [edi + 8]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.nativekillfocus
call fcn.00539735
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 0x10