joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d110
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660179
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x717dac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
push 0x6660c0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00449a80
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45d20e
push ebx
call fcn.0062f5c7
mov esi, eax
add esp, 4
test esi, esi
je 0x45d191
push esi
push ebx
push 0
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x45d203
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x6674a0
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45d203
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x667660
push esi
call fcn.0044ed50
mov ecx, esi
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45d1f1
sub ecx, edx
push ecx
push esi
mov ecx, edi
call fcn.00449a80
push 1
push esi
call fcn.0062ed83
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6601b6
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x717dac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
push 0x400
push 0
push eax
mov dword [ebp - 0x444], esi
call fcn.006319e0
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.ntoskrnl.exe
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.IsWow64Process
push 0x669fe8
mov dword [ebp - 0x444], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x45d2d7
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 0x444], 0
lea eax, [ebp - 0x410]
push eax
je 0x45d378
lea eax, [ebp - 0x428]
push eax
call fcn.0045d110
add esp, 8
push 3
push 0x66a018
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00449920
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x45d401
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45d3f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d41e
jmp 0x45d3f7
lea eax, [ebp - 0x440]
push eax
call fcn.0045d110
add esp, 8
push 3
push 0x66a01c
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00449920
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x42c]
cmp edx, 0x10
jb 0x45d401
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45d3f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d423
push edx
push ecx
call fcn.0062ed83
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062f00e
mov esp, ebp
pop ebp
ret
call fcn.00636d45
call fcn.00636d45
int3
Function at 0x464550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660748
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x717dac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0062f01f
mov edi, eax
add esp, 4
test edi, edi
je 0x4645ed
push 1
mov dword [ebp - 4], 0
call fcn.0062d496
add esp, 4
mov dword [edi + 4], eax
jmp 0x4645ef
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.0044ca10
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 4], 3
test edi, edi
je 0x464651
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x464651
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x464674
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x464697
cmp byte [ebp + 0xc], 0
je 0x464683
push esi
call fcn.0062db58
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x4646a3
mov esi, str.ios_base::badbit_set
jmp 0x4646b3
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.0044e010
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.0044d370
push 0x70a73c
lea eax, [ebp - 0x30]
push eax
call fcn.00630dc3
int3
Function at 0x4694c0
Capabilities:
Hash data with md5

Disassembly:
mov byte [ecx + 0x68], 0
mov eax, ecx
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x46a940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660adb
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x717dac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x428]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x430], esi
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
call fcn.00449a80
push 9
push str.potPlayer
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0
call fcn.00449920
cmp dword [ebp - 0x414], 0x10
lea ecx, [ebp - 0x42c]
push ecx
push 0x20019
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46aa57
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46aa07
sub ecx, edx
push ecx
push 0
mov ecx, esi
call fcn.00449a80
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x46ab1e
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46ab14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ab3b
jmp 0x46ab14
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x430], 1
push 0
push eax
mov dword [ebp - 0x434], 0x400
call fcn.006319e0
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push edi
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x410]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46aad0
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.00449a80
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x46ab1e
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46ab14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ab40
push edx
push ecx
call fcn.0062ed83
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062f00e
mov esp, ebp
pop ebp
ret
call fcn.00636d45
call fcn.00636d45
int3
Function at 0x4703b2
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 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x4703d5
or esi, 1
push 2
call edi
test ax, ax
jns 0x4703e1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4703ed
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4703f9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x473087
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x71b6c8], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x4730ba
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi + 0x2c]
je 0x4730ba
cmp esi, dword [edi + 0x74]
je 0x47318f
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [edi + 0x74]
je 0x47318f
cmp dword [edi + 0x74], 0
je 0x47311a
and dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x17
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x74]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1fc]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x74]
call fcn.00472e9d
mov eax, dword [edi + 0x74]
and dword [edi + 0x74], 0
mov dword [edi + 0x78], eax
test esi, esi
je 0x47318f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
cmp eax, edi
jne 0x47318f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test al, al
je 0x47318f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x47318f
and dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0x74], esi
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x74]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1fc]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x74]
call fcn.00472e9d
pop edi
pop esi
leave
ret 4
Function at 0x481abd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x481aef
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x482fd6
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x717dac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x48300a
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48300a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x4830c0
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x483029
cmp dx, 0x5c
jne 0x48302b
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x48301d
cmp esi, ebx
je 0x483073
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.00630ee0
add esp, 0xc
cmp esi, 0x208
jae 0x4830ce
xor eax, eax
mov word [ebp + esi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.00482fd6
pop ecx
pop ecx
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x483090
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00645ae4
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00644d7d
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4830c0
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0062f00e
leave
ret
call fcn.0062f170
int3

Function at 0x483713
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4837bf
cmp dword [esi + 4], 0xffffffff
jne 0x4837bf
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00644f10
pop ecx
movzx eax, word [esi + eax*2 + 0x242]
cmp eax, 0x5c
je 0x483766
cmp eax, 0x2f
je 0x483766
push 0x6674a0
push edi
call fcn.00644d7d
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x483788
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x483788
mov eax, 0x2000000
jmp 0x4837c4
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00485ef1
add esp, 0x10
test eax, eax
jne 0x4837a6
mov eax, dword [ebp - 4]
jmp 0x4837c4
push eax
call fcn.004865cb
pop ecx
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
jmp 0x4837c4
mov eax, 0x1000000
pop esi
leave
ret 0xc
Function at 0x483cab
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movsx eax, byte [ebp + 0xc]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x66e940]
movzx eax, cl
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
mov dword [edx], ecx
mov ecx, dword [edx + 8]
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x66e940]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x485fee
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x486021
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48601c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x48604b
mov edx, dword [edi + 0x1c]
push esi
mov esi, dword [edi + 0x18]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ecx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.00630ee0
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x48617b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x486189
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x486248
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x66e940]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x66e940]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x66e940]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x66e940]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x66e940]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x66e940]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x66e940]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x66e940]
sub edi, 1
jne 0x4861a1
pop edi
test esi, esi
je 0x486264
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x66e940]
inc edx
sub esi, 1
jne 0x48624c
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x48d8ba
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x31c], edi
je 0x48d927
cmp dword [ebp + 8], 0x100
jne 0x48d916
cmp word [ebp + 0xc], 0xd
jne 0x48d916
cmp byte [esi + 0x322], 0
je 0x48d8fa
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x48d916
cmp byte [esi + 0x323], 0
jne 0x48d916
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x48d912
push edi
push edi
push edi
push 0x66fcf0
push esi
call fcn.00472e9d
xor eax, eax
jmp 0x48d92a
mov eax, dword [esi + 0x31c]
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 0x48e5d1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049dd1a

Function at 0x48e5da
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x330
jmp method.DuiLib::CMenuUI.virtual_512

Function at 0x48f85f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x717dac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x1c]
push edi
and dword [ebx + 0x3bc], 0
mov edi, dword [ebp + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x3b8], ecx
mov dword [ebx + 0x3c0], eax
test ecx, ecx
jne 0x48f8ca
call fcn.0048f59c
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test esi, esi
je 0x48f8ca
call fcn.0048f59c
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.0048f59c
mov edx, ebx
lea ecx, [ebx + 0x10]
neg edx
mov esi, dword [eax]
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call dword [esi]
mov ecx, dword [ebx + 0x3b8]
test ecx, ecx
je 0x48f8f2
mov eax, dword [ecx]
call dword [eax + 0x40]
mov edi, eax
mov ecx, edi
call fcn.0046ff83
lea ecx, [ebp - 0x14]
mov ebx, eax
call fcn.0046c0b8
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
push 0x88
movsd dword es:[edi], dword [esi]
push connect
push 0
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.00481939
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
jmp 0x48f937
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x48f932
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0062f00e
leave
ret 0x1c
Function at 0x4995a4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x717dac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x49962f
cmp dword [esi + 0x10], 0
je 0x49962f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0062fdf0
mov ebx, esp
test ebx, ebx
je 0x49962f
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x14c
call fcn.0046b3c1
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x40]
mov ecx, eax
call fcn.00472e9d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, eax
call fcn.0047028c
test al, al
je 0x49962f
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1f0]
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0062f00e
leave
ret 0x10
Function at 0x49d4e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x198]
mov edi, dword [ebp + 8]
test al, al
jne 0x49d525
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x49d525
mov ecx, dword [esi + 0x33c]
push edi
test ecx, ecx
je 0x49d519
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x49d6e2
mov ecx, esi
call fcn.00479357
jmp 0x49d6e2
cmp dword [edi], 0x13
jne 0x49d552
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49d6e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
jmp 0x49d6e2
cmp dword [edi], 3
push ebx
push 0xd
pop ebx
jne 0x49d57b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49d57b
cmp word [edi + 0x14], bx
jne 0x49d57b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
jmp 0x49d67a
cmp dword [edi], ebx
je 0x49d59c
mov ecx, dword [esi + 0x33c]
test ecx, ecx
je 0x49d5eb
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x257], 0
je 0x49d5eb
cmp dword [edi], 0xf
jne 0x49d5eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49d6e1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x330]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x49d5e1
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x49d6e1
push 1
call dword [edi + 0x14]
jmp 0x49d6e1
cmp dword [edi], 0xe
jne 0x49d611
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49d6e1
xor eax, eax
push eax
push eax
push eax
push str.itemclick
jmp 0x49d6ba
cmp dword [edi], 0x10
jne 0x49d637
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49d6e1
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x49d6ba
cmp dword [edi], 9
je 0x49d6e1
cmp dword [edi], 0xb
jne 0x49d65b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x49d6e1
push 1
jmp 0x49d670
cmp dword [edi], 0xa
jne 0x49d686
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c4]
test al, al
je 0x49d6e1
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
jmp 0x49d6e1
cmp dword [edi], 0x1b
jne 0x49d69a
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x49d6ba
cmp dword [edi], 0x14
jne 0x49d6c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x174]
test al, al
je 0x49d6c8
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
mov ecx, dword [esi + 0x9c]
push esi
call fcn.00472e9d
jmp 0x49d6e1
mov ecx, dword [esi + 0x33c]
push edi
test ecx, ecx
je 0x49d6da
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x49d6e1
mov ecx, esi
call fcn.00474c15
pop ebx
pop edi
pop esi
pop ebp
ret 4