joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f6ad0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4f6aec
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
push ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 8]
push edi
mov edi, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
mov dword [ebp - 4], eax
call esi
push 0x4f
mov ebx, eax
call esi
mov esi, dword [ebp - 8]
xor edx, edx
test edi, edi
mov ecx, eax
mov eax, dword [ebp - 0x14]
cmovns edx, edi
xor edi, edi
test eax, eax
mov dword [ebp - 0x18], edx
push 0
cmovns edi, eax
cmp esi, ebx
mov eax, dword [ebp - 4]
cmovg esi, ebx
mov dword [ebp - 0x14], edi
cmp eax, ecx
push 0
cmovg eax, ecx
sub esi, edx
push 0
sub eax, edi
mov dword [ebp - 8], esi
push str.DISPLAY
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_CreateDCW]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x4f6c28
push dword [ebp - 4]
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push edi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40cc0020
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x18]
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4f6c07
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40cc0020
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x18]
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push 0
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f7500
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x17c], 0
je 0x4f754b
lea eax, [esi + 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x3ec
mov dword [ebp - 0x4c], 0
jmp 0x4f7686
mov eax, dword [esi + 0x180]
test eax, eax
jne 0x4f7576
mov eax, dword [esi + 0xc8]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret
cmp eax, 3
je 0x4f75df
cmp eax, 2
je 0x4f75df
cmp eax, 4
je 0x4f75df
lea eax, [esi + 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 0x180]
mov ecx, esi
cmp eax, 1
jne 0x4f75a3
push eax
jmp 0x4f75b7
cmp eax, 6
jne 0x4f75ac
push 2
jmp 0x4f75b7
cmp eax, 7
jne 0x4f75b5
push 3
jmp 0x4f75b7
push 0
sub esp, 0x28
push esp
call fcn.004f6f90
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call fcn.00502050
add esp, 0x34
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret
lea edi, [esi + 0x50]
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x48]
push eax
call fcn.004f4cd0
add esp, 4
movups xmm1, xmmword [eax]
movaps xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 8
movd ecx, xmm0
movups xmmword [ebp - 0x24], xmm1
sub ecx, eax
jne 0x4f7623
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
movups xmm1, xmmword [ebp - 0x24]
mov ecx, dword [esi + 0x180]
movups xmmword [ebp - 0x38], xmm1
cmp ecx, 3
jne 0x4f763b
mov dword [ebp - 0x28], 2
jmp 0x4f765a
cmp ecx, 4
jne 0x4f7649
mov dword [ebp - 0x28], 3
jmp 0x4f765a
mov eax, dword [ebp - 0x28]
cmp ecx, 2
mov edx, 1
cmove eax, edx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], 0x14
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x3ec
mov dword [ebp - 0x4c], 0
call fcn.004f4cb0
push 0x510
mov ecx, esi
call fcn.004f6fd0
lea eax, [ebp - 0x4c]
push eax
push 0xbb8
push 0
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
push 0x4a
call fcn.004f8020
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x4f76b8
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret
Function at 0x4f76d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 3
push dword [esi + 4]
call fcn.004f5060
lea eax, [ebp - 0x14]
push eax
call fcn.004f4cd0
mov eax, dword [ebp - 0xc]
add esp, 0xc
sub eax, dword [ebp - 0x14]
jne 0x4f770f
lea eax, [esi + 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
call fcn.004f4cb0
call fcn.00501260
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [esi + 0x18c]
movups xmmword [ebp - 0x28], xmm0
cmp ecx, 0x50f
jne 0x4f7738
mov dword [ebp - 0x18], 1
jmp 0x4f775d
cmp ecx, 0x510
jne 0x4f7749
mov dword [ebp - 0x18], 2
jmp 0x4f775d
mov eax, dword [ebp - 0x18]
cmp ecx, 0x50e
mov edx, 3
cmove eax, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
push 0xbb8
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x3ec
push eax
push dword [esi + 4]
mov dword [ebp - 0x2c], 0
push 0x4a
call fcn.004f8020
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
pop esi
test eax, eax
jne 0x4f77ab
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret
Function at 0x4f83d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5226c0
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x258], edi
push 0x20a
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x244]
push 0
push eax
mov dword [ebp - 0x38], 0x6e0070
mov dword [ebp - 0x34], 0x67
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x248], 2
movups xmmword [ebp - 0x20], xmm0
call sub.VCRUNTIME140.dll_memset
push str.Option
push str.SoftwareCatchScreen
push 0x52892c
lea eax, [ebp - 0x244]
push 0x104
push eax
call fcn.004f0210
add esp, 0x20
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x250]
push eax
push str.SaveDefExtend
lea eax, [ebp - 0x244]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x250]
push eax
push str.SaveAsIndexEx
lea eax, [ebp - 0x244]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp - 0x254]
test ecx, ecx
je 0x4f84ce
mov eax, dword [ebp - 0x248]
mov dword [ecx], eax
call fcn.00404590
mov ecx, eax
test ecx, ecx
je 0x4f8538
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004037a0
test al, al
jne 0x4f851c
lea ecx, [ebp - 0x38]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f8501
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00403c10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404110
int3
Function at 0x4f98a0
Capabilities:
Check for time delay via gettickcount
Get common file path
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52287b
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 0x10
cmp eax, 0x400
jne 0x4f98ef
lea ecx, [edi + 0xcc]
call fcn.004ff770
jmp 0x4f9c69
lea eax, [esi - 0x500]
cmp eax, 0xd
ja 0x4f9c69
cmp dword [edi + 0x178], 0
je switch.0x004f9911
mov dword [edi + 0x178], 0
jmp dword [eax*4 + 0x4f9c8c]
call fcn.004fe840
mov eax, dword [edi + 0xc8]
test eax, eax
je 0x4f9a6c
cmp dword [eax + 0x78], 0xffffffff
je 0x4f9a6c
push dword [ebp + 0x10]
mov ecx, edi
push esi
call fcn.004ff500
jmp 0x4f9c69
mov eax, dword [edi + 0xc4]
test eax, eax
je 0x4f9a94
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f9a94
mov eax, dword [edi + 0xc4]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi + 0x9c], 0
jmp 0x4f9c69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4f9cd0
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push esi
push edi
mov esi, ecx
lea edi, [eax + 0x49c]
add eax, 0xffffff96
mov dword [esi + 0x178], 1
cmp eax, 9
ja case.0x4f9cfe.107
movzx eax, byte [eax + 0x4f9e9c]
jmp dword [eax*4 + 0x4f9e8c]
mov ecx, dword [esi + 4]
push ecx
movzx eax, di
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0xc8]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x178], 0
test eax, eax
je 0x4f9d42
push 0
push dword [eax + 4]
call edi
cmp byte [esi + 0x9d], 0
je 0x4f9e81
mov word [esi + 0x9c], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
push dword [esi + 0xd0]
mov dword [esi + 0xac], 0
call edi
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4f9d83
push 0
push dword [eax + 4]
call edi
mov edx, dword [esi + 0xb4]
xor edi, edi
mov ecx, dword [esi + 0xb0]
mov eax, edx
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4f9dc5
nop dword [eax]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x4f9dad
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esi + 0xb4]
inc edi
mov ecx, dword [esi + 0xb0]
mov eax, edx
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4f9da0
cmp ecx, edx
je 0x4f9dcf
mov dword [esi + 0xb4], ecx
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x4f9ddf
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0xbc], 0
test ecx, ecx
je 0x4f9dfb
add ecx, 0x28
call fcn.00503fd0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esi + 0x50]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x6b
push dword [0x568650]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 0xfffffffffffffff4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x4f9e81
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f9e81
mov eax, dword [esi + 0xc8]
push 0
push edi
push 0x225a
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x4fa9a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff3
cmp eax, 0x1a
ja case.0x4fa9b5.14
movzx eax, byte [eax + 0x4faa20]
jmp dword [eax*4 + 0x4faa08]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop ebp
ret 0x10
call fcn.004f9560
xor eax, eax
pop ebp
ret 0x10
call fcn.004f95b0
xor eax, eax
pop ebp
ret 0x10
call fcn.004f9600
xor eax, eax
pop ebp
ret 0x10
push dword [ebp + 0x14]
push 0
push 0
push 0
call fcn.004fa940
xor eax, eax
pop ebp
ret 0x10
Function at 0x4fb710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5229a0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x180], 7
jne 0x4fb776
cmp dword [edi + 0x1dc], 0x2710
jle 0x4fb795
push 0xb4
push 0
sub esp, 0x10
lea eax, [edi + 0x50]
mov ecx, esp
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
push dword [edi + 4]
call fcn.005033b0
add esp, 0x1c
xor eax, eax
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.0050ea5d
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x88]
push eax
shr esi, 0x10
call fcn.004f82b0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], edi
mov word [ebp - 0x4c], si
call sub.opencv_world455.dll_public:_void___thiscall_cv::Mat::constructor_class_cv::Mat_const__
push 0x40
mov byte [ebp - 4], 1
call fcn.0050e592
mov esi, eax
add esp, 4
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x4fb7fd
mov ecx, dword [ebp - 0x50]
mov dword [esi], ecx
lea ecx, [esi + 8]
mov ax, word [ebp - 0x4c]
mov word [esi + 4], ax
lea eax, [ebp - 0x48]
push eax
call sub.opencv_world455.dll_public:_void___thiscall_cv::Mat::constructor_class_cv::Mat__
jmp 0x4fb7ff
xor esi, esi
mov dword [ebp - 0x90], esi
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 3
push eax
push 0
push esi
push 0x4f59a0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x98], eax
test eax, eax
je 0x4fb86e
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4fb87f
push ecx
push eax
call sub.MSVCP140.dll__Thrd_detach
add esp, 8
test eax, eax
jne 0x4fb87f
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
movlpd qword [ebp - 0x98], xmm0
call sub.opencv_world455.dll_public:_void___thiscall_cv::Mat::destructor_void_
lea ecx, [ebp - 0x88]
call sub.opencv_world455.dll_public:_void___thiscall_cv::Mat::destructor_void_
jmp 0x4fb776
push 6
mov dword [ebp - 0x94], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x4fbc00
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push edi
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
mov dword [esi + 0x174], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ebx, [esi + 0x50]
push ebx
lea ecx, [esi + 0x48]
call fcn.004e9700
mov eax, dword [esi + 0xc8]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4fbc50
push 0
push dword [eax + 4]
call edi
cmp byte [esi + 0x9d], 0
je 0x4fbd51
mov word [esi + 0x9c], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
push dword [esi + 0xd0]
mov dword [esi + 0xac], 0
call edi
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4fbc91
push 0
push dword [eax + 4]
call edi
mov edx, dword [esi + 0xb4]
xor edi, edi
mov ecx, dword [esi + 0xb0]
mov eax, edx
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4fbcd5
nop word [eax + eax]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x4fbcbd
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esi + 0xb4]
inc edi
mov ecx, dword [esi + 0xb0]
mov eax, edx
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4fbcb0
cmp ecx, edx
je 0x4fbcdf
mov dword [esi + 0xb4], ecx
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x4fbcef
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0xbc], 0
test ecx, ecx
je 0x4fbd0b
add ecx, 0x28
call fcn.00503fd0
call fcn.00501260
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_SetRect]
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x6b
push dword [0x568650]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 0xfffffffffffffff4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4fe840
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4fe98f
push 0
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4fe8b0
mov ecx, dword [ebx + 0xbc]
sub eax, edx
sar eax, 1
push edi
lea edi, [ebx + 0xbc]
je 0x4fe97e
test ecx, ecx
je 0x4fe98e
mov eax, dword [ecx]
lea edx, [ebp - 0x210]
push esi
push edx
call dword [eax + 0x20]
movups xmm1, xmmword [ebx + 0x104]
mov ecx, dword [edi]
movaps xmm0, xmm1
psrldq xmm1, 0xc
psrldq xmm0, 8
mov edx, dword [ecx]
movd eax, xmm1
movd esi, xmm0
push eax
push esi
call dword [edx + 0x24]
mov edx, dword [ebx + 0xc4]
test edx, edx
je 0x4fe938
mov ecx, dword [edi]
push dword [edx + 0x210]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [edi]
mov ecx, dword [ebx + 0xc4]
mov esi, dword [eax]
call fcn.004f3250
mov ecx, dword [edi]
push eax
call dword [esi + 0x2c]
mov edx, dword [ebx + 0xb4]
lea ecx, [ebx + 0xb0]
pop esi
cmp edx, dword [ecx + 8]
je 0x4fe954
mov eax, dword [edi]
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x4fe95b
push edi
push edx
call fcn.004f55f0
push 1
push 0
push dword [ebx + 4]
mov dword [edi], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x4fe988
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi], 0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret
Function at 0x4ff770
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x220], xmm0
call dword [sym.imp.USER32.dll_GetDC]
push dword [esi + 0x58]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push ebx
mov dword [ebp - 0x238], ebx
call edi
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x234], eax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ff7f0
push 0x400
sub ecx, edx
lea eax, [ebp - 0x220]
push eax
sar ecx, 1
lea eax, [ebp - 0x210]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x234]
push ebx
call edi
movups xmm0, xmmword [esi + 0x38]
mov edi, dword [ebp - 0x218]
lea ebx, [esi + 0x38]
sub edi, dword [ebp - 0x220]
movd ecx, xmm0
movups xmmword [ebp - 0x230], xmm0
lea edx, [edi + 0x1e]
add edx, ecx
cmp edx, dword [esi + 0x50]
cmovg edx, dword [esi + 0x50]
mov dword [ebp - 0x228], edx
sub edx, ecx
lea eax, [edx - 0x1e]
test eax, eax
jg 0x4ff868
mov eax, edx
mov ecx, 1
test eax, eax
cmovle eax, ecx
mov edx, 1
cmp edi, eax
jle 0x4ff87a
mov ecx, eax
add eax, ecx
inc edx
cmp edi, eax
jg 0x4ff873
mov ecx, dword [ebp - 0x214]
sub ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x22c]
push dword [ebp - 0x238]
imul ecx, edx
add eax, 0x1e
push dword [esi + 4]
add ecx, eax
cmp ecx, dword [esi + 0x54]
cmovg ecx, dword [esi + 0x54]
mov dword [ebp - 0x224], ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.USER32.dll_CopyRect]
mov dword [esi + 0x2c], 0
mov ecx, esi
mov dword [esi + 0x28], 0
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x3c]
inc dword [esi + 0x2c]
dec dword [esi + 0x30]
mov dword [esi + 0x34], eax
dec dword [esi + 0x34]
mov dword [esi + 0x28], 1
call fcn.004fe7b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret

Function at 0x501260
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x568ea0]
test eax, eax
je 0x501274
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret