Function at 0x46e1a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6ed428]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0x5a5b00
call dword [sym.imp.GDI32.dll_CreateDCW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46e1e6
xor eax, eax
jmp 0x46e44e
lea ecx, [ebp - 0x38]
call fcn.0053bf78
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.0053c37c
lea ecx, [ebp - 0x20]
call fcn.0053bf78
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], 0
jne 0x46e219
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x1c], ecx
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 4], 0
je 0x46e24c
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0053c3e5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0053c3e5
mov eax, dword [ebp - 0x3c]
jmp 0x46e44e
lea eax, [ebp - 0x38]
test eax, eax
jne 0x46e25c
mov dword [ebp - 0x4c], 0
jmp 0x46e262
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, dword [ebp + 0x1c]
call fcn.0053c37c
test eax, eax
jne 0x46e2a3
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0053c3e5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0053c3e5
mov eax, dword [ebp - 0x40]
jmp 0x46e44e
lea eax, [ebp - 0x38]
test eax, eax
jne 0x46e2b3
mov dword [ebp - 0x50], 0
jmp 0x46e2b9
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x50], ecx
push 0x76
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea edx, [ebp - 0x38]
test edx, edx
jne 0x46e2da
mov dword [ebp - 0x54], 0
jmp 0x46e2e0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
push 0x75
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
lea eax, [ebp - 0x38]
test eax, eax
jne 0x46e301
mov dword [ebp - 0x58], 0
jmp 0x46e307
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x58], ecx
push 8
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x38]
test edx, edx
jne 0x46e328
mov dword [ebp - 0x5c], 0
jmp 0x46e32e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
push 0xa
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
lea eax, [ebp - 0x38]
test eax, eax
jne 0x46e34f
mov dword [ebp - 0x60], 0
jmp 0x46e355
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x46e429
cmp dword [ebp + 0x1c], 0
jne 0x46e387
mov dword [ebp - 0x64], 0
jmp 0x46e390
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x38]
test edx, edx
jne 0x46e3b1
mov dword [ebp - 0x68], 0
jmp 0x46e3b7
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
cmp dword [ebp + 0x1c], 0
jne 0x46e3c6
mov dword [ebp - 0x6c], 0
jmp 0x46e3cf
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x6c], edx
push 0x40cc0020
push 0
push 0
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.0053c638
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0053c3e5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0053c3e5
mov eax, dword [ebp - 0x44]
jmp 0x46e44e
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0053c3e5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0053c3e5
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret