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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], edx
push 0
push 0x14
and dword [ebx], 0
call fcn.00451a8e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x453afe
push 7
pop eax
jmp 0x453b68
cmp byte [0x6313cc], 0
push edi
mov edi, dword [ebp + 8]
je 0x453b3f
mov ecx, 0xc8
call fcn.00454169
test eax, eax
jne 0x453b3f
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
xor eax, eax
mov dword [esi + 0xc], edi
push eax
push esi
push 0x453aba
push eax
push eax
call fcn.0059d1a8
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x453b4c
push 0x14
push 0
push esi
call fcn.00589540
add esp, 0xc
cmp dword [esi + 8], 0
jne 0x453b63
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call dword [ebp - 4]
pop ecx
mov dword [esi + 0x10], eax
mov dword [ebx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457e69
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx + 8]
mov eax, edx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], eax
test edi, edi
jle 0x457e9d
push ebx
mov ebx, dword [ecx]
mov al, byte [edx + eax]
xor byte [ebx + esi], al
lea eax, [esi + 1]
xor esi, esi
inc edx
cmp eax, dword [ecx + 4]
cmovl esi, eax
mov eax, dword [ebp - 4]
cmp edx, edi
jl 0x457e83
pop ebx
add dword [ecx + 0xc], edi
pop edi
mov dword [ecx + 8], esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45b41a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [edi + 0x88]
test esi, esi
je 0x45b452
mov eax, dword [ebp + 0xc]
push 8
push 0
mov dword [eax], esi
mov eax, dword [esi + 0x10]
mov dword [edi + 0x88], eax
push dword [esi + 8]
and dword [esi + 0x10], 0
call fcn.00589540
add esp, 0xc
jmp 0x45b4b2
movzx eax, word [edi + 0x8c]
cdq
add eax, 0x28
adc edx, 0
push edx
push eax
call fcn.00451d9d
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ecx], esi
test esi, esi
jne 0x45b49b
mov eax, dword [edi + 0x98]
lea ecx, [ebx - 1]
push esi
cdq
push ecx
push edx
push eax
call fcn.005717d0
mov ecx, dword [edi + 0x3c]
push edx
mov edx, dword [ebp + 8]
push eax
call fcn.0045138e
pop ecx
pop ecx
push 7
pop eax
jmp 0x45b4c0
lea eax, [esi + 0x28]
mov dword [esi + 0x14], edi
mov dword [esi + 8], eax
push 0x20
pop eax
mov word [esi + 0x1c], ax
xor eax, eax
inc eax
mov word [esi + 0x1e], ax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi + 0x18], ebx
inc dword [edi + 0x78]
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b15bb
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov cl, 0xa
call fcn.004b11bc
mov bl, 9
call fcn.004b1533
call fcn.004b1507
mov cl, bl
call fcn.004b11bc
call fcn.004b1307
sub bl, 1
jne 0x4b15c5
call fcn.004b1533
call fcn.004b1507
xor cl, cl
pop ebx
jmp fcn.004b11bc

Function at 0x4b15f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov al, byte [ebp + 8]
push ebx
push esi
and al, 0xf
mov dword [ebp - 8], edx
push edi
mov esi, str.5780000bc18a00b9
mov byte [ebp - 1], al
mov edi, ecx
mov dword [0x63a3c4], esi
call fcn.004b10d9
mov eax, dword [ebp + 8]
mov dword [0x63a648], esi
push 0x10
pop ebx
test eax, eax
je 0x4b1679
lea esi, [eax - 1]
mov eax, dword [ebp - 8]
shr esi, 4
inc esi
push ebx
push eax
push edi
call fcn.00588a40
mov edx, dword [0x63a648]
add esp, 0xc
mov ecx, edi
mov dword [ebp + 8], ebx
sub edx, edi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub ebx, 1
jne 0x4b1649
mov dword [0x63a644], edi
call fcn.004b1582
mov eax, dword [ebp - 8]
push 0x10
pop ebx
mov dword [0x63a648], edi
add eax, ebx
add edi, ebx
mov dword [ebp - 8], eax
sub esi, 1
jne 0x4b1631
jmp 0x4b167c
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 1]
test cl, cl
je 0x4b16c1
movzx esi, cl
push esi
push eax
push edi
call fcn.00588a40
mov eax, ebx
sub eax, esi
push eax
lea eax, [esi + edi]
push 0
push eax
call fcn.00589540
mov edx, dword [0x63a648]
add esp, 0x18
mov ecx, edi
sub edx, edi
mov al, byte [ecx + edx]
xor byte [ecx], al
inc ecx
sub ebx, 1
jne 0x4b16ab
mov dword [0x63a644], edi
call fcn.004b1582
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b16c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 8]
push ebx
push esi
push edi
and al, 0xf
mov edi, str.5780000bc18a00b9
mov ebx, edx
mov byte [ebp - 1], al
mov esi, ecx
mov dword [0x63a3c4], edi
call fcn.004b10d9
mov eax, dword [ebp + 8]
mov dword [0x63a648], edi
test eax, eax
je 0x4b1743
lea edi, [eax - 1]
shr edi, 4
inc edi
mov dword [ebp + 8], edi
push 0x10
push ebx
push esi
call fcn.00588a40
add esp, 0xc
mov dword [0x63a644], esi
call fcn.004b15bb
mov edx, dword [0x63a648]
mov ecx, esi
push 0x10
sub edx, esi
pop edi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4b1726
mov dword [0x63a648], ebx
add esi, 0x10
add ebx, 0x10
sub dword [ebp + 8], 1
jne 0x4b1702
mov al, byte [ebp - 1]
test al, al
je 0x4b1763
movzx eax, al
push eax
push ebx
push esi
call fcn.00588a40
add esp, 0xc
mov dword [0x63a644], esi
call fcn.004b15bb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bd587
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6300f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x410], ebx
jle 0x4bd5d4
mov eax, dword [esi + 0x40c]
lea edx, [ebp - 5]
mov byte [ebp - 5], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + ebx*4]
push dword [ebp + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp - 5], 0
jne 0x4bd634
inc ebx
cmp ebx, dword [esi + 0x410]
jl 0x4bd5a9
sub edi, 0x100
je 0x4bd6a4
sub edi, 4
je 0x4bd638
dec edi
sub edi, 1
jne 0x4bd68f
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.0059676d
pop ecx
mov ecx, dword [esi + 0x104]
lea edx, [ebp - 0xc]
push reloc.WS2_32.dll_select
mov word [ebp - 0xc], ax
push edx
mov eax, dword [ecx]
push 0x4c1cd7
call dword [eax + pe_nt_image_headers32]
mov esi, eax
test esi, esi
je 0x4bd68f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x4bd691
cmp dword [esi + 0x108], 0
je 0x4bd68f
xor eax, eax
lea edi, [ebp - 0x28]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x18], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x1c], eax
call fcn.004bc08b
mov word [ebp - 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x24], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057086f
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x4bd68f
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4bd6fd
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4bd6fd
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x4bd6fd
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0058ae54
pop ecx
pop ecx
test eax, eax
je 0x4bd6fd
mov eax, dword [esi + 0x108]
cmp byte [eax + 0x6a1], 0
jne 0x4bd68f
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4bd745
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4bd745
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x4bd745
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0058ae54
pop ecx
pop ecx
test eax, eax
jne 0x4bd68f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.004c061e
jmp 0x4bd634
Function at 0x4c019a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x6300f4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebx + 0xa8]
cmp eax, ecx
je 0x4c01d5
cmp esi, dword [ebx + 0x108]
je 0x4c01d5
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x108]
cmp esi, eax
je 0x4c02b4
test eax, eax
je 0x4c0238
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], 0x17
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x108]
call fcn.004c0843
mov dword [ebx + 0x108], edi
test esi, esi
je 0x4c02b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4c02b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x4c02b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4c02b4
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x108], esi
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x108]
call fcn.004c0843
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057086f
mov esp, ebp
pop ebp
ret 4
Function at 0x4c6154
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4c615f
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x4c621b
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 + 0x5f2b20]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f2b20]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f2b20]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f2b20]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f2b20]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f2b20]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f2b20]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f2b20]
sub edi, 1
jne 0x4c6174
pop edi
test esi, esi
je 0x4c6237
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f2b20]
inc edx
sub esi, 1
jne 0x4c621f
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4c623e
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x5f2b20]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5f2b20]
mov dword [edi + 8], ecx
pop edi
pop esi
ret

Function at 0x4c69c9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x6300f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x4c6a0e
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4c6a09
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x4c6a35
mov edx, dword [edi + 0x1c]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x18]
jbe 0x4c6a1e
mov esi, dword [edi + 0x18]
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.00588a40
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
mov ecx, dword [ebp - 4]
xor edx, edx
pop edi
div ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0057086f
mov esp, ebp
pop ebp
ret
Function at 0x4cf579
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp fcn.004cad47

Function at 0x4d581f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x4d5841
cmp dword [esi + 8], edi
jge 0x4d5839
call fcn.004d52e3
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 0x4d586a
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4d584d
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x4d5884
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x4d5875
xor dl, dl
jmp 0x4d587a
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x4d586c
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4d58ae
xor eax, eax
jmp 0x4d58e5
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x4d58aa
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4d58cf
push edi
mov ecx, esi
call fcn.004d53bd
pop ecx
test eax, eax
je 0x4d58aa
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00588a40
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4efc88
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x94
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x10], eax
and dword [eax + 0x598], 0
cmp dword [ebx + 4], 0
jne 0x4efd00
lea eax, [ebp - 0x10]
push eax
call fcn.004efd80
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0x10]
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000000
push ecx
push dword [eax + 0xa8]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c3d61
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0x558]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c145e
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x94]
mov eax, dword [eax]
movzx esi, word [eax]
call fcn.00403943
mov edi, 0x588
test si, si
jne 0x4efd35
mov eax, dword [ebx + 0x10]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebx + 0x10]
add eax, edi
push 0x10
push eax
lea eax, [ebx + 0x1a]
push eax
call fcn.00588a40
mov eax, dword [ebx + 0x10]
add esp, 0xc
add eax, edi
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f095c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6300f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0
je 0x4f09dc
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00571990
mov ebx, esp
test ebx, ebx
je 0x4f09dc
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.004bb7ed
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 + 0x1c]
mov ecx, eax
call fcn.004c0843
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp byte [eax + 0x16d], 0
je 0x4f09dc
mov ecx, dword [esi + 0x10]
call fcn.004b918e
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057086f
mov esp, ebp
pop ebp
ret

Function at 0x4f3d82
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x6d0], edx
mov dword [ebx + 0x6d4], esi
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x6d8], 6
test edx, edx
jne 0x4f3dcb
call fcn.004f638c
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
call fcn.004f638c
lea ecx, [ebx + 0x10]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebx + 0x6d0]
test ecx, ecx
jne 0x4f3deb
mov eax, dword [0xa8]
jmp 0x4f3df6
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [eax + 0xa8]
sub esp, 0x10
mov dword [ebp - 8], esi
mov edi, esp
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
lea esi, [ebp - 0x14]
push ecx
movsd dword es:[edi], dword [esi]
push 0x88
push closesocket
push ecx
movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c3d61
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x4f3e32
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4f3e2d
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4f6228
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.1.virtual_312
Function at 0x4fda7a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xa0
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x10], eax
test eax, eax
je 0x4fdb80
lea eax, [ebp - 0x14]
push eax
call fcn.004fdb89
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0x14]
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000080
push ecx
push dword [eax + 0xa8]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c3d61
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4fdb80
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0x558]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c145e
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
push 0
movzx ecx, byte [eax + 0x7a6]
movzx eax, byte [eax + 0x7a4]
shl ecx, 8
or ecx, eax
push ecx
push 0x401
push dword [ebx + 4]
call esi
lea eax, [ebp - 0x9c]
mov ecx, ebx
push eax
call fcn.004fe04e
mov ecx, dword [ebx + 0x10]
push 0xffffffffffffffff
add ecx, 0x1c8
push dword [eax]
call fcn.004bb723
lea ecx, [ebp - 0x9c]
call fcn.00403943
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4fdfa6
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6300f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x4fdfee
cmp esi, 0x28
jbe 0x4fdfe8
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x4fdfee
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00589540
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004bb645
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057086f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x502f80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x502f90
sub ecx, edx
mov esi, 0x811c9dc5
mov edx, 0
je 0x502fb6
movzx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x502fa5
push 0x1f31d
and esi, 0x7fffffff
push esi
call fcn.0059cb99
imul ecx, eax, 0xb14
add esp, 8
imul edx, edx, 0x41a7
pop edi
pop esi
sub edx, ecx
lea eax, [edx + 0x7fffffff]
js 0x502fe4
mov eax, edx
pop ebp
ret 4