Function at 0x4be4a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558540
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
push ebx
push esi
push edi
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x36c]
push eax
lea edx, [ebp - 0x16c]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push edx
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.0051d13a
mov edx, dword [0x5b5ecc]
add esp, 0x14
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x16c]
lea ecx, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1c]
push 0x598a7c
push edx
mov byte [ebp - 4], 1
call fcn.0053091a
mov eax, dword [0x5b5ecc]
add esp, 0x10
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x26c]
lea edx, [ebp - 0x36c]
push ecx
push edx
lea eax, [ebp - 0x24]
push 0x598a7c
push eax
mov byte [ebp - 4], 2
call fcn.0053091a
mov eax, dword [ebp - 0x1c]
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x30], ebx
je 0x4be583
mov ecx, dword [ebp - 0x18]
push esi
push ebx
push 0xffffffffffffffff
push ecx
push 0
push 0
call edi
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x24]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
mov ebx, eax
call edi
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
xor ecx, ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x4be5bb
push esi
push eax
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call edi
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 4
push edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x4be60b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4be5f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [ebp - 0x30]
push eax
jmp 0x4be6a8
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x34]
push 0
mov ecx, dword [eax]
push edx
push 0
push edi
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
jge 0x4be644
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4be63e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
push eax
jmp 0x4be69f
lea edx, [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x34]
push 0x56c888
push 0
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
jge 0x4be662
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
jmp 0x4be62d
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x38]
push 0
mov ecx, dword [eax]
push edx
push 0
push esi
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x4be6d7
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4be69e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push edi
call esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00537b04
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push ebx
push esi
push eax
push edx
mov edi, eax
call fcn.004be8c0
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x4be70f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
push ebx
push esi
push edi
push eax
call fcn.004bea70
mov dword [ebp + 0x14], eax
jmp 0x4be838
lea ecx, [ebp - 0x6c]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x4be838
mov edx, dword [ebp - 0x68]
mov eax, dword [esi]
cmp edx, eax
jl 0x4be73b
mov eax, dword [ebp - 0x64]
mov ecx, dword [esi + 4]
cmp eax, ecx
jge 0x4be838
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi]
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp - 0x4c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 4]
mov dword [ebp + 0x10], eax
mov eax, dword [esi]
xor ebx, ebx
push 5
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea ecx, [ebp - 0x48]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp + 0x14]
mov ebx, eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x64]
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
push 0xcc0020
push 0
mov ecx, dword [ebp - 0x68]
push 0
push ebx
sub eax, edx
push edx
cdq
sub eax, edx
push ecx
sar eax, 1
push eax
mov eax, dword [esi]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi]
mov esi, dword [esi + 4]
xor ecx, ecx
push 0x10
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov ecx, dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push ebx
call esi
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
call ebx
mov edx, dword [ebp + 0x10]
push edx
push edi
call esi
push edi
call ebx
mov eax, dword [ebp - 0x2c]
push eax
call ebx
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x4c]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4be879
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4be862
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4be873
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [ebp - 0x30]
push eax
call esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10