Function at 0x416dd0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43953a
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x448080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x24], esi
push 0
mov dword [ebp - 0xbc], esi
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x9c], 1
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0
mov dword [ebp - 0x9c], 1
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x90], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x98], eax
call dword [sym.imp.USER32.dll_SetProcessDPIAware]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call esi
push 0x4f
mov edi, eax
call esi
mov esi, eax
push esi
push edi
push dword [ebp - 0x90]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40cc0020
push 0
push 0
push dword [ebp - 0x90]
push esi
push edi
mov edi, dword [ebp - 0x98]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0
push eax
push 0
push dword [ebp - 0x94]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0x442e94
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 1
push eax
push 1
push 0
mov dword [ebp - 0x84], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4170fa
push 9
xorps xmm0, xmm0
mov dword [ebp - 0xa8], eax
push 0x442e6c
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], eax
movups xmmword [ebp - 0xb8], xmm0
call fcn.0040a2f0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.0040c070
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.00416cc0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], eax
cmp ecx, 7
jbe 0x416fda
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416fca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41714a
push ecx
push edx
call fcn.0041936d
mov eax, dword [ebp - 0xa0]
add esp, 8
cmp eax, 0xffffffff
jne 0x417021
push dword [ebp - 0x94]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x90]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x24]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
push esi
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov eax, dword [ebp - 0x8c]
jmp 0x41712f
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x84]
push esi
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x417052
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x417100
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x28]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x78]
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp - 0x8c], eax
cmp esi, ecx
jae 0x41709b
lea eax, [edx + esi]
jmp 0x4170d2
jbe 0x4170d5
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x4170b4
push ecx
push esi
mov ecx, edi
call fcn.00417150
mov esi, dword [ebp - 0x78]
jmp 0x4170d5
sub esi, ecx
push esi
push 0
push dword [ebp - 0x8c]
call fcn.0041af90
mov eax, dword [ebp - 0x8c]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x78]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x84]
push 0
push esi
push dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x88]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x417100
mov edi, dword [ebp - 0x8c]
push dword [ebp - 0x94]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x98]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x90]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov eax, edi
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.00419325
mov esp, ebp
pop ebp
ret
call fcn.00421825
int3