joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49289f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x2cc]
call fcn.0048b23a
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4928f5
push ebx
lea ecx, [esi + 0x2cc]
mov byte [ebp + 0xb], 0
call fcn.0048cca1
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x492955
lea ecx, [esi + 0x2cc]
inc ebx
call fcn.0048b23a
cmp ebx, eax
jl 0x4928be
sub edi, 0x100
je 0x4929b8
sub edi, 4
je 0x492959
dec edi
sub edi, 1
jne 0x4929af
push dword [ebp + 0xc]
xor eax, eax
mov word [ebp + 8], ax
call fcn.00505062
pop ecx
mov ecx, dword [esi + 0xc4]
lea edx, [ebp + 8]
push reloc.WS2_32.dll_select
mov byte [ebp + 8], al
push edx
mov eax, dword [ecx]
push 0x493fe9
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x4929af
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 0x4929b1
cmp dword [esi + 0xc8], 0
je 0x4929af
xor eax, eax
lea edi, [ebp - 0x20]
push 8
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0xc], al
mov eax, dword [esi + 0xdc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.0048f98e
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x4929af
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x492a11
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x492a11
mov ecx, dword [esi + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x492a11
mov ecx, dword [esi + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.RichEditUI
push eax
call fcn.00511dd5
pop ecx
pop ecx
test eax, eax
je 0x492a11
mov ecx, dword [esi + 0xc8]
call fcn.004b657f
test al, al
jne 0x4929af
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x492a59
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x492a59
mov ecx, dword [esi + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x492a59
mov ecx, dword [esi + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.WkeWebkitUI
push eax
call fcn.00511dd5
pop ecx
pop ecx
test eax, eax
jne 0x4929af
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00493a52
jmp 0x492955
Function at 0x4936d3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [edi + 0x68]
je 0x4936fc
cmp esi, dword [edi + 0xc8]
je 0x4936fc
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xc8]
cmp esi, eax
je 0x4937e2
test eax, eax
je 0x493763
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x17
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xc8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0xc8]
call fcn.00493355
and dword [edi + 0xc8], 0
test esi, esi
je 0x4937e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x4937e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x4937e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4937e2
xorps xmm0, xmm0
mov dword [edi + 0xc8], esi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xc8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0xc8]
call fcn.00493355
pop edi
pop esi
leave
ret 4
Function at 0x4a841c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x4a844a
cmp eax, edi
jge 0x4a843e
push esi
call fcn.004a3cff
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x4a846d
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 0x4a8453
mov dword [esi + 8], edx
jmp 0x4a8482
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x4a8478
xor dl, dl
jmp 0x4a847d
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4a846d
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 0x4a84bc
push str.zlib_corrupt
call fcn.004a3c2a
add esp, 4
jmp 0x4a84fc
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4a84cc
push str.read_past_buffer
jmp 0x4a84b2
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4a84e6
push edi
push ecx
push esi
call fcn.004aaf8d
add esp, 0xc
test eax, eax
je 0x4a84fc
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004fc5e0
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 0x4ab844
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6d93a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4ab878
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4ab878
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebx]
test al, al
je 0x4ab919
push edi
mov edi, ebx
mov ecx, ebx
cmp al, 0x2f
je 0x4ab88f
cmp al, 0x5c
jne 0x4ab891
mov edi, ecx
inc ecx
mov al, byte [ecx]
test al, al
jne 0x4ab887
cmp edi, ebx
je 0x4ab8ce
sub edi, ebx
lea eax, [ebp - 0x20c]
push edi
push ebx
push eax
call fcn.004fc5e0
add esp, 0xc
cmp edi, 0x104
jae 0x4ab927
lea eax, [ebp - 0x20c]
mov byte [ebp + edi - 0x20c], 0
push eax
push esi
call fcn.004ab844
pop ecx
pop ecx
mov byte [ebp - 0x108], 0
pop edi
test esi, esi
je 0x4ab8e9
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.005118e0
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.005118f0
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4ab919
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e48e6
leave
ret
call fcn.004e4ff6
int3
Function at 0x4abf37
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4abfe0
cmp dword [esi + 4], 0xffffffff
jne 0x4abfe0
push edi
lea edi, [esi + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
call fcn.005119e0
pop ecx
mov al, byte [eax + esi + 0x13f]
cmp al, 0x5c
je 0x4abf87
cmp al, 0x2f
je 0x4abf87
push 0x6c1854
push edi
call fcn.005118f0
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x4abfa9
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4abfa9
mov eax, 0x2000000
jmp 0x4abfe5
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004ae689
add esp, 0x10
test eax, eax
jne 0x4abfc7
mov eax, dword [ebp - 4]
jmp 0x4abfe5
push eax
call fcn.004aed66
pop ecx
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
jmp 0x4abfe5
mov eax, 0x1000000
pop esi
leave
ret 0xc
Function at 0x4ac45a
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
mov eax, dword [eax*4 + 0x647308]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x647308]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x4ae786
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 0x4ae7b9
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 0x4ae7b4
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4ae7e3
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.004fc5e0
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 0x4ae913
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4ae921
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x4ae9e0
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 + 0x647308]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x647308]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x647308]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x647308]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x647308]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x647308]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x647308]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x647308]
sub edi, 1
jne 0x4ae939
pop edi
test esi, esi
je 0x4ae9fc
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x647308]
inc edx
sub esi, 1
jne 0x4ae9e4
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x4b8346
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x41c], edi
je 0x4b83af
cmp dword [ebp + 8], 0x100
jne 0x4b839e
cmp byte [ebp + 0xc], 0xd
jne 0x4b839e
cmp byte [esi + 0x422], 0
je 0x4b8385
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4b839e
cmp byte [esi + 0x423], 0
jne 0x4b839e
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4b839a
push edi
push edi
push edi
push str.return
push esi
call fcn.00493355
xor eax, eax
jmp 0x4b83b2
mov eax, dword [esi + 0x41c]
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 0x4bd74c
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x440
jmp fcn.004c07a0
Function at 0x4c001d
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 + 0x108]
mov edi, dword [ebp + 8]
test al, al
jne 0x4c0058
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x4c0058
mov ecx, dword [esi + 0x450]
push edi
test ecx, ecx
jne 0x4c01c4
mov ecx, esi
call fcn.004b89b0
jmp 0x4c01d2
cmp dword [edi], 0x13
jne 0x4c0082
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4c01d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.004bda4e
jmp 0x4c01d2
cmp dword [edi], 3
jne 0x4c009b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4c009b
cmp byte [edi + 0x14], 0xd
je 0x4c006f
cmp dword [edi], 0xd
jne 0x4c00ef
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4c01d2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x440]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x4c00e5
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x4c01d2
push 1
call dword [edi + 0x14]
jmp 0x4c01d2
mov ecx, dword [esi + 0x450]
test ecx, ecx
je 0x4c010c
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x358], 0
je 0x4c010c
cmp dword [edi], 0xf
je 0x4c00a0
cmp dword [edi], 0xe
jne 0x4c013b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4c01d2
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x44]
push esi
call fcn.00493355
jmp 0x4c01d2
cmp dword [edi], 9
je 0x4c01d2
cmp dword [edi], 0xb
jne 0x4c0163
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4c01d2
or dword [esi + 0x44c], 8
jmp 0x4c0076
cmp dword [edi], 0xa
jne 0x4c0180
mov eax, dword [esi + 0x44c]
test al, 8
je 0x4c01d2
and eax, 0xfffffff7
mov dword [esi + 0x44c], eax
jmp 0x4c0076
cmp dword [edi], 0x1b
jne 0x4c0194
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x4c012d
cmp dword [edi], 0x14
jne 0x4c01b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x4c01b9
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
jmp 0x4c012d
mov ecx, dword [esi + 0x450]
push edi
test ecx, ecx
je 0x4c01cb
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4c01d2
mov ecx, esi
call fcn.00494691
pop edi
pop esi
pop ebp
ret 4
Function at 0x4c04e5
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 + 0x108]
mov edi, dword [ebp + 8]
test al, al
jne 0x4c051e
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x4c051e
mov ecx, dword [esi + 0x360]
push edi
test ecx, ecx
je 0x4c05f4
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4c05fb
mov ecx, dword [esi + 0x360]
test ecx, ecx
je 0x4c0584
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x358], 0
je 0x4c0584
cmp dword [edi], 0xf
jne 0x4c0584
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4c05fb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x350]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x4c057d
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x4c05fb
push 1
call dword [edi + 0x14]
jmp 0x4c05fb
cmp dword [edi], 0xd
je 0x4c053b
cmp dword [edi], 0xe
jne 0x4c05b1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4c05fb
mov ecx, dword [esi + 0x44]
xor eax, eax
push eax
push eax
push eax
push str.itemclick
push esi
call fcn.00493355
jmp 0x4c05fb
cmp dword [edi], 9
je 0x4c05fb
cmp dword [edi], 0xb
jne 0x4c05d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x4c05fb
or dword [esi + 0x35c], 8
mov ecx, esi
call fcn.004bda4e
jmp 0x4c05fb
cmp dword [edi], 0xa
jne 0x4c05f3
mov eax, dword [esi + 0x35c]
test al, 8
je 0x4c05fb
and eax, 0xfffffff7
mov dword [esi + 0x35c], eax
jmp 0x4c05d0
push edi
mov ecx, esi
call fcn.004c01d8
pop edi
pop esi
pop ebp
ret 4
Function at 0x4c7eab
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6d93a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x4c7f32
cmp dword [esi + 0x10], 0
je 0x4c7f32
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
mov eax, edi
call fcn.004e5af0
mov ebx, esp
test ebx, ebx
je 0x4c7f32
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x148
call fcn.0048cc45
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.00493355
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0048f876
test al, al
je 0x4c7f32
mov ecx, dword [esi + 0x10]
call fcn.00494e27
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e48e6
leave
ret 0x10

Function at 0x4ca670
Capabilities:
Hide graphical window

Disassembly:
push 0x5c
mov eax, 0x63249b
call fcn.004e5a7f
mov edi, ecx
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x388], ebx
cmp dword [edi + 4], ebx
jne 0x4ca6f3
lea eax, [ebp - 0x68]
push eax
call fcn.004ca22f
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0x68]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0048f53c
mov edi, dword [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0048b3ff
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00498d25
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0048f0c2
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0048d240
lea ecx, [ebp - 0x54]
mov bl, al
call fcn.0048cba9
mov esi, 0x378
test bl, bl
je 0x4ca728
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push 0x10
push eax
lea eax, [edi + 0x1a]
push eax
call fcn.004fc5e0
mov eax, dword [edi + 0x10]
add esp, 0xc
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.004e5a3a
ret 4
Function at 0x4cab39
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x6d93a8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x4cabd7
push esi
mov esi, 0xff
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004fc480
add esp, 0xc
lea eax, [ebp - 0x104]
push esi
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
pop esi
test eax, eax
je 0x4cabd7
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.004fc5e0
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
jmp 0x4cabd9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e48e6
leave
ret

Function at 0x4cacd2
Capabilities:
Hide graphical window

Disassembly:
push 0x64
mov eax, 0x632528
call fcn.004e5a7f
mov edi, ecx
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x380], ebx
cmp dword [edi + 4], ebx
jne 0x4cad73
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 8
push eax
mov dword [ebp - 0x5c], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x4cad4b
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.004ca8c2
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0x70]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40030000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0048f53c
mov edi, dword [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0048b3ff
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00498d25
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0048f0c2
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0048d240
lea ecx, [ebp - 0x54]
mov bl, al
call fcn.0048cba9
test bl, bl
je 0x4cada5
call fcn.004cab39
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x378], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x378]
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.004e5a3a
ret 4

Function at 0x4cf433
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c07a0

Function at 0x4cf43c
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x440
jmp method.DuiLib::CMenuUI.virtual_312