joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46966a
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
or dword [ebp - 4], 0xffffffff
push ebx
xor ebx, ebx
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x10], eax
je 0x46968d
push 0xd
jmp 0x46968f
push 1
call fcn.0046944c
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
jne 0x4696ae
cmp dword [ebp - 0x10], ebx
je 0x4696a7
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x46978f
push esi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0xc]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp dword [ebp + 8], 0
mov esi, eax
je 0x46971e
shr esi, 1
test esi, esi
jle 0x469716
cmp word [edi], 0
jne 0x4696fc
cmp dword [ebp - 4], 0xffffffff
jne 0x4696e1
mov dword [ebp - 4], ebx
lea eax, [ebx + 9]
cmp eax, esi
jg 0x4696fc
push 0xf
push 0x5c4708
push edi
call fcn.005252e0
add esp, 0xc
test eax, eax
je 0x469705
inc ebx
inc edi
inc edi
cmp ebx, esi
jl 0x4696d2
jmp 0x469709
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
je 0x469716
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebx + ebx]
mov dword [ebp - 8], eax
jmp 0x469762
test esi, esi
jle 0x46976d
push 9
pop ebx
sub ebx, edi
cmp byte [edi], 0
jne 0x469753
cmp dword [ebp - 4], 0xffffffff
jne 0x469738
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
lea eax, [ebx + edi]
cmp eax, esi
ja 0x469753
push 9
push 0x5c46fc
push edi
call fcn.005252e0
add esp, 0xc
test eax, eax
je 0x46975e
inc dword [ebp - 8]
inc edi
cmp dword [ebp - 8], esi
jl 0x469727
jmp 0x469762
or dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 4]
cmp edi, 0xffffffff
jne 0x46976f
mov ebx, dword [ebp - 8]
mov edi, ebx
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
cmp dword [ebp - 0x10], 0
je 0x469786
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp - 0xc]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x472315
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x56cd57
call fcn.00524444
sub esp, 0x12c
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x138]
call fcn.0047a08c
xor edi, edi
cmp dword [0x625974], edi
mov dword [ebp - 4], edi
jne 0x472423
xor eax, eax
cmp dword [esi + 0x498], edi
sete al
cmp eax, edi
mov dword [esi + 0x498], eax
je 0x4723d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x472388
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x64]
push edi
push edi
push 0xb9
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x10], edi
jne 0x472368
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x5c]
cmp dword [0x6259bc], edi
je 0x472412
cmp dword [ebp + 8], edi
jne 0x4723ad
mov edi, dword [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or al, 1
push eax
push edi
jmp 0x4723bc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or al, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
or byte [esi + 0x260], 1
or byte [esi + 0x388], 1
jmp 0x472412
cmp dword [0x6259bc], edi
je 0x472412
cmp dword [ebp + 8], edi
jne 0x4723ef
mov edi, dword [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push edi
jmp 0x4723fe
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and byte [esi + 0x260], 0xfe
and byte [esi + 0x388], 0xfe
push dword [esi + 0x498]
mov ecx, dword [0x62ae3c]
call fcn.004937a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.0047a0bf
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x479ea2
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, esi
lea ecx, [esi + 8]
cmp dword [edi + 0x28], 0
je 0x479ee0
neg eax
sbb eax, eax
and eax, ecx
mov ecx, edi
push eax
call fcn.00540021
mov ecx, eax
test ecx, ecx
je 0x479edc
mov eax, dword [esi + 0x14]
cdq
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], edx
mov eax, ecx
jmp 0x479f32
neg eax
sbb eax, eax
and eax, ecx
mov ecx, edi
push eax
call fcn.0053fde2
test eax, eax
mov dword [ebp + 8], eax
je 0x479f2f
mov edi, dword [edi + 4]
cmp edi, 0xffffffff
je 0x479f2f
lea eax, [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x479f2f
push 1
push 0
push 0
push dword [ebp + 0xc]
call fcn.00528010
xor ecx, ecx
add eax, edi
adc edx, ecx
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], edx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 8
Function at 0x484131
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1930], 0
jne 0x4841f7
mov eax, dword [esi + 0x278c]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4841d5
cmp edi, 0x10
je 0x4841fe
cmp edi, 0x11
je 0x4841fe
cmp edi, 0x12
je 0x4841fe
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov al, byte [ebp - 0xef]
and al, 0x80
cmp al, 0x80
jne 0x4841d5
mov eax, dword [esi + 0x278c]
mov ecx, dword [esi + 0x2780]
lea eax, [eax + eax*2]
cmp byte [ecx + eax*8 - 0x18], 0x4b
lea eax, [ecx + eax*8]
jne 0x4841af
cmp dword [eax - 0x14], 0x11
je 0x4841d5
mov ecx, dword [esi + 0x2794]
lea eax, [esi + 0x2794]
mov byte [ecx], 0x4b
mov ecx, dword [eax]
mov dword [ecx + 4], 0x11
mov ecx, dword [eax]
mov dword [ecx + 8], ebx
add dword [eax], 0x18
inc dword [esi + 0x278c]
mov ecx, dword [esi + 0x2794]
lea eax, [esi + 0x2794]
mov byte [ecx], 0x4b
mov ecx, dword [eax]
mov dword [ecx + 4], edi
mov ecx, dword [eax]
mov dword [ecx + 8], ebx
add dword [eax], 0x18
inc dword [esi + 0x278c]
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, dword [esi + 0x2780]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov cl, byte [eax - 0x18]
cmp cl, 0x4b
jne 0x484217
cmp dword [eax - 0x14], edi
je 0x4841f7
cmp edi, 0x12
jne 0x4841d5
cmp cl, 0x4b
jne 0x4841d5
cmp dword [eax - 0x14], 0x11
jne 0x4841d5
and byte [eax - 0x18], 0
add dword [esi + 0x2794], 0xffffffe8
dec dword [esi + 0x278c]
jmp 0x4841f7

Function at 0x4842af
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1930], 0
jne 0x484385
mov eax, dword [esi + 0x278c]
lea ecx, [eax + eax*2 + 3]
shl ecx, 3
cmp ecx, 0x20000
jae 0x484385
mov edi, dword [esi + 0x2780]
test eax, eax
jle 0x48434d
mov ebx, dword [esp + 0x10]
lea eax, [eax + eax*2]
cmp byte [edi + eax*8 - 0x18], 0x4b
lea eax, [edi + eax*8]
jne 0x484316
cmp dword [eax - 0x14], ebx
jne 0x484316
push 2
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
je 0x484316
add dword [esi + 0x2794], 0xffffffe8
dec dword [esi + 0x278c]
jmp 0x48435f
cmp ebx, 8
jne 0x484324
cmp dword [esi + 0x2798], 0
je 0x484385
mov eax, dword [esi + 0x278c]
lea ecx, [eax + eax*2]
cmp byte [edi + ecx*8 - 0x18], 0x4b
lea ecx, [edi + ecx*8]
jne 0x48435f
cmp dword [ecx - 0x14], 0x10
jne 0x48435f
add dword [esi + 0x2794], 0xffffffe8
dec eax
mov dword [esi + 0x278c], eax
jmp 0x48435f
mov ebx, dword [esp + 0x10]
cmp ebx, 8
jne 0x48435f
cmp dword [esi + 0x2798], 0
je 0x484385
mov ecx, dword [esi + 0x2794]
lea eax, [esi + 0x2794]
mov edx, dword [esp + 0x14]
mov byte [ecx], 0x43
mov ecx, dword [eax]
mov dword [ecx + 4], ebx
mov ecx, dword [eax]
mov dword [ecx + 8], edx
add dword [eax], 0x18
inc dword [esi + 0x278c]
pop edi
pop esi
pop ebx
ret 8
Function at 0x494b0a
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
push esi
push edi
mov edi, ecx
call fcn.0055c7c5
call fcn.0055c7c5
mov eax, dword [eax + 0xc]
push 2
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x1e4], eax
mov eax, dword [0x629d40]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d0]
push 0x5bcacc
push eax
mov dword [ebp - 0x1e8], 0x1e8
mov dword [ebp - 0x1e0], 0x12aff
mov dword [ebp - 0x1dc], 7
mov dword [ebp - 0x1d4], esi
call fcn.005254b0
pop ecx
lea eax, [ebp - 0x1e8]
pop ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
test esi, esi
mov edi, eax
je 0x494b96
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x49c48d
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x56fadb
call fcn.00524444
sub esp, 0x254
mov eax, dword [ebp + 0xc]
push esi
dec eax
push edi
je 0x49c58f
dec eax
je 0x49c4b3
xor eax, eax
jmp 0x49c693
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
push ecx
push 0x5c7e5c
push eax
call fcn.00526367
add esp, 0x10
cmp eax, 2
jne 0x49c690
mov eax, dword [0x629db0]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49c4ef
push dword [eax + 0x1c]
call edi
test eax, eax
jne 0x49c551
push dword [0x629bb0]
lea ecx, [ebp - 0x58]
call fcn.0040207d
push 0
lea ecx, [ebp - 0x58]
call fcn.004020bb
test eax, eax
je 0x49c551
call fcn.0055c7c5
mov eax, dword [eax + 4]
push dword [0x629bb0]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x7c]
mov esi, eax
test esi, esi
je 0x49c551
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
mov dword [ebp + 8], eax
je 0x49c551
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
call dword [eax + 0x64]
test eax, eax
je 0x49c551
mov ecx, eax
call fcn.005421db
mov dword [0x629db0], eax
jmp 0x49c556
mov eax, dword [0x629db0]
test eax, eax
je 0x49c690
push dword [eax + 0x1c]
call edi
test eax, eax
je 0x49c690
mov ecx, dword [0x629db0]
call fcn.004c6b2b
test eax, eax
je 0x49c690
mov ecx, dword [ebp - 0x1c]
dec ecx
push ecx
mov ecx, eax
call fcn.004c655c
jmp 0x49c690
mov eax, dword [0x61d784]
mov dword [ebp - 0x10], eax
mov eax, dword [0x62be78]
and dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
push ecx
push 1
lea ecx, [eax + 0x3c]
call fcn.004a70f9
test eax, eax
je 0x49c684
add eax, 0xc
lea ecx, [ebp - 0x10]
push eax
call fcn.0053ec88
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x260]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x49c5e1
and byte [ebp - 0x260], al
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test esi, esi
je 0x49c5f3
cmp byte [esi], 0
je 0x49c5f3
push esi
call edi
mov eax, dword [0x61d784]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.004fc235
add esp, 0xc
lea ecx, [ebp - 0x58]
push dword [ebp + 0xc]
call fcn.0040207d
push 0
lea ecx, [ebp - 0x58]
call fcn.004020bb
test eax, eax
je 0x49c66f
call fcn.0055c7c5
mov eax, dword [eax + 4]
push dword [ebp + 0xc]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x7c]
mov esi, eax
test esi, esi
je 0x49c66f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x49c66f
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x64]
test eax, eax
je 0x49c66f
mov ecx, dword [ebp - 0x14]
dec ecx
push ecx
mov ecx, eax
call fcn.004c655c
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0053eb4f
lea eax, [ebp - 0x260]
push eax
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0053eb4f
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x49e1b2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov bl, byte [ebp - 0xf2]
mov cl, 0x80
and bl, cl
xor esi, esi
xor edx, edx
xor edi, edi
push 1
cmp bl, cl
mov dword [ebp - 4], esi
pop eax
jne 0x49e1e7
mov edx, eax
mov bl, byte [ebp - 0xf4]
and bl, cl
cmp bl, cl
jne 0x49e1f5
mov edi, eax
mov bl, byte [ebp - 0xf3]
and bl, cl
cmp bl, cl
jne 0x49e203
mov esi, eax
test edx, edx
je 0x49e217
cmp dword [ebp + 8], 0x60
jb 0x49e213
cmp dword [ebp + 8], 0x69
jbe 0x49e285
xor eax, eax
jmp 0x49e285
mov ecx, dword [ebp + 8]
test esi, esi
je 0x49e241
cmp ecx, 0x21
jb 0x49e228
cmp ecx, 0x28
jbe 0x49e285
cmp ecx, 0x58
je 0x49e285
cmp ecx, 0x43
je 0x49e285
cmp ecx, 0x56
je 0x49e285
cmp ecx, 0x5a
je 0x49e285
cmp ecx, 0x2e
je 0x49e285
test edi, edi
mov edx, 0xff
je 0x49e267
cmp ecx, 0x21
jb 0x49e254
cmp ecx, 0x28
jbe 0x49e285
cmp ecx, 0x2d
je 0x49e285
cmp ecx, 0x2e
je 0x49e285
cmp ecx, 0x20
jb 0x49e267
cmp ecx, edx
jbe 0x49e285
test esi, esi
jne 0x49e282
test edi, edi
jne 0x49e282
cmp ecx, 0x20
jb 0x49e282
cmp ecx, edx
ja 0x49e282
cmp ecx, 0x60
jb 0x49e285
cmp ecx, 0x7d
ja 0x49e285
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a75d3
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x120
push ebx
push ebp
mov ebp, ecx
push edi
test ebp, ebp
mov dword [esp + 0x14], ebp
jne 0x4a75ea
xor eax, eax
jmp 0x4a75ed
mov eax, dword [ebp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x4a76b4
push esi
push ebx
call fcn.0044711a
test al, al
pop ecx
je 0x4a76a4
lea eax, [esp + 0x30]
push 0x100
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x30]
push str._Geometry:
push eax
call fcn.00527dc8
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
pop ecx
je 0x4a7643
add eax, 0xa
mov dword [esp + 0x10], eax
test ebp, ebp
jne 0x4a764b
xor eax, eax
jmp 0x4a764e
mov eax, dword [ebp + 0x1c]
push 5
push eax
call edi
mov esi, eax
test esi, esi
je 0x4a76a4
push esi
call fcn.0044711a
test al, al
pop ecx
jne 0x4a769f
push esi
push ebx
mov ecx, ebp
call fcn.004470d1
test al, al
je 0x4a769f
mov edx, dword [ebp]
push ebp
push dword [esp + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edx
call fcn.0041d2db
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ebp, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
mov ecx, ebp
call dword [eax + 0xd0]
push 2
push esi
jmp 0x4a7651
push 2
push ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x4a7603
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x120
ret
Function at 0x4bd323
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, bind
push edi
push eax
xor ebx, ebx
mov esi, ecx
push eax
push ebx
push dword [esi + 0x1c]
mov dword [esi + 0x150], 1
call fcn.00463ca0
cmp dword [esi + 0x20c], ebx
je 0x4bd380
cmp dword [ebp + 8], ebx
jne 0x4bd358
xor eax, eax
jmp 0x4bd37d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.00524e70
mov eax, esp
push edi
push dword [ebp + 8]
push eax
call fcn.0053f119
push eax
jmp 0x4bd383
push dword [ebp + 8]
push ebx
push 0x506
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xd
push 0x102
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push dword [esi + 0x1c]
call fcn.00464d10
mov ecx, esi
mov dword [esi + 0x178], eax
call fcn.004bc3f3
mov ecx, esi
mov dword [esi + 0x150], ebx
call fcn.004ab21f
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4bfcae
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
cmp edi, 0x22
mov esi, ecx
ja 0x4bfcf5
cmp edi, 0x21
jae 0x4bfd2a
cmp edi, 0x10
jb 0x4bfd00
cmp edi, 0x11
jbe 0x4bfd26
cmp edi, 0x1b
je 0x4bfcdf
cmp edi, 0x20
jne 0x4bfd00
cmp dword [0x62ad44], ebx
je 0x4bfd00
push ebx
add esi, 0x298
push ebx
push 0x10
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi], ebx
jmp 0x4bfd40
mov eax, edi
sub eax, 0x26
je 0x4bfd2a
dec eax
dec eax
je 0x4bfd2a
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
jne 0x4bfd26
cmp edi, 0x12
je 0x4bfd26
push ebx
add esi, 0x298
push ebx
push 0x10
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi], ebx
xor eax, eax
jmp 0x4bfd43
push dword [esp + 0x14]
push edi
push 0x100
push dword [esi + 0x298]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
pop eax
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4c1199
Capabilities:
Open clipboard

Disassembly:
mov eax, 0x571280
call fcn.00524444
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [0x62ae3c]
mov eax, dword [ecx + 0x193c]
test eax, eax
je 0x4c11c3
push 0x91
call fcn.00484530
mov eax, dword [esi + 0x3c]
lea ecx, [ebp - 0x10]
add eax, 0x20
push eax
call fcn.0053e8c4
and dword [ebp - 4], 0
mov edi, 0x622c94
push edi
push dword [ebp - 0x10]
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
jne 0x4c11fb
mov ecx, dword [esi + 0x3c]
call fcn.0046ca72
push eax
lea ecx, [ebp - 0x10]
call fcn.0053ec88
push edi
push dword [ebp - 0x10]
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x4c1289
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 8]
test esi, esi
jle 0x4c1289
lea eax, [esi + 1]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4c1289
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x4c1289
push dword [ebp - 0x10]
push edi
call fcn.005254b0
and byte [edi + esi], 0
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp dword [0x628a50], 0
mov esi, eax
jne 0x4c1262
call dword [sym.imp.USER32.dll_EmptyClipboard]
test esi, esi
push ebx
jne 0x4c126f
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4c1289
push 1
call fcn.00469467
pop ecx
test eax, eax
pop ecx
jne 0x4c1283
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0053eb4f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4c22f8
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
jne 0x4c2372
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x4c23f0
cmp dword [esi + 0x20c], edi
je 0x4c2335
push 0xd
jmp 0x4c234d
mov eax, dword [esi + 0x2a4]
imul eax, eax, 0x3c
cmp byte [eax + 0x62a687], 0xff
jne 0x4c234b
push 7
jmp 0x4c234d
push 1
call fcn.0046944c
cmp eax, edi
pop ecx
mov dword [ebp - 4], eax
je 0x4c23ea
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
jmp 0x4c238d
cmp dword [esi + 0x20c], edi
mov ebx, eax
push eax
je 0x4c2387
call fcn.00524463
pop ecx
shl eax, 1
jmp 0x4c238d
call fcn.00525390
pop ecx
mov ecx, dword [esi + 0x3c]
push 0xa
pop edx
cmp dword [ecx + 0x164], 2
mov edi, edx
jne 0x4c23a3
push 0xd
mov dl, 0xd
pop edi
xor ecx, ecx
cmp dword [esi + 0x20c], ecx
je 0x4c23c4
shr eax, 1
cmp eax, ecx
jle 0x4c23d5
mov ecx, ebx
cmp word [ecx], di
jne 0x4c23bd
inc dword [ebp - 8]
inc ecx
inc ecx
dec eax
jne 0x4c23b5
jmp 0x4c23d5
test eax, eax
jle 0x4c23d5
cmp byte [ecx + ebx], dl
jne 0x4c23d0
inc dword [ebp - 8]
inc ecx
cmp ecx, eax
jl 0x4c23c8
cmp dword [ebp - 4], 0
je 0x4c23e4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0xc], 0
je 0x4c23f0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4c4775
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x498], 0
jne 0x4c4802
mov ecx, dword [0x62ae3c]
cmp dword [ecx + 0x193c], 0
je 0x4c479f
push 0xa3
call fcn.00484530
push ebx
push ebp
lea eax, [esp + 0xc]
push edi
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004b7b3c
push 1
pop ebp
push ebp
push dword [esi + 0x1c]
call fcn.0046a5d8
pop ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
pop ecx
lea edi, [esi + 0x1c4]
push ebp
push 0x23
push 0x100
mov dword [edi], ebp
push dword [esi + 0x1c]
call ebx
and dword [edi], 0
push ebp
push 0xd
push 0x102
push dword [esi + 0x1c]
call ebx
push 0
push dword [esi + 0x1c]
call fcn.0046a5d8
pop ecx
pop ecx
mov ecx, esi
call fcn.004bd2fa
pop edi
pop ebp
pop ebx
pop esi
pop ecx
pop ecx
ret
Function at 0x4cbc4e
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x120
push ebx
push ebp
mov ebp, ecx
push edi
test ebp, ebp
mov dword [esp + 0x14], ebp
jne 0x4cbc65
xor eax, eax
jmp 0x4cbc68
mov eax, dword [ebp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x4cbd2f
push esi
push ebx
call fcn.004cbda3
test al, al
pop ecx
je 0x4cbd1f
lea eax, [esp + 0x30]
push 0x100
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x30]
push str._Geometry:
push eax
call fcn.00527dc8
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
pop ecx
je 0x4cbcbe
add eax, 0xa
mov dword [esp + 0x10], eax
test ebp, ebp
jne 0x4cbcc6
xor eax, eax
jmp 0x4cbcc9
mov eax, dword [ebp + 0x1c]
push 5
push eax
call edi
mov esi, eax
test esi, esi
je 0x4cbd1f
push esi
call fcn.004cbda3
test al, al
pop ecx
jne 0x4cbd1a
push esi
push ebx
mov ecx, ebp
call fcn.004cbd5a
test al, al
je 0x4cbd1a
mov edx, dword [ebp]
push ebp
push dword [esp + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edx
call fcn.0041d2db
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ebp, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
mov ecx, ebp
call dword [eax + 0xd0]
push 2
push esi
jmp 0x4cbccc
push 2
push ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x4cbc7e
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x120
ret

Function at 0x4cbda3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
lea eax, [ebp - 0x80]
push 0x80
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x80]
push str.Button
push eax
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
jne 0x4cbe1b
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 7
je 0x4cbe1b
test eax, 0x10000000
jne 0x4cbe1b
lea eax, [ebp - 0x180]
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xa
lea eax, [ebp - 0x180]
push str._Geometry:
push eax
call fcn.005251ed
add esp, 0xc
neg eax
sbb al, al
inc al
leave
ret
xor al, al
leave
ret
Function at 0x4d16ed
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push dword [ebp + 8]
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d1716
xor eax, eax
jmp 0x4d173d
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
and byte [eax], 0
push dword [ebp + 0x18]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
leave
ret 0x14