Function at 0x415800
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436e50
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x44a068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
push 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x34], 1
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0xa8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xa4], 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 - 0xa8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40cc0020
push 0
push 0
push dword [ebp - 0xa8]
push esi
mov esi, dword [ebp - 0xa4]
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
push 0
push dword [ebp - 0xac]
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], 0x44547c
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov edi, dword [ebp - 0xa4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edi
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push eax
push 1
push 0
mov dword [ebp - 0xa0], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x415a98
lea edx, [ebp - 0x54]
call fcn.004156f0
cmp eax, 0xffffffff
jne 0x415a13
push dword [ebp - 0xac]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0xa8]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x20]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov esi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x1c]
push edi
mov dword [ebp - 0x1c], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x415b1c
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x415b12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415b39
jmp 0x415b12
push 0
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0xa0]
push edi
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x415a2f
mov dword [ebp - 0x3c], eax
jmp 0x415a8c
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x2c]
push edx
push 0
xorps xmm0, xmm0
mov ecx, dword [eax]
movq qword [ebp - 0x24], xmm0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x94]
mov ecx, eax
call fcn.00415b50
mov eax, dword [ebp - 0xa0]
push 0
push dword [ebp - 0x94]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0xac]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0xa8]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x1c]
push edi
mov dword [ebp - 0x1c], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x415b1c
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x415b12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415b3e
push edx
push ecx
call fcn.00419245
add esp, 8
mov eax, esi
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.00419004
mov esp, ebp
pop ebp
ret
call fcn.0041f2d0
call fcn.0041f2d0
int3