Function at 0x4217d0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583350
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5e9750]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x20]
xor edi, edi
push eax
push ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0xa8]
cmp ecx, edi
je 0x42186d
lea edx, [ebp - 0x48]
xor eax, eax
push edx
push 0x18
push ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp dword [ebp - 0x44], eax
jne 0x421857
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x40], ecx
je 0x42186d
lea ecx, [esi + 0xa4]
call fcn.00454b18
lea ecx, [esi + 0xac]
call fcn.00454b18
mov ecx, dword [esi + 0xb8]
cmp ecx, edi
je 0x4218c5
lea edx, [ebp - 0x48]
xor eax, eax
push edx
push 0x18
push ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x74]
cmp eax, edi
jne 0x4218aa
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x40], ecx
jne 0x4218ba
cmp eax, 1
jne 0x4218c5
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
cmp dword [ebp - 0x44], edx
je 0x4218c5
lea ecx, [esi + 0xb4]
call fcn.00454b18
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004547d6
mov ebx, eax
cmp dword [esi + 0xa8], edi
jne 0x421905
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0xa4]
call fcn.00454abe
xor edi, edi
cmp dword [esi + 0xb0], edi
jne 0x421931
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0xac]
call fcn.00454abe
cmp dword [esi + 0xb8], edi
jne 0x421a28
cmp dword [esi + 0x74], edi
mov ecx, dword [esi + 0x8c]
lea edi, [esi + 0xb4]
jne 0x42195c
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
jmp 0x421968
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebx + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00454abe
lea ecx, [ebp - 0x68]
call fcn.004541f6
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x68]
call fcn.004547ea
test edi, edi
je 0x42199f
mov edi, dword [edi + 4]
mov edx, dword [ebp - 0x64]
push edi
push edx
call fcn.00454b4f
mov ecx, dword [esi + 0xb8]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x80]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
xor ecx, ecx
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x9c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
cmp eax, ecx
jne 0x4219f4
xor eax, eax
jmp 0x4219f7
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
test edi, edi
je 0x421a0d
mov edi, dword [edi + 4]
mov eax, dword [ebp - 0x64]
push edi
push eax
call fcn.00454b4f
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.0045486b
xor edi, edi
lea ecx, [ebp - 0x58]
call fcn.004541f6
mov dword [ebp - 4], 1
cmp ebx, edi
jne 0x421a3f
xor eax, eax
jmp 0x421a42
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x58]
call fcn.004547ea
lea eax, [esi + 0xa4]
cmp eax, edi
jne 0x421a60
xor eax, eax
jmp 0x421a63
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x54]
push eax
push ecx
call fcn.00454b4f
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov edi, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
test ebx, ebx
jne 0x421a83
xor edx, edx
jmp 0x421a86
mov edx, dword [ebx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [ebp - 0x54]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
test edi, edi
je 0x421aa7
mov edi, dword [edi + 4]
mov eax, dword [ebp - 0x54]
push edi
push eax
call fcn.00454b4f
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0045486b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545559
mov esp, ebp
pop ebp
ret