joyce8/EMBER2024-capa huggingface dataset:
Function at 0x656120
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp dword [edi], 0
jne 0x656140
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
mov dword [edi], 1
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop edi
pop esi
ret 4

Function at 0x656160
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov edi, ecx
call fcn.00656100
mov ebx, eax
test ebx, ebx
je 0x6561dd
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x6561c8
lea esi, [edi + 0x5c]
mov ecx, edi
mov edx, esi
call fcn.006561f0
push esi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [ebx + 0xc], eax
jne 0x6561be
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x6561c8
mov edx, esi
mov ecx, edi
call fcn.006561f0
push esi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [ebx + 0xc], eax
je 0x656197
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret
test ebx, ebx
je 0x6561dd
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6561dd
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x66e203
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x818d08
cmp edx, dword [eax]
je 0x66e225
add eax, 8
inc ecx
cmp eax, 0x818d98
jl 0x66e216
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x818d08]
jne 0x66e353
mov eax, dword [0x859b7c]
cmp eax, 1
je 0x66e32d
test eax, eax
jne 0x66e256
cmp dword [0x8182fc], 1
je 0x66e32d
cmp edx, 0xfc
je 0x66e353
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x66e28d
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00665ee0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00663cc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x66e2d0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00663cc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7532e4
push edi
call fcn.006611f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00665ee0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00665ef0
lea eax, [ebp - 0xa0]
push 0x7e4850
push eax
call fcn.00665ef0
push dword [esi + 0x818d0c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00665ef0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.006728d8
add esp, 0x2c
pop edi
jmp 0x66e353
lea eax, [ebp + 8]
lea esi, [esi + 0x818d0c]
push 0
push eax
push dword [esi]
call fcn.00663cc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x68163e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [ebp + 8], edi
mov esi, ecx
jne 0x68165a
mov eax, dword [esi]
push edi
call dword [eax + 0x13c]
push edi
mov ecx, esi
call fcn.00680b10
push dword [ebp + 8]
mov ecx, esi
mov dword [ebp + 0xc], eax
call fcn.00680b10
mov ecx, dword [ebp + 0xc]
mov ebx, eax
call fcn.006820c7
mov ecx, ebx
mov dword [ebp - 4], eax
call fcn.006820c7
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.0069c8c7
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.0069c8cb
mov ecx, eax
xor edi, edi
cmp ecx, edi
jg 0x6816a2
push 1
pop ecx
mov eax, dword [ebx + 0x2c]
cdq
idiv ecx
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x6816b6
mov dword [ebp + 8], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
push eax
mov dword [ebp - 0x18], edi
push dword [esi + 0x1c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 4]
push 5
call fcn.006c2a3a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
add edi, dword [ebp - 0xc]
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebp + 8]
cmp eax, 1
jl 0x681767
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x6816e4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub dword [ebx + 0x2c], eax
add dword [ecx + 0x2c], eax
mov edi, dword [esi]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00681c7c
push eax
mov ecx, esi
call dword [edi + 0x114]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x118]
mov eax, dword [ebp - 8]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push dword [eax + 0x1c]
call edi
push eax
call fcn.006bf52d
push 0x483
push 0
push 0
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [ebp - 8]
push dword [eax + 0x1c]
call edi
push eax
call fcn.006bf52d
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x6816d9
and dword [ebx + 0x2c], 0
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x4c]
mov ecx, esi
mov dword [edi + 0x2c], eax
mov ebx, dword [esi]
lea eax, [ebp - 0x1c]
push eax
call fcn.00681c7c
push eax
mov ecx, esi
call dword [ebx + 0x114]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x118]
mov ecx, edi
call fcn.006b1bba
mov ebx, dword [ebp - 4]
test al, 8
jne 0x6817b1
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.006bf52d
push 5
mov ecx, ebx
call fcn.006c2a3a
mov ecx, dword [ebp - 8]
push 0
call fcn.006c2a3a
mov ecx, edi
call fcn.006b1bba
test al, 8
jne 0x6817f7
push 0x74ff60
mov ecx, ebx
call fcn.006c4bae
test eax, eax
je 0x6817f0
push 1
push ebx
mov ecx, esi
call fcn.006c0b23
mov ecx, eax
call fcn.006d2f91
mov ecx, ebx
call fcn.006c2aa3
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x683478
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x71abb4
call fcn.00663238
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.006bf52d
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ebx, eax
push 0
push 0x500
push dword [ebx + 0x1c]
call edi
cmp dword [ebp + 8], 0xd
jne 0x68353a
mov eax, dword [0x8174f0]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x40]
and dword [ebp - 4], 0
push 0
push eax
push 0x199
push dword [ebx + 0x1c]
call edi
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.006bff23
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [esi + 0x40]
push ebx
call fcn.00683617
add esp, 0x10
mov ecx, ebx
call fcn.006c285f
test ax, 0x808
je 0x68350e
push dword [esi + 0x40]
push 1
push 0x185
jmp 0x683519
mov eax, dword [esi + 0x40]
push 0
push eax
push 0x186
push dword [ebx + 0x1c]
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.006c2e22
test esi, esi
jne 0x6835e3
and dword [ebp - 0x1c], esi
jmp 0x6835e9
cmp dword [ebp + 8], 0x1b
jne 0x68358d
cmp dword [esi + 0x3c], 0
je 0x68357d
mov ecx, ebx
call fcn.006c285f
test ax, 0x808
je 0x68355f
push dword [esi + 0x44]
push 1
push 0x185
jmp 0x683569
push 0
push dword [esi + 0x44]
push 0x186
push dword [ebx + 0x1c]
call edi
push 0
push dword [esi + 0x40]
push 0x182
push dword [ebx + 0x1c]
call edi
push 0
push 1
push 0x500
push dword [ebx + 0x1c]
call edi
jmp 0x68352a
cmp dword [ebp + 8], 0x71
jne 0x6835da
cmp dword [esi + 0x48], 0
je 0x6835da
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.006bf52d
push dword [esi + 0x48]
mov ebx, eax
mov ecx, ebx
call fcn.006c27d4
mov edi, eax
mov ecx, edi
call fcn.006c2aa3
test edi, edi
je 0x6835c4
mov edi, dword [edi + 0x1c]
movzx eax, word [esi + 0x48]
push edi
push eax
push 0x111
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x683606
mov ecx, esi
call fcn.006bf494
jmp 0x683606
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, esi
call fcn.006c2966
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
push ecx
push eax
push 0x4e
mov dword [ebp - 0x14], 0x3e8
push dword [ebx + 0x1c]
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x6836be
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x71abc8
call fcn.00663238
push ebx
mov ebx, dword [ebp + 8]
push esi
cmp ebx, 0x26
push edi
mov esi, ecx
je 0x683843
cmp ebx, 0x28
je 0x683843
cmp ebx, 0x21
je 0x683843
cmp ebx, 0x22
je 0x683843
cmp ebx, 0x24
je 0x683843
cmp ebx, 0x23
je 0x683843
cmp ebx, 9
jne 0x683728
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x6837b3
mov dword [ebp + 8], 8
jmp 0x6837b3
xor edi, edi
push edi
push edi
push 0xb0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 0x10]
mov ecx, esi
mov ebx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00683478
cmp dword [esi + 0x4c], edi
je 0x68387d
cmp dword [ebp + 8], 0x20
jne 0x68387d
mov eax, ebx
shr eax, 0x10
cmp bx, ax
jne 0x68387d
mov eax, dword [0x8174f0]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
mov dword [ebp - 4], edi
call fcn.006bff23
lea ecx, [ebp + 0xc]
call fcn.006bc30d
mov eax, dword [ebp + 0xc]
movzx ecx, bx
mov eax, dword [eax - 8]
xor ebx, ebx
sub ecx, eax
inc ecx
cmp ecx, dword [esi + 0x50]
lea ecx, [ebp + 0xc]
setge bl
or dword [ebp - 4], 0xffffffff
call fcn.006c2e22
cmp ebx, edi
je 0x68387d
push dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
call ebx
push eax
call fcn.006bf52d
push dword [ebp + 0x10]
mov ecx, esi
mov edi, eax
push 1
push 0xd
call fcn.00683478
xor esi, esi
cmp edi, esi
je 0x68387d
push dword [edi + 0x1c]
call ebx
push eax
call fcn.006bf52d
xor ecx, ecx
cmp dword [ebp + 8], 8
sete cl
push ecx
push dword [edi + 0x1c]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.006bf52d
mov edi, eax
cmp edi, esi
je 0x68387d
mov ecx, edi
call fcn.006c2aa3
push 0x74f3e0
mov ecx, edi
call fcn.006c4bae
test eax, eax
je 0x68387d
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push esi
push 0xb1
push dword [edi + 0x1c]
call ebx
push esi
push esi
push 0xb7
push dword [edi + 0x1c]
call ebx
jmp 0x68387d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.006bf52d
push dword [ebp + 0x10]
mov ecx, esi
mov edi, eax
push 1
push 0xd
call fcn.00683478
test edi, edi
je 0x68387d
call fcn.006bf45f
push dword [eax + 0xc]
push ebx
push 0x100
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x691aca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, dword [ebp + 8]
mov ecx, ebx
movzx eax, ax
mov dword [edi + 4], eax
mov dword [edi + 0x5c], ebx
mov eax, dword [ebx]
call dword [eax + 0xc8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x54]
mov dword [edi + 0x20], eax
cmp dword [ebx + 0x70], 0
je 0x691b72
lea eax, [ebp - 0x10]
push esi
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 0x70]
lea eax, [ebp - 0x10]
push eax
call fcn.006c711d
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x24], 1
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + 0x90]
mov dword [edi + 0x28], eax
mov esi, dword [ebx + 0x74]
add esi, 0x94
add edi, 0x2c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x74]
pop esi
mov ecx, dword [eax + 0xa4]
mov eax, dword [ebp + 8]
mov edi, eax
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebx + 0x74]
mov edx, dword [ecx + 0xa8]
mov dword [eax + 0x40], edx
mov ecx, dword [ecx + 0xac]
mov dword [eax + 0x44], ecx
mov eax, dword [ebx + 0x90]
mov dword [edi + 0x78], eax
mov eax, dword [ebx + 0x94]
mov dword [edi + 0x7c], eax
mov eax, dword [ebx + 0x78]
mov dword [edi + 0x60], eax
mov eax, dword [ebx + 0x7c]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x88]
mov dword [edi + 0x70], eax
mov eax, dword [ebx + 0x8c]
mov dword [edi + 0x74], eax
mov eax, dword [ebx + 0x98]
mov dword [edi + 0x80], eax
mov eax, dword [ebx + 0x68]
mov dword [edi + 0x84], eax
mov eax, dword [ebx + 0x9c]
mov dword [edi + 0x88], eax
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x8c], eax
mov eax, dword [ebx + 0xa4]
mov dword [edi + 0x90], eax
mov ecx, dword [ebx + 0xb8]
test ecx, ecx
je 0x691bee
mov eax, dword [ecx]
push ebx
call dword [eax + 0x20]
mov dword [edi + 0xd8], eax
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x691c01
mov eax, dword [eax + 0xd4]
mov dword [edi + 0x94], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
push dword [eax]
lea ecx, [edi + 0xc8]
call fcn.006c2fab
lea eax, [edi + 0xcc]
mov ecx, ebx
push eax
call fcn.006bff23
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x128]
pop edi
pop ebx
leave
ret 4
Function at 0x692167
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x71b661
call fcn.00663238
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [0x8174f0]
and dword [ebp - 4], 0
lea edi, [esi + 0x30]
mov dword [edi], eax
mov eax, dword [0x8174f0]
mov dword [esi + 0x34], eax
mov eax, dword [0x8174f0]
mov dword [esi + 0x38], eax
push 4
mov dword [esi], vtable.SECGripperInfo.0
pop ecx
push 3
mov dword [esi + 0x18], ecx
pop ebx
mov dword [esi + 4], ecx
push 1
mov dword [esi + 0x1c], ebx
pop eax
mov dword [esi + 8], ebx
push 6
mov dword [esi + 0x20], eax
mov dword [esi + 0xc], eax
pop eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov eax, dword [0x8174f0]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], cl
push 0x50af
lea ecx, [ebp - 0x10]
call fcn.006c4a85
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.006c2f5b
push 0x50b1
lea ecx, [ebp - 0x10]
call fcn.006c4a85
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x34]
push eax
call fcn.006c2f5b
push 0x50b2
lea ecx, [ebp - 0x10]
call fcn.006c4a85
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x38]
push eax
call fcn.006c2f5b
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.006c2e22
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x69548f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov eax, dword [esi]
push ecx
push ebx
mov ecx, esi
push dword [ebp + 0xc]
call dword [eax + 0x1fc]
push 0x12
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
shr eax, 0x1b
and eax, 1
test edi, edi
jl 0x695621
cmp dword [0x85a500], 0
jne 0x695621
mov ecx, dword [esi + 0x148]
test ecx, ecx
jne 0x6954fc
test eax, eax
jne 0x6954f8
mov edx, dword [esi + 0x194]
mov edx, dword [edx + edi*4]
test byte [edx + 0xe], 4
jne 0x695621
test ecx, ecx
je 0x69552f
cmp dword [esi + 0xb8], 0
je 0x69552f
mov eax, dword [esi + 0x194]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
je 0x69562f
mov eax, dword [esi]
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push edi
call dword [eax + 0x1e4]
jmp 0x69562f
test eax, eax
je 0x6955a6
cmp dword [esi + 0xb8], 0
je 0x6955a6
mov eax, dword [esi + 0x194]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
je 0x69562f
push ebx
mov dword [0x85a504], 1
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x1e4]
test eax, eax
jne 0x69557a
and dword [0x85a504], eax
jmp 0x69562f
and dword [0x85a504], 0
mov esi, dword [esi + 0xb8]
test esi, esi
je 0x695590
mov ecx, dword [esi + 0x68]
jmp 0x695592
xor ecx, ecx
test ecx, ecx
je 0x69562f
push 1
call fcn.0069493f
jmp 0x69562f
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x200]
mov eax, dword [esi + 0x194]
push dword [ebp + 0x10]
mov ebx, edi
push dword [ebp + 0xc]
shl ebx, 2
mov ecx, dword [eax + ebx]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x69562f
lea eax, [ebp - 0x10]
push 0
push eax
mov dword [esi + 0x13c], edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.006bf52d
mov eax, dword [esi + 0x194]
mov ecx, esi
mov eax, dword [eax + ebx]
mov edi, dword [eax + 4]
call fcn.006587dc
push 0
push edi
push 0x362
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x69562f
push ebx
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00690bf3
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x695636
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
mov eax, dword [esi]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call dword [eax + 0x1fc]
push 0x12
mov ebx, eax
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
shr eax, 0x1b
and eax, 1
test ebx, ebx
jl 0x695718
mov ecx, dword [esi + 0x148]
test ecx, ecx
jne 0x695718
test eax, eax
jne 0x695695
mov edx, dword [esi + 0x194]
mov edx, dword [edx + ebx*4]
test byte [edx + 0xe], 4
jne 0x695718
test ecx, ecx
jne 0x695718
test eax, eax
jne 0x695718
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x200]
mov eax, dword [esi + 0x194]
push dword [ebp + 0x10]
mov edi, ebx
push dword [ebp + 0xc]
shl edi, 2
mov ecx, dword [eax + edi]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x695728
lea eax, [ebp - 0x10]
push 0
push eax
mov dword [esi + 0x13c], ebx
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.006bf52d
mov eax, dword [esi + 0x194]
mov ecx, esi
mov eax, dword [eax + edi]
mov edi, dword [eax + 4]
call fcn.006587dc
push 0
push edi
push 0x362
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x695728
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00690ddd
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x69a14b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.006d8f27
mov esi, dword [eax + 0xc]
push 4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x69a262
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x69a262
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x69a262
movzx ecx, word [eax + 2]
and dword [ebp - 4], 0
push 0
lea ebx, [ecx + eax + 4]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.006adeed
pop ecx
test eax, eax
pop ecx
je 0x69a25d
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x69a23c
push dword [ebp - 8]
call fcn.006adf9e
test eax, eax
pop ecx
mov dword [ebp + 0x18], eax
je 0x69a262
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.006624a0
mov eax, esp
push ebx
push dword [ebp + 0x18]
push eax
call fcn.006c335f
mov ecx, dword [ebp + 0x14]
push eax
mov ebx, dword [ecx + 8]
push ebx
call fcn.006be3a9
mov dword [esi], 0x75ab20
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 8], 0x30000000
add esi, 0x20
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*4]
mov ebx, dword [ebp - 0xc]
mov dword [esi - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi - 8], eax
inc dword [edi]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
inc dword [eax]
inc dword [ebp - 4]
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.006adeed
pop ecx
test eax, eax
pop ecx
jne 0x69a1bc
push 1
pop eax
jmp 0x69a264
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6a5469
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call fcn.006d8f27
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
xor edi, edi
cmp eax, edi
je 0x6a54a4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x6a54a4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, edi
jne 0x6a54a8
xor eax, eax
jmp 0x6a550e
movzx eax, word [esi + 2]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
movzx eax, word [esi + 4]
mov dword [ecx], eax
movzx eax, word [esi + 6]
shl eax, 2
push eax
call fcn.00652710
pop ecx
mov dword [ebp + 8], edi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 8]
mov dword [eax], edi
cmp word [esi + 6], di
jbe 0x6a550b
push ebx
mov dx, word [ecx]
test dx, dx
jne 0x6a54ed
cmp dword [ebp + 0x1c], 0
je 0x6a54fc
mov ebx, dword [ebp + 0xc]
mov edi, dword [eax]
movzx edx, dx
mov ebx, dword [ebx]
mov dword [ebx + edi*4], edx
inc dword [eax]
inc dword [ebp + 8]
inc ecx
movzx edx, word [esi + 6]
inc ecx
cmp dword [ebp + 8], edx
jl 0x6a54df
pop ebx
push 1
pop eax
pop edi
pop esi
pop ebp
ret 0x18
Function at 0x6ba900
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.006624a0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x6ba9cb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x6ba9cb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x6ba97e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x6ba989
or bh, 8
and edi, 0x8000000
je 0x6ba9a4
mov eax, dword [0x85c45c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x6ba9cb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret